Displaying tunnel statistics

Procedure

  1. From user EXEC mode, use the show tunnel statistics command to display statistics of all tunnels.
    device# show tunnel statistics
  2. Enter the tunnel ID to display statistics of a specific tunnel.
    device# show tunnel statistics 7

Example

The following example shows how to display statistics of all tunnels.

device# show tunnel statistics

Example

The following example shows how to display statistics of the specified tunnel ID.

device# show tunnel statistics mode gre
Tnl ID   RX packets      TX packets      RX bytes        TX bytes
======== =============== =============== =============== ================
5        0               0               (NA)            0

Example

The following example shows how to display tunnel statistics mode.

device# show tunnel statistics mode gre
Tnl ID   RX packets      TX packets      RX bytes        TX bytes
======== =============== =============== =============== ================
10       0               10               (NA)            640
11       0               20               (NA)            1280
12       0               50               (NA)            22000

Example

The following example shows how to display information of the specified tunnel.

device# show tunnel 10
Tunnel 10, mode GRE
Ifindex 0x7c40000a, Admin state up, Oper state up
Source IP 14.101.0.4, Vrf default-vrf
Destination IP 15.10.0.3
Tunnel IP Interface : Ve 501 up    
Tunnel TTL 255      Tunnel DSCP 0 
Tunnel QosMode PIPE 
Keepalive Interval 10000  RetryCount 3 TimeRemaining 27861 msecs
GRE Keep Alive : RX 62      TX 62

Active next hops:
    IP: 13.10.0.3, Vrf: default-vrf
    Egress L3 port: Ve 10, Outer SMAC: 609c.9f0d.4a14
    Outer DMAC: 001b.ed9f.1700
    Egress L2 Port: Unknown, Outer ctag: 0, stag:0, Egress mode: Local
    BUM forwarder: no