Professional Documents
Culture Documents
Dot1q Configuration
www.huawei.com
VLAN 300
Ethernet0.300
Ethernet0.200
VLAN 200 Trunk Ethernet0.100
VLAN 100
T
IP:192.168.20.30
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
[SWA-Ethernet0/24]port trunk allow-pass vlan 100 200
[SWA-Ethernet0/24]undo port trunk allow-pass vlan 1
T
SWA RTA
Port 24
Trunk Ethernet0/1
RTA RTB
Ethernet0/1
Ethernet0/1