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.6.3 Adding User-side Interfaces to a Bridge Group
Adding user-side interfaces to a bridge group allows 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.
l
Use a VLAN to add users to the bridge group. Create a VLAN on a bridge and add users
to the VLAN. Users then connect to the bridge group through the VLANIF interface. User
2 and User 3 use this method.
l
Use Ethernet sub-interfaces to add users to the bridge group. This method is used when
flows on a physical interface need to be differentiated using sub-interfaces. User 4 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.
54