A Commands
This chapter describes the Cisco NX-OS Virtual Router Redundancy Protocol (VRRP) commands that begin with A.
address (VRRP)
To add a single, primary IP address to a virtual router, use the address command. To remove an IP address from a virtual router, use the no form of this command.
address ip-address [ secondary ]
no address [ ip-address [ secondary ]]
Syntax Description
Virtual router address (IPv4). This address should be in the same subnet as the interface IP address. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You can configure one virtual router IP address for a virtual router. If the configured IP address is the same as the interface IP address, this switch automatically owns the IP address. You can configure an IPv4 address only.
The master VRRP router drops the packets addressed to the virtual router's IP address because the virtual router is only intended as a next-hop router to forward packets. In NX-OS devices, some applications require that packets addressed to the virtual router's IP address be accepted and delivered. By using the secondary option to the virtual router IPv4 address, the VRRP router will accept these packets when it is the master.
Examples
This example shows how to configure a virtual router IP address:
This example shows how to remove all the IP addresses (primary and secondary) using a single command:
Related Commands
|
|
---|---|
Clears all the software counters for the specified virtual router. |
|
advertisement-interval (VRRP)
To specify the time interval between the advertisement packets that are being sent to other Virtual Router Redundancy Protocol (VRRP) routers in the same group, use the advertisement-interval command. To return to the default interval value of 1 second, use the no form of this command.
advertisement-interval seconds
no advertisement-interval [ seconds ]
Syntax Description
Number of seconds between advertisement frames being sent. For IPv4, the range is from 1 to 255 seconds. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
VRRP advertisements communicate the priority and state of the virtual router master. The advertisements are encapsulated in IP packets and are sent to the IPv4 multicast address that is assigned to the VRRP group.
VRRP uses a dedicated Internet Assigned Numbers Authority (IANA) standard multicast address (224.0.0.18) for VRRP advertisements. This addressing scheme minimizes the number of routers that must service the multicasts and allows test equipment to accurately identify VRRP packets on a segment. The IANA-assigned VRRP IP protocol number is 112.
Examples
This example shows how to specify an advertisement interval of 200 seconds for VRRP group 250:
Related Commands
|
|
---|---|
Clears all the software counters for the specified virtual router. |
|
authentication (VRRP)
To configure an authentication for the Virtual Router Redundancy Protocol (VRRP), use the authentication command. To disable authentication, use the no form of this command.
no authentication [ text password ]
Syntax Description
Selects to use simple text password of up to 8 alphanumeric characters. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to configure MD5 authentication for VRRP:
Related Commands
|
|
---|---|
Clears all the software counters for the specified virtual router. |
|