show flogi

To list all the fabric login (FLOGI) sessions through all interfaces across all Virtual SAN (VSANs), use the show flogi command.

show flogi { auto-area-list } | database { fcid fcid-id | interface { fc slot / port | vfc vfc-id } | vsan vsan-id }

Syntax Description

auto-area-list
Displays the list of Organizational Unit Identifiers (OUIs) that are allocated areas.
database
Displays information about FLOGI sessions.
fcid fcid-id
Displays FLOGI database entries based on the FCID allocated. The format is 0xhhhhhh .
interface
Displays FLOGI database entries based on the logged in interface.
fc slot / port
Specifies the Fibre Channel or virtual Fibre Channel interface by slot and port number.
vfc vfc-id
Specifies a virtual Fibre Channel interface.
vsan vsan-id
Displays FLOGI database entries based on the VSAN ID. The range is from 1 to 4093.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

The output of this command is sorted by interface numbers and then by VSAN IDs.

In a Fibre Channel fabric, each host or disk requires an FCID. Use the show flogi database command to verify if a storage device is displayed in the fabric login (FLOGI) table as in the examples below. If the required device is displayed in the FLOGI table, the fabric login is successful. Examine the FLOGI database on a switch that is directly connected to the host HBA and connected ports.

Examples

This example shows how to display the details on the FLOGI database:

switch# show flogi database
 

This example shows how to display the FLOGI interface:

switch# show flogi database interface fc 2/3
 

This example shows how to display the FLOGI VSAN:

switch# show flogi database vsan 1
 

This example shows how to display the FLOGI for a specific FCID:

switch# show flogi database fcid 0xef02e2
 

Related Commands

Command
Description
show fcns database
Displays all the local and remote name server entries.