[Contents] [Prev] [Next] [Index] [Report an Error]

# Displaying Available Routes for Reverse-Path Forwarding

Use the show ip 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 ip rpf-route

- Use to display routes that the router can use for RPF.
- Specify the IP address and the network mask to view routes to a particular destination.
- Specify a unicast routing protocol to view routes associated with that protocol.
- Field descriptions
  - Prefix—Value of the logical AND of the IP address of the destination network and the subnet address
  - Length—Length of the subnet mask in bits
  - Type—Protocol type for the interface
    - Connect—Subnet directly connected to the interface
    - Static—Static route
    - protocol-name—Route learned through the named protocol
  - Next Hop—IP address of the next hop for this route
  - Dist—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 ip rpf-route
      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- VR/VRF, *- indirect next-hop

        Prefix/Length    Type    Next Hop       Dist/Met   Intf
        -------------    ----    --------       --------   ------
        10.10.0.112/32    Static  192.168.1.1     1/1        fastEthernet0/0
        10.1.1.0/24       Connect 10.1.1.1        0/1        atm3/0.100
        25.25.25.25/32    Connect 25.25.25.25     0/1        loopback0

- Example 2

      host1#show ip rpf-route static
      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- VR/VRF, *- indirect next-hop

       Prefix/Length  Type   Next Hop   Dist/Met  Intf
       -------------  ----   --------   --------  --------------
      10.10.0.112/32  Static 192.168.1.1  1/1     fastEthernet0/0

- See show ip rpf-route.

[Contents] [Prev] [Next] [Index] [Report an Error]