39-10
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 39 Configuring HSRP and Enhanced Object Tracking
Configuring HSRP
Beginning in privileged EXEC mode, use one or more of these steps to configure HSRP authentication
and timers on an interface:
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 gigabitethernet1/0/1
Switch(config-if)#
no switchport
Switch(config-if)#
standby 1 authentication word
Switch(config-if)#
end
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
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Enter interface configuration mode, and enter the HSRP
interface on which you want to set authentication.
Step 3
standby
[
group-number
]
authentication
string
(Optional)
authentication
string
—Enter a string to be carried in
all HSRP messages. The authentication string can be up to eight
characters in length; the default string is
cisco.
(Optional)
group-number
—The group number to which the
command applies.
Step 4
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-number
—The group number to which the command
applies.
•
hellotime
—The hello interval in seconds. The range is from
1 to 255; the default is 3 seconds.
•
holdtime
—The time in seconds before the active or standby
router is declared to be down. The range is from 1 to 255;
the default is 10 seconds.
Step 5
end
Return to privileged EXEC mode.
Step 6
show running-config
Verify the configuration of the standby groups.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...