Administrator Guide

1088 MAC Addressing and Forwarding
Managing the MAC Address Table (CLI)
This section provides information about the commands you use to manage
the MAC address table on the switch. For more information about the
commands, see the
Dell Networking N1500, N2000, N3000, and N4000 Series
Switches CLI Reference Guide
at www.dell.com/support.
Managing the MAC Address Table
Beginning in Privileged EXEC mode, use the following commands to add a
static MAC address to the table, control the aging time for dynamic
addresses, and view entries in the MAC address table.
Command Purpose
configure Enter global configuration mode.
mac address-table static
mac-address
vlan
vlan-id
interface
interface
Add a static MAC source address to the MAC address table.
mac-address
— A valid MAC address in the format
xxxx.xxxx.xxxx.
vlan-id —
A valid VLAN.
interface
A valid port or LAG, including the interface
type and number.
mac address-table
aging-time {0 | 10-
1000000}
Specify the number of seconds that must pass before an
unused dynamically-learned MAC address is removed from
the MAC address table. A value of 0 disables the aging time
for the MAC address table.
exit Exit to Privileged EXEC mode.
show mac address-table
[static | dynamic]
View information about the entries in the MAC address
table. Use the keywords static or dynamic to specify the
address type to view.
For dynamic entries, the clear mac address-table command
can be used to remove entries from the table.
show mac address-table
{vlan
vlan
| interface
interface
[vlan
vlan-id
]}
View information about the MAC addresses that have been
configured or learned on the switch, a specific VLAN, or an
interface (Ethernet port or LAG/port-channel).
show mac address-table
count [{vlan
vlan-id
|interface
interface
}]
View information about the number of addresses that have
been configured or learned on the switch, a specific VLAN,
or an interface (Ethernet port or LAG/port-channel).