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 .
Enabling the HSRP Feature
You must globally enable the HSRP feature before you can configure and enable any HSRP groups.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
DETAILED STEPS
To enable the HSRP feature in a VDC, use the following command in global configuration mode:
Command
feature hsrp
Example:
switch(config)# feature hsrp
To disable the HSRP feature in a VDC and remove all associated configuration, use the following
command in global configuration mode:
Command
no feature hsrp
Example:
switch(config)# no feature hsrp
Configuring an HSRP Group
You can configure an HSRP group on an interface and configure the virtual IP address and virtual MAC
address for the HSRP group.
BEFORE YOU BEGIN
Ensure that you have enabled the HSRP feature (see the
page
Cisco NX-OS enables an HSRP group once you configure the virtual IP address on any member interface
in the group. You should configure HSRP attributes such as authentication, timers, and priority before
you enable the HSRP group.
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
19-8
19-8).
config t
interface type number
ip ip-address/length
hsrp group-number
Chapter 19
Purpose
Enables HSRP.
Purpose
Disables HSRP for all groups in a VDC.
"Enabling the HSRP Feature" section on
Configuring HSRP
OL-20002-02