Address Table Commands
switchport port-security mode maximum
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
100
5
When the switchport port-security command enables a mode on a port differing
from the lock mode, all addresses learned on the port are deleted.
When the no switchport port-security maximum command cancels a secure mode
on a port, all secure addresses defined on the port are deleted.
Example
The following example discards all packets to gi11 when the learning reaches the
address limit (50) without learning any more addresses of packets from unknown
sources, and sends the SNMP traps every 100 seconds if a packet with an
unknown source address is received.
switchxxxxxx(config)
interface gi11
switchxxxxxx(config-if)#
switchport port-security mode classic maximum 50
action discard-snmp-log trap-freq 100