A logical switch port lets you connect another network component, a VM, or a container to a logical switch.

About this task

For more information about connecting a VM to a logical switch, see Connecting a VM to a Logical Switch. For more information about connecting a container to a logical switch, see the NSX-T Container Plug-in for Kubernetes - Installation and Administration Guide.

Note:

The IP address and MAC address bound to a logical switch port for a container are allocated by NSX Manager. Do not change the address binding manually.

Prerequisites

Verify that a logical switch port is created. See Creating Logical Switches and Configuring VM Attachment.

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Select Switching from the navigation panel.
  3. Click the Ports tab.
  4. Click Add.
  5. In the General tab, complete the port details.

    Option

    Description

    Name and Description

    Enter a name and optionally a description.

    Logical Switch

    Select a logical switch from the drop-down list.

    Admin Status

    Select Up or Down.

    Attachment Type

    Select None or VIF.

    Attachment ID

    If the attachment type is VIF, enter the attachment ID.

  6. (Optional) In the Switching Profiles tab, select switching profiles.
  7. Click Save.