Chapter 6 | CLI – Layer 3 |
|
|
Ip vrrp primary Command
Use the ip vrrp primary command to set the primary address that shall be used as the source address of VRRP packets for the virtual router ID. Use the no form of this command to return to the default primary address for the virtual router instance. By default, the primary address is selected automatically by the device.
The syntax for this command is:
[no] ip vrrp <vr-id> primary <ip-address>
Virtual Router ID | |
Primary IP address of the virtual router. This address | |
| should be one of the router addresses on the VLAN. |
Example:
ip vrrp 1 primary 192.168.66.23
Ip vrrp override addr owner Command
Use the ip vrrp override addr owner command to accept packets addressed to the IP address(es) associated with the virtual router, such as ICMP, SNMP, and TELNET (if it is not the IP address owner). Use the no form of this command to discard these packets.
The syntax for this command is:
[no] ip vrrp <vr-id> override addr owner
| Virtual Router ID |
Example:
Router-N(config-if:marketing)# ip vrrp 1 override addr owner
176 |