# Monitoring IP and IPv6 Tunnel Routing Tables

#### Purpose

Display the current state of the IPv4 or IPv6 tunnel routing table.

#### Action

To display information about all IP tunnel routes:

    host1:vr2# show ip tunnel-route all
    Protocol/Route type codes:
      I1- ISIS level 1, I2- ISIS level2,
      I- route type intra, IA- route type inter, E- route type external,
      i- metric type internal, e- metric type external,
      O- OSPF, E1- external type 1, E2- external type2,
      N1- NSSA external type1, N2- NSSA external type2
      L- MPLS label, V- VRF, *- via indirect next-hop
      Prefix/Length      Type       Next Hop      Dst/Met                  Interface
    ------------------ --------- --------------- ---------- ----------------------------------------
    200.200.200.1/32   Ldp       111.111.1.1[L18 110/2      ATM5/1.1
                                 ]
                       Rsvp      200.200.200.1[L 110/2      ATM5/1.1
                                 25]

To display information about all IPv6 tunnel routes:

    host1:pe1:pe11# show ipv6 tunnel-route all
    Protocol/Route type codes:
      O- OSPF, E1- external type 1, E2- external type2,
      N1- SSA external type1, N2- NSSA external type2
      L- MPLS label, V- VRF, *- via indirect next-hop
             Prefix/Length             Type     Dst/Met                  Interface
    -------------------------------- --------- ---------- ----------------------------------------
    ::21.21.21.0/126                 BgpTunnel 200/0      [L20,L26] ATM5/0.10
                                     BgpTunnel 200/0      [L20,L34] ATM5/0.10
    2::2/128                         BgpTunnel 200/0      [L20,L26] ATM5/0.10
                                     BgpTunnel 200/0      [L20,L34] ATM5/0.10

To display detailed information about all IP tunnel routes beginning with address 200.200.200.1/32:

    host1:vr2# show ip tunnel-route 200.200.200.1/32 detail
    Protocol/Route type codes:
      I1- ISIS level 1, I2- ISIS level2,
      I- route type intra, IA- route type inter, E- route type external,
      i- metric type internal, e- metric type external,
      O- OSPF, E1- external type 1, E2- external type2,
      N1- NSSA external type1, N2- NSSA external type2
      L- MPLS label, V- VRF, *- via indirect next-hop
    200.200.200.1/32 Type: Ldp Distance: 110 Metric: 2 Tag: 0 Class: 0
      MPLS next-hop: 3, label 18 on ATM5/1.1 (ip19000003.mpls.ip), nbr 111.111.1.1

To display detailed information about all IPv6 tunnel routes beginning with address ::21.21.21.0/126:

    host1:pe1:pe11# show ipv6 tunnel-route ::21.21.21.0/126 detail all
    Protocol/Route type codes:
      O- OSPF, E1- external type 1, E2- external type2,
      N1- SSA external type1, N2- NSSA external type2
      L- MPLS label, V- VRF, *- via indirect next-hop
    ::21.21.21.0/126 Type: BgpTunnel Distance: 200 Metric: 0 Class: 0
      MPLS next-hop: 18, label 20, VPN traffic, resolved by MPLS next-hop 13
      MPLS next-hop: 13, resolved by MPLS next-hop 34, peer ::ffff:2.2.2.2
      MPLS next-hop: 34, ECMP next-hop, leg count 2
      MPLS next-hop: 17, resolved by MPLS next-hop 16, peer 2.2.2.2
      MPLS next-hop: 16, primary(in use): label 26 on ATM5/0.10, secondary: resolved by MPLS next-hop 0

#### Meaning

Table 62 lists the show ip tunnel-route command and show ipv6 tunnel route command output fields.

Table 62: show ip tunnel route and show ipv6 tunnel-route Output Fields

Field Name | Field Description
--- | ---
Prefix | IPv4 or IPv6 address prefix of network destination
Length | Network mask length for prefix
Type | Type of route; protocol
Next Hop | IP address of the next hop to the route, whether it is a local interface or another router; not displayed for IPv6 tunnel routing table
Dst or Distance | Administrative distance for the route
Met or Metric | Number of hops; metric
Interface | Interface type and interface specifier
Tag | Numeric tag that identifies route
Class | Attribute of a route applied only as a result of set route-class clause in a table map

#### Related Documentation

- show ip tunnel-route
- show ipv6 tunnel-route