NOTICE:
If a port is disabled due to a security violation, it must be manually re-enabled from the Ports/Port Configuration page. See the section
"Reenabling a Shutdown Port" below.
To configure port security on a trunk, check the Security Status checkbox next to the trunk number. Configured trunks are listed at the bottom of the page,
underneath the port listing.
To save any changes you make in this page, click Apply Changes. If you don't want to save the changes, click Refresh.
Reenabling a Shutdown Port
If security is enabled on a port and the intrusion action set to Trap and Shutdown, then a security violation causes the port to be disabled. To reenable a
shutdown port, follow these steps:
NOTE:
To reenable a port using the CLI, use the no shutdown command in Interface Configuration mode.
1. Open the Ports/Port Configuration page.
2. For the port that is disabled, click the checkbox in the Admin/Oper column.
3. Click Apply Changes to enable the port.
CLI Commands
The following table summarizes the equivalent CLI commands for items in the Ports/Port Security pages.
Command
port security
port security action {trap-and-shutdown}
NOTICE:
Although the port security action command is an interface-level CLI command, it applies globally to all switch ports.
Example
Console(config)#interface ethernet 1/5
Console(config-if)#port security action trap-and-shutdown
Usage
Enables port security on an interface.
Use the no form command to disable port security.
Enables and configures port security on an interface.
Use the no form command to reset to defaults.