Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
14-8
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 14 Configuring HSRP
Configuring HSRP
Configuring the HSRP Version
You can configure the HSRP version. If you change the version for existing groups, Cisco NX-OS
reinitializes HSRP for those groups because the virtual MAC address changes. The HSRP version
applies to all groups on the interface.
To configure the HSRP version, use the following command in interface configuration mode:
Configuring an HSRP Group for IPv4
You can configure an HSRP group on an IPv4 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 14-7).
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.
SUMMARY STEPS
1. configure terminal
2. interface type number
3. no switchport
4. ip ip-address/length
5. hsrp group-number [ipv4]
6. ip [ip-address [secondary]]
7. exit
8. no shutdown
9. (Optional) show hsrp [group group-number] [ipv4]
10. (Optional) copy running-config startup-config
Command Purpose
no feature hsrp
Example:
switch(config)# no feature hsrp
Disables HSRP.
Command Purpose
hsrp version {1 | 2}
Example:
switch(config-if)# hsrp version 2
Configures the HSRP version. Version 1 is the
default.