Professional Documents
Culture Documents
VLAN Routing
www.huawei.com
VLANs isolate not only layer-2 broadcasts, but also VLAN traffic. As
a result users belonging to different VLANs are unable communicate
with each other.
Port 1 Port 2
Port 5 Ethernet0
192.168.200.200 VLAN200 192.168.200.1
VLAN 200 Port 2
Port 1
Port 3 Ethernet1
VLAN100 192.168.100.1
192.168.100.100
VLAN 100 T
VLAN 300
VLAN 100
T
VLAN 300
Ethernet0.300
Ethernet0.200
VLAN 200 Trunk Ethernet0.100
VLAN 100
T
VLAN 300
L3 switch
VLAN 300
L2 switch
T
10.110.0.113/24 10.110.1.69/24 10.110.1.88/24 10.110.2.200/24
IP:192.168.20.20
VLAN 200 GW:192.168.20.1
SWA RTA
Port 24
Port 2 Trunk Ethernet0/1
Port 1
VLAN 100
T
IP:192.168.10.10
GW:192.168.10.1
SWA RTA
Port 24
Trunk Ethernet0/1
[SWA]vlan 100
[SWA-vlan100]port ethernet 0/1
[SWA]vlan 200
[SWA-vlan200]port ethernet 0/2
[SWA]interface ethernet 0/24
[SWA-Ethernet0/24]port link-type trunk
T
[SWA-Ethernet0/24]port trunk allow-pass vlan all
SWA RTA
Port 24
Trunk Ethernet0/1
IP:192.168.20.20
VLAN 200 GW:192.168.20.1
SWA
Port 2
Port 1
VLAN 100
T
IP:192.168.10.10
GW:192.168.10.1
C:\>ping 192.168.20.20