MAC limit
Entry types in the MAC address table
Dynamic
Learned from the source mac address of incoming packets.
By default the limit is the maximum hardware possible limit (16k,32k,64k entries, see spec sheets).
Dynamic entries are removed from the MAC Table, if the port goes down, the switch reboots, or the aging timer expires if no packets are received anymore (default = 300sec)
Static
Configured by the administrator. Added to MAC table and never removed.
Sticky
Dynamic entries are converted to static entries. Removed only during switch reboot. Sticky-MACs are also displayed as a 'static' entry in the mac table.
Configure a static MAC:
config switch-controller managed-switch
edit <switch-id>
config static-mac
edit 0
set type static
set vlan 200
set mac 00:11:22:33:44:55
set interface port1
mext
end
next
endEnable sticky mac:
Limit dynamic entries
This can only be done via CLI, either on a per port basis or per vlan:
Learning limit can be set to 0 (disabled) to maximum 128
Logging for the mac-limit violations is disabled by default. It's recommended to enable.
Enable mac limit logging:
set mac-limit on a per port basis:
or per vlan basis:
Verify per CLI:
Reset mac-limit violation:
Log Entry:
Last updated
Was this helpful?