Reference Guide

16
Layer 2
This chapter describes commands to congure Layer 2 features.
This chapter contains the following sections:
MAC Addressing Commands
Virtual LAN (VLAN) Commands
MAC Addressing Commands
The following commands are related to conguring, 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
show cam mac stack-unit
show mac-address-table
Virtual LAN (VLAN) Commands
The following commands congure and monitor virtual local area networks (VLANs). VLANs are a virtual interface and use many of
the same commands as physical interfaces.
For more information, also refer to Virtual LAN (VLAN) Commands.
clear mac-address-table dynamic
Clear the MAC address table of all MAC addresses 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.
interface interface Enter the following keywords and slot/port or number information:
224