534
C
25: A
D
HAPTER
UTO
Auto Detect
Implementation in
VRRP
Configuring the Auto
Detect Function for
VRRP
Configuration Example
C
ETECT
ONFIGURATION
Configuration procedure
Configure Switch A.
<S5500 A> system-view
[S5500 A] detect-group 8
[S5500 A-detect-group-8] detect-list 1 ip address 10.1.1.4 nexthop
192.168.1.2
[S5500 A] ip route-static 10.1.1.4 24 192.168.1.2 detect-group 8
You can control the preferences of VRRP backup groups according to auto detect
results to enable automatic switch between the master and the backup switch as
follows:
Decrease the preference value of a VRRP backup group when the result of the
■
detecting group is unreachable.
Resume the preference of a VRRP backup group when the result of the detecting
■
group is reachable.
You need to create a detecting group and perform VRRP-related configurations
before the following operations.
Table 593 Configure the auto detect function for VRRP
Operation
Enter system view
Enter VLAN interface
view
Enable the auto detect
function for VRRP
Network requirements
Switch B and switch D form VRRP backup group 1, whose virtual IP address is
■
192.168.1.10.
Packets sourced from Switch A and destined for Switch C is forwarded by Switch B
■
under normal situations.
When the connection between Switch B and Switch C fails, Switch D becomes the
■
Master in backup group 1 automatically and the link from Switch D to Switch C,
the secondary link, is enabled.
Command
system-view
interface vlan-interface vlan_id
vrrp vrid virtual-router-id track
detect-group group-number [
reduced value-reduced ]
Description
-
-
Required