NSX CLI Document
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 enhanced datapath with lcore IDShow flow stats for a datapath with lcore ID |
get ens flow-stats <lcore-ID-arg>
|
Dump Flow Table for all lcoresDump Flow Table for all lcores |
get ens flow-table dump
|
Dump Flow Table for a specific lcoreDump Flow Table for a specific lcore |
get ens flow-table dump <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 lcore ID and switch IDGet FPO stats for a datapath with lcore ID and switch ID |
get ens fpo stats <lcore-ID-arg> <switch-id-arg>
|
Get FPO stats for a datapath with lcore ID or uplinkGet FPO stats for a datapath with lcore ID or uplink |
get ens fpo stats <lcoreID-or-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
|
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 <ens-port-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 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>
|
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 <ens-port-id-arg> <lcore-ID-arg> <dir-arg>
|
Migrate port queue between lcoresMigrate port queue between lcores |
set ens port migrate <ens-port-id-arg> <lcore-ID-arg> <dir-arg> <switch-id-arg>
|
Migrate port queue between lcoresMigrate port queue between lcores |
set ens port migrate <ens-port-id-arg> <lcore-ID-arg> <dir-arg> <switch-id-arg> <queue-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>
|
Total commands: 41