OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Port Security Commands : switchport port-security logging
switchport port-security logging
Use this command to enable violated MAC logging on a port security enabled interface.
Use the disable parameter with this command to disable violated mac logging on a port security enabled interface.
Command Syntax
switchport port-security logging (enable | disable)
Parameters
enable
Enable violated MAC logging
disable
Disable violated MAC logging
Default
By default logging is disabled.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 4.0.
Examples
#configure terminal
(config)#interface ge1
(config-if)#switchport port-security logging enable
 
 
Last modified date: 07/06/2023