Clear Mac-Address-Table Dynamic - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

clear mac-address-table dynamic

clear mac-address-table dynamic
To clear the dynamic address entries from the Layer 2 MAC address table, use the clear
mac-address-table dynamic command.
Syntax Description
address mac_addr
interface interface
vlan vlan_id
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
12.1(8a)EW
12.1(12c)EW
Usage Guidelines
Enter the clear mac-address-table dynamic command with no arguments to remove all dynamic entries
from the table.
Examples
This 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#
Related Commands
Command
mac-address-table aging-time
main-cpu
show mac-address-table address
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
2-120
clear mac-address-table dynamic [{address mac_addr} | {interface interface}] [vlan vlan_id]
(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.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Support for extended VLAN addresses added.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
Description
Configures the aging time for entries in the Layer 2 table.
Enters the main CPU submode and manually synchronizes
the configurations on two supervisor engines.
Displays the information about the MAC-address table.
OL-25342 -01

Advertisement

Table of Contents
loading

Table of Contents