Displaying Available Routes for Reverse-Path Forwarding
Purpose
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 RPF. You can specify the IP address and the network mask to view routes to a particular destination. You can also specify a unicast routing protocol to view routes associated with that protocol.
Action
To display all routes that the router can use for RPF:
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
To display the best static routes added by network management to the routing table:
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
Meaning
Table 5 lists the output fields of the show ip rpf-route command.
Table 5: show ip rpf-route Output Fields
Field Name | Field Description |
|---|---|
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:
|
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 the JunosE Command Reference Guide. |
Hide Navigation Pane
Show Navigation Pane
SHA1