Clear Mac Address-Table - Cisco Catalyst 3560-X Command Reference Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

clear mac address-table

clear mac address-table
Syntax Description
Defaults
Command Modes
Command History
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-104
Downloaded from
www.Manualslib.com
Use the clear mac address-table privileged EXEC command on the switch stack or on a standalone
switch to delete from the MAC address table a specific dynamic address, all dynamic addresses on a
particular interface, all dynamic addresses on stack members, or all dynamic addresses on a particular
VLAN. This command also clears the MAC address notification global counters.
clear mac address-table {dynamic [address mac-addr | interface interface-id | vlan vlan-id] |
notification}
dynamic
Delete all dynamic MAC addresses.
dynamic address
(Optional) Delete the specified dynamic MAC address.
mac-addr
dynamic interface
(Optional) Delete all dynamic MAC addresses on the specified physical port
interface-id
or port channel.
dynamic vlan vlan-id
(Optional) Delete all dynamic MAC addresses for the specified VLAN. The
range is 1 to 4094.
notification
Clear the notifications in the history table and reset the counters.
No default is defined.
Privileged EXEC
Release
Modification
12.2(53)SE2
This command was introduced.
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.
Command
mac address-table notification
\show mac address-table
show mac address-table notification
snmp trap mac-notification change
manuals search engine
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
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.
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents