port-access security violation action shutdown auto-recovery

Syntax

port-access security violation action shutdown auto-recovery [enable | disable]

no port-access security violation action shutdown auto-recovery

Description

Configures auto-recovery of the port when the security violation action is configured as shutdown.

This configuration allows the port that is shut down when a security violation occurs to automatically enable after the recovery timer expires.

The no form of the command resets auto-recovery to the default, disable.

Command context

config-if

Parameters

enable

Enables auto-recovery of port when the security violation action is configured as shutdown.

disable

Disables auto-recovery of port when the security violation action is configured as shutdown.

Authority

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

Examples

Enabling auto-recovery of port:

switch(config-if)# port-access security violation action shutdown auto-recovery enable

Disabling auto-recovery of port:

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