Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
45-19
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 45 Configuring Port Security
Displaying Port Security Configuration
Displaying Port Security Configuration
The show port-security database commands display the configured port security information. You can
optionally specify a fWWN and a VSAN, or an interface and a VSAN in the show port-security
command to view the output of the activated port security.
Access information for each port can be individually displayed. If you specify the 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.
The following example shows how to display the port security configuration database:
switch# show port-security database
The following example shows how to display the port security configuration database for VSAN 1:
switch# show port-security database vsan 1
The following example shows how to display the activated database:
switch# show port-security database active
The following example shows how to display difference between the temporary configuration database
and the configuration database:
switch# show port-security pending-diff vsan 1
The following example shows how to display the configured fWWN port security in VSAN 1:
switch# show port-security database fwwn 20:01:00:05:30:00:95:de vsan 1
20:00:00:0c:88:00:4a:e2(swwn)
The following example shows how to display the port security statistics:
switch# show port-security statistics
The following example shows how to verify the status of the active database and the auto-learning
configuration:
switch# show port-security status
Default Settings
Table 45-5 lists the default settings for all port security features in any switch.
Table 45-5 Default Security Settings
Parameters Default
Auto-learn Enabled if port security is enabled.
Port security Disabled.
Distribution Disabled.
Note Enabling distribution enables it on all VSANs in the switch.