device(config-tnif-1)# tunnel mode gre ip
device(config-tnif-1)# tunnel loopback 1/1
device(config-tnif-1)# ip address 10.10.3.2/24
device(config-tnif-1)# exit
device(config)# ip route 10.0.8.0/24 131.108.5.1
device(config)# ip route 10.10.1.0/24 tunnel
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.
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
The following shows an example output of the show ip interface command, which includes information about GRE tunnels.
device# show ip interface
Interface
VRF
Tunnel 1
red
Tunnel 3
default-vrf
For field definitions, refer to
Syntax: show ip interface
The show ip route command displays routes that are pointing to a GRE tunnel as shown in the following example.
device# show ip route
Total number of IP routes: 3, avail: 79996 (out of max 80000)
B:BGP D:Connected
Destination
1
10.1.1.0
2
10.1.2.0
3
10.34.3.0
For field definitions, refer to
Syntax: show ip route
The show ip interface tunnel command displays the link status and IP address configuration for an IP tunnel interface as shown in the
following example.
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.
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
IP-Address
101.1.1.1
89.1.1.1
Displaying IP interface information
R:RIP
S:Static
O:OSPF *:Candidate default
NetMask
Gateway
255.255.255.0
255.255.255.0
255.255.255.0
0.0.0.0
Displaying the IP route table
OK?
Method
YES
NVRAM
YES
NVRAM
on page 127.
Port
Cost
0.0.0.0
7
10.1.1.3
tn3
1
on page 132.
Status
up
up
Type
1
D
7
1
S
D
IPv4 point-to-point GRE tunnels
Protocol
up
up
117