Description
Example
bridge learning
Syntax
View
Parameters
Description
Example
bridge mac-address
Syntax
View
Parameters
Use the
bridge enable
Use the
undo bridge enable
By default, bridging is disabled.
n
Other related configurations can take effect only if the bridging and bridge set
features are enabled. This command is required for bridge configuration.
# Enable bridging.
<Sysname> system-view
[Sysname] bridge enable
bridge bridge-set learning
undo bridge bridge-set learning
System view
bridge-set: Bridge set number, an integer in the range of 1 to 255.
Use the
bridge learning
the specified bridge set to add dynamic address entries into the bridge table.
Use the
undo bridge learning
By default, dynamic address learning is enabled, namely all bridge sets are allowed
to add dynamic address entries into the bridge table.
# Enable dynamic address learning.
<Sysname> system-view
[Sysname] bridge 1 learning
bridge bridge-set mac-address mac-address { deny | permit } [ dlsw | interface
interface-type interface-number ]
undo bridge bridge-set mac-address mac-address [ interface interface-type
interface-number ]
System view
bridge-set: Bridge set number, an integer in the range of 1 to 255.
mac-address: MAC address, in the format of H-H-H
command to enable the bridging functionality.
command to disable the bridging functionality.
command to enable dynamic address learning to allow
command to disable dynamic address learning.
551