Chapter 12
Configuring HSRP
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
To customize HSRP, use the following commands in hsrp configuration mode:
Command
name string
Example:
switch(config-if-hsrp)# name HSRP-1
preempt [delay [minimum seconds ]
[reload seconds ] [sync seconds ]]
Example:
switch(config-if-hsrp)# preempt delay
minimum 60
timers [msec] hellotime [msec]
holdtime
Example:
switch(config-if-hsrp)# timers 5 18
To customize HSRP, use the following commands in interface configuration mode:
Command or Action
hsrp delay minimum seconds
Example:
switch(config-if)# hsrp delay minimum
30
hsrp delay reload seconds
Example:
switch(config-if)# hsrp delay reload
30
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
Purpose
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.
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.
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.
Purpose
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.
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.
Configuring HSRP
12-15