> 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/guideline-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/network/subnet/detail.md).

# detail

View details of a specific subnet in your project. This command allows you to retrieve detailed information about a subnet by providing its unique identifier (subnet ID).

## Usage

```
cldkctl flexi network subnet detail [flags]
```

## Aliases

```
detail, detail, dtl
```

## 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 subnet detail -i true
```

2. The terminal displays a list of available **VPCs**. Select the VPC where the subnet is located.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FdB7MsY9XmpmAHMDo8xpO%2F1.png?alt=media&amp;token=bc18ba43-dfdd-4e18-b159-50708310b6e7" alt=""><figcaption></figcaption></figure>

3. The terminal displays a list of available **Subnets** in the selected VPC. Select the subnet that you want to view.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FUz0geo77176fDXdO2ACR%2F2.png?alt=media&amp;token=eba65f6e-4dad-4fb9-aeb7-3167adc02145" alt=""><figcaption></figcaption></figure>

4. The terminal displays the command output.
5. When prompted with **Continue?**, select **y** to return to the previous menu or **n** to exit the process.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FpzV1h7TLgGV2iUsOsaPz%2F3.png?alt=media&amp;token=fc35943e-b68a-4390-a772-66c00314ba90" alt=""><figcaption></figcaption></figure>

#### Non-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 subnet details.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FwTpxrN3ESakr7wX257iO%2F4%20non%20interactive.png?alt=media&amp;token=842c41d5-bec8-42f5-83cc-64faaa33af21" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/guideline-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 detail command.                         |
| --interactive | -i        | false   | Run in interactive/TUI mode                          |
| --subnet-id   |           |         | Subnet ID or name (required in non-interactive mode) |
| --vpc-id      |           |         | VPC ID or name (required in non-interactive mode)    |
