# Displaying Available Routes for Reverse-Path Forwarding

Use the show ipv6 rpf-route command to display all available routes, only the routes to a particular destination, or routes associated with a specific unicast protocol that the router can use for Reverse-Path Forwarding (RPF).

show ipv6 rpf-route

- Use to display routes that the router can use for RPF.
- Specify the IPv6 address and the network mask to view routes to a particular destination.
- Specify the detail keyword to view more detailed information about routes to a particular destination.
- Specify a unicast routing protocol to view routes associated with that protocol.
- Field descriptions
  - 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.
- Example 1

      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

- Example 2

      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

- See show ipv6 rpf-route.