Operation Manual – Auto Detect
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 Auto Detect Implementation
Huawei Technologies Proprietary
2-7
II. Network diagram
192.168.1.1
192.168.2.1
192.168.1.2
192.168.2.2 20.1.1.2
10.1.1.3
Ethernet 1/0/1
10.1.1.4
Ethernet 2/0/1
Switch A
Switch B
Switch C
Switch D
192.168.1.1/24
192.168.2.1/24
192.168.1.2/24
192.168.2.2/24 20.1.1.3/24
10.1.1.3/24
Ethernet 1/0/1
10.1.1.4/24
Switch A
Switch B
Switch D
VLAN 1
VLAN 2
20.1.1.4/24
192.168.1.1
192.168.2.1
192.168.1.2
192.168.2.2 20.1.1.2
10.1.1.3
Ethernet 1/0/1
10.1.1.4
Ethernet 2/0/1
Switch A
Switch B
Switch D
192.168.1.1/24
192.168.2.1/24
192.168.1.2/24
192.168.2.2/24 20.1.1.3/24
10.1.1.3/24
Ethernet 1/0/1
10.1.1.4/24
Ethernet 1/0/2
Switch A
Switch B
Switch D
VLAN 1
VLAN 2
20.1.1.4/24
192.168.1.1
192.168.2.1
192.168.1.2
192.168.2.2 20.1.1.2
10.1.1.3
Ethernet 1/0/1
10.1.1.4
Ethernet 2/0/1
Switch A
Switch B
Switch C
Switch D
192.168.1.1/24
192.168.2.1/24
192.168.1.2/24
192.168.2.2/24 20.1.1.3/24
10.1.1.3/24
Ethernet 1/0/1
10.1.1.4/24
Switch A
Switch B
Switch D
VLAN 1
VLAN 2
20.1.1.4/24
192.168.1.1
192.168.2.1
192.168.1.2
192.168.2.2 20.1.1.2
10.1.1.3
Ethernet 1/0/1
10.1.1.4
Ethernet 2/0/1
Switch A
Switch B
Switch D
192.168.1.1/24
192.168.2.1/24
192.168.1.2/24
192.168.2.2/24 20.1.1.3/24
10.1.1.3/24
Ethernet 1/0/1
10.1.1.4/24
Ethernet 1/0/2
Switch A
Switch B
Switch D
VLAN 1
VLAN 2
20.1.1.4/24
Figure 2-3 Network diagram for VLAN interface backup
III. Configuration procedure
z Configure Switch C.
# Enter system view.
<Quidway C> system-view
# Configure a static route to VLAN interface 1 on Switch A as the primary route, with
the IP address of 10.1.1.3/24 as the next hop.
[Quidway C] ip route-static 192.168.1.1 24 10.1.1.3
# Configure a static route to VLAN interface 2 on Switch A as the secondary route,
with the IP address of 20.1.1.3/24 as the next hop.
[Quidway C] ip route-static 192.168.2.1 24 20.1.1.3
z Configure Switch A.
# Enter system view.
<Quidway A> system-view
# Assign an IP address to VLAN 1 interface.
[Quidway A] interface vlan-interface 1
[Quidway A-Vlan-interface1] ip address 192.168.1.1 24
# Add port Ethernet1/0/2 to VLAN 2.
[Quidway A] vlan 2
[Quidway A-vlan2] port ethernet1/0/2
[Quidway A-vlan2] quit
# Assign an IP address to VLAN 2 interface.
[Quidway A] interface vlan-interface 2
[Quidway A-Vlan-interface2] ip address 192.168.2.1 24