Specifies the primary address for this virtual router.
vrid | Specifies a unique Virtual Router ID (VRID) associated with this routing interface. |
ip-address | Specifies the virtual router IP address to associate with the router. |
None.
Interface configuration mode.
This command sets the primary IP address that the specified VRID will use to a subnet address on the interface.
Note
When configuring an IPv6 VRRP link local address, all link local addresses must match on all routers running the same VRRP instance in a LAN segment. Only one link local address on a VRRP instance will be active at any given time.The “no” form of this command clears the VRRP primary address configuration.
This example sets the 20.20.20.2 IP address as the primary address for the VRRP 1 instance:
System(rw)->configure System(rw)-config)->interface vlan 20 System(rw)-config-intf-vlan.0.20)->vrrp create 1 v2-ipv4 System(rw)-config-intf-vlan.0.20)->vrrp primary-address 1 20.20.20.2 System(rw)-config-intf-vlan.0.20)->