Chapter 39
Configuring Port Security
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
1 20:11:00:33:22:00:2a:4a(pwwn) 20:41:00:05:30:00:4a:1e(fc2/1)
[Total 1 entries]
Example 39-5 Displays the Difference Between the Temporary Configuration Database and the
switch# show port-security pending-diff vsan 1
Session Diff for VSAN: 1
-------------------------
Database will be activated
Learning will be turned ON
Database Diff:
+pwwn 20:11:00:33:22:00:2a:4a fwwn 20:41:00:05:30:00:4a:1e
The 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 (see Examples
Example 39-6 Displays the Wildcard fWWN Port Security in VSAN 1
switch# show port-security database fwwn 20:85:00:44:22:00:4a:9e vsan 1
Any port can login thru' this fwwn
Example 39-7 Displays 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)
Example 39-8 Displays the Interface Port Information in VSAN 2
switch# show port-security database interface fc 1/1 vsan 2
20:00:00:0c:88:00:4a:e2(swwn)
The port security statistics are constantly updated and available at any time (see
Example 39-9 Displays the Port Security Statistics
switch# show port-security statistics
Statistics For VSAN: 1
------------------------
Number of pWWN permit: 2
Number of nWWN permit: 2
Number of sWWN permit: 2
Number of pWWN deny
Number of nWWN deny
Number of sWWN deny
Total Logins permitted
Total Logins denied
Statistics For VSAN: 2
------------------------
Number of pWWN permit: 0
Number of nWWN permit: 0
Number of sWWN permit: 2
Number of pWWN deny
Number of nWWN deny
OL-18084-01, Cisco MDS NX-OS Release 4.x
Configuration Database
39-6
: 0
: 0
: 0
: 4
: 0
: 0
: 0
to 39-8).
Cisco MDS 9000 Family CLI Configuration Guide
Displaying Port Security Configuration
Example
39-9).
39-19