satish has rightly mentioned. When a VLAN goes down then the default value by which the priority of the device decrease is 10. So the adjust the priority values with a difference of 10. however if you are monitoring specific interfaces, then you can change the value by which priority decrease.
Suppose you have configured HSRP for a router & are monitoring a serial interface of router, such that if the router serial interface goes down than the other swith gets control & traffic passes to other router. Then priority can be configured to go down by specific value. Below is the command:
standby 1 track se1/1 50
Where 50 is the value by which priority of the active switch goes down incase router se1/1 fails.
Thanks for the reply, I will try to change the priority, but right now i tested following thing and it works for me, Instead of shut down SVI i shut down the port on which my firewall was connected.
Dear all, This is how I tested the configuration
My active firewall is connected with switch 1. Failover is connected with Switch 2. Both switch has one default gateway for Internet. same VLAN and same routing on both switches,
My firewalls are using HSRP as default gateway for going outside world,
user subnet is going outside by having default gateway of firewall inside,
from user computer, i start pinging outside world with -t.
Then i shut down the switch one access port in which active firewall was connected, as soon as i did, my failover firewall comes in action, and without getting any drop or brekage, user computer continues to ping outside world.
That means, if physical ports are shut or switch/firewall goes down, user traffic will move to standby switch/firewall.
now please tell me what is wrong with this thing, y this thing will mess up in future,
shall i remove the preempt command from switch 2.
Why HSRP will not work with OSPF, why it is so.
After hearing my testing, few people on another forum saying that this will creat problem for you, this and all that, if my test is successful, then how this will mess up in future.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...