free hit counter

Clear Mac Address-Table - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Address Table Commands
OL-32830-01 Command Line Interface Reference Guide
Example 2 - The following example adds a deleted-on-reset static MAC address:
switchxxxxxx(config)#
interface gi11 delete-on-reset
Example 3 - The following example adds a deleted-on-timeout static MAC
address:
switchxxxxxx(config)#
interface gi11 delete-on-timeout
Example 4 - The following example adds a secure MAC address:
switchxxxxxx(config)#
interface
gi11 secure

5.20 clear mac address-table

To remove learned or secure entries from the forwarding database (FDB), use the
clear mac address-table Privileged EXEC mode command.
Syntax
clear mac address-table
clear mac address-table
Parameters
dynamic interface
the specified interface.The interface ID can be one of the following types:
Ethernet port or port-channel. If interface ID is not supplied, all dynamic
addresses are deleted.
secure interface
the specific interface. A secure address on a MAC address learned on
ports on which port security is defined.
mac address-table static 00:3f:bd:45:5a:b2 vlan 1
mac address-table static 00:3f:bd:45:5a:b2 vlan 1
mac address-table static 00:3f:bd:45:5a:b2 vlan 1
dynamic interface interface-id
secure interface interface-id
interface-id
—Delete all dynamic (learned) addresses on
interface-id
—Delete all the secure addresses learned on
5
166

Advertisement

Table of Contents
loading