04-06-2015 09:13 PM - edited 03-07-2019 11:25 PM
Switch-1
interface Vlan200
ip address 10.X.X.1 255.255.254.0 secondary
ip address 192.X.X.1 255.255.255.0
standby 200 ip 192.X.X.7
standby 200 priority 110
standby 200 preempt
standby 66 ip 10.X.X.7
standby 66 priority 95
standby 66 preempt
Switch-2
interface Vlan200
ip address 10.X.X.4 255.255.254.0 secondary
ip address 192.X.X.2 255.255.255.0
standby 200 ip 192.X.X.7
standby 200 priority 95
standby 200 preempt
standby 66 ip 10.X.X.7
standby 66 priority 110
standby 66 preempt
is the above HSRP configuration correct.
Solved! Go to Solution.
04-06-2015 10:14 PM
Hi again Veera,
The config looks correct. You will have Switch -1 as the HSRP active for primary ip subnet and Switch-2 as the active router for Secondary subnet with the above config.
Please let me know if you have any questions.
Hope this helps.
PS : Kindly rate all useful posts.
Thanks,
Madhu.
04-06-2015 11:14 PM
Hi Veera,
I have not tried it before, but the configuration does not seem to work since the syntax seems to wrong as you cannot type an ip address after secondary keyword. An example below.
(config-if)#standby 85 ip 10.127.1.130 secondary ?
<cr>
But your idea seems to work with exception of the above syntax mistake. A useful post can be seen below.
https://supportforums.cisco.com/discussion/9912176/hsrp-secondary-address
Hope this helps. Please always remeber to rate all useful posts.
Thanks
Madhu.
04-06-2015 10:14 PM
Hi again Veera,
The config looks correct. You will have Switch -1 as the HSRP active for primary ip subnet and Switch-2 as the active router for Secondary subnet with the above config.
Please let me know if you have any questions.
Hope this helps.
PS : Kindly rate all useful posts.
Thanks,
Madhu.
04-06-2015 10:38 PM
Thanks Madhu.
How about this config. Just want to understand the difference.
Switch-1
interface Vlan200
ip address 10.X.X.1 255.255.254.0 secondary
ip address 192.X.X.1 255.255.255.0
standby 200 ip 192.X.X.7 secondary 10.X.X.7
standby 200 priority 110
standby 200 preempt
Switch-2
interface Vlan200
ip address 10.X.X.4 255.255.254.0 secondary
ip address 192.X.X.2 255.255.255.0
standby 200 ip 192.X.X.7 secondary 10.X.X.7
standby 200 priority 95
standby 200 preempt
04-06-2015 11:14 PM
Hi Veera,
I have not tried it before, but the configuration does not seem to work since the syntax seems to wrong as you cannot type an ip address after secondary keyword. An example below.
(config-if)#standby 85 ip 10.127.1.130 secondary ?
<cr>
But your idea seems to work with exception of the above syntax mistake. A useful post can be seen below.
https://supportforums.cisco.com/discussion/9912176/hsrp-secondary-address
Hope this helps. Please always remeber to rate all useful posts.
Thanks
Madhu.
04-08-2015 10:25 PM
Thanks Madhu.
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