06-13-2009 01:12 PM - edited 03-06-2019 06:14 AM
Hi
Will this work for two core switches running HSRP. Basically I want HSRP running between the switches and also to track interface gig1/1 on the coreA switch.
!- CoreA
interface Vlan2
ip address 2.0.0.2 255.255.255.0
ip helper-address 2.153.20.25
no ip redirects
no ip proxy-arp
standby 2 ip 2.0.0.1
standby 2 priority 105
standby 2 preempt
standby 2 authentication C1sc0
standby 2 track gig1/1
inter gig1/1
switchport
switchport access vlan 2
swithport mode access
!- Core B
interface Vlan2
ip address 2.0.0.3 255.255.255.0
ip helper-address 2.153.20.25
no ip redirects
no ip proxy-arp
standby 2 ip 2.0.0.1
standby 2 priority
standby 2 preempt
standby 2 authentication C1sc0
!- Router 1 att to Core A (gig0/1)
int g0/1
ip address 2.0.0.100 255.255.255.0
06-13-2009 01:57 PM
I see nothing wrong with the config, it should work as intended.
__
Edison.
06-13-2009 10:30 PM
a very small detail, u need to set priority on core B if u intend to use a different value from default...I am sure its a copy and paste typo.
Sam
06-14-2009 07:01 AM
Sam,
The default decrement is 10 and the primary has priority 105, thus the configuration looks fine.
In case of failure, the primary will have priority 95 and the standby will have priority 100 (default).
06-14-2009 07:16 AM
Edison,
I know :-)
But the fact that second device has "standby 2 priority " suggests that there is an intended value planned for priority.
IMHO, we cannot tell if the config is fine until we see what value has been planned for second device.
However,if the config is pasted as is, this particular line would be rejected since "standby 2 priority" with no value is not valid syntax and second device would then use 100 default.
Thanks
Sam
06-13-2009 10:46 PM
Hi
Just to add to the above posts isee that u havent specified the vlaue of the priority to be decremsted in case of the gig1/1 goes down.
Thanks
Mahmood
06-13-2009 11:02 PM
Mahmood, good point !
Default tracking penalty is 10..so all depends on how much will be assigned to standby.
Sam
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