R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101

11
undo vrrp vrid virtual-router-id priority
View
Interface view
Default level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
priority-value: Priority value of the router in the specified VRRP group, which ranges from 1 to 254. A
higher number indicates a higher priority.
Description
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.
By default, the priority of a router in a VRRP group is 100.
Before executing 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 properly.
Related commands: display vrrp.
Examples
# Set the priority of the router in VRRP group 1 to 150.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 priority 150
vrrp vrid timer advertise
Syntax
vrrp vrid virtual-router-id timer advertise adver-interval
undo vrrp vrid virtual-router-id timer advertise
View
Interface view
Default level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.