[RouterA-Ethernet2/0/2]
quit
3.
Add VLANIF 11 and GE4/0/0 to bridge group 1.
[RouterA]
interface gigabitethernet 4/0/0
[RouterA-GigabitEthernet4/0/0]
bridge 1
[RouterA-GigabitEthernet4/0/0]
quit
[RouterA]
interface vlanif 11
[RouterA-Vlanif11]
bridge 1
[RouterA-Vlanif11]
quit
4.
Create bridge group 2.
[RouterA]
bridge 2
[RouterA-bridge2]
quit
5.
Add GE4/0/0 to bridge group 2.
[RouterA]
interface gigabitethernet 3/0/0
[RouterA-GigabitEthernet3/0/0]
bridge 2
[RouterA-GigabitEthernet3/0/0]
quit
6.
Verify the configuration.
# Run the
display bridge information
command to view the configuration of the bridge
groups.
[RouterA]
display bridge information
Bridge 1 :
Status : Undo Shutdown
Bridging : IP, Others
Routing : -
MAC learning : Enable
interface :total 2 interface(s) in the bridge
GigabitEthernet4/0/0 : Up
Vlanif11 : Up
Bridge 2 :
Status : Undo Shutdown
Bridging : IP, Others
Routing : -
MAC learning : Enable
interface :total 1 interface(s) in the bridge
GigabitEthernet3/0/0 : Up
# After the preceding configuration is complete, User 1, User 2, and User 3 can ping each
other, whereas they cannot ping User 4.
Configuration Files
Configuration file of RouterA
#
sysname RouterA
#
bridge 1
bridge 2
#
interface Vlanif11
bridge 1
#
interface Ethernet2/0/1
port link-type access
port default vlan 11
#
interface Ethernet2/0/2
port link-type access
port default vlan 11
#
interface GigabitEthernet4/0/0
bridge 1
#
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.
64