Switch 7700 Command reference Guide, v2.0

Table Of Contents
VRRP Configuration Commands 395
vrrp vrid preempt-mode Syntax
vrrp vrid virtual-router-ID preempt-mode [ timer delay delay-value ]
undo vrrp vrid virtual-router-ID preempt-mode
View
VLAN interface view.
Parameter
virtual-router-ID: VRRP virtual router ID, ranging from 1 to 255.
delay-value: Delay in seconds, ranging from 0 to 255.
Description
Use the vrrp vrid preempt-mode command to configure the preemption and
delay of the virtual router.
Use the undo vrrp vrid preempt-mode command to cancel the preemption.
By default, the virtual router is in preempt mode and delay-value is 0 second.
If a higher-priority switch is required to preempt the Master, you must configure it
as preemption. You can also set a delay for the preemption. If you configure it not
to preempt, the delay will be set to 0 automatically.
Example
Configure the switch to preempt.
[SW7700-vlan-interface2]vrrp vrid 1 preempt-mode
Set a delay.
[SW7700-vlan-interface2]vrrp vrid 1 preempt-mode timer delay 5
Configure the switch not to preempt.
[SW7700-vlan-interface2]undo vrrp vrid 1 preempt-mode
vrrp vrid priority Syntax
vrrp vrid virtual-router-ID priority priority
undo vrrp vrid virtual-router-ID priority
View
VLAN interface view.
Parameter
virtual-router-ID: VRRP virtual router ID, ranging from 1 to 255.
priority: Priority value, ranging from 1 to 254; By default, the priority value is
100.
Description
Use the vrrp vrid priority command to set the virtual router priority.