408
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
WITCHING
C
OMMANDS
SWITCHPORT
PORT
-
SECURITY
MAXIMUM
switchport port-security maximum
Overview
Sets the maximum MAC address that each port can learn.
Use the
no
variant of this command to unset the maximum number of MAC
addresses that each port can learn. This is same as setting the maximum number
to 0. This command also resets the intrusion list table.
If a new MAC is seen on a port with port security enabled and the MAC is statically
configured for another port, a violation is triggered. The maximum learn limit will
be ignored and the specified intrusion action for the port will be carried out.
Syntax
switchport port-security maximum
<0-256>
no switchport port-security maximum
Mode
Interface Configuration
Examples
To learn 3 MAC addresses on
port1.0.4
, use the following commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.4
awplus(config-if)#
switchport port-security maximum 3
To remove the MAC learning limit on
port1.0.4
, use the following commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.4
awplus(config-if)#
no switchport port-security maximum
Parameter
Description
maximum
Maximum number of address to learn.
<0-256>
Maximum number of address to learn.