Download Print this page

Switchport Port-Security Violation - Allied Telesis IE340 Series Command Reference Manual

Industrial ethernet layer 3 switches
Hide thumbs Also See for IE340 Series:

Advertisement

S
C
WITCHING
OMMANDS
-
SWITCHPORT PORT
SECURITY VIOLATION

switchport port-security violation

Overview
Use this command to set the action taken on a switch port when the port exceeds
the port-security learning limits.
The action can be shutdown, restrict or protect:
Use the no variant of this command to set the violation action to the default action
of protect.
Syntax
switchport port-security violation {shutdown|restrict|protect}
no switchport port-security violation
Mode
Interface Configuration for a switchport.
Default
Protect
Usage notes
When modes restrict or shutdown are used, the administrator can also be alerted
via an SNMP trap. To configure this, add the following command to the SNMP
configuration:
awplus(config)#
Examples
To set the action to be shutdown on port1.0.2, use the following commands:
awplus#
awplus(config)#
awplus(config-if)#
To set the port-security action to the default (protect) on port1.0.2, use the
following commands:
awplus#
awplus(config)#
awplus(config-if)#
C613-50631-01 Rev A
shutdown: the physical link will be disabled and 'shutdown' will be shown
in the configuration file.
restrict: the packet from the unauthorized MAC will be discarded and an
SNMP trap will be generated to alert management.
protect: the packet will simply be discarded silently.
Parameter
Description
shutdown
Disable the port.
restrict
Discard and alert the network administrator.
protect
Discard the packet.
snmp-server enable trap nsm
configure terminal
interface port1.0.2
configure terminal
interface port1.0.2
Command Reference for IE340 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
switchport port-security violation shutdown
no switchport port-security violation
629

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Ie340-12gpIe340-12gtIe340-20gpIe340l-18gp