C613-50100-01 REV C Command Reference for x930 Series 502
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
SWITCHING COMMANDS
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
clear port-security intrusion
show port-security interface
show port-security intrusion
switchport port-security aging
switchport port-security maximum
switchport port-security violation