[RouterA-bridge2] quit
5. Add Eth3/0/0 to bridge group 2.
[RouterA] interface ethernet 3/0/0
[RouterA-Ethernet3/0/0] bridge 2
[RouterA-Ethernet3/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
Ethernet4/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
Ethernet3/0/0 : Up
# After the preceding configuration is complete, User 1, User 2, and User 3 can ping each
other, User 3 cannot ping User 4.
Configuration Files
Configuration file of RouterA
#
sysname RouterA
#
vlan batch 11
#
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 Ethernet4/0/0
bridge 1
#
interface Ethernet3/0/0
bridge 2
#
return
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.
382