3 show mac-address-table – PLANET WGSW-50040 User Manual
Page 147

Function:
Add or modify static address entries and filter address entries. The “no mac-address-table {static |
blackhole | dynamic} [address <mac-addr>] [vlan <vlan-id>] [interface [ethernet |
portchannel] <interface-name>]” command deletes the two entries.
Parameter:
static is the static 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;
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 an 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 for the mapping entries retained in the system
default.
Example:
Port 1/1 belongs to VLAN200, and establishes address mapping with MAC address
00-30-4f-f0-00-18.
Switch(config)#mac-address-table static address 00-30-4f-f0-00-18 vlan 200 interface
ethernet 1/1
8.1.3 show mac-address-table
Command: