C613-50170-01 Rev B
Command Reference for x510 Series
559
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
WITCHING
C
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 the user to set the maximum number of MAC
addresses that each port can learn.
Use the
no
variant of this command to disable the port-security feature.
Syntax
switchport port-security
no switchport port-security
Mode
Interface Configuration
Examples
To enable the port-security feature on port1.0.4, use the following commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.4
awplus(config-if)#
switchport port-security
To disable the port-security feature on port1.0.4, use the following commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.4
awplus(config-if)#
no switchport port-security
Related
Commands
switchport port-security aging