ipv6-address
ipv6-address
{
ipv6-address
|
auto-gen-link-local
}
no ipv6-address
{
ipv6-address
|
auto-gen-link-local
}
A virtual IPv6 address is not configured for a VRRPv3 or VRRP-Ev3 instance.
Virtual routing ID interface configuration mode
For VRRP instances, the IPv6 address used for the virtual router must be configured on the device assigned to be the initial VRRP owner device. The same physical IPv6 address cannot be used on any other VRRP device.
If the auto-gen-link-local keyword is entered, a virtual IPv6 link-local address is generated automatically for the specific VRRPv3 instance. The virtual link-local address is carried in VRRPv3 advertisements. A manually configured link-local address takes precedence over the automatically generated address.
The
no form of the command removes the virtual router IPv6 address. If the
auto-gen-link-local keyword was active, the automatically generated virtual IPv6 link-local address is
removed for the VRRPv3 instance, and subsequent VRRPv3 advertisements will not carry
this link-local address.
The following example configures a virtual IPv6 address for VRID 1 when IPv6 VRRPv3 is implemented. In this example, the device is configured as the VRRPv3 owner device.
device# configure terminal device(config)# router vrrp device(config)# interface ethernet 1/1/6 device(config-if-e1000-1/1/6)# ipv6 address fd2b::1/64 device(config-if-e1000-1/1/6)# ipv6 vrrp vrid 1 device(config-if-e1000-1/1/6-vrid-1)# owner device(config-if-e1000-1/1/6-vrid-1)# ipv6-address fe80::768e:f8ff:fe2a:0099 device(config-if-e1000-1/1/6-vrid-1)# ipv6-address fd2b::1 device(config-if-e1000-1/1/6-vrid-1)# activate
The following example configures a virtual IPv6 address for VRID 2 when VRRP-Ev3 is implemented. In this example, the device is configured as a VRRP-Ev3 backup device and the highest priority device will become the master VRRP-Ev3 device.
device# configure terminal device(config)# ipv6 router vrrp-extended device(config-ipv6-vrrpe-router)# interface ethernet 1/1/5 device(config-if-e1000-1/1/5)# ipv6 address fd4b::1/64 device(config-if-e1000-1/1/5)# ipv6 vrrp-extended vrid 2 device(config-if-e1000-1/1/5-vrid-2)# backup priority 110 device(config-if-e1000-1/1/5-vrid-2)# ipv6-address fe80::768e:f8ff:fe3a:0099 device(config-if-e1000-1/1/5-vrid-2)# ipv6-address fd4b::99 device(config-if-e1000-1/1/5-vrid-2)# activate