The show fc-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 fc-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 fc-port-security database
The following example shows how to display the port security configuration database for VSAN 1:
switch# show fc-port-security database vsan 1
The following example shows how to display the activated database:
switch# show fc-port-security database active
The following example shows how to display difference between the temporary configuration database and the configuration database:
switch# show fc-port-security pending-diff vsan 1
The following example shows how to display the configured fWWN port security in VSAN 1:
switch# show fc-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 fc-port-security statistics
The following example shows how to verify the status of the active database and the auto-learning configuration:
switch# show fc-port-security status