Chapter 45
Configuring Port Security
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
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
Table 45-5
Parameters
Auto-learn
Port security
Distribution
OL-16597-01
lists the default settings for all port security features in any switch.
Default Security Settings
Default
Enabled if port security is enabled.
Disabled.
Disabled.
Note
Enabling distribution enables it on all VSANs in the switch.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Displaying Port Security Configuration
45-19