Cisco Systems 3750-X Switch User Manual


  Open as PDF
of 1438
 
44-12
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 44 Configuring HSRP
Configuring HSRP
This example shows how to set the timers on standby group 1 with the time between hello packets at 5
seconds and the time after which a router is considered down to be 15 seconds:
Switch# configure terminal
Switch(config)# interface gigabit
ethernet1/0/1
Switch(config-if)# no switchport
Switch(config-if)# standby 1 ip
Switch(config-if)# standby 1 time
rs 5 15
Switch(config-if)# end
Enabling HSRP Support for ICMP Redirect Messages
ICMP redirect messages are automatically enabled on interfaces configured with HSRP. ICMP is a
network layer Internet protocol that provides message packets to report errors and other information
relevant to IP processing. ICMP provides diagnostic functions, such as sending and directing error packets
to the host. This feature filters outgoing ICMP redirect messages through HSRP, in which the next hop
IP address might be changed to an HSRP virtual IP address. For more information, see the Cisco IOS IP
Configuration Guide, Release 12.2.
Configuring HSRP Groups and Clustering
When a device is participating in an HSRP standby routing and clustering is enabled, you can use the
same standby group for command switch redundancy and HSRP redundancy. Use the cluster
standby-group HSRP-group-name [routing-redundancy] global configuration command to enable the
same HSRP standby group to be used for command switch and routing redundancy. If you create a cluster
with the same HSRP standby group name without entering the routing-redundancy keyword, HSRP
standby routing is disabled for the group.
This example shows how to bind standby group my_hsrp to the cluster and enable the same HSRP group
t
o be used for command switch redundancy and router redundancy. The command can only be executed
on the cluster command switch. If the standby group name or number does not exist, or if the switch is
a cluster member switch, an error message appears.
Switch# configure terminal
Switch(config)# cluster standby-g
roup my_hsrp routing-redundancy
Switch(config)# end