Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
Learned Port Security Commands
page 18-6
OmniSwitch CLI Reference Guide
September 2009
port-security maximum
Specifies the maximum number of source MAC addresses that an LPS port(s) is allowed to learn. 
port-security slot/port[-port2] maximum number
Syntax Definitions
slot/port
The slot number for the module and the physical port number on that 
module (e.g., 3/1 specifies port 1 on slot 3).
-port2
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).
number
The number of source MAC addresses (1–100) that are allowed on this 
port.
Defaults
By default, the number of MAC addresses allowed is set to 1.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 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 th
 command to 
specify how an LPS port will handle 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 6.1; command was introduced.