Monitoring IP Tunnels
You can monitor DVMRP and GRE tunnels by using the following commands.
show dvmrp tunnel
- Use to display information about DVMRP tunnels.
- To view detailed information about tunnels, specify the detail keyword.
- To view the number of tunnels in a specific state, specify the state keyword and the state of the tunnel (disabled, down, enabled, lower-down, not-present, up).
- To view the state of a specific tunnel, specify a tunnel name.
- To view the number of tunnels associated with that IP address, specify an IP address.
- To view the number of tunnels associated with an IP address on the virtual router, specify an IP address with the virtual-router keyword and the name of the virtual router.
- Field descriptions
- Tunnel 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
- Tunnel name—Name of 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 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 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
- Number of tunnels found—Total number of DVMRP tunnels found
- Number of static tunnels—Number of tunnels created statically
- Tunnel status
- Example 1
host1#show dvmrp tunnel DVMRP tunnel boston1 is up 1 DVMRP tunnel found 1 tunnel was created static
- Example 2
host1#show dvmrp tunnel detail DVMRP tunnel boston1 is up (tunnel is static) Tunnel operational configuration Tunnel name is 'boston1' Tunnel mtu is '10240' Tunnel source address is '0.0.0.0' Tunnel destination address is '0.0.0.0' Tunnel transport virtual router is vr1 Tunnel up/down trap is enabled Tunnel server location is 4/0 Tunnel secured by ipsec transport interface 1 Tunnel administrative state is up Statistics packets octets discards errors Data rx 0 0 0 0 Data tx 0 0 0 0 1 DVMRP tunnel found 1 tunnel was created static
- Example 3
host1#show dvmrp tunnel state enabled DVMRP tunnel boston1 is up 1 DVMRP tunnel found 1 tunnel was created static
- Example 4
host1#show dvmrp tunnel virtual-router vr1 ip 0.0.0.0 DVMRP tunnel boston1 is up 1 DVMRP tunnel found 1 tunnel was created static
- Example 5—Displays a DVMRP tunnel on an E320 router
host1#show dvmrp tunnel detail DVMRP tunnel v1Tunnel1 is Up (tunnel is static) Tunnel operational configuration Tunnel mtu is '10240' Tunnel source address is '50.1.1.1' Tunnel destination address is '50.1.1.2' Tunnel transport virtual router is v1 Tunnel up/down trap is enabled Tunnel-server location is 13/0/0 Tunnel administrative state is Up Statistics packets octets discards errors Data rx 5 740 0 0 Data tx 5 740 0 0
- See show dvmrp tunnel.
show dvmrp tunnel summary
- Use to display a summary of information about DVMRP tunnels.
- Field descriptions
- Administrative status
- enabled—Tunnel is available for use
- disabled—Tunnel is not available for use
- 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
- Administrative status
- Example
host1#show dvmrp tunnel summary Administrative status enabled disabled 1 0 Operational status up down not-present 1 0 0
- See show dvmrp tunnel.
show gre tunnel
- Use to display information about a GRE tunnel or a list of GRE tunnels.
- To view detailed information about tunnels, specify the detail keyword.
- To view the number of tunnels in a specific state, specify the state keyword and the state of the tunnel (disabled, down, enabled, lower-down, not-present, up).
- 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.
- To view the number of tunnels associated with an IP address on the virtual router, specify an IP address with the virtual-router keyword and the name of the virtual router.
- Field descriptions
- Tunnel name—Name of 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 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
- Number of tunnels found—Total number of GRE tunnels found
- Number of static tunnels—Number of tunnels created statically
- Example 1
host1#show gre tunnel 3 GRE tunnels found 3 tunnels were created static
- Example 2
host1#show gre tunnel detail Tunnel operational configuration Tunnel name is 'vr1 Tunnel mtu is '10240' Tunnel source address is '10.0.0.2' Tunnel destination address is '10.0.0.1' Tunnel transport virtual router is vr1 Tunnel mdt is disabled Tunnel checksum 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 Tunnel operational configuration Tunnel name is 'default' Tunnel mtu is '10240' Tunnel source address is '10.0.0.1' Tunnel destination address is '10.0.0.2' Tunnel transport virtual router is default Tunnel checksum option is disabled Tunnel up/down trap is enabled Tunnel server location is 4/0 Tunnel secured by ipsec transport interface 1 Tunnel administrative state is up
Statistics packets octets discards errors Data rx 0 0 0 0 Data tx 0 0 0 0 Tunnel operational configuration Tunnel name is 'london2' Tunnel mtu is '10240' Tunnel source address is '0.0.0.0' Tunnel destination address is '0.0.0.0' Tunnel transport virtual router is vr1 Tunnel checksum 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 3 GRE tunnels found 3 tunnels were created static
- Example 3
host1#show gre tunnel state up GRE tunnel VR1 is up GRE tunnel default is up GRE tunnel london2 is down 3 GRE tunnels found 3 tunnels were created static
- Example 4
host1#show gre tunnel virtual-router vr1 ip 10.0.0.1 GRE tunnel VR1 is up 1 GRE tunnel found 1 tunnel was created static
- Example 5—Displays a GRE tunnel on an E320 router
host1#show gre tunnel detail GRE tunnel start is Up (tunnel is static) Tunnel operational configuration Tunnel mtu is '10240' Tunnel source address is '15.0.0.1' Tunnel destination address is '15.0.0.2' Tunnel transport virtual router is default Tunnel checksum option is disabled Tunnel sequence number option is disabled Tunnel up/down trap is enabled Tunnel-server location is 1/0/0 Tunnel administrative state is Up Statistics packets octets discards errors Data rx 0 0 0 0 Data tx 0 0 0 0 GRE tunnel end is Up Tunnel operational configuration Tunnel mtu is '10240' Tunnel source address is '15.0.0.2' Tunnel destination address is '15.0.0.1' Tunnel transport virtual router is vpnA Tunnel checksum option is disabled Tunnel sequence number option is disabled Tunnel up/down trap is enabled Tunnel-server location is 1/0/0 Tunnel administrative state is Up Statistics packets octets discards errors Data rx 0 0 0 0 Data tx 0 0 0 0 2 GRE tunnels found 2 tunnels were created static
- See show gre tunnel.
show gre tunnel summary
- Use to display a summary of information about GRE tunnels.
- Field descriptions
- Administrative status
- enabled—Tunnel is available for use
- disabled—Tunnel is not available for use
- 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
- Administrative status
- Example
host1#show gre tunnel summary Administrative status enabled disabled 3 0 Operational status up down not-present 3 0 0
- See show gre tunnel.