Example
In this example, all classes of entries in the port-lock status are displayed:
show ports security
Console#
Port
Status
----
-------
1/e1
Locked
1/e2
Unlocked
1/e3
Locked
The following tables describes the fields shown above.
Field
Port
Status
Learning
Action
Maximum
Trap
Frequency
Related Commands
port security mode
port security max
show ports security addresses
The
show ports security addresses
current dynamic addresses in locked ports.
Syntax
show ports security addresses
port-channel-number]
Parameters
• interface — A valid Ethernet port.
• port-channel-number — A valid port-channel number
Learning
Action
--------
-------
Dynamic
Discard
Dynamic
-
Disabled
Discard,
Shutdown
Description
Port number
Locked/Unlocked
Learning mode
Action on violation
Maximum addresses that can be associated on this port in Static Learning
mode or in Dynamic Learning mode
Indicates if traps are sent in case of a violation
Minimum time between consecutive traps
Privileged EXEC mode command displays the
[
ethernet
Address Table Commands
Maximum
Trap
-------
-------
3
Enable
28
-
8
Disable
interface |
port-channel
4
Frequency
---------
100
-
-
331