Assigning an auto-generated link-local IPv6 address for a VRRPv3 cluster
A virtual link-local IPv6 address can be auto-generated and assigned as the virtual
IPv6 address of a VRRPv3 session.
- From privileged EXEC mode, enter global configuration mode.
- Globally enable IPv6 VRRP.
- Configure the Ethernet interface link for the owner device.
- Configure the global IPv6 address of the interface.
- Assign the device to virtual router ID (VRID) 2.
Note: You can assign a VRID number in the range of 1 through 255.
- Designate this router as a VRRPv3 owner device.
- Automatically generate the IPv6 link-local address for the VRID for use in the local network.
- Enable the VRRP session.
The following example shows the auto-generation of a virtual link-local IPv6 address and its allocation as the virtual IPv6 address of a VRRPv3 session on an IPv6 VRRPv3 owner router.
device# configure terminal device(config)# ipv6 router vrrp device(config)# interface ve 3 device(config-vif-3)# ipv6 address fd3b::3/64 device(config-vif-3)# ipv6 vrrp vrid 2 device(config-vif-3-vrid-2)# owner device(config-vif-3-vrid-2)# ipv6-address auto-gen-link-local device(config-vif-3-vrid-2)# activate