Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
9-38
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 9 Fibre Channel Show Commands
show port-security
show port-security
To display configured port security feature information, use the show port-security command.
show port-security {database [active [vsan vsan-id]] | fwwn fwwn-id vsan vsan-id | interface {fc
slot/port | san-port-channel port} vsan vsan-id | vsan vsan-id] | pending [vsan vsan-id] |
pending-diff [vsan vsan-id] | session status [vsan vsan-id] | statistics [vsan vsan-id] | status
[vsan vsan-id] | violations [last count | vsan vsan-id]}
Syntax Description
Command Default None
Command Modes EXEC mode.
Command History
Usage Guidelines The access information for each port can be individually displayed. If you specify the fabric world wide
name (fWWN) or interface options, all devices that are paired in the active database (at that point) with
the given fWWN or the interface are displayed.
When you enter the show port-security command with the last
number option, only the specified
number of entries that appear first are displayed.
database Displays database-related port security information.
active (Optional) Displays the activated database information.
vsan vsan-id (Optional) Displays information for the specified database.
fwwn fwwn-id Displays information for the specified fabric WWN.
interface Displays information for an interface.
fc slot/port Displays information for the specified Fibre Channel interface.
san-port-channel port Displays information for the specified SAN port channel interface. The
range is 1 to 128.
pending Displays the server address pending configuration.
pending-diff Displays the server address pending configuration differences with the active
configuration.
session status Displays the port security session status on a per VSAN basis.
statistics Displays port security statistics.
status Displays the port security status on a per VSAN basis.
violations Displays violations in the port security database.
last count (Optional) Displays the last number of lines in the database. The range is 1
to 100.
Release Modification
4.0(0)N1(1a) This command was introduced.