2-36
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches
clear mac-address-table dynamic
clear mac-address-table dynamic
To clear dynamic address entries from the Layer2 MAC address table, use the clear mac-address-table
dynamic command.
clear mac-address-table dynamic [{address mac_addr} | {interface interface}] [vlan vlan_id]
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC
Command History
Usage Guidelines Enter the clear mac-address-table dynamic command with no arguments to remove all dynamic entries
from the table.
Examples This example shows how to clear all dynamic Layer2 entries for a specific interface (gi1/1):
Switch# clear mac-address-table dynamic interface gi1/1
Switch#
Related Commands mac-address-table aging-time
main-cpu
show mac-address-table address
address mac_addr (Optional) Specifies the MAC address.
interface interface (Optional) Specifies the interface and clear the entries associated with it; valid
values are FastEthernet and GigabitEthernet.
vlan vlan_id (Optional) Specifies the VLANs; valid values are from 1 to 4094.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Support for extended VLAN addresses added.