To configure the next-hop verification example shown in Figure 12:
- host1(config)#interface loopback 0
- host1(config-if)#ip address 10.1.1.1 255.255.255.0
- host1(config-if)#exit
- host1(config)#interface fastEthernet 4/0
- host1(config-if)#ip unnumbered loopback 0
- host1(config-if)#exit
- host1(config)#interface fastEthernet 4/1
- host1(config-if)#ip unnumbered loopback 0
- host1(config-if)#exit
- host1(config)#rtr 10
- host1(config-rtr)#
You must configure the RTR probe as an echo type to use next-hop verification. For information, see Configuring the Probe Type.
- host1(config-rtr)#type echo protocol ipIcmpEcho
10.1.1.2
source fastEthernet
4/0
You must set the receive-interface attribute when multiple RTR operations use the same target address. For information, see Setting the Receiving Interface.
- host1(config-rtr)#receive-interface fastEthernet
4/0
- host1(config-rtr)#frequency 1
- host1(config-rtr)#samples-of-history-kept
0
- host1(config-rtr)#exit
You must configure both the test-failure and test-completion reaction conditions to use next-hop verification. For information, see Setting Reaction Conditions.
- host1(config)#rtr reaction-configuration 10
test-failure 3
- host1(config)#rtr reaction-configuration 10
test-completion
- host1(config)#rtr schedule 10 life 3
- host1(config)#rtr schedule 10 restart-time
1
- host1(config)#rtr schedule 10 start now
- host1(config)#rtr 11
- host1(config-rtr)#type echo protocol ipIcmpEcho
10.1.1.2
source fastEthernet
4/1
- host1(config-rtr)#receive-interface fastEthernet
4/1
- host1(config-rtr)#frequency 1
- host1(config-rtr)#samples-of-history-kept
0
- host1(config-rtr)#exit
- host1(config)#rtr reaction-configuration 11
test-failure 3
- host1(config)#rtr reaction-configuration 11
test-completion
- host1(config)#rtr schedule 11 life 3
- host1(config)#rtr schedule 11 restart-time
1
- host1(config)#rtr schedule 11 start now
This command creates a static route and installs it in the routing table only if RTR 10 is currently reachable or if no other static route to IP destination address 10.1.1.2 is usable.
- host1(config)#ip route 10.1.1.2 255.255.255.255
10.1.1.2 fastEthernet 4/0 verify rtr 10
last-resort
This command creates a static route and installs it in the routing table only if RTR 11 is currently reachable or if no other static route to IP destination address 10.1.1.2 is usable.
- host1(config)#ip route 10.1.1.2 255.255.255.255
10.1.1.2 fastEthernet 4/1 verify rtr 11
last-resort
When both RTR 10 and RTR 11 are unreachable, you can control which static route is installed in the routing table by including the last-resort keyword in the ip route verify rtr command only for the route that you want to install.
![]() |
Note: For detailed information about the commands for configuring RTR probes, see Response Time Reporter. |
interface fastEthernet
- host1(config)#interface fastEthernet 1/0
![]() |
Note: For more details on use of this command, see the syntax description in the JUNOSe Command Reference Guide. |
interface loopback
- host1(config)#interface loopback 10
- host1(config-if)#ip address 100.20.32.1 255.255.255.0
ip address
- host1(config-subif)#ip address 192.0.2.50
255.255.255.0
ip route verify rtr
- host1(config)#ip route 10.1.1.5 255.255.255.0
10.1.1.5 fastEthernet 1/0 verify rtr 5
last-resort
ip unnumbered
- host1(config-if)#ip unnumbered fastEthernet
3/0
- host1(config-if)#ip unnumbered loopback 10