# create

Create a new port network in your project. This command allows you to add a new subnet with the specified details.

## Usage

```
cldkctl flexi-network port create [flags]
```

## Aliases

```
create, create, add
```

## Steps

Follow the steps below to run and view the result of this command:&#x20;

1. Run the following command in your terminal:

```
cldkctl flexi-network port create
```

2. The terminal displays a list of available **VPCs**. Select the VPC where the port will be created.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FgvbCwUpIniTohLaTM5fU%2Fimage.png?alt=media&#x26;token=1f59003b-496f-4675-8555-b96f450fc274" alt=""><figcaption></figcaption></figure>

3. Select the **Subnet** associated with the selected VPC.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FtOahnHe9H1raRQefTsR2%2Fimage.png?alt=media&#x26;token=c338861f-8bca-4e2b-831a-a19e2134fada" alt=""><figcaption></figcaption></figure>

4. Enter the **Port Name**, then select the **Port Type**.
5. Enter the **IP Address** and **MAC Address** for the port.
6. Select the **Port Security** option.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FtllfH41rsvepehqvNcui%2Fimage.png?alt=media&#x26;token=826f217b-e3f3-4e41-add8-264c8aa2b6c2" alt=""><figcaption></figcaption></figure>

7. When prompted, confirm the action by selecting **Confirm**, or cancel the process by selecting **Cancel**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FQDVjJ9g01S0X4NLz4phq%2Fimage.png?alt=media&#x26;token=05589136-7c51-479f-9837-1bd7bf8e9770" alt=""><figcaption></figcaption></figure>

8. 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%2FPP5Klmz8F3iP8aHQzgsi%2Fimage.png?alt=media&#x26;token=58681ab8-d4f8-4774-9b55-97363781bf85" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag       | Description                  |
| ---------- | ---------------------------- |
| -h, --help | Help for the create command. |
