Send document comments to nexus7k-docfeedback@cisco.com.
19-8
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 19 Configuring HSRP
Configuring HSRP
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:
To disable the HSRP feature in a VDC and remove all associated configuration, use the following
command in global configuration mode:
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 “Enabling the HSRP Feature” section on
page 19-8).
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. config t
2. interface type number
3. ip ip-address/length
4. hsrp group-number
Command Purpose
feature hsrp
Example:
switch(config)# feature hsrp
Enables HSRP.
Command Purpose
no feature hsrp
Example:
switch(config)# no feature hsrp
Disables HSRP for all groups in a VDC.