1-9
Use the
undo vrrp vrid preempt-mode
command to cancel the configuration, that is, configure the
switch to work in the non-preemptive mode.
By default, switches in a VRRP group operate in the preemptive mode, with the preemption delay
period set to 0 seconds.
If you want a switch with high priority to preempt the master, configure the switch to operate in the
preemptive mode. You can also set the delay period for preemption as needed.
For 5500-EI series, you can enable the preemptive mode for switches in a VRRP group:
z
In a VRRP group where the preemptive mode is not enabled, once a switch in the VRRP group
becomes the master, other switches, even if they are with a higher priority later, do not preempt the
master as long as the master is not down.
z
In a VRRP group where switches are enabled with the preemptive mode, a backup sends out
VRRP advertisements to trigger a new master election if it finds its priority is higher than that of the
current master, and finally becomes the new master. The former master becomes a backup
accordingly.
You can also set the preemptive delay for the switches in a VRRP group. Setting a preemption delay
period aims at:
z
In an unstable network, backups in a VRRP group possibly cannot receive VRRP advertisements
from the master in time due to network congestions. This causes the master of the VRRP group to
be determined frequently. In this case, the backup considers itself as the master and sends out
VRRP advertisements to elect the master. This causes the master of the VRRP group to be
determined frequently.
z
With the configuration of preemption delay, if a backup does not receive VRRP advertisements
from the master in time, it waits for a while before switching to a new master. The backup does not
send VRRP advertisements if it receives VRRP advertisements from the master during the
specified delay period.
Examples
# Configure the switch to operate in the preemptive mode.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 preempt-mode
# Set the preemption delay period.
[Sysname-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
# Configure the switch to operate in non-preemptive mode.
[Sysname-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
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...