02-28-2009 09:14 PM - edited 03-04-2019 03:45 AM
Hi,
I enable the HSRP on two switches. the config are
!switch1
hostname hkgw01
!
interface GE 1/0/23
switchport mode trunk
switchport trunk encapsulation dot1q
!
interface vlan10
ip address 192.168.10.1 255.255.255.0
standby 1 ip address 192.168.10.10
standby 1 priority 300
standby 1 preempt
standby 1 track GE 1/0/23 5
!switch2
hostname hkgw02
!
interface GE 1/0/23
switchport mode trunk
switchport trunk encapsulation dot1q
!
interface vlan10
ip address 192.168.10.2 255.255.255.0
standby 1 ip address 192.168.10.10
standby 1 priority 290
standby 1 preempt
standby 1 track GE 1/0/23
For normal condition, the hkgw01 is active for vlan 10. If the interface GE 1/0/23 of hkgw01 is down. the priority of hkgw01 should be 300 - 5 = 295. hkgw01 is still the active router.
I have two approaches to solve it, not sure which one is better. please advice.
first approach
- change the config of hkgw01 to "standby 1 track GE 1/0/23"
second approach
- change the config of hkgw01 to "standby 1 track GE 1/0/23 30"
rdgs
Solved! Go to Solution.
02-28-2009 09:29 PM
03-01-2009 04:28 AM
Hello Anita,
to take advantage of tracking is enough to have a difference in HSRP priorities less then the tracking decrement.
To be noted that maximum configurable priority should be 255.
Hope to help
Giuseppe
02-28-2009 09:29 PM
Hi
The second approach will be fine and work.
Thanks
Mahmood
03-01-2009 04:28 AM
Hello Anita,
to take advantage of tracking is enough to have a difference in HSRP priorities less then the tracking decrement.
To be noted that maximum configurable priority should be 255.
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide