EasyManua.ls Logo

Cisco Nexus 7000 Series - Configuring the HSRP Version; Configuring the HSRP Virtual MAC Address

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

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals