EasyManua.ls Logo

Cisco Nexus 7000 Series - Configuring the HSRP Priority

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
19-14
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 19 Configuring HSRP
Configuring HSRP
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
Step 3
interface
interface-type slot/port
Example:
switch(config)# interface ethernet
1/2
switch(config-if)#
Enters interface configuration mode.
Step 4
hsrp
group-number
Example:
switch(config-if)# hsrp 2
switch(config-if-hsrp)#
Creates an HSRP group and enters HSRP configuration
mode.
Step 5
priority [
value
]
Example:
switch(config-if-hsrp)# priority 254
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.
Step 6
track
object-number
[decrement
value
]
Example:
switch(config-if-hsrp)# track 1
decrement 20
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.
Step 7
preempt [delay [minimum
seconds
]
[reload
seconds
] [sync
seconds
]]
Example:
switch(config-if-hsrp)# preempt
delay minimum 60
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.
Step 8
show hsrp interface
interface-type
number
Example:
switch(config-if-hsrp)# show hsrp
interface ethernet 1/2
(Optional) Displays HSRP information for an interface.
Step 9
copy running-config startup-config
Example:
switch(config-if-hsrp)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals