Celestica Documentation Portal

Find your product documents here

Show vxlan counters

Displays VxLAN tunnel(s)' counters information such as rx_packets, tx_packets count, rate, and so on. Tunnel flex-counters need to be enabled by using the counterpoll tunnel enable CLICK command before executing this command.

Syntaxshow vxlan counters [<tunnel-name>]
Command modeEXEC
Parameters
  • tunnel-name – VLAN tunnel name in string format.

Usage Use this command to retrieve the vxlan tunnel(s) counters information. It is recommended to change its default polling-interval of 10 seconds to 1 second (1000ms) by using the counterpoll tunnel interval 1000 CLICK command, to get the most recent polled tunnel counters.
Supported Releases1.1.0 or later
Click command show vxlan counters [TUNNEL]
Example
sonic# show vxlan counters
Polling Rate : 1 seconds
Interface       RX_PKTS      RX_PPS(P/s)    RX_BYTES      RX_BPS(B/s)    TX_PKTS      TX_PPS(P/s)    TX_BYTES      TX_BPS(B/s)
-----------------------------------------------------------------------------------------------------------------------------
EVPN_2.2.2.2    21343830     899337.84      2433196760    102524513.74   0            0.0            0             0.0
EVPN_3.3.3.3    0            0.0            0             0.0            0            0.0            0             0.0
vtep1           0            0.0            0             0.0            0            0.0            0             0.0
sonic#