
Task
Remarks
Configuring a MAC Address Entry
Required
Setting the MAC Address Aging Timer
Optional
Setting the Maximum Number of MAC Addresses a Port Can Learn
Optional
Enabling Destination MAC Address Triggered Update
Optional
Con
concerning a
amic or static MAC address entries).
Adding a MAC address entry in system
Y
address
system view or Ethernet port view.
Follo
a
figuring a MAC Address Entry
You can add, modify, or remove a MAC address entry, remove all MAC address entries
specific port, or remove specific type of MAC address entries (dyn
view
ou can add a MAC
entry in either
w these steps to add MAC address entry in system view:
Use the command…
Remar
To do…
ks
Enter system view
system-view
—
Add a MAC a
entry
ddress
mac-address
{
static
|
dynamic
|
blackhole
}
mac
-
address interface interface
-
type
interface-number
vlan
vlan
-
id
Required
z
When you add a MAC address entry, the port specified by the
interface
argument must belong to
the VLAN specified by the
vlan
argument in the command. Otherwise, the entry will not be added.
If the VLAN specified by the
argument is a dynamic VLAN, after a static MAC address is
z
vlan
added, it will become a static VLAN.
Adding a MAC address entry in E
iew
Follo
a MAC a
ort view
thernet port v
w these steps to add
ddress entry in Ethernet p
:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface-number
—
interface interface-type
Add a MAC address entry
mac-address
{
static
|
dynamic
|
blackhole
}
mac-address
vlan
vlan-id
Required
18-5