NSX CLI Guide

Associated Commands:

CLI Description Command

Display ports on a logical switch


Display port information for the specified logical switch.
get logical-switch <dpd-uuid-lswitch-arg> ports (Deprecated)

Display port statistics for a logical switch


Display port statistics for the specified logical switch.
get logical-switch <dpd-uuid-lswitch-arg> ports stats (Deprecated)

Display ports on a logical switch


Display ports on the specified logical switch.
get logical-switch <ls-id-arg-kvm> ports (Deprecated)

Display the logical switch ports


Display port information for the specified logical switch.
get logical-switch <uuid-arg> ports (Deprecated)

Display ports for a logical switch


Display port information for the specified logical switch.
get logical-switch port <dpd-uuid-lswitch-port-arg> (Deprecated)

Display stats for a logical switch port


Display statistics for the specified logical switch port.
get logical-switch port <dpd-uuid-lswitch-port-arg> stats (Deprecated)

Display logical switch ports


Display ports for all logical switches.
get logical-switch ports (Deprecated)

Display ports stats for all logical switches


Display port statistics for all logical switches.
get logical-switch ports stats (Deprecated)

Display the logical switch port


Display information about the specified logical switch port.
get logical-switch-port <uuid-arg> (Deprecated)

Get logical switch port status


Display the status for logical switch ports on this hypervisor host.
get logical-switch-port status

Display ports on a segment


Display port information for the specified segment.
get segment <dpd-uuid-lswitch-arg> ports

Display port statistics for a segment


Display port statistics for the specified segment.
get segment <dpd-uuid-lswitch-arg> ports stats

Display ports on a segment


Display ports on the specified segment.
get segment <segment-id-arg-kvm> ports

Display the segment ports


Display port information for the specified segment.
get segment <uuid-arg> ports

Display ports for a segment


Display port information for the specified segment.
get segment port <dpd-uuid-lswitch-port-arg>

Display stats for a segment port


Display statistics for the specified segment port.
get segment port <dpd-uuid-lswitch-port-arg> stats

Display segment ports


Display ports for all segments.
get segment ports

Display ports stats for all segments


Display port statistics for all segments.
get segment ports stats

Display the segment port


Display information about the specified segment port.
get segment-port <uuid-arg>

Get segment port status


Display the status for segment ports on this hypervisor host.
get segment-port status

Total commands: 20