OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : Port Security Commands : switchport port-security maximum
switchport port-security maximum
Use this command to configure MAC learn limit for an interface.
Note: When a newly configured max learn limit is less than the previous value, the user must remove/flush-out the unwanted MACs to stop traffic forwarding from the unwanted Source MAC addresses. MAC addresses can be removed using “clear mac address-table
Command Syntax
switchport port-security maximum <1-1000>
Parameters
<1-1000>
Port security maximum learn limit
Default
Default learn limit is 1.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 1.3.6.
Examples
#configure terminal
(config)#interface ge1
(config-if)#switchport port-security maximum 3
 
Last modified date: 07/13/2023