3. Configure interfaces to allow the packets from VLAN 11 and VLAN 12 to pass
through.
l On Router A and Router B:
1. Configure bridge groups.
2. Add WAN interfaces Ethernet1/0/0 and Ethernet2/0/0 to the same bridge group.
3. Enable VLAN ID transparent transmission on user-side interfaces and network-side
interfaces to allow users in the same VLAN to communicate with each other and
isolate users in different VLANs.
Configuration Procedure
1. Configure Router A.
# Create bridge group 1.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA-bridge1] bridge 1
[RouterA-bridge1] undo shutdown
[RouterA-bridge1] quit
# Add Ethernet1/0/0 and Ethernet2/0/0 to bridge group 1, and enable VLAN ID transparent
transmission on the two interfaces.
[RouterA] interface ethernet 1/0/0
[RouterA-Ethernet1/0/0] bridge 1
[RouterA-Ethernet1/0/0] bridge vlan-transmit enable
[RouterA-Ethernet1/0/0] quit
[RouterA] interface ethernet 2/0/0
[RouterA-Ethernet2/0/0] bridge 1
[RouterA-Ethernet2/0/0] bridge vlan-transmit enable
[RouterA-Ethernet2/0/0] quit
2. Configure Switch 1.
# Create VLANs.
<Huawei> system-view
[Huawei] sysname Switch1
[Switch1] vlan 11
[Switch1-vlan11] quit
[Switch1] vlan 12
[Switch1-vlan12] quit
# Add Ethernet1/0/1 to VLAN 11 and Ethernet1/0/2 to VLAN 12.
[Switch1] interface ethernet 1/0/1
[Switch1-Ethernet1/0/1] port link-type access
[Switch1-Ethernet1/0/1] port default vlan 11
[Switch1-Ethernet1/0/1] quit
[Switch1] interface ethernet 1/0/2
[Switch1-Ethernet1/0/2] port link-type access
[Switch1-Ethernet1/0/2] port default vlan 12
[Switch1-Ethernet1/0/2] quit
# Configure Ethernet 1/0/3 to allow the packets from VLAN 11 and VLAN 12 to pass
through.
[Switch1] interface ethernet 1/0/3
[Switch1-Ethernet1/0/3] port link-type trunk
[Switch1-Ethernet1/0/3] port trunk allow-pass vlan 11 to 12
[Switch1-Ethernet1/0/3] quit
3. Configure Router B.
# Create bridge group 2.
<Huawei> system-view
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
9 Transparent Bridging Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
392