The vrrp6 vrid priority command sets a priority for a router in a Virtual Router Redundancy Protocol for IPv6 (VRRP6) backup group.
The undo vrrp6 vrid priority command restores the default priority.
The default priority is 100 for a router in a VRRP6 backup group.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
The priority of a router determines its position in a VRRP6 backup group. After you run the vrrp6 vrid priority command to set priorities for the routers in a VRRP6 backup group, the router with the highest priority becomes the master router.
Prerequisites
A VRRP6 backup group has been created using the vrrp6 vrid virtual-ip command.
Precautions
If the routers in a VRRP6 backup group have the same priority, the router that first switches to the Master state becomes the master router. Other backup routers no longer preempt the Master state.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [~HUAWEI-GigabitEthernet0/1/1] ipv6 enable [*HUAWEI-GigabitEthernet0/1/1] ipv6 address 2001:db8::1 64 [*HUAWEI-GigabitEthernet0/1/1] vrrp6 vrid 1 virtual-ip FE80::7 link-local [*HUAWEI-GigabitEthernet0/1/1] vrrp6 vrid 1 priority 150