F3215-HP Load Balancing Module High Availability Command Reference-6PW101

38
Related commands
display vrrp ipv6
vrrp ipv6 vrid priority
Use vrrp ipv6 vrid priority to configure the priority of the device in the specified VRRP group.
Use undo vrrp ipv6 vrid priority to restore the default.
Syntax
vrrp ipv6 vrid virtual-router-id priority priority-value
undo vrrp ipv6 vrid virtual-router-id priority
Default
The priority of a device in a VRRP group is 100.
Views
Interface view
Default command level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
priority-value: Priority value of the device in the specified VRRP group, which ranges from 1 to 254. A
higher number indicates a higher priority.
Usage guidelines
Before executing the command, create a VRRP group on an interface and configure the virtual IPv6
address of the VRRP group.
The role that a device plays in a VRRP group depends on its priority. A higher priority means that the
device is more likely to become the master. Priority 0 is reserved for special use and 255 for the IP
address owner.
If the device is the IP address owner, its priority is always 255. Therefore, it remains as the master as long
as it is functioning properly.
Examples
# Set the priority of the device in VRRP group 1 to 150.
<Sysname> system-view
[Sysname] interface gigabitethernet0/1
[Sysname-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip fe80::2 link-local
[Sysname-GigabitEthernet0/1] vrrp ipv6 vrid 1 priority 150
Related commands
display vrrp ipv6
vrrp ipv6 vrid timer advertise
Use vrrp ipv6 vrid timer advertise to configure the Adver_Timer of the specified VRRP group.
Use undo vrrp ipv6 vrid timer advertise to restore the default.