mac
Commands for MAC Address Table Configuration
208
16.1.6 mac-address-table static | static-multicast |
blackhole
Command: mac-address-table {static | static-multicast | blackhole} address
<mac-addr> vlan <vlan-id> [interface ethernet <interface-name>] | [source |
destination | both]
no mac-address-table {static | static-multicast | blackhole | dynamic}
[address <mac-addr>] [vlan <vlan-id>] [interface ethernet <interface-name>]
Function: Add or modify static address entries, static multicast entries and filter address
entries. The no command deletes the three entries.
Parameter: static is the static entries; static-multicast is the static multicast entries;
blackhole is filter entries, which is for discarding frames from specific MAC address, it
can filter source address, destination address or the both. When choose the filter entries,
blackhole address can’t based on port, and not configure to interface; dynamic is
dynamic address entries; <mac-addr> MAC address to be added or deleted;
<interface-name> name of the port transmitting the MAC data packet; <vlan-id> is the
vlan number. source is based on source address filter; destination is based on
destination address filter; both is based on source address and destination address filter,
the default is both.
Command Mode: Global Mode
Default: When VLAN interface is configured and is up, the system will generate a static
address mapping entry of which the inherent MAC address corresponds to the VLAN
number.
Usage Guide: In certain special applications or when the switch is unable to dynamically
learn the MAC address, users can use this command to manually establish mapping
relation between the MAC address and port and VLAN.
no mac-address-table command is for deleting all dynamic, static, filter MAC
address entries existing in the switch MAC address list, except application, system
entries. MAC address entries can be classified according to the different source, the
types are as follows: DYNAMIC, STATIC, APPLICATION, SYSTEM. DYNAMIC is the
dynamic MAC address entries learned by switch, it can be aged by switch automatically.
STATIC is the static MAC address entries (including blackhole entries) added by user.
APPLICATION is the static MAC address entries added by application protocol (such as
dot1x, security port…). SYSTEM is the additive static MAC address entries according to
VLAN interface. When adding STATIC entries, it can cover the conflictive DYNAMIC,
except APPLICATION, SYSTEM entries.
After configure the static multicast MAC by this command, the multicast MAC traffic










