27-4
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter27 Hot Standby Router Protocol and Virtual Router Redundancy Protocol
How to Configure HSRP
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface
type number
Example:
Router(config)# interface Ethernet0/1
Configures an interface type and enters interface
configuration mode.
Step 4
ip address
ip-address mask [secondary]
Example:
Router(config-if)# ip address 10.0.0.1
255.255.255.0
Specifies an primary or secondary IP address for an
interface.
Step 5
standby [
group-number
]
timers
[msec] hellotime
[msec] holdtime
Example:
Router(config-if)# standby 1 timers 14
Configures the interval at which packets are sent to refresh
the MAC cache when HSRP is running.
Step 6
standby [
group-number
]
preempt
[delay
{minimum
delay | reload delay | sync delay}
]
Example:
Router(config-if)# standby 1 preempt delay
minimum 380
Configures preemption and preemption delay.
Step 7
standby [
group-number
]
priority
priority
Example:
Router(config-if)# standby 1 priority 110
Configures HSRP priority.
Step 8
standby [
group-number
]
authentication text
string
Example:
Router(config-if)# standby 1 authentication
text authentication1
Configures an authentication string for HSRP text
authentication.