Configuration Roadmap
The configuration roadmap is as follows:
l
On Switch 1 and Switch 2:
1.
Create VLANs.
2.
Add interfaces to the VLANs.
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.
Data Preparation
To complete the configuration, you need the following data:
l
Number of each interface connecting a switch to a user
l
Number of each VLAN to which users are added
l
Number of the user-side interface and number of the network-side interface on each router
l
Number of each bridge group to which a user-side interface and a network-side interface
are added
Configuration Procedure
1.
Configure Router A.
# Create bridge group 1.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA-bridge1]
bridge 1
[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 Eth1/0/1 to VLAN 11 and Eth1/0/2 to VLAN 12.
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
2 Transparent Bridging Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
74