Networking > Layer 2 > Properties & Statistics

get logical-switch <ls_id_arg_esx> datapath-stats all new

Display all counters for the specified logical switch.

Parameters:

Option Description
<logical-switch-id> Logical switch identifier UUID, VNI or vlan:VLAN-ID


Example:

esx-1> get logical-switch 74752 datapath-stats all new Datapath Observability New All Counters -------------------------------------------------------------------------------------------------------------- Module : nsxt-vdl2 ============================================================================================================== COUNTER NAME COUNTERS RATE(pkts/sec) DURATION(HH:MM:SS) leafRx 40 19.16 00:00:02.087919 leafTx 40 19.16 00:00:02.087919 uplinkRx 0 0.0 00:00:02.087920 uplinkRxSkipMACLearn 0 0.0 00:00:02.087920 uplinkRxMcastInvalidDRUplinkDrops 0 0.0 00:00:02.087920 uplinkTx 0 0.0 00:00:02.087920 uplinkTxIgnore 0 0.0 00:00:02.087920 .......

Mode:

Basic

Availability: