Command Manual – VRRP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 VRRP Configuration Commands
Huawei Technologies Proprietary
1-12
You can control the priority of the VRRP backup group according to the auto detect
result to enable automatic switch between the master switch and the standby switch.
z
Decrease the priority of a backup group when the result of the detecting group is
unreachable.
z
Restore the priority of a backup group when the result of the detecting group is
reachable.
Note:
A detecting group can be used to detect up to eight Layer 3 interfaces.
Currently, auto detect in VRRP is only supported in S3900-EI series switches.
Example
# Create detecting group 10 and specify to detect the IP address of 202.12.1.55.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] detect-group 10
[Quidway-detect-group-10] detect-list 1 ip address 202.12.1.55
# Specify to decrease the priority of backup group 1 by 20 when the result of the
detecting group is unreachable.
[Quidway] interface vlan-interface 2
[Quidway- Vlan-interface2] vrrp vrid 1 track detect-group 10 reduced 20
1.1.12 vrrp vrid virtual-ip
Syntax
vrrp vrid
virtual-router-id
virtual-ip
virtual-address
undo vrrp vrid
virtual-router-id
virtual-ip
virtual-address
View
VLAN interface view
Parameter
virtual-router-id
: VRRP backup group ID ranging from 1 to 255.
virtual-address
: Virtual router IP address to be configured.
Description
Use the
vrrp vrid virtual-ip
command to add a virtual router IP address to an existing
backup group.