30-8
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 30 Configuring HSRP
Configuring HSRP
•
When routing is first enabled for the interface, it does not have a complete routing table. If it is
configured to preempt, it becomes the active router, even though it is unable to provide adequate
routing services. To solve this problem, configure a delay time to allow the router to update its
routing table.
Beginning in privileged EXEC mode, use one or more of these steps to configure HSRP priority
characteristics on an interface:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface-id
Enter interface configuration mode, and enter the HSRP interface on which you
want to set priority.
Step 3
standby [group-number] priority
priority [preempt [delay delay]]
Set a priority value used in choosing the active router. The range is 1 to 255;
the default priority is 100. The highest number represents the highest priority.
•
(Optional) group-number—The group number to which the command
applies.
•
(Optional) preempt—Select so that when the local router has a higher
priority than the active router, it assumes control as the active router.
•
(Optional) delay—Set to cause the local router to postpone taking over the
active role for the shown number of seconds. The range is 0 to
3600(1 hour); the default is 0 (no delay before taking over).
Use the no form of the command to restore the default values.
Step 4
standby [group-number] [priority
priority] preempt [delay delay]
Configure the router to preempt, which means that when the local router has
a higher priority than the active router, it assumes control as the active router.
•
(Optional) group-number—The group number to which the command
applies.
•
(Optional) priority—Enter to set or change the group priority. The range
is 1 to 255; the default is 100.
•
(Optional) delay—Set to cause the local router to postpone taking over the
active role for the number of seconds shown. The range is 0 to 3600
(1 hour); the default is 0 (no delay before taking over).
Use the no form of the command to restore the default values.
Step 5
standby [group-number] track
type number [interface-priority]
Configure an interface to track other interfaces so that if one of the other
interfaces goes down, the device’s Hot Standby priority is lowered.
•
(Optional) group-number—The group number to which the command
applies.
•
type—Enter the interface type (combined with interface number) that is
tracked.
•
number—Enter the interface number (combined with interface type) that is
tracked.
•
(Optional) interface-priority—Enter the amount by which the hot standby
priority for the router is decremented or incremented when the interface
goes down or comes back up. The default value is 10.
Step 6
end
Return to privileged EXEC mode.