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

Configuring RTR Next-Hop Verification

To configure the next-hop verification example shown in Figure 12:

  1. Configure a loopback interface, and assign an IP address and mask to the interface.
    host1(config)#interface loopback 0
    host1(config-if)#ip address 10.1.1.1 255.255.255.0
    host1(config-if)#exit
  2. Configure Fast Ethernet port 4/0 with an unnumbered primary IP interface associated with the loopback interface configured in Step 1.
    host1(config)#interface fastEthernet 4/0
    host1(config-if)#ip unnumbered loopback 0
    host1(config-if)#exit
  3. Repeat Step 2 for Fast Ethernet port 4/1.
    host1(config)#interface fastEthernet 4/1
    host1(config-if)#ip unnumbered loopback 0
    host1(config-if)#exit
  4. Define probe RTR 10 for Fast Ethernet interface 4/0.
    1. Assign an operation number to the RTR probe, and access RTR Configuration mode. For information, see Configuring the Probe Type.
      host1(config)#rtr 10
      host1(config-rtr)#
    2. Configure the RTR probe as an echo type, and set the IP destination address and source interface.

      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
    3. Specify the interface on which the RTR probe expects to receive responses.

      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
    4. (Optional) Configure optional probe characteristics, such as the frequency and samples-of-history kept. For information, see Configuring Optional Characteristics.
      host1(config-rtr)#frequency 1
      host1(config-rtr)#samples-of-history-kept 0
    5. Exit RTR Configuration mode.
      host1(config-rtr)#exit
    6. Enable the probe to react to the test-failure event and the test-completion event.

      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
    7. Schedule the probe operation. For information, see Scheduling the Probe.
      host1(config)#rtr schedule 10 life 3
      host1(config)#rtr schedule 10 restart-time 1
      host1(config)#rtr schedule 10 start now
  5. Repeat Step 4 to define RTR 11 for Fast Ethernet interface 4/1.
    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
  6. Establish a static route associated with RTR 10.

    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
  7. Establish a static route associated with RTR 11.

    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

interface loopback

ip address

ip route verify rtr

ip unnumbered


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