CHAPT ER
42-1
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
42
Configuring HSRP
This chapter describes how to use Hot Standby Router Protocol (HSRP) on the Catalyst 3750 switch to
provide routing redundancy for routing IP traffic not dependent on the availability of any single router.
HSRP for IPv4 is supported on switches running the IP base or IP services image. To use HSRP for IPv6,
see Chapter 39, “Configuring IPv6 Unicast Routing.”
Unless otherwise noted, the term switch refers to a standalone switch and to a switch stack.
You can also use a version of HSRP in Layer 2 mode to configure a redundant command switch to take
over cluster management if the cluster command switch fails. For more information about clustering, see
Chapter 6, “Clustering Switches” and see the Getting Started with Cisco Network Assistant, available on
Cisco.com.
For complete syntax and usage information for the commands used in this chapter, see these documents:
Switch command reference for this release
Cisco IOS IP Command Reference, Volume 1 of 3: Addressing and Services, Release 12.2:
http://www.cisco.com/en/US/docs/ios/12_2/ipaddr/command/reference/fipras_r.html
Hot Standby Router Protocol Version 2 feature module:
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gthsrpv2.html
This chapter consists of these sections:
Understanding HSRP, page42-1
Configuring HSRP, page42-5
Displaying HSRP Configurations, page42-13

Understanding HSRP

HSRP is Cisco’s standard method of providing high network availability by providing first-hop
redundancy for IP hosts on an IEEE 802 LAN configured with a default gateway IP address. HSRP routes
IP traffic without relying on the availability of any single router. It enables a set of router interfaces to
work together to present the appearance of a single virtual router or default gateway to the hosts on a
LAN. When HSRP is configured on a network or segment, it provides a virtual Media Access Control
(MAC) address and an IP address that is shared among a group of configured routers. HSRP allows two
or more HSRP-configured routers to use the MAC address and IP network address of a virtual router.
The virtual router does not exist; it represents the common target for routers that are configured to
provide backup to each other. One of the routers is selected to be the active router and another to be the
standby router, which assumes control of the group MAC address and IP address should the designated
active router fail.