# Monitoring Dynamic IP Tunnels

You can monitor dynamic DVMRP and GRE tunnels by using the following commands.

show dvmrp destination profile

- Use to display the configuration of DVMRP destination profiles.
- Field descriptions
  - default dvmrp destination profile—Name of the modified default destination profile on the system
  - dvmrp destination profile—Name of the DVMRP destination profiles configured on the system
  - tunnel checksum—Status of tunnel checksum configuration; enabled or disabled
  - tunnel sequence-datagrams—Status of tunnel sequence datagrams configuration; enabled or disabled
  - tunnel mtu—Value of the tunnel MTU
  - ipsec transport mode—Status of IPSec transport mode configuration; enabled or disabled
  - tunnel mdt—Status of IPSec transport mode configuration; enabled or disabled
  - profile—Name of the profile assigned for upper IP interfaces
  - virtual router—Name of the transport virtual router assigned to the destination profile
  - tunnel destination subnet—Value of the configured destination address subnet
  - tunnel source—Value of the configured source address
- Example 1—Displays all destination profiles configured on the system

      host1#show dvmrp destination profile
      default dvmrp destination profile global
      dvmrp destination profile kanata1
      dvmrp destination profile kanata2

      3 dvmrp destination profiles found
      the default destination profile is present

- Example 2—Displays a specific destination profile

      host1#show dvmrp destination profile kanata1
      dvmrp destination profile kanata1
        tunnel mtu 10240
        ipsec transport mode disabled
        tunnel mdt disabled
        profile disabled
        virtual router vr1
        tunnel destination subnet 10.0.0.0 255.0.0.0
        tunnel source 1.1.1.1
        tunnel source 1.1.1.2
        tunnel source 1.1.1.3

- See show dvmrp destination profile.

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
  - DVMRP tunnel—Name and state of the dynamic DVMRP 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—Tunnel MDT state
  - 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 is enabled—Indicates whether or not the E Series router sends traps to SNMP when the operational state of the tunnels changes
  - 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
  - DVMRP tunnels found—Total number of DVMRP tunnels found
  - Tunnels were created dynamic—Number of tunnels created dynamically
- Example 1—Displays three dynamic DVMRP tunnels

      host1:vr11#show dvmrp tunnel
      DVMRP tunnel mvpn-dynamic-1 is Up
      DVMRP tunnel mvpn-dynamic-2 is Up
      DVMRP tunnel mvpn-dynamic-3 is Down

      3 DVMRP tunnels found
      3 tunnels were created dynamic

- Example 2—Displays the detail of a dynamically created DVMRP tunnel for the data MDT application

      host1:vr11#show dvmrp tunnel detail mvpn-dynamic-1
      DVMRP 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 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 DVMRP tunnel found
      1 tunnel was created dynamically

- Example 3—Displays the detail of a dynamically created DVMRP tunnel for the Mobile IP application

      host1:vr12#show dvmrp tunnel detail mobileIp-dynamic-1
      DVMRP 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

- 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
- 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 destination profile

- Use to display the configuration of GRE destination profiles.
- Field descriptions
  - default gre destination profile—Name of the modified default destination profile on the system
  - gre destination profile—Name of the GRE destination profiles configured on the system
  - tunnel checksum—Status of tunnel checksum configuration; enabled or disabled
  - tunnel sequence-datagrams—Status of tunnel sequence datagrams configuration; enabled or disabled
  - tunnel mtu—Value of the tunnel MTU
  - ipsec transport mode—Status of IPSec transport mode configuration; enabled or disabled
  - tunnel mdt—Status of IPSec transport mode configuration; enabled or disabled
  - profile—Name of the profile assigned for upper IP interfaces
  - virtual router—Name of the transport virtual router assigned to the destination profile
  - tunnel destination subnet—Value of the configured destination address subnet
  - tunnel source—Value of the configured source address
- Example 1—Displays all GRE destination profiles configured on the system

      host1#show gre destination profile
      default gre destination profile global
      gre destination profile boston1
      gre destination profile boston2

      3 gre destination profiles found
      the default destination profile is present

- Example 2—Displays a specific GRE destination profile used for dynamic IP tunnel creation

      host1#show gre destination profile boston1
      gre destination profile boston1
        tunnel checksum disabled
        tunnel sequence-datagrams disabled
        tunnel mtu 10240
        ipsec transport mode disabled
        tunnel mdt disabled
        profile kanata
        virtual router vr1
        tunnel destination subnet 10.0.0.0 255.0.0.0
        tunnel source 1.1.1.1
        tunnel source 1.1.1.2
        tunnel source 1.1.1.3

- Example 3—Displays a specific GRE destination profile used in a MVPN

      host1#show gre destination profile boston2
      gre destination profile boston2
        tunnel checksum disabled
        tunnel sequence-datagrams disabled
        tunnel mtu 10240
        ipsec transport mode disabled
        tunnel mdt profile kanata-mdt
        profile kanata
        virtual router vr2
        tunnel destination subnet 224.0.0.0 255.0.0.0
        tunnel source 1.1.1.1
        tunnel source 1.1.1.2
        tunnel source 1.1.1.3

- See show gre destination profile.

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
  - 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
- Example 1—Displays 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

- Example 2—Displays 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

- Example 3—Displays 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

- 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
- 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.