Owner's manual

Address Table Commands
Page 69
show ports security
The show ports security Privileged EXEC mode command displays the port-lock status.
Syntax
show ports security [ethernet interface | port-channel port-channel-number]
Parameters
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
There are no user guidelines for this command.
Example
The following example displays classes of entries in the port-lock status:
The following table describes the fields shown above.
1/g11 Filter
1/g12 Filter
console#
show ports security
Port Status Learning Action Maximum Trap Frequency
---- ------- -------- ------- ------- ------- ---------
1/g1 Locked Dynamic Discard 3 Enable 100
1/g2 Unlocked Dynamic - 28 - -
1/g3 Locked Disabled Discard,
Shutdown
8 Disable -
Field Description
Port Port number
Status Locked/Unlocked
Learning Learning mode
Action Action on violation