Edge uplinks go out through VLAN logical switches.
About this task
When you are creating a VLAN logical switch, it is important to have in mind a particular topology that you are building. For example, the following simple topology shows a single VLAN logical switch inside of a VLAN transport zone. The VLAN logical switch has VLAN ID 100. This matches the VLAN ID on the TOR port connected to the hypervisor host port used for the Edge's VLAN uplink.
To create a VLAN logical switch, you must first create a VLAN transport zone.
An NSX-T vSwitch must be added to the NSX Edge. To confirm on an Edge, run the get host-switch command. For example:
nsx-edge1> get host-switch Host Switch : c0a78378-1c20-432a-9e23-ddb34f1c80c9 Switch Name : hs1 Transport Zone : c46dcd72-808a-423d-b4cc-8752c33f6b2c Transport Zone : 73def985-d122-4b7b-ab6a-a58176dfc32d Physical Port : fp-eth0 Uplink Name : uplink-1 Transport VLAN : 4096 Default Gateway : 192.168.150.1 Subnet Mask : 255.255.255.0 Local VTEP Device : fp-eth0 Local VTEP IP : 192.168.150.102
Verify that your NSX Controller cluster is stable.
Verify that fabric nodes are successfully connected to the NSX-T management plane agent (MPA) and the NSX-T local control plane (LCP).
In the GET https://<nsx-mgr>/api/v1/transport-nodes/<transport-node-id>/state API call, the state must be success. See the NSX-T Installation Guide.
- From a browser, log in to an NSX Manager at https://<nsx-mgr>.
- Select Switching > Switches.
- Click Add.
- Type a name for the logical switch.
- Select a transport zone for the logical switch.
When you select a VLAN transport zone, the VLAN ID field appears.
- Type a VLAN ID.
Enter 0 in the VLAN field if there is no VLAN ID for the uplink to the physical TOR.
- (Optional) : Click the Switching Profiles tab and select switching profiles.
If you have two VLAN logical switches that have the same VLAN ID, they cannot be connected to the same Edge hostswitch. If you have a VLAN logical switch and an overlay logical switch, and the VLAN ID of the VLAN logical switch is the same as the transport VLAN ID of the overlay logical switch, they also cannot be connected to the same Edge hostswitch.
What to do next
Add a logical router.