vrrp primary-address

Specifies the primary address for this virtual router.

Syntax

vrrp primary-address vrid ip-address
no vrrp primary-address vrid ip-address

Parameters

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.

Defaults

None.

Mode

Interface configuration mode.

Usage

This command sets the primary IP address that the specified VRID will use to a subnet address on the interface.

Note

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)->