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
- PrefixValue of the logical AND of the IP address of the destination network and the subnet address
- LengthLength of the subnet mask in bits
- TypeProtocol type for the interface
- ConnectSubnet directly connected to the interface
- StaticStatic route
- protocol-nameRoute learned through the named protocol
- Next HopIP address of the next hop for this route
- DistDistance configured for this route
- MetLearned or configured cost associated with this route
- IntfType of interface and interface specifier for the next hop. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
host1#show ip rpf-routeProtocol/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 type2L- MPLS label, V- VR/VRF, *- indirect next-hopPrefix/Length Type Next Hop Dist/Met Intf------------- ---- -------- -------- ------10.10.0.112/32 Static 192.168.1.1 1/1 fastEthernet0/010.1.1.0/24 Connect 10.1.1.1 0/1 atm3/0.10025.25.25.25/32 Connect 25.25.25.25 0/1 loopback0Example 2 host1#show ip rpf-route staticProtocol/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 type2L- MPLS label, V- VR/VRF, *- indirect next-hopPrefix/Length Type Next Hop Dist/Met Intf------------- ---- -------- -------- --------------10.10.0.112/32 Static 192.168.1.1 1/1 fastEthernet0/0