Command Line Interface Reference Guide HP BladeSystem PC Blade Switch

5-20 www.hp.com HP PC Blade Switch CLI Reference Guide
Address Table Commands
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
n interface — A valid Ethernet port.
n port-channel-number — A valid port-channel number.
Default Setting
This command has no default configuration.
Command Mode
Privileged EXEC mode
Command Usage
There are no user guidelines for this command.
Example
The following command displays all classes of port-lock status entries.
The following table describes the fields shown in the example.
Console# show ports security
Port Status Learning Action Maximum Trap Frequency
---- ------- -------- ------- ------- ------- ---------
e1 Locked Dynamic Discard 3 Enable 100
e2 Unlocked Dynamic - 28 - -
e3 Locked Disabled Discard,
Shutdown
8Disable-
Field Description
Port Port number
Status Locked/Unlocked
Learning Learning mode
Action Action on violation
Maximum Maximum addresses that can be associated on this port in Static Learning
mode or in Dynamic Learning mode
Trap Indicates if traps are sent in case of a violation
Frequency Minimum time between consecutive trap