R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

304
Examples
# Enable bridging.
<Sysname> system-view
[Sysname] bridge enable
bridge learning
Use bridge learning to enable dynamic address learning to allow the specified bridge set to add
dynamic address entries into the bridge table.
Use undo bridge learning to disable dynamic address learning.
Syntax
bridge bridge-set learning
undo bridge bridge-set learning
Default
Dynamic address learning is enabled, and all bridge sets are allowed to add dynamic address entries
into the bridge table.
Views
System view
Default command level
2: System level
Parameters
bridge-set: Specifies the bridge set number, an integer in the range of 1 to 255.
Examples
# Enable dynamic address learning.
<Sysname> system-view
[Sysname] bridge 1 learning
bridge mac-address
Use bridge mac-address to configure a static bridge table entry.
Use undo bridge mac-address to remove a static bridge table entry.
Syntax
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 ]
Views
System view
Default command level
2: System level