Chapter 22
Show Commands
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
The show port-security command issued with the last number option displays only the specified
number of entries that appear first.
Examples
The following example displays the contents of the port security database.
switch# show port-security database
---------------------------------------------------------------------------------------
VSAN
----------------------------------------------------------------------------------------
1
1
2
3
[Total 4 entries]
The following example displays the output of the active port security database in VSAN 1.
switch# show port-security database vsan 1
--------------------------------------------------------------------------------
Vsan
--------------------------------------------------------------------------------
1
1
[Total 2 entries]
The following example displays the active database.
switch# show port-security database active
---------------------------------------------------------------------------------------
VSAN
----------------------------------------------------------------------------------------
1
1
2
3
[Total 4 entries]
The following example 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
The following example 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)
The following example 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 following example 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
OL-16217-01, Cisco MDS SAN-OS Release 3.x
Logging-in Entity
21:00:00:e0:8b:06:d9:1d(pwwn) 20:0d:00:05:30:00:95:de(fc1/13)
50:06:04:82:bc:01:c3:84(pwwn) 20:0c:00:05:30:00:95:de(fc1/12)
20:00:00:05:30:00:95:df(swwn) 20:0c:00:05:30:00:95:de(port-channel 128)
20:00:00:05:30:00:95:de(swwn) 20:01:00:05:30:00:95:de(fc1/1)
Logging-in Entity
*
20:11:00:33:11:00:2a:4a(pwwn)
Logging-in Entity
21:00:00:e0:8b:06:d9:1d(pwwn) 20:0d:00:05:30:00:95:de(fc1/13)
50:06:04:82:bc:01:c3:84(pwwn) 20:0c:00:05:30:00:95:de(fc1/12)
20:00:00:05:30:00:95:df(swwn) 20:0c:00:05:30:00:95:de(port-channel 128) Yes
20:00:00:05:30:00:95:de(swwn) 20:01:00:05:30:00:95:de(fc1/1)
: 0
: 0
: 0
Logging-in Point(
Logging-in Point
20:85:00:44:22:00:4a:9e (fc3/5)
20:81:00:44:22:00:4a:9e (fc3/1)
Logging-in Point(
Cisco MDS 9000 Family Command Reference
show port-security
Interface)
(Interface)
Interface)
Learnt
Yes
Yes
22-281