port-security port maximum
port-security port maximum
Specifies the maximum number of source MAC addresses that an LPS port(s) is allowed to learn.
port-security port slot/port[-port2] maximum number
Syntax Definitions
slot/port
-port2
number
Defaults
By default, the number of MAC addresses allowed is set to 1.
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
If the port attempts to learn a MAC address that exceeds the maximum number allowed, the port blocks
the unauthorized address or a shutdown occurs. Use the
specify how an LPS port handles violating traffic.
•
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
Release History
Release 7.1.1; command introduced.
page 30-6
The slot number for the module and the physical port number on that
module (for example, 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 (for example, 3/1-4 specifies ports 1-4 on slot 3).
The number of source MAC addresses that are allowed on this port.
Learned Port Security Commands
port-security port violation
OmniSwitch CLI Reference Guide
command to
March 2011