A SERVICE OF

logo

Address Table Commands 237
show ports security
Use the show ports security command in Privileged EXEC mode to display
the port-lock status.
Syntax
show ports security [ethernet
interface
| port-channel
port-channel-number
]
interface
— A valid Ethernet port
.
port-channel-number —
A valid port-channel number
.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Example
In this example, all classes of entries in the port-lock status are displayed.
console#show ports security
Port Status Action Maximum Trap Frequency
---- ------ ----------------- -------- ------ ---------
1/g1 Locked Discard 3 Enable 100
1/g2 Unlocked - 28 - -
1/g3 Locked Discard, Shutdown 8 Disable -