Assigning an HSRP Interface Priority
You should increase the priority of the interface in the HSRP group that you would like to be active by
default. Always remember that the interface with the highest priority becomes the active route processor for
the HSRP group. To specify the priority for the HSRP interface, using the following command:
standby <standby group number> priority <priority>
In the following example, 3 refers to the HSRP standby group number corresponding to the VLAN interface
number. The number 160 is the new priority for the HSRP group.
standby 3 priority 160
Note If no priority is configured, the interface priority defaults to 100.
Assigning a Preempt Delay to a Standby Group
You can assign the standby group a preempt delay. Doing so allows the interface to preempt the current active
HSRP interface and become active if the interface priority is higher than the priority of the current active
interface. The syntax for this command is:
standby <standby group> preempt <preempt delay>
To set the standby group 3 to a preempt delay of 10, use the following command:
standby 3 preempt 10
Removing a Preempt Delay from a Standby Group
To remove the route processor from preempt status, use the following syntax:
no standby <group number> preempt
To remove the preempt status for group number 3, enter the following:
no standby 3 preempt
Setting the HSRP Hello and Hold Timers
The default values for the HSRP timers are 3 seconds for the hello timer and 10 seconds for the hold timer.
All the interfaces in the HSRP group should use the same timer values on all member route processors in the
group. To set the hello timer and hold timer, use the following:
standby <HSRP group> timers <hello timer> <hold timer>
To set the hello timer to 5 seconds and the hold timer to 15 seconds for HSRP group 3, use the following
command:
standby 3 timers 5 15
250