Command Guide of WGSW-28040
210
4.15 MAC Address Table
4.15.1 clear mac address-table
Command:
clear mac address-table dynamic [interfaces IF_PORTS] [vlan <1-4094>]
Parameter:
IF_PORTS
Delete all dynamic addresses on the specified interface.
<1-4094>
Delete all dynamic addresses on the specified VLAN
Mode:
Privileged Configuration
Usage Guide:
Use the
clear mac address-table Privileged EXEC
command to delete dynamic mac entry on specified interface or
VLAN or all dynamic mac entry in mac address table
You can verify your setting by entering the
show mac address-table dynamic Privileged EXEC
command
Example:
This example shows how to delete dynamic MAC address entries on gi1
Switch# s
how mac address-table dynamic
VID | MAC Address | Type | Ports
-------+----------------------------+-------------------------+----------
1 | 00:30:4F:00:00:12 | Dynamic | gi11
1 | 00:30:4F:3B:1E:E6 | Dynamic | gi1
Total number of entries: 2
Switch(config)#
clear mac address-table dynamic interfaces gi1
Switch#
show mac address-table dynamic
VID | MAC Address | Type | Ports
-------+----------------------------+-------------------------+----------
1 | 00:30:4F:00:00:12 | Dynamic | gi11
Total number of entries: 1