Configuring HSRP
Note
This chapter describes how to use Hot Standby Router Protocol (HSRP) on the Catalyst 3560 switch to
provide routing redundancy for routing IP traffic without being dependent on the availability of any
single router. 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
Note
For complete syntax and usage information for the commands used in this chapter, refer to the switch
command reference for this release and the Cisco IOS IP and IP Routing Command Reference for
Release 12.1.
This chapter consists of these sections:
•
•
•
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.
Routers in an HSRP group can be any router interface that supports HSRP, including Catalyst 3560
Note
routed ports and switch virtual interfaces (SVIs).
78-16156-01
Chapter 5, "Clustering Switches."
Understanding HSRP, page 31-1
Configuring HSRP, page 31-3
Displaying HSRP Configurations, page 31-10
C H A P T E R
Catalyst 3560 Switch Software Configuration Guide
31
31-1