Configuring The Hsrp Priority - Cisco Nexus 3000 Series Configuration Manual

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

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
Command
Step 8
preempt [delay [minimum seconds ]
[reload seconds ] [sync seconds ]]
Example:
switch(config-if-hsrp)# preempt
delay minimum 60
Step 9
show hsrp interface interface-type
number
Example:
switch(config-if-hsrp)# show hsrp
interface ethernet 1/2
Step 10
copy running-config startup-config
Example:
switch(config-if-hsrp)# copy
running-config startup-config
This example shows how to configure HSRP object tracking on Ethernet 1/2:
switch# configure terminal
switch(config)# track 1 interface ethernet 2/2 line-protocol
switch(config)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# hsrp 2
switch(config-if-hsrp)# track 1 decrement 20
switch(config-if-hsrp)# copy running-config startup-config

Configuring the HSRP Priority

You can configure the HSRP priority on an interface. HSRP uses the priority to determine which HSRP
group member acts as the active router.
To configure the HSRP priority, use the following command in interface configuration mode:
Command
priority level [forwarding-threshold lower
lower-value upper upper-value ]
Example:
switch(config-if-hsrp)# priority 60
forwarding-threshold lower 40 upper 50
Customizing HSRP
You can optionally customize the behavior of HSRP. Be aware that as soon as you enable an HSRP group
by configuring a virtual IP address, that group is now operational. If you first enable an HSRP group
before customizing HSRP, the router could take control over the group and become the active router
before you finish customizing the feature. If you plan to customize HSRP, you should do so before you
enable the HSRP group.
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
12-14
Purpose
Configures the router to take over as the 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.
(Optional) Displays HSRP information for an interface.
(Optional) Saves this configuration change.
Purpose
Sets the priority level used to select the active
router in an HSRP group. The level range is from
0 to 255. The default is 100.
Chapter 12
Configuring HSRP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents