# 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-individual/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) |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/cloudeka-api-list/command-reference/cldkctl-flexi/network/port/list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
