converted to sticky MACs on that interface. To remove all sticky MAC addresses from the running cong le, disable sticky MAC and use
the write config command.
When you enable sticky mac on an interface, dynamically-learned MAC addresses do not age, even if you enabled mac-learning-
limit dynamic
. If you congured mac-learning-limit and mac-learning-limit dynamic and you disabled sticky MAC,
any dynamically-learned MAC addresses ages.
mac learning-limit station-move
The mac learning-limit station-move command allows a MAC address already in the table to be learned from another interface.
For example, if you disconnect a network device from one interface and reconnect it to another interface, the MAC address is learned on
the new interface. When the system detects this “station move,” the system clears the entry learned on the original interface and installs a
new entry on the new interface.
mac learning-limit no-station-move
The no-station-move option, also known as “sticky MAC,” provides additional port security by preventing a station move.
When you congure this option, the rst entry in the table is maintained instead of creating an entry on the new interface. no-station-
move is the default behavior. Entries created before you set this option are not aected.
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 congure mac learning-limit or when you congure mac learning-limit station-move-violation log.
Dell Networking OS detects a station-move violation only when you congure
mac learning-limit dynamic and logs the violation
only when you congure the mac learning-limit station-move-violation log, as shown in the following example.
Dell(conf-if-gi-1/1)#show config
!
interface GigabitEthernet 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
To congure 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
438
Layer 2