Step 2
Run:
bridge
bridge-id
The bridge group view is displayed.
Multiple devices can use the same bridge number.
Step 3
Run:
mac-address learning disable
Dynamic MAC address learning is disabled.
By default, dynamic MAC address learning is enabled for a bridge group.
Step 4
Run:
quit
Return to the system view.
Step 5
Configure a MAC address entry.
l
Run:
mac-address static
mac-address
interface-type
interface-number
bridge
bridge-id
A static MAC address entry is configured for a bridge group.
By default, no static MAC address entry is configured. In a bridge group, each MAC address
entry can be configured as only one static entry. If the MAC address entry is configured as
a static entry repeatedly, the last configuration overwrites the previous configuration.
l
Run:
mac-address blackhole
mac-address
bridge
bridge-id
A blackhole MAC address entry is configured for a bridge group.
By default, no blackhole MAC address entry is configured.
l
Run:
mac-address aging-time
seconds
bridge
The aging time is configured for a dynamic MAC entry.
The configured aging time takes effect on the dynamic MAC address entries of all bridge
groups.
----End
9.6.2.6 Checking the Configuration
Prerequisites
The configurations for local bridging integrated with IP routing are complete.
Procedure
l
Run the
display interface bridge-if
[
bridge-id
] command to check information about the
Bridge-if interface.
l
Run the
display bridge
[
bridge-id
]
information
command to check information about
the remote bridge group.
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.
367