Switchport Port-Security Violation - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

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 learning limits. The port action can be either shutdown, restrict or protect. If
shutdown is set, the physical link will be disabled and "shutdown" will be shown
in the config. If restrict is set, the packet from the un-authorized MAC will be
discarded and SNMP TRAP will be generated to alert management. If protect is set,
the packet will simply be discarded by the packet processor silently.
Use the no variant of this command to set the violation action to default. The
default violation action is protect.
switchport port-security violation {shutdown|restrict|protect}
Syntax
no switchport port-security violation
Mode
Interface Configuration
Examples
To set the action to be shutdown on port1.0.4, use the following commands:
awplus#
awplus(config)#
awplus(config-if)#
To set the port-security action to the default (protect) on port1.0.4, use the
following commands:
awplus#
awplus(config)#
awplus(config-if)#
Related
clear port-security intrusion
Commands
show port-security interface
show port-security intrusion
switchport port-security
switchport port-security aging
switchport port-security maximum
C613-50170-01 Rev B
Parameter
Description
shutdown
Disable the port.
restrict
Alert the network administrator.
protect
Discard the packet.
configure terminal
interface port1.0.4
configure terminal
interface port1.0.4
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
switchport port-security violation shutdown
no switchport port-security violation
562

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents