Ip (Hsrp) - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

ip (HSRP)

ip (HSRP)
To assign a virtual address to a Hot Standby Router Protocol (HSRP) group, use the ip command. To
disable HSRP in the group, use the no form of this command.
Syntax Description
autoconfig
ip-address
secondary
Command Default
Disabled
Command Modes
HSRP configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
If you configure a virtual IP address, that address is the designated virtual IP address for the entire HSRP
group. For IPv4 groups, if you do not configure a virtual IP address, the gateway learns the virtual IP
address from another gateway in the same HSRP group. To allow HSRP to elect an active virtual gateway
(AVG), you must configure at least one gateway on the LAN with a virtual IP address.
Configuring the virtual IP address on the AVG always overrides a virtual IP address that is in use.
When you configure the ip command for an IPv4 HSRP group on an interface, the handling of proxy
Address Resolution Protocol (ARP) requests changes (unless proxy ARP was disabled). Hosts send ARP
requests to map an IP address to a MAC address. The HSRP gateway intercepts the ARP requests and
replies to the ARP requests on behalf of the connected nodes. If a forwarder in the HSRP group is active,
proxy ARP requests are answered using the MAC address of the first active forwarder in the group. If
no forwarder is active, proxy ARP responses are suppressed.
You must configure all HSRP options before you use the ip command to assign a virtual IP address and
Note
activate the HSRP group so that you can avoid authentication error messages and unexpected state
changes that can occur in other routers when a group is enabled first and then there is a delay before the
configuration is created. We recommend that you always specify an IP address.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
142
ip [autoconfig | ip-address [secondary]]
no ip [autoconfig | ip-address [secondary]]
(Optional) Generates a link-local address from the link-local prefix and a
modified EUI-64 format Interface Identifier, where the EUI-64 Interface
Identifier is created from the relevant HSRP virtual MAC address.
(Optional) Virtual IP address for the virtual router (HSRP group). The IP
address must be in the same subnet as the interface IP address. You must
configure the virtual IP address for at least one of the routers in the HSRP group.
Other routers in the group will pick up this address. The IP address can be an
IPv4 address.
(Optional) Indicates that the IPv4 address is a secondary HSRP virtual address.
Modification
This command was introduced.
Chapter
Unicast Routing Commands
OL-27852-01

Advertisement

Table of Contents
loading

Table of Contents