1-7
Configuring a MAC Address Entry
You can add, modify, or remove a MAC address entry, remove all MAC address entries concerning a
specific port, or remove specific type of MAC address entries (dynamic or static MAC address entries).
You can add a MAC address entry in either system view or Ethernet port view.
Adding a MAC address entry in system view
Follow these steps to add a MAC address entry in system view:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Add a MAC address entry
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, you will fail to add this MAC
address entry. By default, all ports belong to VLAN 1..
z
If the VLAN specified by the
vlan
argument is a dynamic VLAN, after a static MAC address is
added, it will become a static VLAN.
Adding a MAC address entry in Ethernet port view
Follow these steps to add a MAC address entry in Ethernet port view:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Add a MAC address entry
mac-address
{
static
|
dynamic
|
blackhole
}
mac-address
vlan
vlan-id
Required
Содержание S3100 Series
Страница 12: ...10 You can e mail your comments about product documentation to info h3c com We appreciate your comments...
Страница 74: ...7 7 Sysname ip http acl 2030...
Страница 270: ...1 51 Sysname GigabitEthernet1 0 1 port trunk permit vlan all...
Страница 287: ...1 14 the interface on which the packet actually arrived The RPF check succeeds and the packet is forwarded...
Страница 579: ...ii Configuration Example 2 4 QoS Profile Configuration Example 2 4...
Страница 713: ...1 22 Total associations 1...
Страница 823: ...1 16...
Страница 1054: ...i Table of Contents Appendix A Acronyms A 1...