About FLOGI
In a Fibre Channel fabric, each host or disk requires an Fibre Channel ID. Use the show flogi database command to verify if a storage device is displayed in the FLOGI table as in the next section. 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.
FLOGI Scale Optimization
The FLOGI scale optimization feature enables MDS switches to support an increased number of FLOGIs for module and chassis. The FLOGI scale optimization preloads the routing information for devices after a switch or module reload. This can speed up the Accepts to FLOGIs. This feature is supported on all MDS switches, except Cisco MDS 9250i Multiservice Fabric Switch and Cisco MDS 9148S 16G Multilayer Fabric Switch, and is enabled by default, starting from Cisco MDS NX-OS Release 8.1(1). As of Cisco MDS Release 8.2(2), the higher FLOGI scale limits are published only for MDS 9718. For more information see the "Cisco MDS NX-OS Configuration Limits" documentation for the FLOGI limits.
FLOGI Quiesce Timeout
The FLOGI Quiesce Timeout feature causes the FLOGI process to delay notifications to the other Fibre Channel services such as Routing Information and Fibre Channel Name Server when a device logs out from a fabric or when an interface goes down. If the device logs back to the fabric within the FLOGI quiesce timeout value, the FLOGI Accept can be immediately returned without the other Fibre Channel services being notified. This feature must be disabled by setting the timeout value to zero when there are devices in the fabric that can share a pWWN at different times by logging into different switches within the fabric during failover situations.
Restrictions
-
Downgrading from Cisco MDS NX-OS Release 8.1(1) to an earlier release is not supported when FLOGI Scale Optimization is enabled. This feature must be disabled before downgrading. For more information on disabling this feature, see the Disabling FLOGI Scale Optimization section.
-
In Cisco MDS NX-OS Releases 8.1 and Release 8.2, the default FLOGI quiesce timeout value is 2000 ms.
However, starting with Cisco MDS NX-OS Release 8.3(1), the default FLOGI quiesce timeout value was changed from 2000 ms to 0 ms. Any configured FLOGI quiesce timeout value will be maintained on upgrading. If the FLOGI quiesce timeout value is not configured when upgrading to Cisco MDS NX-OS Releases 8.3(1) or later release, the new default value of 0 ms will be used.
-
This feature is supported on all MDS switches, except Cisco MDS 9250i Multiservice Fabric Switch and Cisco MDS 9148S 16G Multilayer Fabric Switch.
-
Cisco DCNM and SNMP support is not available for this feature.
-
This feature is supported only on the Fibre Channel ports on the Cisco MDS 24/10 port SAN Extension Module.
Enabling FLOGI Scale Optimization and Quiesce Timeout
To enable FLOGI scale optimization and quiesce timeout, perform the following steps:
Procedure
Step 1 |
Enter global configuration mode: switch# configure terminal |
Step 2 |
Enable FLOGI scale optimization: switch(config)# flogi scale enable |
Step 3 |
Set the FLOGI quiesce timeout value to retain device login information: switch(config)# flogi quiesce timeout milliseconds For information on the default FLOGI quiesce timeout value, see the Restrictions section. |
Step 4 |
Exit global configuration mode: switch(config)# exit |
Step 5 |
(Optional) Verify that FLOGI scale optimization is enabled: switch# show flogi internal info | i scale switch# show flogi internal info | i quiesce |
Example: Enabling FLOGI Scale Optimization
The following running configuration shows how to enable FLOGI scale optimization and set the quiesce timeout value to 2000 milliseconds:
configure terminal
flogi scale enable
flogi quiesce timeout 2000
exit
Note |
For more information on FLOGI scale numbers, see the Cisco MDS NX-OS Configuration Limits document. |
The following sample outputs from the show flogi internal info | i scale and show flogi internal info | i quiesce commands display details about FLOGI scale optimization:
switch# show flogi internal info | i scale
Stats: fs_flogi_scale_enabled: 1
switch# show flogi internal info | i quiesce
Stats: fs_flogi_quiesce_timerval: 2000
Disabling FLOGI Scale Optimization and Quiesce Timeout
To disable FLOGI scale optimization and quiesce timeout, perform the following steps:
Procedure
Step 1 |
Enter global configuration mode: switch# configure terminal |
Step 2 |
Disable FLOGI scale optimization: switch(config)# no flogi scale enable |
Step 3 |
Set the FLOGI quiesce timeout value to 0: switch(config)# flogi quiesce timeout 0 The default quiesce timeout value is 2000 milliseconds. |
Step 4 |
Exit global configuration mode: switch(config)# exit |
Step 5 |
(Optional) Verify that FLOGI scale optimization is disabled: switch# show flogi internal info | i scale switch# show flogi internal info | i quiesce |
Example: Disabling FLOGI Scale Optimization
The following running configuration shows how to disable FLOGI scale optimization and set the quiesce timeout value to 0 milliseconds:
configure terminal
no flogi scale enable
flogi quiesce timeout 0
exit
The following sample outputs from the show flogi internal info | i scale and show flogi internal info | i quiesce commands display details about FLOGI scale optimization:
switch# show flogi internal info | i scale
Stats: fs_flogi_scale_enabled: 0
switch# show flogi internal info | i quiesce
Stats: fs_flogi_quiesce_timerval: 0
Displaying FLOGI Details
To view the FLOGI database details, use the show flogi database command. See Examples Displays Details on the FLOGI Database to Displays the FLOGI Database by FC ID.
Displays Details on the FLOGI Database
switch# show flogi database
---------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
---------------------------------------------------------------------------
sup-fc0 2 0xb30100 10:00:00:05:30:00:49:63 20:00:00:05:30:00:49:5e
fc9/13 1 0xb200e2 21:00:00:04:cf:27:25:2c 20:00:00:04:cf:27:25:2c
fc9/13 1 0xb200e1 21:00:00:04:cf:4c:18:61 20:00:00:04:cf:4c:18:61
fc9/13 1 0xb200d1 21:00:00:04:cf:4c:18:64 20:00:00:04:cf:4c:18:64
fc9/13 1 0xb200ce 21:00:00:04:cf:4c:16:fb 20:00:00:04:cf:4c:16:fb
fc9/13 1 0xb200cd 21:00:00:04:cf:4c:18:f7 20:00:00:04:cf:4c:18:f7
Total number of flogi = 6.
Displays the FLOGI Database by Interface
switch# show flogi database interface fc1/11
INTERFACE VSAN FCID PORT NAME NODE NAME
---------- ------ --------- ----------------------- ---------------------
fc1/11 1 0xa002ef 21:00:00:20:37:18:17:d2 20:00:00:20:37:18:17:d2
fc1/11 1 0xa002e8 21:00:00:20:37:38:a7:c1 20:00:00:20:37:38:a7:c1
fc1/11 1 0xa002e4 21:00:00:20:37:6b:d7:18 20:00:00:20:37:6b:d7:18
fc1/11 1 0xa002e2 21:00:00:20:37:18:d2:45 20:00:00:20:37:18:d2:45
fc1/11 1 0xa002e1 21:00:00:20:37:39:90:6a 20:00:00:20:37:39:90:6a
fc1/11 1 0xa002e0 21:00:00:20:37:36:0b:4d 20:00:00:20:37:36:0b:4d
fc1/11 1 0xa002dc 21:00:00:20:37:5a:5b:27 20:00:00:20:37:5a:5b:27
fc1/11 1 0xa002da 21:00:00:20:37:18:6f:90 20:00:00:20:37:18:6f:90
fc1/11 1 0xa002d9 21:00:00:20:37:5b:cf:b9 20:00:00:20:37:5b:cf:b9
fc1/11 1 0xa002d6 21:00:00:20:37:46:78:97 0:00:00:20:37:46:78:97
Total number of flogi = 10.
Displays the FLOGI Database by VSAN
switch# show flogi database vsan 1
---------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
---------------------------------------------------------------------------
fc1/3 1 0xef02ef 22:00:00:20:37:18:17:d2 20:00:00:20:37:18:17:d2
fc1/3 1 0xef02e8 22:00:00:20:37:38:a7:c1 20:00:00:20:37:38:a7:c1
fc1/3 1 0xef02e4 22:00:00:20:37:6b:d7:18 20:00:00:20:37:6b:d7:18
fc1/3 1 0xef02e2 22:00:00:20:37:18:d2:45 20:00:00:20:37:18:d2:45
fc1/3 1 0xef02e1 22:00:00:20:37:39:90:6a 20:00:00:20:37:39:90:6a
fc1/3 1 0xef02e0 22:00:00:20:37:36:0b:4d 20:00:00:20:37:36:0b:4d
fc1/3 1 0xef02dc 22:00:00:20:37:5a:5b:27 20:00:00:20:37:5a:5b:27
fc1/3 1 0xef02da 22:00:00:20:37:18:6f:90 20:00:00:20:37:18:6f:90
fc1/3 1 0xef02d9 22:00:00:20:37:5b:cf:b9 20:00:00:20:37:5b:cf:b9
fc1/3 1 0xef02d6 22:00:00:20:37:46:78:97 20:00:00:20:37:46:78:97
Total number of flogi = 10.
Displays the FLOGI Database by FC ID
switch# show flogi database fcid 0xef02e2
---------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
---------------------------------------------------------------------------
fc1/3 1 0xef02e2 22:00:00:20:37:18:d2:45 20:00:00:20:37:18:d2:45
Total number of flogi = 1.
For more information, see the Default Company ID List and refer to the “Loop Monitoring” section in the Cisco MDS 9000 Family Troubleshooting Guide.