show overlay-gateway

Displays status and statistics for the VXLAN overlay-gateway instance.

Syntax

show overlay-gateway [ name name | vlan statistics | statistics ]

Parameters

name
Name of the configured VXLAN gateway.
vlan statistics
Displays statistics for each VLAN for the VXLAN gateway. Statistics include transmitted and received packet counts and byte counts exchanged for each exported VLAN. Because each exported VLAN maps to a VXLAN, these statistics apply on a per-VXLAN-counters basis. Per-VLAN counters are not enabled by default. You need to first run the enable statistics direction command for the gateway to enable statistics for specified VLAN IDs.
statistics
Displays statistics for the VXLAN gateway. Statistics include transmitted and received packet counts and byte counts. These counters are derived by aggregating tunnel counters for all the tunnels of the gateway.

Modes

Privileged EXEC mode

Usage Guidelines

Output includes the gateway name, the system-assigned gateway ID, source IP address, VRF, administration state, and number of tunnels associated. Additionally, the output displays the QoS TTL and DSCP modes for VxLAN tunnels in all supported platforms.

If you specify the gateway name, the gateway must already be configured.

Examples

To show the status for a gateway instance that is configured for Layer 2 extension with a loopback interface:

device# show overlay-gateway
    Overlay Gateway "GW1", ID 1
    Type Layer2-Extension, Tunnel mode VXLAN
    IP address 10.10.10.1 (Loopback 10), Vrf default-vrf
    Admin state up
        QOS mode TTL: PIPE, DSCP: PIPE
        Number of tunnels 2
        Packet count: RX 0               TX 0
        Byte count  : RX (NA)            TX 0

To show statistics for the gateway instance:

device# show overlay-gateway statistics

Gateway Name         RX packets      TX packets      RX bytes        TX bytes
==================== =============== =============== ========= ==============
GW1                  200000          10000           22227772        1110111

To display statistics for VLANs attached to the VXLAN gateway:

device# show overlay-gateway name GW1 vlan statistics

                             Packets          Bytes
VLAN    VNI     Tx      Rx        Tx         Rx
-----------------------------------------------------
10      1010   10000   200000    1110111    22227772
11      1011   2200    -         221334     -
21      1021   -       1         -          100


device# show overlay-gateway name test vlan statistics
VLAN ID   RX packets           TX packets
========= ==================== ====================
30        0                    0
40        3696                 3696