NSX CLI Guide

Associated Commands:

CLI Description Command

Display mac table for a logical switch


Display the mac address table for the specified logical switch.
get logical-switch <dpd-uuid-lswitch-arg> mac-address-table (Deprecated)

Display remote rtep-group mac addresses for a logical switch


Display remote rtep-group mac addresses for a logical switch.
get logical-switch <dpd-uuid-lswitch-arg> rtep-group-mac-address-table (Deprecated)

Display remote rtep-group mac addresses


Display remote rtep-group mac addresses.
get logical-switch <dpd-uuid-lswitch-arg> rtep-group-mac-address-table <rtep-group-id-arg> (Deprecated)

Display VTEP table for a logical switch


Display the tunnel endpoint table for the specified logical switch.
get logical-switch <dpd-uuid-lswitch-arg> vtep-table (Deprecated)

Display ARP table for a logical switch


Display the ARP table for the specified logical switch.
get logical-switch <ls-id-arg-kvm> arp-table (Deprecated)

Display MAC table for a logical switch


Display the MAC table for the specified logical switch.
get logical-switch <ls-id-arg-kvm> mac-table (Deprecated)

Display ARP table for a logical switch


Display the ARP table for the specified logical switch.
get logical-switch <ls_id_arg_esx> arp-table (Deprecated)

Display HW VTEP table for a logical switch


Display the HW VTEP table for the specified logical switch.
get logical-switch <ls_id_arg_esx> hw-vtep-table (Deprecated)

Display MAC table for a logical switch


Display the MAC table for the specified logical switch.
get logical-switch <ls_id_arg_esx> mac-table (Deprecated)

Display ND table for a logical switch


Display the ND table for the specified logical switch.
get logical-switch <ls_id_arg_esx> nd-table (Deprecated)

Display VTEP group information


Display VTEP groups for the specified logical switch
get logical-switch <ls_id_arg_esx> vtep-group (Deprecated)

Display VTEP table for a logical switch


Display the VTEP table for the specified logical switch.
get logical-switch <ls_id_arg_esx> vtep-table (Deprecated)

Display the routing domain ID of a logical switch


Display the routing domain ID of a logical switch.
get logical-switch <uuid-arg> routing-domain-from-app

Display local ARP table for a logical switch


Display local ARP table for the specified logical switch.
get logical-switch <vni-or-uuid-arg> arp-table (Deprecated)

Display ARP table for a logical switch for both local and remote records


Display the ARP table for the specified logical switch for both local and remote records.
get logical-switch <vni-or-uuid-arg> arp-table all (Deprecated)

Display ARP table for a logical switch for both local and remote records


Display the ARP table for the specified logical switch for both local and remote records
get logical-switch <vni-or-uuid-arg> arp-table all verbose (Deprecated)

Display ARP table for a logical switch for only remote records, show site id at column TransportNodeId


Display the ARP table for the specified logical switch for only remote records.
get logical-switch <vni-or-uuid-arg> arp-table remote (Deprecated)

Display ARP table for a logical switch for only remote records


Display the ARP table for the specified logical switch for only remote records.
get logical-switch <vni-or-uuid-arg> arp-table remote verbose (Deprecated)

Display local ARP table for a logical switch


Display local ARP table for the specified logical switch.
get logical-switch <vni-or-uuid-arg> arp-table verbose (Deprecated)

Display local MAC table for a logical switch


Display local MAC address table for the specified logical switch.
get logical-switch <vni-or-uuid-arg> mac-table (Deprecated)

Display MAC table for a logical switch for both local and remote mac records


Display the MAC address table for the specified logical switch for both local and remote mac records.
get logical-switch <vni-or-uuid-arg> mac-table all (Deprecated)

Display MAC table for a logical switch for both local and remote records


Display the MAC address table for the specified logical switch for both local and remote records.
get logical-switch <vni-or-uuid-arg> mac-table all verbose (Deprecated)

Display MAC table for a logical switch for only remote mac records


Display the MAC address table for the specified logical switch for only remote mac records.
get logical-switch <vni-or-uuid-arg> mac-table remote (Deprecated)

Display MAC table for a logical switch for only remote records


Display the MAC address table for the specified logical switch for only remote records.
get logical-switch <vni-or-uuid-arg> mac-table remote verbose (Deprecated)

Display local MAC table for a logical switch


Display local MAC address table for the specified logical switch.
get logical-switch <vni-or-uuid-arg> mac-table verbose (Deprecated)

Display the routing domain ID of a logical switch


Display the routing domain ID of a logical switch.
get logical-switch <vni-or-uuid-arg> routing-domain-from-pigeon

Display transport nodes which joined a given logical switch


Display transport nodes which joined a given logical switch.
get logical-switch <vni-or-uuid-arg> transport-node-table (Deprecated)

Get logical switch local mac


Display a specific logical switch's local or remote MAC, ARP, or VTEP information.
get logical-switch {local | remote} {mac-cache | arp-cache | vtep-cache} <vni>

Display mac table for a segment


Display the mac address table for the specified segment.
get segment <dpd-uuid-lswitch-arg> mac-address-table

Display remote rtep-group mac addresses for a segment


Display remote rtep-group mac addresses for a segment.
get segment <dpd-uuid-lswitch-arg> rtep-group-mac-address-table

Display remote rtep-group mac addresses


Display remote rtep-group mac addresses.
get segment <dpd-uuid-lswitch-arg> rtep-group-mac-address-table <rtep-group-id-arg>

Display VTEP table for a segment


Display the tunnel endpoint table for the specified segment.
get segment <dpd-uuid-lswitch-arg> vtep-table

Display ARP table for a segment


Display the ARP table for the specified segment.
get segment <segment-id-arg-kvm> arp-table

Display MAC table for a segment


Display the MAC table for the specified segment.
get segment <segment-id-arg-kvm> mac-table

Display ARP table for a segment.


Display the ARP table for the specified segment.
get segment <segment_id_arg_esx> arp-table

Display HW VTEP table for a segment


Display the HW VTEP table for the specified segment.
get segment <segment_id_arg_esx> hw-vtep-table

Display MAC table for a segment.


Display the MAC table for the specified segment.
get segment <segment_id_arg_esx> mac-table

Display ND table for a segment


Display the ND table for the specified segment.
get segment <segment_id_arg_esx> nd-table

Display VTEP group information


Display VTEP groups for the specified segment
get segment <segment_id_arg_esx> vtep-group

Display VTEP table for a segment


Display the VTEP table for the specified segment.
get segment <segment_id_arg_esx> vtep-table

Display local ARP table for a segment


Display local ARP table for the specified segment.
get segment <vni-or-uuid-arg> arp-table

Display ARP table for a segment for both local and remote records


Display the ARP table for the specified segment for both local and remote records.
get segment <vni-or-uuid-arg> arp-table all

Display ARP table for a segment for both local and remote records


Display the ARP table for the specified segment for both local and remote records
get segment <vni-or-uuid-arg> arp-table all verbose

Display ARP table for a Segment for only remote records, show site id at column TransportNodeId


Display the ARP table for the specified segment for only remote records.
get segment <vni-or-uuid-arg> arp-table remote

Display ARP table for a segment for only remote records


Display the ARP table for the specified segment for only remote records.
get segment <vni-or-uuid-arg> arp-table remote verbose

Display local ARP table for a segment


Display local ARP table for the specified segment.
get segment <vni-or-uuid-arg> arp-table verbose

Display local MAC table for a segment


Display local MAC address table for the specified Segment.
get segment <vni-or-uuid-arg> mac-table

Display MAC table for a segment for both local and remote mac records


Display the MAC address table for the specified segment for both local and remote mac records.
get segment <vni-or-uuid-arg> mac-table all

Display MAC table for a segment for both local and remote records


Display the MAC address table for the specified segment for both local and remote records.
get segment <vni-or-uuid-arg> mac-table all verbose

Display MAC table for a segment for only remote mac records


Display the MAC address table for the specified Segment for only remote mac records.
get segment <vni-or-uuid-arg> mac-table remote

Display MAC table for a segment for only remote records


Display the MAC address table for the specified segment for only remote records.
get segment <vni-or-uuid-arg> mac-table remote verbose

Display local MAC table for a segment


Display local MAC address table for the specified segment.
get segment <vni-or-uuid-arg> mac-table verbose

Display transport nodes which joined a given segment


Display transport nodes which joined a given segment.
get segment <vni-or-uuid-arg> transport-node-table

Get segment local mac


Display a specific segment's local or remote MAC, ARP, or VTEP information.
get segment {local | remote} {mac-cache | arp-cache | vtep-cache} <vni>

Total commands: 54