Monitoring Available IPv6 Routes for Reverse-Path Forwarding

Purpose

Display the IPv6 routes that the router can use for RPF. You can specify the IPv6 address and the network mask to view routes to a particular destination. You can use the detail keyword to view more detailed information about routes to a particular destination. You can specify a unicast routing protocol to view routes associated with that protocol.

Action

To display all IPv6 routes that the router can use for RPF:

host1#show ipv6 rpf-route 
Protocol/Route type codes:
  O- OSPF, E1- external type 1, E2- external type2,
  N1- NSSA external type1, N2- NSSA external type2
  L- MPLS label, V- VR/VRF, *- indirect next-hop
         Prefix/Length             Type    Dst/Met         Intf        
-------------------------------- --------- ------- --------------------
11:1:1:10::/60                   Static    1/0     ATM2/0.300          
21:2:2:20::/60                   Static    1/0     ATM2/0.300          
31:2:2:20::/60                   Connect   0/0     ATM2/0.300          
131:1:1:10::/60                  Connect   0/0     ATM2/1.1300         
1000::/64                        Static    1/0     ATM2/0.300         

To display more detailed information about an IPv6 route to a particular destination:

host1#show ipv6 rpf-route 1000::/64 detail
1000::/64 Type:Static  Distance:1  Metric:0
        NextHop:31:2:2:23::2:3  IntfIndex 18  Intf ATM2/0.300

Meaning

Table 5 lists the show ipv6 rpf-route command output fields.

Table 5: show ipv6 rpf-route Output Fields

Field Name

Field Description

Protocol/Route type codes

Protocol and route type codes for the table that follows

Prefix

Value of the logical AND of the IPv6 address of the destination network and the subnet address

Length

Length of the subnet mask in bits

Type

  • Connect—Subnet directly connected to the interface
  • Static—Static route

Dst

Distance configured for this route

Met

Learned or configured cost associated with this route

Intf

Type of interface and interface specifier for the next hop. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.

Related Documentation