Users Guide

Layer 2 Switching Commands 301
Syntax
clear mac address-table dynamic [address mac-addr | interface interface-id |
vlan vlan-id]
mac-addr
Delete the specified MAC address.
interface-id
Delete all dynamic MAC addresses on the specified Ethernet port
or port channel.
vlan-id
Delete all dynamic MAC addresses for the specified VLAN. The range
is 1 to 4093.
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode
User Guidelines
This command has no user guidelines.
Example
In this example, the mac address-table tables are cleared.
console#clear mac address-table dynamic
mac address-table aging-time
Use the mac address-table aging-time command in Global Configuration
mode to set the aging time of the address. To restore the default, use the no
form of the mac address-table aging-time command.
Syntax
mac address-table aging-time {0 | 10-1000000}
no mac address-table aging-time
0
Disable aging time for the MAC Address Table.
10-1000000
Set the
number of seconds
aging time for the MAC Address
Table.