Vrrp Auto Detect Configuration Example - Huawei Quidway S3900 Series Operation Manual

Hide thumbs Also See for Quidway S3900 Series:
Table of Contents

Advertisement

Operation Manual – VRRP
Quidway S3900 Series Ethernet Switches-Release 1510

1.4.5 VRRP Auto Detect Configuration Example

I. 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.
II. Network diagram
VLAN 1
VLAN 1
Ethernet 1/0/1
Ethernet 1/0/1
VLAN 1
VLAN 1
Ethernet 2/0/1
Ethernet 2/0/1
Figure 1-7 Network diagram for implementing the auto detect function in VRRP
III. Configuration procedure
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
VLAN 1
VLAN 1
192.168.1.2/24
192.168.1.2
192.168.1.2/24
192.168.1.2
Switch B
Switch B
Switch A
Switch A
192.168.1.1/24
192.168.1.1/24
Switch D
Switch D
VLAN 1
VLAN 1
192.168.1.3/24
192.168.1.3/24
Huawei Technologies Proprietary
1-18
Chapter 1 VRRP Configuration
10.1.1.3/24
10.1.1.3/24
10.1.1.3
10.1.1.3
10.1.1.4/24
10.1.1.4
10.1.1.4/24
10.1.1.4
Switch C
Switch C
Switch C
Switch C
20.1.1.4/24
20.1.1.4/24
20.1.1.2
20.1.1.3/24
20.1.1.2
20.1.1.3/24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents