Monitoring Dynamic GRE Tunnels

Purpose

Display information about a dynamic GRE tunnel or a list of dynamic GRE tunnels. You can specify the detail keyword to view detailed information about tunnels. You can specify the state keyword and the state of the tunnel (disabled, down, enabled, lower-down, not-present, up) to view the number of tunnels in a specific state. To view the state of a specific tunnel, specify a tunnel name. To view the number of tunnels associated with an IP address, specify an IP address. You can specify an IP address with the virtual-router keyword and the name of the virtual router to view the number of tunnels associated with an IP address on the virtual router.

Action

To display three dynamic GRE tunnels:

host1:vr11#show gre tunnel
GRE tunnel mobileIp-dynamic-1 is Up
GRE tunnel mvpn-dynamic-2 is Up
GRE tunnel mvpn-dynamic-3 is Down
3 GRE tunnels found
3 tunnels were created dynamic 

To display the detail of a dynamically created GRE tunnel for the data MDT application:

host1:vr11#show dvmrp tunnel detail mvpn-dynamic-1
GRE tunnel mvpn-dynamic-1 is Up
tunnel is dynamic
Application is MVPN
Tunnel operational configuration
  Tunnel mtu is '5000'
  Tunnel source address is '1.1.1.1'
  Tunnel destination address is '2.2.2.2'
  Tunnel transport virtual router is vr1
  Tunnel mdt is disabled
  Tunnel checksum option is disabled
  Tunnel sequence number option is disabled
  Tunnel up/down trap is enabled
  Tunnel-server location is 4/0
  Tunnel administrative state is Up
Statistics    packets              octets               discards   errors
  Data rx     0                    0                    0          0
  Data tx     0                    0                    0          0
1 GRE tunnel found 
1 tunnel was created dynamically

To display the detail of a dynamically created GRE tunnel for the Mobile IP application:

host1:vr12#show gre tunnel detail mobileIp-dynamic-1
GRE tunnel mobileIp-dynamic-1 is Up 
tunnel is dynamic
Application is Mobile-IP
Tunnel operational configuration
  Tunnel mtu is '5000'
  Tunnel source address is '6.6.6.6'
  Tunnel destination address is '3.3.3.3'
  Tunnel transport virtual router is vr1
  Tunnel mdt is disabled
  Tunnel checksum option is disabled
  Tunnel sequence number option is disabled
  Tunnel key is disabled
  Tunnel up/down trap is enabled
  Tunnel-server location is 6/0
  Tunnel administrative state is Up
Statistics    packets              octets               discards   errors
  Data rx     0                    0                    0          0
  Data tx     0                    0                    0          0

To display a summary of information about dynamic GRE tunnels:

host1#show gre tunnel summary
Administrative status    enabled    disabled
                         3          0
Operational status       up         down       not-present
                         3          0          0 

Meaning

Table 37 lists the show gre tunnel command output fields.

Table 37: show gre tunnel Output Fields

Field Name

Field Description

GRE tunnel

Name and state of the dynamic GRE tunnel:

  • Up—Tunnel is operational
  • Down—Tunnel is not operational
  • not-present—Tunnel is not operational, because the hardware (such as a line module) supporting the tunnel is inaccessible

Application

Name of the application that created the tunnel

Tunnel mtu

Value of the maximum transmission unit for the tunnel

Tunnel source address

IP address of the source of the tunnel

Tunnel destination address

IP address of the destination of the tunnel

Tunnel transport virtual router

Name of the virtual router associated with the tunnel

Tunnel mdt

State of the tunnel MDT

Tunnel checksum option

State of the checksum feature: enabled or disabled

Tunnel sequence number option

State of the sequence number feature; enabled or disabled

Tunnel up/down trap

Indicates whether or not the E Series router sends traps to SNMP when the operational state of the tunnels changes, enabled or disabled

Tunnel server location

Location of the tunnel server in slot/port format (ERX7xx models, ERX14xx models, and the ERX310 router) or slot/adapter/port format (E120 and E320 routers).

Tunnel is secured by ipsec transport interface

IPsec interface that secures the tunnel

Tunnel administrative state

Configured state of the tunnel: up or down

Statistics

Details of packets received or transmitted by the tunnel

packets

Number of packets received or transmitted by the tunnel

octets

Number of octets received or transmitted by the tunnel

discards

Number of packets not accepted by the tunnel

Errors

Number of packets with errors received or transmitted by the tunnel

Data rx

Received data

Data tx

Transmitted data

Tunnels found

Total number of GRE tunnels found

Tunnels were created dynamic

Number of tunnels created dynamically

Administrative status

Administrative status:

  • enabled—Tunnel is available for use
  • disabled—Tunnel is not available for use

Operational status

Operational status:

  • up—Tunnel is operational
  • down—Tunnel is not operational
  • not-present—Tunnel is not operational, because the hardware (such as a line module) supporting the tunnel is inaccessible

Related Documentation