40-7
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
OL-12247-04
Chapter 40 Configuring HSRP
Configuring HSRP
Enabling HSRP
The
standby ip
interface configuration command activates HSRP on the configured interface. If an IP
address is specified, that address is used as the designated address for the Hot Standby group. If no IP
address is specified, the address is learned through the standby function. You must configure at least one
Layer 3 port on the LAN with the designated address. Configuring an IP address always overrides
another designated address currently in use.
When the
standby ip
command is enabled on an interface and proxy ARP is enabled, if the interface’s
Hot Standby state is active, proxy ARP requests are answered using the Hot Standby group MAC
address. If the interface is in a different state, proxy ARP responses are suppressed.
Beginning in privileged EXEC mode, follow these steps to create or enable HSRP on a Layer 3 interface:
Use the
no standby
[
group-number
]
ip
[
ip-address
] interface configuration command to disable HSRP.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Enter interface configuration mode, and enter the Layer 3 interface on
which you want to enable HSRP.
Step 3
standby version
{
1
|
2
}
(Optional) Configure the HSRP version on the interface.
•
1— Select HSRPv1.
•
2— Select HSRPv2.
If you do not enter this command or do not specify a keyword, the
interface runs the default HSRP version, HSRP v1.
Step 4
standby
[
group-number
]
ip
[
ip-address
[
secondary
]]
Create (or enable) the HSRP group using its number and virtual IP
address.
•
(Optional)
group-number
—The group number on the interface for
which HSRP is being enabled. The range is 0 to 255; the default is 0.
If there is only one HSRP group, you do not need to enter a group
number.
•
(Optional on all but one interface)
ip-address
—The virtual IP address
of the hot standby router interface. You must enter the virtual IP
address for at least one of the interfaces; it can be learned on the other
interfaces.
•
(Optional)
secondary
—The IP address is a secondary hot standby
router interface. If neither router is designated as a secondary or
standby router and no priorities are set, the primary IP addresses are
compared and the higher IP address is the active router, with the next
highest as the standby router.
Step 5
end
Return to privileged EXEC mode.
Step 6
show standby
[
interface-id
[
group
]]
Verify the configuration.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.