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 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
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
Configuring Extended Hold Timers for HSRP
You can configure HSRP to use extended hold timers to support extended NSF during a controlled
(graceful) switchover or ISSU, including software upgrades and supervisor switchovers.You should
configure extended hold timers on all HSRP routers. (see the
Forwarding" section on page
Note
You must configure extended hold timers on all HSRP routers if you configure extended hold timers. If
you configure a non-default hold timer, you should configure the same value on all HSRP routers when
you configure HSRP extended hold timers.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
19-16
Purpose
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.
19-6).
Chapter 19
"High Availability and Extended Non-Stop
Configuring HSRP
OL-20002-02