Configuring The Hsrp Version; Configuring The Hsrp Virtual Mac Address - 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 .
You should use the no shutdown command to enable the interface after you finish the configuration.
Note
The following example shows how to configure an HSRP group on Ethernet 1/2:
switch# config t
switch(config)# interface ethernet 1/2
switch(config-if)# ip 192.0.2.2/8
switch(config-if)# hsrp 2
switch(config-if-hsrp)# ip 192.0.2.1
switch(config-if-hsrp)# exit
switch(config-if)# no shutdown
switch(config-if)# copy running-config startup-config

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:
Command
hsrp version {1 | 2}
Example:
switch(config-if)# hsrp version 2

Configuring the HSRP Virtual MAC Address

You can override the default virtual MAC address that HSRP derives from the configured group number.
You must configure the same virtual MAC address on both vPC peers of a vPC link.
Note
To manually configure the virtual MAC address for an HSRP group, use the following command in
HSRP configuration mode:
Command
mac-address string
Example:
switch(config-if-hsrp)# mac-address
5000.1000.1060
To configure HSRP to use the burned-in MAC address of the interface for the virtual MAC address, use
the following command in interface configuration mode:
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
19-10
Chapter 19
Purpose
Configures the HSRP version. Version 1 is the
default.
Purpose
Configures the virtual MAC address for an HSRP
group. The string uses the standard MAC address
format (xxxx.xxxx.xxxx).
Configuring HSRP
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents