40-11
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-02
Chapter40 Configuring HSRP and Enhanced O bject Tracking
Displaying HSRP Configurations
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 gigabitethernet1/0/1
Switch(config-if)# no switchport
Switch(config-if)# standby 1 ip
Switch(config-if)# standby 1 timers 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 r eport errors and other information
relevant to IP proces sing. ICMP prov ides 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 addre ss. 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 enter ing 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 t he same HSRP group
to 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-group my_hsrp routing-redundancy
Switch(config)# end
Displaying HSRP Configurations
From privileged EXEC mode, use this command to display HSRP settings:
show standby [interface-id [group]] [brief] [detail]
You can display HSRP information for the whole switch, for a specific interface, for an HSRP group, or
for an HSRP group on an interface. You can also specify whether to display a concise overview of HSRP
information or detailed HSRP information. The default display is detail. If there are a large number of
HSRP groups, using the show standby command without qualifiers can result in an unwieldy display.