23-9
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter23 Configuring HSRP Configuring HSRP
Use the no standby [group-number] authentication string interface configuration command to delete
an authentication string. Use the no standby [group-number] timers hellotime holdtime interface
configuration command to restore timers to their default values.
This example shows how to configure word as the authentication string required to allow Hot Standby
routers in group 1 to interoperate:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# standby 1 authentication word
Switch(config-if)# end
Switch#
This example shows how to set the timers on standby group 1 with the tim e be twee n he ll o pac ket s at 5
seconds and the time after which a router is considered down to be 15 seconds:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# standby 1 ip
Switch(config-if)# standby 1 timers 5 15
Switch(config-if)# end
Switch#
Configuring HSRP Groups and Clustering
When a device is participating in an HSRP standby routing and clustering is enabled, you can use th e
same standby group for command switch redundancy and HSRP redunda ncy. Use the clu st er
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
to be used for command switch redundancy and router redundancy. The command can onl y be executed
on the command switch. If the standby group name or number does not exis t, or if the switch is a member
switch, an error message appears.
Switch# configure terminal
Switch(config)# cluster standby-group my_hsrp routing-redundancy
Switch(config)# end
Step4 standby [group-number] timers hellotime
holdtime (Optional) Configure the time between hello packets and the
time before other routers declare the active router to be down.
group-numberThe group number to which the command
applies.
hellotimeThe hello interval in seconds. The range is from
1 to 255; the default is 3 seconds.
holdtimeThe time in seconds before the active or standby
router is declared to be down. The range is from 1 t o 255 ;
the default is 10 seconds.
Step5 end Return to privileged EXEC mode.
Step6 show running-config Verify the configuration of the standby groups.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose