port-security maximum
Configures the maximum number of source MAC addresses that an LPS port(s) is allowed to learn.
port-security slot/port[-port2] maximum num
Syntax Definitions
slot/port
-port2
maximum num
Defaults
By default, the number of MAC addresses allowed is set to 1.
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
Usage Guidelines
•
If the port attempts to learn a MAC address that will exceed the maximum number allowed, the port
will block the unauthorized address or will shutdown. Use the
specify how the LPS port will handle violating traffic.
•
If an LPS port is in a violation state and the maximum number of MAC addresses allowed is changed,
the port transitions out of the violation state.
•
Note that source learning of configured authorized MAC addresses is still allowed after the LPS time
limit has expired; however, all learning is stopped if the number of MAC addresses learned meets or
exceeds the maximum number of addresses allowed, even if the LPS time limit has not expired.
Examples
-> port-security 2/14 maximum 25
-> port-security 4/10-15 maximum 100
-> port-security 1/2 maximum 5 learn-trap-threshold 4
Release History
Release 6.1; command was introduced.
page 40-6
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).
The number of source MAC addresses (1–1000) that are allowed on this
port.
Learned Port Security Commands
port-security violation
OmniSwitch CLI Reference Guide
command to
June 2012