H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – VRRP-HA
H3C S7500 Series Ethernet Switches Chapter 1
VRRP Configuration Commands
1-7
You can configure an S7500 series switch to operate in preemptive mode. You can also
set the delay period. A backup switch waits for a period of time (the delay period) before
becoming a master switch. Setting a delay period aims at:
In an unstable network, backup switches in a backup group possibly cannot receive
packets from the master in time due to network congestions even if the master operates
properly. This causes the master of the backup group being determined frequently.
With the configuration of delay period, the backup switch will wait for a while if it does
not receive packets from the master switch in time. A new master is determined only
after the backup switches do not receive packets from the master switch after the
specified delay time.
Note:
You can use the undo vrrp vrid preempt-mode command to set switches in a backup
group to operate in non-preemptive mode.
Examples
# Configure the switches to operate in the preemptive mode.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] vrrp vrid 1 preempt-mode
# Set the delay period.
[H3C-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
# Configure the switches to operate in non-preemptive mode.
[H3C-Vlan-interface2] undo vrrp vrid 1 preempt-mode
1.1.7 vrrp vrid priority
Syntax
vrrp vrid virtual-router-id priority priority
undo vrrp vrid virtual-router-id priority
View
VLAN interface view
Parameters
virtual-router-id: VRRP backup group ID, ranging from 1 to 255.