port-security
Enables or disables Learned Port Security (LPS) on the switch port(s). When LPS is enabled, only devices
that have a source MAC address that complies with LPS restrictions are learned on the port(s).
port-security slot/port[-port2] [admin-status {enable | disable | locked}]
port-security chassis {convert-to-static | disable}
no port security slot/port[-port2]
Syntax Definitions
slot/port
-port2
enable
disable
locked
chassis disable
chassis convert-to-static
Defaults
parameter
enable | disable | locked
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
Usage Guidelines
•
Use the no form of this command to remove LPS and clear all entries from the table. This command
enables the switch port to learn new MAC addresses.
•
Use the locked parameter to disable the learning on the port. All MAC addresses are flushed and the
packets are dropped.
•
The port-security chassis disable command disables all the LPS-eligible ports on the chassis.
Disabling port security restricts a port from learning new MAC addresses.
•
Use the port-security chassis convert-to-static command to stop the aging-out of MAC address
learned on the LPS ports.
•
LPS is supported on 10/100 and Gigabit Ethernet fixed, mobile, authenticated, 802.1Q tagged ports,
and 802.1x ports.
page 40-2
The slot number for the module and the physical port number on that
module (e.g., 3/1 specifies port 1 on slot 3).
The last port number in a range of ports you want to configure on the
same slot (e.g, 3/1-4 specifies ports 1-4 on slot 3).
Enables LPS on the specified port(s).
Disables LPS on the specified port(s).
Disables source learning on the specified LPS port(s).
Disables all LPS-eligible ports on the chassis.
Converts the learned bridge MAC address on all LPS port(s) into static
MAC address. This does not apply o filtering MAC addresses.
default
enable
Learned Port Security Commands
OmniSwitch CLI Reference Guide
June 2012