Switch(config)# mac address-table aging-time
200
Set MAC address aging time to 200
seconds.
Use “Interface” command to configure a group of ports’ MAC Table settings.
Switch(config)# interface
[port_list]
Enter several discontinuous port
numbers separated by commas or a
range of ports with a hyphen. For
example:1,3 or 2-4
Switch(config-if-PORT)# mac
address-table static-mac
[xx:xx:xx:xx:xx:xx] vlan [1-4094]
Specify a MAC address to the VLAN
entry.
Note: Only one port could be set at
a time.
Specify the VLAN where the packets
with the Destination MAC address can
be forwarded to the selected port.
Switch(config-if-PORT-PORT)#
mac learning
Enable MAC learning function of the
selected port(s).
Switch(config-if-PORT)# no
mac address-table static-mac
[xx:xx:xx:xx:xx:xx] vlan [1-4094]
Remove the specified MAC address
from the MAC address table.
Note: Only one port could be set at
a time.
Remove the VLAN to which the
specified MAC belongs.
Switch(config-if-PORT-PORT)#
no mac learning
Disable MAC learning function of the
selected port(s).