
Port Security Commands
8039_en_01
PHOENIX CONTACT
2-77
P
ORT
S
ECURITY
C
OMMANDS
This section describes the command you use to configure Port Security on the switch. Port
security, which is also known as port MAC locking, allows you to secure the network by
locking allowable MAC addresses on a given port. Packets with a matching source MAC
address are forwarded normally, and all other packets are discarded.
port-security
This command enables port locking at the system level (Global Config) or port level (Interface
Config)
.
no port-security
This command disables port locking for one (Interface Config) or all (Global Config) ports.
port-security max-dynamic
This command sets the maximum number of dynamically locked MAC addresses allowed on
a specific port.
Default
Format
Mode
Note:
To enable the SNMP trap specific to port security, see
“snmp-server enable traps violation” on page 33
.
Default
disabled
Format
port-security
Mode
•
Global Config
•
Interface Config
Format
no port-security
Mode
•
Global Config
•
Interface Config
Default
600
Format
port-security max-dynamic
<maxvalue>
Mode
Interface Config
RSPSupply - 1-888-532-2706 - www.RSPSupply.com
http://www.RSPSupply.com/p-14161-Phoenix-Contact-2700271-FL-SWITCH-GHS-4G/12-Modular-Ethernet-Switch.aspx