33Layer 2This chapter describes commands to configure Layer 2 features.This chapter contains the following sections:• MAC Addressing Commands• Virtual LAN (VLAN) Commands•The VLAN commands are supported on all the S4810 platform.MAC Addressing CommandsThe following commands are related to configuring, managing, and viewing MAC addresses.clear mac-address-tableClear the MAC address table of all MAC address learned dynamically.S4810Syntax clear mac-address-table {dynamic | sticky }{address mac-address| all | interface interface | vlan vlan-id}Parameters dynamic Enter the keyword dynamic to specify dynamically-learnedMAC addresses.sticky Enter the keyword sticky to specify sticky MAC addresses.address mac-addressEnter the keyword address then a MAC address innn:nn:nn:nn:nn:nn format.all Enter the keyword all to delete all MAC address entries inthe MAC address table.interfaceinterfaceEnter the following keywords and slot/port or numberinformation:• For a Port Channel interface, enter the keywords port-channel then a number. The range is from 1 to 128.• For a 10-Gigabit Ethernet interface, enter the keywordTenGigabitEthernet then the slot/port information.• For a 40-Gigabit Ethernet interface, enter the keywordfortyGigE then the slot/port information.1028 Layer 2