Configuring The Hsrp Priority - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 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 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
Step 3
interface interface-type slot/port
Example:
switch(config)# interface ethernet
1/2
switch(config-if)#
Step 4
hsrp group-number
Example:
switch(config-if)# hsrp 2
switch(config-if-hsrp)#
Step 5
priority [ value ]
Example:
switch(config-if-hsrp)# priority 254
Step 6
track object-number [decrement
value ]
Example:
switch(config-if-hsrp)# track 1
decrement 20
Step 7
preempt [delay [minimum seconds ]
[reload seconds ] [sync seconds ]]
Example:
switch(config-if-hsrp)# preempt
delay minimum 60
Step 8
show hsrp interface interface-type
number
Example:
switch(config-if-hsrp)# show hsrp
interface ethernet 1/2
Step 9
copy running-config startup-config
Example:
switch(config-if-hsrp)# copy
running-config startup-config
The following example shows how to configure HSRP object tracking on Ethernet 1/2:
switch# config t
switch(config)# track 1 interface ethernet 2/2 line-protocol
switch(config)# interface ethernet 1/2
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. If you configure HSRP on a vPC-enabled interface, you can
optionally configure the upper and lower threshold values to control when to fail over to the vPC trunk
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
19-14
Purpose
Enters interface configuration mode.
Creates an HSRP group and enters HSRP configuration
mode.
Sets the priority level used to select the active router in an
HSRP group. The range is from 0 to 255. The default is 100.
Specifies an object to be tracked that affects the weighting
of an HSRP interface.
The value argument specifies a reduction in the priority of
an HSRP interface when a tracked object fails. The range is
from 1 to 255. The default is 10.
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.
Chapter 19
Configuring HSRP
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents