Tracking ports and setting VRRP priority using VRRPv3
Configuring port tracking on an exit path interface and setting a priority on a VRRPv3
device enables VRRPv3 to monitor the interface. For VRRPv3, if the interface goes
down, the device priority is set to the priority value and another backup device with
a higher priority assumes the role of master. For VRRP-Ev3, if the interface goes
down, the device priority is lowered by the priority value and another backup device
with a higher priority assumes the role of master.
Before enabling IPv6 VRRPv3, you must globally enable IPv6 routing using the
ipv6 unicast-routing command.
- Enter the
configure terminalcommand to enter global configuration mode. - Enter the
ipv6 router vrrpcommand to configure VRRPv3 globally. - Configure the Ethernet interface.
- Enter the IPv6 address for the interface to be used for the virtual router ID (VRID).
- Enter the following command to enter the appropriate VRRPv3 virtual router ID (VRID) mode.
- Enter the
track-portcommand to set the tracked port and priority.The priority value is used when a tracked port goes down and the new priority is set to this value. Ensure that the priority value is lower than the priority set for any existing master or backup device to force a renegotiation for the master device.
The following example shows how to configure interface Ethernet 1/2/4 on virtual router 1 to be tracked; if the interface fails, the IPv6 VRRPv3 priority of the device becomes 20, forcing a negotiation for a new master device.
device# configure terminal device(config)# ipv6 router vrrp device(config)# interface ethernet 1/1/6 device(config-if-e1000-1/1/6)# ipv6 address fd2b::2/64 device(config-if-e1000-1/1/6)# ipv6 vrrp vrid 1 device(config-if-e1000-1/1/6-vrid-1)# track-port ethernet 1/2/4 priority 20