Configuring Hsrp Priority - Cisco ME 3400G-2CS - Ethernet Access Switch Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400G-2CS - Ethernet Access Switch:
Table of Contents

Advertisement

Configuring HSRP
Command
Step 4
no switchport
Step 5
standby [group-number] ip [ip-address
[secondary]]
Step 6
end
Step 7
show standby [interface-id [group]]
Step 8
copy running-config startup-config
Use the no standby [group-number] ip [ip-address] interface configuration command to disable HSRP.
This example shows how to activate HSRP for group 1 on a port. The IP address used by the hot standby
group is learned by using HSRP.
Note
This procedure is the minimum number of steps required to enable HSRP. Other configuration is
optional.
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# no switchport
Switch(config-if)# standby 1 ip
Switch(config-if)# end
Switch# show standby

Configuring HSRP Priority

The standby priority, standby preempt, and standby track interface configuration commands are all
used to set characteristics for finding active and standby routers and behavior regarding when a new
active router takes over.
When configuring HSRP priority, follow these guidelines:
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
33-6
Purpose
If necessary, disable Layer 2 switching on the port to enable the Layer 3
interface.
Create (or enable) the HSRP group using its number and virtual IP
address.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Assigning priority helps select the active and standby routers. If preemption is enabled, the router
with the highest priority becomes the designated active router. If priorities are equal, the primary IP
addresses are compared, and the higher IP address has priority.
(Optional) group-number—The group number on the interface for
which HSRP is being enabled. The range is 0 to 255; the default is 0.
If there is only one HSRP group, you do not need to enter a group
number.
(Optional on all but one interface) ip-address—The virtual IP address
of the hot standby router interface. You must enter the virtual IP
address for at least one of the interfaces; it can be learned on the other
interfaces.
(Optional) secondary—The IP address is a secondary hot standby
router interface. If neither router is designated as a secondary or
standby router and no priorities are set, the primary IP addresses are
compared and the higher IP address is the active router, with the next
highest as the standby router.
Chapter 33
Configuring HSRP
78-17058-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents