Concept Guide

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
Topics:
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 station-move refresh-arp
show cam mac stack-unit
show mac-address-table
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:
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet
followed by the slot/port information.
vlan vlan-id Enter the keyword vlan followed by a VLAN ID number from 1 to 4094.
Command Modes EXEC Privilege
Supported Modes All Modes
34
828 Layer 2