> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi/network/port/list.md).

# list

List all vpcs you have access to. This command displays a summary of all projects, including their IDs, names, and other relevant details.

## Usage

```
cldkctl flexi network port list [flags]
```

## Aliases

```
list, ls
```

## Steps

Follow the steps below to run and view the result of this command:

#### Interactive Mode

1. Run the following command in your terminal:

```
cldkctl flexi network port list -i
```

2. Select the VPC you want to inspect

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-be796fe66f70fb5f324128773b4614bd0d736249%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

3. The terminal displays the command output.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-db738a2b7dca243e5af2298bbd3512249b7679db%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Interactive Mode

1. Provide all required values using command flags.
2. Add `--auto-confirm` or `-y` to skip confirmation prompts in non-interactive mode.
3. Run the command in your terminal.
4. Once completed successfully, the terminal displays the success message.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-2cf56211366aaa0179a44e5c3e8bb96a9a07ea1b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

| Column        | Description                                                            |
| ------------- | ---------------------------------------------------------------------- |
| ID            | A unique identifier assigned to each port within the VPC.              |
| Name          | The name of the port used for identification purposes                  |
| IP Address    | The IP address associated with the port.                               |
| Mac Address   | The MAC (Media Access Control) address assigned to the port interface. |
| Status        | The current state of the port.                                         |
| Port Security | Indicates whether port security is enabled.                            |
| Created At    | The timestamp indicating when the port was created.                    |

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag          | Shorthand | Default | Description                           |
| ------------- | --------- | ------- | ------------------------------------- |
| --help        | -h        |         | Help for the list command.            |
| --interactive | -i        | false   | Force interactive TUI mode            |
| --vpc-id      |           |         | VPC ID (filter ports by specific VPC) |
