Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
14-15
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 14 Configuring HSRP
Configuring HSRP
To customize HSRP, use the following commands in hsrp configuration mode:
To customize HSRP, use the following commands in interface configuration mode:
Command Purpose
name string
Example:
switch(config-if-hsrp)# name HSRP-1
Specifies the IP redundancy name for an HSRP group.
The string is from 1 to 255 characters. The default string
has the following format:
hsrp-<interface-short-name>-<group-id>. For example,
hsrp-Eth2/1-1.
preempt [delay [minimum seconds]
[reload seconds] [sync seconds]]
Example:
switch(config-if-hsrp)# preempt delay
minimum 60
Configures the router to take over as an active router for
an HSRP group if it has a higher priority than the current
active router. This command is disabled by default. The
range is from 0 to 3600 seconds.
timers [msec] hellotime [msec]
holdtime
Example:
switch(config-if-hsrp)# timers 5 18
Configures the hello and hold time for this HSRP member
as follows:
• hellotime—The interval between successive hello
packets sent. The range is from 1 to 254 seconds.
• holdtime—The interval before the information in the
hello packet is considered invalid. The range is from
3 to 255.
The optional msec keyword specifies that the argument is
expressed in milliseconds, instead of the default seconds.
The timer ranges for milliseconds are as follows:
• hellotime—The interval between successive hello
packets sent. The range is from 255 to 999
milliseconds.
• holdtime—The interval before the information in the
hello packet is considered invalid. The range is from
750 to 3000 milliseconds.
Command or Action Purpose
hsrp delay minimum seconds
Example:
switch(config-if)# hsrp delay minimum
30
Specifies the minimum amount of time that HSRP waits
after a group is enabled before participating in the group.
The range is from 0 to 10000 seconds. The default is 0.
hsrp delay reload seconds
Example:
switch(config-if)# hsrp delay reload
30
Specifies the minimum amount of time that HSRP waits
after reload before participating in the group. The range
is from 0 to 10000 seconds. The default is 0.