User Manual

Table Of Contents
5.4.3 Set operations used for security violations
[Syntax]
port-security violation action
no port-security violation
[Parameter]
action : Operation used for port security violations
Operation mode Description
discard Discards packets
shutdown Shuts down the port
[Initial value]
port-security violation discard
[Input mode]
interface mode
[Description]
Sets the action to be taken during a port security violation for the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
When restoring ports in shutdown mode that have been shut down, use the no shutdown command.
This command can be specified only for both LAN/SFP port and logical interface.
[Example]
Change the operation used for a violation on LAN port #1 to "port shutdown."
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#port-security violation shutdown
5.4.4 Show port security information
[Syntax]
show port-security status
[Input mode]
priviledged EXEC mode
[Description]
Shows the port security information.
[Example]
Show the port security information.
SWR2311P#show port-security status
Port Security Action Status Last violation
-------- --------- --------- --------- -----------------
port1.1 Enabled Discard Blocking 00a0.de00.0003
port1.2 Disabled Discard Normal
port1.3 Disabled Discard Normal
port1.4 Disabled Discard Normal
port1.5 Disabled Discard Normal
port1.6 Disabled Discard Normal
port1.7 Disabled Discard Normal
port1.8 Disabled Discard Normal
port1.9 Disabled Discard Normal
port1.10 Disabled Discard Normal
5.5 Error detection function
170 | Command Reference | Interface control