Command Reference Guide Ethernet Interface Configuration Command Set
61200510L1-35E Copyright © 2005 ADTRAN 658

switchport port-security violation [protect l restrict l shutdown]

Use the switchport port-security violation command to configure the action to be taken once a security
violation is encountered. Use the no form of this command to return to the default setting.
Syntax Description
protect Determines that the unit will not learn any new secure addresses (nor allow these
new sources to pass traf fic) until th e number of cu rrently active secu re addresse s
drops below the maximum setting.
restrict Determines that the security violation counter increments and an SNMP trap is
sent once a violation is detected. The new address is not learned and data from
that address is not allowed to pass.
shutdown Determines that the interface is disabled once a violation is detected. A no
shutdown command is required to re-enable the interface.
Default Values
The default for this command is shutdown.
Applicable Platforms
This command applies to the NetVanta 300, 1000, and 1000R Series units.
Command History
Release 8.1 Command was introduced.
Usage Examples
The following example configures the inter face to r eact to security violations by no t learning the addresse s
of and not accepting data from the violation source:
(config)#interface eth 0/1
(config-eth 0/1)#switchport port-security violation restrict