Users Guide
36
Layer 2
This chapter describes commands to congure Layer 2 features.
This chapter contains the following sections:
• MAC Addressing Commands
• Virtual LAN (VLAN) Commands
• Far-End Failure Detection (FEFD)
The VLAN commands are supported on all the platform.
MAC Addressing Commands
The following commands are related to conguring, managing, and viewing MAC addresses.
clear mac-address-table
Clear the MAC address table.
Syntax
clear mac-address-table {dynamic | sticky }{address mac-address | all |
interface interface | vlan vlan-id}
Parameters
dynamic Enter the keyword dynamic to specify dynamically-learned MAC addresses.
sticky Enter the keyword sticky to specify sticky MAC addresses.
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.
terface interface Enter the following keywords and slot/port or number information:
• For a port channel interface, enter the keywords port-channel then a
number.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
•
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the
slot/port information.
vlan vlan-id Enter the keyword vlan followed by a VLAN ID number from 1 to 4094.
1090
Layer 2










