December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want HSRP to switch to the backup router when another port on the primary router becomes unavailable.
The standby track configuration command reduces the priority of an active HSRP router into a standby mode when one of its interfaces becomes unavailable. If the priority drops far enough, another router will take over:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#interfaceRouter1(config-if)#FastEthernet0/1standby 1 ipRouter1(config-if)#172.22.1.1standby 1 priorityRouter1(config-if)#120standby 1 preemptRouter1(config-if)#standby 1 trackRouter1(config-if)#Serial0/0 20exitRouter1(config)#endRouter1#
Beginning with IOS Version 12.2(15)T, Cisco enhanced functionality by allowing you to track objects other than line-protocol state:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#track11interfaceSerial1/1ip routingRouter1(config-track)#exitRouter1(config)#interfaceRouter1(config-if)#FastEthernet0/0standby1ipRouter1(config-if)#172.22.1.1standby1priorityRouter1(config-if)#120standby1preemptRouter1(config-if)#standby1track11decrementRouter1(config-if)#50endRouter1#
This configuration option is particularly useful when you have two identically configured WAN access routers using HSRP on their LAN ports. In this case, if you are using a dynamic routing protocol, then ...
Read now
Unlock full access