Reference Guide

To display a list of all interfaces with a MAC learning limit, use the following command.
Display a list of all interfaces with a MAC learning limit.
EXEC Privilege mode
show mac learning-limit
Dell Networking OS Behavior: The systems do not generate a station-move violation log entry for physical interfaces or port-
channels when you configure mac learning-limit or when you configure mac learning-limit station-move-
violation log. The system detects a station-move violation only when you configure mac learning-limit dynamic
and logs the violation only when you configure the mac learning-limit station-move-violation log, as shown in
the following example.
Dell(conf-if-te-1/1)#show config
!
interface TengigabitEthernet 1/1
no ip address
switchport
mac learning-limit 1 dynamic no-station-move
mac learning-limit station-move-violation log
no shutdown
Learning Limit Violation Actions
Learning limit violation actions are user-configurable.
To configure the system to take an action when the MAC learning limit is reached on an interface and a new address is received
using one the following options with the mac learning-limit command, use the following commands.
Generate a system log message when the MAC learning limit is exceeded.
INTERFACE mode
learn-limit-violation log
Shut down the interface and generate a system log message when the MAC learning limit is exceeded.
INTERFACE mode
learn-limit-violation shutdown
Setting Station Move Violation Actions
Station move violation actions are user-configurable.
no-station-move is the default behavior. You can configure the system to take an action if a station move occurs using one
the following options with the mac learning-limit command.
To display a list of interfaces configured with MAC learning limit or station move violation actions, use the following commands.
Generate a system log message indicating a station move.
INTERFACE mode
station-move-violation log
Shut down the first port to learn the MAC address.
INTERFACE mode
station-move-violation shutdown-original
Shut down the second port to learn the MAC address.
INTERFACE mode
station-move-violation shutdown-offending
Shut down both the first and second port to learn the MAC address.
INTERFACE mode
station-move-violation shutdown-both
Display a list of all of the interfaces configured with MAC learning limit or station move violation.
CONFIGURATION mode
show mac learning-limit violate-action
446
Layer 2