Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
14-11
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
2. interface interface-type slot/port
3. no switchport
4. hsrp group-number [ipv4]
5. authentication text string
or
authentication md5 {key-chain key-chain | key-string {0 | 7} text [timeout seconds]}
6. (Optional) show hsrp [group group-number]
7. (Optional) copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Enters interface configuration mode.
Step 3
no switchport
Example:
switch(config-if)# no switchport
Configures the interface as a Layer 3 routed interface.
Step 4
hsrp group-number [ipv4]
Example:
switch(config-if)# hsrp 2
switch(config-if-hsrp)#
Creates an HSRP group and enters HSRP
configuration mode.
Step 5
authentication text string
Example:
switch(config-if-hsrp)# authentication
text mypassword
Configures cleartext authentication for HSRP on this
interface.
authentication md5 {key-chain key-chain
| key-string {0 | 7} text [timeout
seconds]}
Example:
switch(config-if-hsrp)# authentication
md5 key-chain hsrp-keys
Configures MD5 authentication for HSRP on this
interface. You can use a key chain or key string. If you
use a key string, you can optionally set the timeout for
when HSRP will only accept a new key. The range is
from 0 to 32767 seconds.
Step 6
show hsrp [group group-number]
Example:
switch(config-if-hsrp)# show hsrp group
2
(Optional) Displays HSRP information.
Step 7
copy running-config startup-config
Example:
switch(config-if-hsrp)# copy
running-config startup-config
(Optional) Saves this configuration change.