3Com S7902E Command Reference Manual - page 2302
1-9
Parameters
virtual-router-id
:
Virtual router ID or VRRP group number, in the range 1 to 255.
timer delay delay-value
: Sets preemption delay. The
delay-value
argument is in the range of 0 to 255
seconds and defaults to 0 seconds.
Description
Use the
vrrp
vrid preempt-mode
command to enable preemption on the switch and configure its
preemption delay in the specified VRRP group.
Use the
undo vrrp
vrid preempt-mode
command to disable preemption on the switch in the specified
VRRP group.
Use the
undo vrrp vrid preempt-mode timer delay
command to restore the default preemption delay,
that is, zero seconds.
The default mode is immediate preemption without delay.
To avoid members in a VRRP group from changing their states frequently and make backups have
enough time to collect information (such as routing information), each backup waits for a period of time
(the preemption delay time) after it receives an advertisement with the priority lower than the local
priority, then sends VRRP advertisements to start a new master election in the VRRP group and finally
becomes the master.
Note that before executing the command, you need to create a VRRP group on an interface and
configure the virtual IP address of the VRRP group.
Examples
# Enable preemption on the switch in VRRP group 1, and set the preemption delay to five seconds.
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
vrrp vrid priority
Syntax
vrrp vrid virtual-router-id
priority priority-value
undo vrrp vrid
virtual-router-id priority
View
Interface view
Default Level
2: System level
Parameters
virtual-router-id
: VRRP group number, in the range 1 to 255.
priority-value
: Priority value of the switch in the specified VRRP group, in the range 1 to 254, A higher
number indicates a higher priority.