Multiple devices can use the same bridge number.
----End
Follow-up Procedure
By default, dynamic MAC address learning is enabled for a bridge group. When a network is
insecure and vulnerable to attacks, you can disable dynamic MAC address learning and use static
MAC address entries for traffic forwarding. Perform one or more of the following operations
depending on the type of MAC address entries to be added:
l
Configure a static MAC address entry for a bridge group.
–
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.
–
(Optional) 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
Configure attributes for dynamic MAC address entries of a bridge group.
–
Run:
undo mac-address learning disable
Dynamic MAC address learning is enabled.
By default, dynamic MAC address learning is enabled for a bridge group.
–
(Optional) 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. The aging time can be 0 or ranges from 60 to 1000000, in seconds. The value
0 indicates that a dynamic MAC address entry will not age.
2.4.3 Adding Local Interfaces to a Bridge Group
Adding local interfaces to a bridge group allows the local LANs to communicate with each other.
Context
A bridge group is a virtual group. It can forward packets only after interfaces have been added
to the group.
, the following methods can be used to add users to a bridge group:
l
Directly add users to the bridge group. User 3 uses this method.
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.
41