Layer 2 | 337
18
Layer 2
Overview
This chapter describes commands to configure Layer 2 features. It contains the following sections:
• MAC Addressing Commands
• Virtual LAN (VLAN) Commands
MAC Addressing Commands
The following commands are related to configuring, managing, and viewing MAC addresses:
• clear mac-address-table dynamic
• mac-address-table aging-time
• mac-address-table static
• mac-address-table station-move refresh-arp
• mac learning-limit
• mac learning-limit learn-limit-violation
• mac learning-limit station-move-violation
• mac learning-limit reset
• show cam mac stack-unit
• show mac-address-table
• show mac-address-table aging-time
• show mac learning-limit
clear mac-address-table dynamic
Clear the MAC address table of all MAC address learned dynamically.
Syntax
clear mac-address-table dynamic {address mac-address | all | interface interface | vlan vlan-id}
Parameters
address mac-address Enter the keyword address followed by a MAC address in
nn:nn:nn:nn:nn:nn format.
all Enter the keyword all to delete all MAC address entries in the MAC address
table.