HSRP
HSRP
BSCI v3.0—2-1
The Need for Default Gateway Redundancy
Default Gateway Redundancy
Default Gateway Redundancy (Cont.)
HSRP
•HSRP defines a group of routers -- one active and one standby.
•Virtual IP and MAC addresses are shared between the two
routers.
•To verify HSRP state, use the show standby command.
•HSRP is Cisco proprietary, and VRRP is a standard protocol.
HSRP (Cont.)
Active router:
• Responds to default gateway
ARP requests with the virtual
router MAC address
• Assumes active forwarding of
packets for the virtual router
• Sends hello messages
• Knows the virtual router IP
address
Standby Router
• Listens for periodic hello
messages
• Assumes active forwarding of
packets if it does not hear from
active router
HSRP states
Configuring HSRP
• Routers A and B are configured with priorities of 110 and 90,
respectively. The configuration of Router A is displayed. A similar
configuration is required on Router B.
• The preempt keyword ensures that Router A will be the HSRP
active router as long its interface is active and sending hellos.
HSRP
Group 1
Router A Router B
Priority Priority
110 90
172.16.12.2
HSRP
Group 1
Router A Router B
Priority Priority
110 90
RouterA(config)#ip sla 1
RouterA(config-sla)#icmp-echo 172.16.12.2
RouterA(config)#ip sla schedule 1 start-time now life forever
RouterA(config)#track 1 ip sla 1 reachability
RouterA(config)#interface GigabitEthernet0/0
RouterA(config-if)#standby 1 track 1 decrement 30
Gateway Load Balancing Protocol
• Allows full use of resources on
all devices without the
administrative burden of
creating multiple groups
• Provides a single virtual IP
address and multiple virtual
MAC addresses
• Routes traffic to single
gateway distributed across
routers
• Provides automatic rerouting
in the event of any failure