NSX CLI Guide
Associated Commands:
| CLI Description | Command |
|---|---|
Clean up host stateDeletes all NSX configuration and modules from the host only. Please delete the corresponding transport node entries from NSX manager using GUI/API. |
clear management-plane
|
Show ENS lcore assignment modeShow the current mode of enhanced datapath lcore assignment. |
get ens lcore-assignment-mode <hs-name-arg>
|
Get geneve critical bitGet geneve critical bit. |
get geneve-cbit dvs <dvs-name-arg>
|
Display Tunnels info on a host switchDisplay Tunnels info on the specified host switch. |
get host-switch <hs-name-arg> <bfd-cmd-type-arg>
|
Display Tunnel Detail info on a host switchDisplay Tunnel Detail info on the specified DVPort of the specified host switch. |
get host-switch <hs-name-arg> <bfd-cmd-type-arg> <local-ip-arg> <remote-ip-arg>
|
Display IPFIX setting on a DVPort of a host switchDisplay IPFIX setting on the specified DVPort of the specified host switch |
get host-switch <hs-name-arg> dvport <dvport-id-arg> ipfix setting
|
Display IPFIX stats on a DVPort of a host switchDisplay IPFIX stats on the specified DVPort of the specified host switch |
get host-switch <hs-name-arg> dvport <dvport-id-arg> ipfix stats
|
Display mcast filter mode for a Host switchDisplay the mcast filter mode for the specified host switch and dvPort |
get host-switch <hs-name-arg> dvport <dvport-id-arg> mcast-filter
|
Display mcast filter stats of the specified entryDisplay the mcast filter stata of the specified entry |
get host-switch <hs-name-arg> dvport <dvport-id-arg> mcast-filter <entry-mode-arg> <entry-group-arg>
|
Display IPFIX stats on a host switchDisplay IPFIX stats on the specified host switch |
get host-switch <hs-name-arg> ipfix stats
|
Display mcast filter mode for a host switchDisplay the mcast filter mode for the specified host switch. |
get host-switch <hs-name-arg> mcast-filter
|
Display stats of mirror on a host switchDisplay the stats of mirror on the specified host switch. |
get host-switch <hs-name-arg> mirror-session <ms-id-arg-esx>
|
Display mirror settings on a host switchDisplay the mirror settings on the specified host switch. |
get host-switch <hs-name-arg> mirror-sessions
|
Display IPFIX stats on an uplink of a host switchDisplay IPFIX stats on the specified uplink of the specified host switch |
get host-switch <hs-name-arg> uplink <uplink-arg> ipfix stats
|
Display host switch upgrade statusDisplay if host switch is getting upgraded. |
get host-switch upgrade-status
|
Get CIF configuration by AppIDDisplay the container interface (CIF) configuration for the specified app. |
get hyperbus app-id <app-ID> cif-config
|
Get CIF configuration cache tableDisplay the container interface (CIF) configuration table. |
get hyperbus cif-table
|
Get VIF connection infoDisplay the virtual interface (VIF) connection information. |
get hyperbus connection info
|
Get VIF connection versionDisplay the virtual interface (VIF) connection version information. |
get hyperbus connection version
|
Get LIP IP poolDisplay the LIP allocation pool. |
get hyperbus lip ip-pool
|
Get CIF configuration by logical switch port IDDisplay the container interface (CIF) configuration for the specified logical switch port. |
get hyperbus logical-switch-port <logical-switch-port-ID> cif-config
|
Get connection info by VIF IDDisplay the connection information for the specified virtual interface (VIF). |
get hyperbus vif-id <vif-ID> connection info
|
Get LIP by VIF IDDisplay the logical IP (LIP) for the specified virtual interface (VIF). |
get hyperbus vif-id <vif-ID> lip
|
Get VIF LIP tableDisplay the VIF (virtual interface) LIP (logical IP) table. |
get hyperbus vif-lip-table
|
Get connected VIF tableDisplay the connected virtual interfaces (VIFs). For ESXi, all connected container host VIFs are displayed. For KVM, all connected container host VIFs and CIFs are displayed. |
get hyperbus vif-table
|
Display information about a mirror sessionDisplay information about the specified mirror session. |
get mirror-session <ms-id-arg>
|
Display mirror sessionsDisplay all mirror sessions on this host. |
get mirror-sessions
|
Display information about a IPFIX configurationDisplay information about the specified IPFIX configuration. |
get switch-ipfix logical-switch-port <logical-port-id-arg> setting
|
Display Switch Security config for a logical portDisplays Switch Security config for a logical port. |
get switch-security config <logical-port>
|
Display Switch Security stats for a logical portDisplays Switch Security stats for a logical port. |
get switch-security stats <logical-port>
|
Display vswitch runtime optionsDisplay all vSwitch runtime options on this host. |
get vswitch runtime
|
Get vxlan uplink queue filterGet vxlan uplink queue filter. |
get vxlan-uplink-queue-filter dvs <dvs-name-arg>
|
Change ENS lcore assignment modeChange mode of enhanced datapath lcore assignment. |
set ens lcore-assignment-mode <hs-name-arg> <ens-lc-mode-arg>
|
Set geneve critical bitSet geneve critical bit. |
set geneve-cbit <boolean-arg> dvs <dvs-name-arg>
|
Set mcast filter mode for a host switchSet the mcast filter mode for the specified host switch. |
set host-switch <hs-name-arg> mcast-filter <mcast-filter-mode-arg>
|
Set host switch upgrade statusSet host switch upgrade status. |
set host-switch upgrade-status <boolean-arg>
|
set one vswitch runtime optionSet a runtime option for the specified vSwitch. |
set vswitch runtime <option-name-arg> <option-value-arg>
|
Set vxlan uplink queue filterSet vxlan uplink queue filter. |
set vxlan-uplink-queue-filter <boolean-arg> dvs <dvs-name-arg>
|
Total commands: 38