Cisco Nexus 5500 Series Command Reference Manual page 251

Nx-os layer 2 interfaces command reference
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Chapter
S Commands
switchport port-security violation
To set the action to be taken when a security violation is detected, use the switchport port-security
violation command. To revert to the default settings, use the no form of this command.
Syntax Description
protect
restrict
shutdown
Command Default
shutdown
Command Modes
Interface configuration mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to configure the port security violation mode on a port:
switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# switchport port-security violation protect
switch(config-if)#
This example shows how to set the port security violation mode on a port to the default value:
switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# no switchport port-security violation protect
switch(config-if)#
Related Commands
Command
show port-security
OL-27880-02
switchport port-security violation {protect | restrict | shutdown}
no switchport port-security violation {protect | restrict | shutdown}
Drops all the packets from the insecure hosts at the port-security process
level but does not increment the security-violation count.
Drops all the packets from the insecure hosts at the port-security process
level and increments the security-violation count.
Shuts down the port if there is a security violation.
Modification
This command was introduced.
Description
Displays the port security configuration information.
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
switchport port-security violation
1245

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents