show statistics tunnel

Displays statistical information for GRE and IPsec tunnels.
Syntax
show statistics tunnel[tunnel-id]
Parameters
tunnel-id
Specifies the tunnel ID. The default range is from 1 through 44. When the maximum number of GRE tunnels is set to 64 by using the system-max gre-tunnels command, the range is from 1 through 92.
Modes

User EXEC mode

Usage Guidelines

This command may be entered in all configuration modes.

The show statistics tunnel command displays the following information:

Output field Description
Tunnel Status Indicates whether the tunnel and line protocol are up or down. Possible values are:
  • up/up—The tunnel and line protocol are up.
  • up/down—The tunnel is up and the line protocol is down.
  • down/up—The tunnel is down and the line protocol is up.
  • down/down—The tunnel and line protocol are down.
Packet Received Displays the number of packets received on the tunnel since it was last cleared by the administrator.
Packet Sent Displays the number of packets sent on the tunnel since it was last cleared by the administrator.
KA recv Displays the number of keepalive packets received on the tunnel since it was last cleared by the administrator.
KA sent Displays the number of keepalive packets sent on the tunnel since it was last cleared by the administrator.
GRE tunnel  
  InOctets Displays the number of incoming octets received on the tunnel since it was last cleared by the administrator.
  OutOctets Displays the number of outgoing octets sent on the tunnel since it was last cleared by the administrator.
  InPkts Displays the number of incoming packets received on the tunnel since it was last cleared by the administrator.
  OutPkts Displays the number of outgoing packets sent on the tunnel since it was last cleared by the administrator.
IPsec tunnel  
  Bytes Received Displays the number of bytes received on the tunnel since it was last cleared by the administrator.
  Bytes Sent Displays the number of bytes sent on the tunnel since it was last cleared by the administrator.
Examples

The following example shows how to display statistical information for tunnel 1.

device> show statistics tunnel 1

IP GRE Tunnels
      Tunnel Status   Packet Received   Packet Sent   KA recv   KA sent
  1   up/up           0                 0             0         0

IP  GRE Tunnel 1 HW Counters:
       InOctets            90             OutOctets             90
       InPkts               1             OutPkts                1

The following example shows how to display statistical information for all tunnels.

device> show statistics tunnel 

IP GRE Tunnels
      Tunnel Status  Packet Received  Packet Sent  KA recv  KA sent

IPSEC Tunnels
      Tunnel Status  Packet Received  Packet Sent  Bytes Received  Bytes Sent
  9   down/down      0                0            0               0
  10  up/up          50               16442474     7300            9372173444

History
Release version Command history
08.0.40 This command was modified to display GRE-tunnel hardware counters on the RUCKUS ICX 7xxx series.
08.0.50 This command was modified to display IPsec tunnel information on the RUCKUS ICX 7450.