Switchport Port-Security Maximum - 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 MAXIMUM

switchport port-security maximum

Overview
Use this command to set the maximum number of MAC addresses that each port
can learn when port-security is enabled on that port.
Use the no variant of this command to unset the maximum number of MAC
addresses that can be learned. This is same as setting the maximum number to 0.
This command also resets the intrusion list table.
switchport port-security maximum <0-256>
Syntax
no switchport port-security maximum
Mode
Interface Configuration for a switchport.
Usage notes
Before using this command, turn on port-security with the
port-security
After using this command to specify the limit, you can use the following
commands for further configuration:
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 learn 3 MAC addresses on port1.0.2, use the following commands:
awplus#
awplus(config)#
awplus(config-if)#
awplus(config-if)#
To remove the MAC learning limit on port1.0.2, use the following commands:
awplus#
awplus(config)#
awplus(config-if)#
C613-50644-01 Rev B
Parameter
maximum <0-256>
command.
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
configure terminal
interface port1.0.2
Command Reference for IE220 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
Description
Specify the maximum number of addresses to learn.
(optional) to choose whether to limit it to
(optional) to change the action the switch
switchport port-security
switchport port-security maximum 3
no switchport port-security maximum
switchport
577

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie220-6ghxIe220-10ghx

Table of Contents