![Huawei Quidway S5600 Скачать руководство пользователя страница 600](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841600.webp)
Operation Manual – VRRP
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 VRRP Configuration
Huawei Technologies Proprietary
1-18
1.4.5 VRRP Auto Detect Configuration Example
I. Network requirements
z
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.
z
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.
II. Network diagram
192.168.1.2
20.1.1.2
10.1.1.3
10.1.1.4
Switch C
192.168.1.1/24
192.168.1.2/24
192.168.1.3/24
20.1.1.3/24
10.1.1.3/24
Ether net 1/0/1
10.1.1.4/24
Switch A
Sw itch B
Switch C
Sw itch D
VLAN 1
20.1.1.4/24
VLAN 1
VLAN 1
VLAN 1
192.168.1.2
20.1.1.2
10.1.1.3
10.1.1.4
Switch C
192.168.1.1/24
192.168.1.2/24
192.168.1.3/24
20.1.1.3/24
10.1.1.3/24
GE 1/0/1
10.1.1.4/24
GE 1/0/2
Switch A
Sw itch B
Switch C
Sw itch D
VLAN 1
20.1.1.4/24
VLAN 1
VLAN 1
VLAN 1
192.168.1.2
20.1.1.2
10.1.1.3
10.1.1.4
Switch C
192.168.1.1/24
192.168.1.2/24
192.168.1.3/24
20.1.1.3/24
10.1.1.3/24
Ether net 1/0/1
10.1.1.4/24
Switch A
Sw itch B
Switch C
Sw itch D
VLAN 1
20.1.1.4/24
VLAN 1
VLAN 1
VLAN 1
192.168.1.2
20.1.1.2
10.1.1.3
10.1.1.4
Switch C
192.168.1.1/24
192.168.1.2/24
192.168.1.3/24
20.1.1.3/24
10.1.1.3/24
GE 1/0/1
10.1.1.4/24
GE 1/0/2
Switch A
Sw itch B
Switch C
Sw itch D
VLAN 1
20.1.1.4/24
VLAN 1
VLAN 1
VLAN 1
Figure 1-7
Network diagram for implementing the auto detect function in VRRP
III. Configuration procedure
z
Configure Switch B.
# Create detecting group 9.
<Quidway B> system-view
[Quidway B] detect-group 9
# Specify to detect the reachability of the IP address 10.1.1.4, setting the detect number
to 1.
[Quidway B-detect-group-9] detect-list 1 ip address 10.1.1.4
[Quidway B-detect-group-9] quit
# Assign an IP address to VLAN 1 interface.
[Quidway B] interface vlan-interface 1
[Quidway B-Vlan-interface1] ip address 192.168.1.2 24
# Enable VRRP on VLAN 1 interface and assign a virtual IP address to the backup
group.
[Quidway B-Vlan-interface1] vrrp vrid 1 virtual-ip 192.168.1.10