OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : Port Security Commands : switchport port-security logging enable
switchport port-security logging enable
Use this command to enable violated MAC logging on a port security enabled interface.
Use the no parameter with this command to disable violated mac logging on a port security enabled interface.
Command Syntax
switchport port-security logging enable
no switchport port-security logging
Parameters
None
Default
By default logging is disabled.
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 logging enable
 
Last modified date: 07/13/2023