NSX CLI Guide
Associated Commands:
CLI Description | Command |
---|---|
Clear flow table for all fastpathsClear flow table for all fastpaths |
clear ens flow-table
|
Show ENS device affinity listShow the current device affinity of enhanced datapath. |
get ens dev affinity list
|
Get flow stats for an ENS switch with switch IDShow flow stats for an ENS switch with switch ID |
get ens flow-stats <switch-id-arg>
|
Get flow stats for an ENS fastpath with switch ID and lcore IDShow flow stats for an ENS fastpath with switch ID and lcore ID |
get ens flow-stats <switch-id-arg> <lcore-ID-arg>
|
Dump Flow Table for all lcores of requested switch IDDump Flow Table for all lcores of requested switch ID |
get ens flow-table dump <switch-id-arg>
|
Dump Flow Table for a specific lcore from specific switchDump Flow Table for a specific lcore from specific switch |
get ens flow-table dump <switch-id-arg> <lcore-ID-arg>
|
Get flow table sizeGet flow table size |
get ens flow-table size
|
Get flow timeout in secondsGet flow timeout in seconds |
get ens flow-table timeout
|
Get global FPO configurationGet global FPO configuration |
get ens fpo
|
Get FPO stats for a datapath with switch ID and lcore IDGet FPO stats for a datapath with switch ID and lcore ID |
get ens fpo stats <switch-id-arg> <lcore-ID-arg>
|
Get FPO stats for a datapath with uplink nameGet FPO stats for a datapath with uplink name |
get ens fpo stats <uplink-arg>
|
Get FPO status for an uplinkGet FPO status for an uplink |
get ens fpo status <uplink-arg>
|
Get HW flow cache counters on smart NICGet HW flow cache counters on smart NIC |
get ens hw-flow-stats
|
Get the lcore latency config dataGet the lcore latency config data |
get ens latency lcore config <switch-id-arg>
|
Dump the lcore latency stats dataDump the lcore latency stats data |
get ens latency lcore dump <switch-id-arg>
|
Dump latency histos for all vmxnet3 vnics and all lcores of this switchDump latency histos for all vmxnet3 vnics and all lcores of this switch |
get ens latency system dump <switch-id-arg>
|
Show ENS lcore assignment modeShow the current mode of enhanced datapath lcore assignment. |
get ens lcore-assignment-mode <hs-name-arg>
|
List all ports in all switchesList all ports in all switches |
get ens port list
|
List all ports in a specified ENS switchList all ports in a specified ENS switch |
get ens port list <switch-id-arg>
|
Get the netq information for a portGet the netq information for a port |
get ens port netq <switch-id-arg> <ens-port-id-arg>
|
Get PRP config for a switchGet PRP config for a switch |
get ens prp config <switch-id-arg>
|
List all active PRP nodesList all active PRP nodes |
get ens prp node <switch-id-arg>
|
Get a PRP node informationGet a PRP node information |
get ens prp node <switch-id-arg> <vLAN-id-arg> <mac-arg>
|
List PRP per lcore statsList PRP per lcore stats |
get ens prp stats lcore <switch-id-arg> <lcore-aggr-arg>
|
List all active PRP nodes statsList all active PRP nodes stats |
get ens prp stats node <switch-id-arg>
|
List vDAN statsList vDAN stats |
get ens prp stats vdan <switch-id-arg>
|
List active vDANsList active vDANs |
get ens prp vdan list <switch-id-arg>
|
List all ENS switchesList all ENS switches |
get ens switch list
|
List latest Telemetry related infra-counters.List latest Telemetry related infra-counters. |
get ens telemetry-infra-counters
|
Dump thread load balancer statisticsDump thread load balancer statistics |
get ens tlb stats
|
Dump thread load balancer statistics for a specific switchDump thread load balancer statistics for a specific switch |
get ens tlb stats <switch-id-arg>
|
Get the current thread load balancer statusGet the current thread load balancer status |
get ens tlb status <hs-name-arg>
|
Get the RSS setting of an uplinkGet the RSS setting of an uplink |
get ens uplink rss list <uplink-arg>
|
Get the stats and private stats of an uplink portGet the stats and private stats of an uplink port |
get ens uplink stats <uplink-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 MAC Table associated with a Team of a vswitchGet MAC Table associated with a Team of a vswitch |
get vswitch mac-table team <hs-name-arg>
|
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>
|
Disable flow cache for all switchesDisable flow cache for all switches |
set ens flow-table disable
|
Disable flow cache for a specific switchDisable flow cache for a specific switch |
set ens flow-table disable <switch-id-arg>
|
Enable flow cache for all switchesEnable flow cache for all switches |
set ens flow-table enable
|
Enable flow cache for a specific switchEnable flow cache for a specific switch |
set ens flow-table enable <switch-id-arg>
|
Set flow table size per Lcore. Rounded up to nearest power of 2.Set flow table size per Lcore. Rounded up to nearest power of 2. |
set ens flow-table size <size-arg>
|
Enable/disable global FPO and configure FPO modelEnable/disable global FPO and configure FPO model |
set ens fpo <fpo-config-arg>
|
Enable/disable per switch FPO and configure FPO modelEnable/disable per switch FPO and configure FPO model |
set ens fpo <fpo-config-arg> <hs-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>
|
Migrate port queue between lcoresMigrate port queue between lcores |
set ens port migrate <switch-id-arg> <ens-port-id-arg> <queue-id-arg> <dir-arg> <lcore-ID-arg>
|
Disable usePerVnicQCb option of ENS switchDisable usePerVnicQCb option of ENS switch |
set ens switch use-per-vnic-qcb disable <hs-name-arg>
|
Enable usePerVnicQCb option of ENS switchEnable usePerVnicQCb option of ENS switch |
set ens switch use-per-vnic-qcb enable <hs-name-arg>
|
Disable automatic thread load balancingDisable automatic thread load balancing |
set ens tlb status disable <hs-name-arg>
|
Enable automatic thread load balancingEnable automatic thread load balancing |
set ens tlb status enable <hs-name-arg>
|
Enable automatic thread load balancing based on metricEnable automatic thread load balancing based on metric |
set ens tlb status enable <hs-name-arg> <metric-arg>
|
Set Tx and Rx ring size of an uplinkSet Tx and Rx ring size of an uplink |
set ens uplink ring-size <uplink-arg> <tx-ring-size-arg> <rx-ring-size-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: 70