beautypg.com

Switchport port-security violation – Allied Telesis AT-S100 User Manual

Page 225

background image

AT-S100 Management Software User’s Guide

Section II: Advanced Configuration

225

SWITCHPORT PORT-SECURITY VIOLATION

Syntax

switchport port-security violation
protect|restrict|shutdown

no switchport port-security violation
protect|restrict|shutdown

Parameters

violation

Sets the security mode. Choose from the following options:

protect

Permits traffic from a secure port only. Drops
packets from insecure ports. This is the least
secure option.

restrict

Sends an alert when security violation is detected.

shutdown

Shuts down port if a security violation is detected.

Description

Use the SWITCHPORT PORT-SECURITY VIOLATION command to set a
port’s security mode. This is the action the software takes when the port
has exceeded its maximum number of MAC addresses. Only one mode
can be active on a port at a time. By default, no port-security mode is
configured on an interface.

The no form of this command removes the current setting.

To display the current port security settings, use the “SHOW RUNNING-
CONFIG INTERFACE” on page 160.

Command Mode

Interface Configuration mode