Displaying GRE Tunneling Information
This section describes the show commands that display the
GRE tunnels configuration, the link status of the GRE tunnels, and the routes that
use GRE
tunnels. For field definitions of the following commands, refer to the RUCKUS FastIron Command Reference.
To display GRE tunneling Information, use the following commands:
-
show ip interface -
show ip route -
show ip interface tunnel -
show ip tunnel traffic -
show interface tunnel -
show statistics tunnel
To view basic information about GRE tunnels, use the
show ip interface
command.
device# show ip interface Interface IP-Address OK? Method Status Protocol VRF Tunnel 1 101.1.1.1 YES NVRAM up up red Tunnel 3 89.1.1.1 YES NVRAM up up default-vrf
To display routes that are pointing to a GRE tunnel, use the
show ip route command.
device# show ip route
Total number of IP routes: 3, avail: 79996 (out of max 80000)
B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default
Destination NetMask Gateway Port Cost Type
1 10.1.1.0 255.255.255.0 0.0.0.0 7 1 D
2 10.1.2.0 255.255.255.0 10.1.1.3 7 1 S
3 10.34.3.0 255.255.255.0 0.0.0.0 tn3 1 D
To display the link status and IP address configuration for an IP tunnel interface,
use the
show ip interface tunnel command.
device# show ip interface tunnel 64 Interface Tunnel 64 port enabled port state: UP ip address: 223.224.64.0/31 Port belongs to VRF: default-vrf encapsulation: GRE, mtu: 1476, metric: 1 directed-broadcast-forwarding: disabled proxy-arp: disabled ip arp-age: 10 minutes No Helper Addresses are configured. No inbound ip access-list is set No outgoing ip access-list is set
To display the GRE tunnel configuration and the Path MTU aging timer information,
use the
show interface tunnel
command.
device# show interface tunnel 10 Tunnel10 is up, line protocol is up Hardware is Tunnel Tunnel source 1.1.41.10 Tunnel destination is 1.1.14.10 Tunnel mode gre ip Port name is GRE_10_to_VR1_on_ICX_STACK Internet address is 223.223.1.1/31, MTU 1476 bytes, encapsulation GRE Keepalive is not Enabled Path MTU Discovery: Enabled, MTU is 1428 bytes, age-timer: 10 minutes Path MTU will expire in 0 minutes 50 secs
To display the link status of the tunnel and
the number of keepalive packets received and sent on the tunnel, use the show ip tunnel traffic command.
device# show ip tunnel traffic
IP GRE Tunnels
Tunnel Status Packet Received Packet Sent KA recv KA sent
1 up/up 362 0 362 362
3 up/up 0 0 0 0
10 down/down 0 0 0 0
To display GRE tunnel statistics for a specifc
tunnel ID number, use the show
statistics tunnel command with a number for the specific tunnel ID.
device(config-tnif-10)# show statistics tunnel 1
IP GRE Tunnels
Tunnel Status Packet Received Packet Sent KA recv KA sent
1 up/up 87120 43943 43208 43855
RFC 2784 supports GRE tunnel ports. The show statistics tunnel command
output now includes information from the hardware counters for each tunnel.
IP GRE Tunnel 1 HW Counters:
InOctets 0 OutOctets 0
InPkts 0 OutPkts 0