API Guide

Table Of Contents
Displaying the MAC Address Table
To display the MAC address table, use the following command.
Display the contents of the MAC address table.
EXEC Privilege mode
show mac-address-table [address | aging-time [vlan vlan-id]| count | dynamic | interface |
static | vlan]
address: displays the specified entry.
aging-time: displays the configured aging-time.
count: displays the number of dynamic and static entries for all VLANs, and the total number of entries.
dynamic: displays only dynamic entries.
interface: displays only entries for the specified interface.
static: displays only static entries.
vlan: displays only entries for the specified VLAN.
MAC Learning Limit
MAC address learning limit is a method of port security on Layer 2 port-channel and physical interfaces, and VLANs. It allows you to set an
upper limit on the number of MAC addresses that learned on an interface/VLAN. After the limit is reached, the system drops all traffic
from a device with an unlearned MAC address.
This section describes the following:
Setting the MAC Learning Limit
mac learning-limit Dynamic
mac learning-limit mac-address-sticky
mac learning-limit station-move
Learning Limit Violation Actions
Setting Station Move Violation Actions
Recovering from Learning Limit and Station Move Violations
Dell Networking OS Behavior: When configuring the MAC learning limit on a port or VLAN, the configuration is accepted (becomes part
of running-config and show mac learning-limit interface) before the system verifies that sufficient CAM space exists. If
the CAM check fails, a message is displayed:
%E90MH:5 %ACL_AGENT-2-ACL_AGENT_LIST_ERROR: Unable to apply access-list Mac-Limit on
TengigabitEthernet 5/84
In this case, the configuration is still present in the running-config and show output. Remove the configuration before re-applying a
MAC learning limit with a lower value. Also, ensure that you can view the Syslog messages on your session.
Setting the MAC Learning Limit
To set a MAC learning limit on an interface, use the following command.
Specify the number of MAC addresses that the system can learn off a Layer 2 interface.
INTERFACE mode
mac learning-limit address_limit
Three options are available with the mac learning-limit command:
dynamic
no-station-move
station-move
NOTE:
An SNMP trap is available for mac learning-limit station-move. No other SNMP traps are available for
MAC Learning Limit, including limit violations.
Layer 2 505