219
ports; when the destination MAC address in a unicast frame is not found in the MAC
table, the switch will broadcast the unicast frame. When VLANs are configured, the
switch will forward unicast frame within the same VLAN. If the destination MAC
address is found in the MAC table but belonging to different VLANs, the switch can
only broadcast the unicast frame in the VLAN it belongs to.
7.2 Mac Address Table Configuration Task List
1. Configure the MAC address aging-time
2. Configure static MAC forwarding or filter entry
1. Configure the MAC aging-time
Command Explanation
Global Mode
mac-address-table aging-time
<0|aging-time>
no mac-address-table aging-time
Configure the MAC address
aging-time
2. Configure static MAC forwarding or filter entry
7.3 Commands for MAC Address table configuration
7.3.1 mac-address-table
Command:mac-address-table static <mac-address> {interface <interface-name >|
discard} vlan <vlan-id>
Command Explanation
Global Mode
mac-address-table {static|blackhole}
address <mac-addr> vlan <vlan-id >
interface [ethernet|portchannel]
<interface-name>
no mac-address-table
[static|blackhole|dynamic] [address
<mac-addr>] [vlan <vlan-id>] [interface
[ethernet|portchannel]
<interface-name>]
Configure static MAC forwarding or
filter entry