Switchport Port-Security - Allied Telesis IE220 Series Manual

Industrial ethernet layer 2+ switches, command reference for alliedware plus version 5.5.3-0.x
Table of Contents

Advertisement

S
C
WITCHING
OMMANDS
-
SWITCHPORT PORT
SECURITY

switchport port-security

Overview
Use this command to enable the port-security feature. This feature is also known
as the port-based learn limit. It allows you to set the maximum number of MAC
addresses that each port can learn (using the
command).
Use the no variant of this command to disable the port-security feature.
switchport port-security
Syntax
no switchport port-security
Mode
Interface Configuration for a switchport.
Usage notes
After using this command to turn on port-security, use the following commands to
configure it:
If the switch sees a new MAC address on a port that has port-security enabled, and
the MAC address is statically configured for another port, this triggers a violation.
The switch will ignore the maximum learn limit and will treat that MAC address as
an intruder.
Examples
To enable the port-security feature on port1.0.2 and set it to learn 1 MAC address,
use the following commands:
awplus#
awplus(config)#
awplus(config-if)#
awplus(config-if)#
To disable the port-security feature on port1.0.2, use the following commands:
awplus#
awplus(config)#
awplus(config-if)#
C613-50644-01 Rev B
switchport port-security maximum
can be learned
switchport port-security aging
specific devices, or to allow any devices up to the limit
switchport port-security violation
takes if the limit is violated.
configure terminal
interface port1.0.2
switchport port-security
switchport port-security maximum 1
configure terminal
interface port1.0.2
no switchport port-security
Command Reference for IE220 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
switchport port-security maximum
to set the number of MAC addresses that
(optional) to choose whether to limit it to
(optional) to change the action the switch
573

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie220-6ghxIe220-10ghx

Table of Contents