Microsoft ES4612 Switch User Manual


 
Router Redundancy Commands
4-321
4
standby ip
This command enables the Hot Standby Router Protocol (HSRP) on an interface
and specify the IP address of the virtual router. Use the no form to disable HSRP on
an interface and remove the IP address for the virtual router.
Syntax
standby [group] ip [ip-address [secondary]]
no standby [group] ip [ip-address]
group - Identifies the virtual router group. (Range: 0-255)
ip-address - The designated IP address of the virtual router.
secondary - Specifies additional IP addresses supported by this group.
Default Setting
Group number: 0
Virtual router groups: none configured
Command Mode
Interface (VLAN)
Command Usage
The designated IP address must be configured on at least one router in the
virtual router group. If an IP address is specified in this command, that
address is used as the designated address for the virtual group. If an IP
address is not specified, the designated address is learned through the
exchange of HSRP messages. Note that the designated address cannot be
the same as a physical address.
The subnet mask for the physical interface on which the designated address
is configured is used as the subnet mask of the designated address. The
interfaces of all routers participating in a virtual router group must be within the
same IP subnet.
Configuring a new designated address on the current master router will
override the designated address currently is use.
If you have multiple secondary addresses configured on the current VLAN
interface, you can use this command with the secondary keyword to add any
secondary address that will be supported by the virtual router.
HSRP is enabled once the designated address and priority are configured,
and the master and standby routers are elected based on highest priority. If
you need to customize any of the other parameters for HSRP such as
authentication, tracking, or advertisement interval, then first configure these
parameters before enabling HSRP.