Networking > Layer 2 > Segments > Properties & Statistics

get logical-switch <vni-or-uuid-arg> verbose Deprecated new version is available here.

Display information about the specified logical switch and logical switch ports associated with it. Use the get logical-switches command to get a list of all logical switches. You can use the VNI or UUID to specify the logical switch.

Parameters:

Option Description
<vni-or-uuid> VNI or UUID argument
Allowed pattern: ^[0-9]+$|^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$


Example:

nsx-controller-1> get logical-switch 857212c6-3d87-4a4a-9700-0c9d23f74f1c verbose VNI UUID LogicalSwitchPorts 5000 857212c6-3d87-4a4a-9700-0c9d23f74f1c 29c7254f-f148-46a2-be3d-bbf2707f7e66 837a565a-f88c-4979-a7f0-9955a365bb9 or nsx-controller-1> get logical-switch 5000 verbose VNI UUID LogicalSwitchPorts 5000 857212c6-3d87-4a4a-9700-0c9d23f74f1c 29c7254f-f148-46a2-be3d-bbf2707f7e66 837a565a-f88c-4979-a7f0-9955a365bb9

Mode:

Basic

Availability: