address (hsrp)
To enable hot standby protocol for IP, use the address (hsrp) command in the HSRP group submode. To disable hot standby protocol for IP, use the no form of this command.
address { learn | address }
no address { learn | address }
Syntax Description
learn |
Learns virtual IP address from peer. |
address |
Hot standby IP address. |
Command Default
None
Command Modes
HSRP Group Submode
Command History
Release | Modification |
---|
Usage Guidelines
No specific guidelines impact the use of this command.
Task ID
Task ID | Operation |
---|---|
hsrp |
read, write |
Examples
This example shows how to enable a group to learn the primary virtual IPv4 address from received HSRP control packets:
Router# configure
Router(config)# router hsrp
Router(config-hsrp)# interface tenGigE hundredgige 0/4/0/4
Router(config-hsrp-if)# address-family ipv4
Router(config-hsrp-ipv4)# hsrp 1 version 2
Router(config-hsrp-gp)# address learn
Router(config-hsrp-gp)#
Note |
|
Note |
Starting with IOS XR Release 7.4.1, the HSRP version 2 extended group range configurable in the router is restricted to 0-255. |