R2511-HP MSR Router Series High Availability Command Reference(V5)
44
[Sysname-Ethernet1/1] vrrp vrid 1 preempt-mode timer delay 5
Related commands
display vrrp
vrrp vrid priority
Use vrrp vrid priority to configure the priority of the router in the specified VRRP group.
Use undo vrrp vrid priority to restore the default.
Syntax
vrrp vrid virtual-router-id priority priority-value
undo vrrp vrid virtual-router-id priority
Default
The priority of a router in a VRRP group is 100.
Views
Interface view
Default command level
2: System level
Parameters
virtual-router-id: Specifies a VRRP group by its number in the range of 1 to 255.
priority-value: Specifies the priority value of the router in the specified VRRP group in the range of 1 to
254. A higher number indicates a higher priority.
Usage guidelines
Before you execute the command, create a VRRP group on an interface and configure the virtual IP
address of the VRRP group.
The role that a router plays in a VRRP group depends on its priority. A higher priority means that the
router is more likely to become the master. Priority 0 is reserved for special use and 255 for the IP address
owner.
If the router is the IP address owner, its priority is always 255. Therefore, it remains as the master so long
as it is functioning correctly.
Examples
# Set the priority of the router in VRRP group 1 to 150.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Ethernet1/1] vrrp vrid 1 priority 150
Related commands
display vrrp
vrrp vrid timer advertise
Use vrrp vrid timer advertise to configure the Adver_Timer of the specified VRRP group.










