Operation Manual – Auto Detect
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 2
Auto Detect Implementation
2-4
2.3.2 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.
z 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
Switch
10.1.1.4
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
Ethernet 1/0/1
Ethernet 2/0/1
Switch A
Switch B
Switch
Switch D
VLAN 1
VLAN 1
VLAN 1
VLAN 1
10.1.1.4/24
C
20.1.1.4/24
192.168.1.2
20.1.1.2
10.1.1.3
Switch
10.1.1.4
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
Ethernet 1/0/1
Ethernet 2/0/1
Switch A
Switch B
Switch
Switch D
VLAN 1
VLAN 1
VLAN 1
VLAN 1
10.1.1.4/24
C
20.1.1.4/24
Figure 2-2 Network diagram for implementing the auto detect function in VRRP
III. Configuration procedure
z Configure Switch B.
# Create detecting group 9.
<H3C> system-view
[H3C] detect-group 9
# Specify to detect the reachability of the IP address 10.1.1.4/24, setting the detect
number to 1.
[H3C-detect-group-9] detect-list 1 ip address 10.1.1.4
[H3C-detect-group-9] quit
# Assign an IP address to VLAN 1 interface.
[H3C] interface vlan-interface 1
[H3C-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.
[H3C-Vlan-interface1] vrrp vrid 1 virtual-ip 192.168.1.10