R
OUTER
R
EDUNDANCY
C
OMMANDS
-227
• HSRP is enabled once the designated address and priority are
configured, and the master and standby routers are elected based on
highest priority. If you need to customize any of the other parameters
for HSRP such as authentication, tracking, or advertisement interval,
then first configure these parameters before enabling HSRP.
Example
This example creates HSRP group 1 for VLAN 1, and also adds a
secondary interface as a member of the group.

standby priority

Use this command to set the priority of this router in a HSRP group. Use
the no form to restore the default setting.
Syntax
standby [group] priority level
no standby [group] priority
group - Identifies the HSRP group. (Range: 0-255)
level - Priority of this router in the HSRP group. (Range: 1-255)
Default Setting
Group number: 0
Priority: 100
Command Mode
Interface (VLAN)
Command Usage
• The router with the highest priority is elected as the master virtual
router. The router with the next highest priority is elected as the
standby router. The standby router will become the master router if the
current master fails. When the original master router recovers, it will
Console(config)#interface vlan 1
Console(config-if)#standby 1 ip 192.168.1.7
Console(config-if)#standby 1 ip 192.168.2.6 secondary
Console(config-if)#