Reference Guide

Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.2.1.1
Introduced on the E-Series.
Related
Commands
mac learning-limit — sets the MAC address learning limits for a selected interface.
show mac-address-table aging-time — displays the MAC aging time.
mac-address-table static
Associate specific MAC or hardware addresses to an interface and VLANs.
S4820T
Syntax
mac-address-table static mac-address {multicast vlan vlan-id
output—range interface}{output interface vlan vlan-id}
To remove a MAC address, use the no mac-address-table static mac-address
output interface vlan vlan-id command.
Parameters
mac-address
Enter the 48-bit hexadecimal address in nn:nn:nn:nn:nn:nn format.
multicast
Enter a vlan port to where L2 multicast MAC traffic is forwarded.
NOTE: Use this option if you want multicast functionality in an L2
VLAN without IGMP protocols.
output
interface
For a unicast MAC address, enter the keyword output then one of
the following interfaces for which traffic is forwarded:
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 keyword
TenGigabitEthernet then the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE then the slot/port information.
output-range
interface
For a multicast MAC address, enter the keyword output-range
then one of the following interfaces to indicate a range of ports for
which traffic is forwarded:
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet then the slot/port information.
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 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 then a VLAN ID number from 1 to 4094.
825