> 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/guidance-for-enterprise/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="/files/Wdub58SMCPp9EPXovDUq" alt=""><figcaption></figcaption></figure>

3. The terminal displays the command output.

<figure><img src="/files/0WWC5Fj6nf6laZZS1Qf6" 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="/files/PfQ2UrLftOVB9vn6sYzG" 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](/guidance-for-enterprise/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) |
