Type
Multiport unicast MAC
address entry
Dynamic MAC address
entry
Adding or modifying a static or dynamic MAC address entry globally
Step
1.
Enter system view.
2.
Add or modify a
static or dynamic
MAC address
entry.
Adding or modifying a static or dynamic MAC address entry on an interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Add or modify a static or
dynamic MAC address entry.
Description
Learns the MAC address (for example, MAC A) of the frame, generates a
dynamic MAC address entry for MAC A, and forwards the frame. However, the
generated dynamic MAC address entry does not take effect. Frames destined for
MAC A are forwarded based on the multiport unicast MAC address entry.
•
Learns the MAC address of the frames entered on a different interface from
that in the entry and overwrites the original entry.
•
Forwards the frame entered on the same interface with that in the entry and
updates the aging timer for the entry.
Command
system-view
mac-address { dynamic | static } mac-address
interface interface-type interface-number vlan
vlan-id
Command
system-view
•
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
•
Enter S-channel interface view:
interface s-channel
interface-number.channel-id
•
Enter S-channel aggregate
interface view:
interface
schannel-aggregation
interface-number:channel-id
mac-address { dynamic | static }
mac-address vlan vlan-id
21
Remarks
N/A
By default, no MAC address
entry is configured globally.
Make sure you have created
the VLAN and assigned the
interface to the VLAN.
Remarks
N/A
N/A
By default, no MAC address entry
is configured on an interface.
Make sure you have created the
VLAN and assigned the interface
to the VLAN.