Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
key
chain
name-of-chain
Example:
Device(config)# key chain hsrp1
|
Enables authentication for routing protocols, identifies a group of authentication keys, and enters key-chain configuration mode.
|
Step 4 |
key
key-id
Example:
Device(config-keychain)# key 100
|
Identifies an authentication key on a key chain and enters key-chain key configuration mode.
|
Step 5 |
key-string
string
Example:
Device(config-keychain-key)# key-string mno172
|
Specifies the authentication string for a key.
|
Step 6 |
exit
Example:
Device(config-keychain-key)# exit
|
Returns to key-chain configuration mode.
|
Step 7 |
exit
Example:
Device(config-keychain)# exit
|
Returns to global configuration mode.
|
Step 8 |
interface
type
number
Example:
Device(config)# interface GigabitEthernet 0/0/0
|
Configures an interface type and enters interface configuration mode.
|
Step 9 |
ip
address
ip-address
mask [secondary]
Example:
Device(config-if)# ip address 10.21.8.32 255.255.255.0
|
Specifies a primary or secondary IP address for an interface.
|
Step 10 |
standby [group-number]
priority
priority
Example:
Device(config-if)# standby 1 priority 110
|
Configures HSRP priority.
|
Step 11 |
standby [group-number]
preempt [delay {minimum |
reload |
sync}
seconds]
Example:
Device(config-if)# standby 1 preempt
|
Configures HSRP preemption.
|
Step 12 |
standby [group-number]
authentication
md5
key-chain
key-chain-name
Example:
Device(config-if)# standby 1 authentication md5 key-chain hsrp1
|
Configures an authentication MD5 key chain for HSRP MD5 authentication.
|
Step 13 |
standby [group-number]
ip [ip-address [secondary]]
Example:
Device(config-if)# standby 1 ip 10.21.8.12
|
Activates HSRP.
|
Step 14 | Repeat Steps 1 through 12 on each device that will communicate.
|
—
|
Step 15 |
end
Example:
|
Returns to privileged EXEC mode.
|
Step 16 |
show
standby
Example:
|
(Optional) Displays HSRP information.
|