port-access security violation action

Syntax

port-access security violation action [notify | shutdown]

no port-access security violation action

Description

Configures the action that the switch must take whenever a security violation occurs at a port, such as the number of clients exceeds the configured client limit.

The no form of the command resets the action to the default action, notify.

Command context

config-if

Parameters

notify

Specifies that the switch notifies any security violation as an event or log in the syslog server. This action is the default.

shutdown

Specifies that the switch shuts down the port where the client limit has exceeded.

A port that is shut down can be configured to auto-recover after a recovery period that can be configured with the port-access security violation action shutdown auto-recovery and port-access security violation action shutdown recovery-timer commands.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Configuring the shutdown security violation action for a port:

sswitch(config-if)# port-access security violation action shutdown

Resetting the security violation action to the default value:

switch(config-if)# no port-access security violation action