Cisco Catalyst 4500 Series Configuration Manual page 160

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

clear mac-address-table
clear mac-address-table
To clear the global counter entries from the Layer 2 MAC address table, use the clear
mac-address-table command.
Syntax Description
dynamic
address mac_addr
interface interface
vlan vlan_id
notification
Command Default
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
12.1(8a)EW
12.1(12c)EW
12.2(31)SG
Usage Guidelines
Enter the clear mac-address-table dynamic command with no arguments to remove all dynamic entries
from the table.
The clear mac-address-table notification command only clears the global counters which are displayed
with show mac-address-table notification command. It does not clear the global counters and the
history table of the CISCO-MAC-NATIFICATION-MIB.
Examples
The following example shows how to clear all the dynamic Layer 2 entries for a specific interface
(gi1/1):
Switch# clear mac-address-table dynamic interface gi1/1
Switch#
The following example shows how to clear the MAC address notification counters:
Switch# clear mac-address-table notification
Switch#
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-122
clear mac-address-table {dynamic [{address mac_addr} | {interface interface}] [vlan vlan_id] |
notification}
Specifies dynamic entry types.
(Optional) Specifies the MAC address.
(Optional) Specifies the interface and clears the entries associated with it; valid
values are FastEthernet and GigabitEthernet.
(Optional) Specifies the VLANs; valid values are from 1 to 4094.
Specifies MAC change notification global counters.
Modification
This command was introduced on the Catalyst 4500 series switch.
Support for extended VLAN addresses added.
Support for MAC address notification global counters added.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-30934-01

Advertisement

Table of Contents
loading

Table of Contents