Clear Mac Address-Table - Cisco Catalyst 3750 Metro Command Reference Manual

Hide thumbs Also See for Catalyst 3750 Metro:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750 Metro Switch Cisco IOS Commands

clear mac address-table

Use the clear mac address-table privileged EXEC command to delete from the MAC address table all
dynamic MAC addresses, a specific dynamic MAC address, all dynamic addresses on a particular
interface, or all dynamic addresses on a particular VLAN. This command also clears the MAC address
notification global counters.
Syntax Description
dynamic
dynamic address
mac-addr
dynamic interface
interface-id
dynamic vlan vlan-id
notification
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
12.1(14)AX
Examples
This example shows how to remove a specific MAC address from the dynamic address table:
Switch# clear mac address-table dynamic address 0008.0070.0007
You can verify that the information was deleted by entering the show mac address-table privileged
EXEC command.
Related Commands
Command
mac address-table notification
show mac address-table
show mac address-table notification
snmp trap mac-notification change
OL-9645-10
clear mac address-table {dynamic [address mac-addr | interface interface-id | vlan vlan-id] |
notification}
Delete all dynamic MAC addresses.
(Optional) Delete the specified dynamic MAC address.
(Optional) Delete all dynamic MAC addresses on the specified physical port
or port channel.
(Optional) Delete all dynamic MAC addresses for the specified VLAN. The
range is 1 to 4094.
Clear the notifications in the history table and reset the counters.
Modification
This command was introduced.
Description
Enables the MAC address notification feature.
Displays the MAC address table static and dynamic entries.
Displays the MAC address notification settings for all
interfaces or the specified interface.
Enables the Simple Network Management Protocol (SNMP)
MAC address notification trap on a specific interface.
Catalyst 3750 Metro Switch Command Reference
clear mac address-table
2-49

Advertisement

Table of Contents
loading

Table of Contents