Command Line Reference Guide

16
Layer 2
This chapter describes commands to configure 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 configuring, managing, and viewing MAC addresses:
clear mac-address-table dynamic
show cam mac stack-unit
Virtual LAN (VLAN) Commands
The following commands configure and monitor virtual local area networks (VLANs). VLANs are a virtual
interface and use many of the same commands as physical interfaces.
You can configure an IP address and Layer 3 protocols on a VLAN called Inter-VLAN routing. FTP, TFTP,
ACLs and SNMP are not supported on a VLAN.
For more information, also refer to Virtual LAN (VLAN) Commands.
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.
208
Layer 2