Networking > Layer 2 > Segments > Properties & Statistics

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

Display information about the specified logical switch. 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 VNI UUID Name Type 5000 857212c6-3d87-4a4a-9700-0c9d23f74f1c ls-mtep DEFAULT or nsx-controller-1> get logical-switch 5000 VNI UUID Name Type 5000 857212c6-3d87-4a4a-9700-0c9d23f74f1c ls-mtep DEFAULT

Mode:

Basic

Availability: