Managing the mac address table (cli), Managing the mac address table – Dell POWEREDGE M1000E User Manual
Page 852
852
Managing the MAC Address Table
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
PowerConnect M6220/M6348/M8024/M8024-k CLI
Reference Guide
.
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, you can use the clear mac address-
table command to remove entries from the table.