Fibre Channel Timeout Values
You can modify Fibre Channel protocol-related timer values for the switch by configuring the following timeout values (TOVs):
-
Distributed services TOV (D_S_TOV)—The valid range is from 5,000 to 10,000 milliseconds.
-
Error detect TOV (E_D_TOV)—The valid range is from 1,000 to 4,000 milliseconds. The default is 2,000 milliseconds. This value is matched with the other end during port initialization.
-
Resource allocation TOV (R_A_TOV)—The valid range is from 5,000 to 10,000 milliseconds. The default is 10,000 milliseconds. This value is matched with the other end during port initialization.
Note |
The fabric stability TOV (F_S_TOV) constant cannot be configured. |
Timer Configuration Across All VSANs
You can modify Fibre Channel protocol related timer values for the switch.
Caution |
The D_S_TOV, E_D_TOV, and R_A_ TOV values cannot be globally changed unless all VSANs in the switch are suspended. |
Note |
If a VSAN is not specified when you change the timer value, the changed value is applied to all VSANs in the switch. |
You can configure Fibre Channel timers across all VSANs.
SUMMARY STEPS
- configure terminal
- fctimer R_A_TOV timeout
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
fctimer R_A_TOV timeout Example:
|
Configures the R_A_TOV timeout value for all VSANs. The unit is milliseconds. This type of configuration is not permitted unless all VSANs are suspended. |
Timer Configuration Per-VSAN
You can also issue the fctimer for a specified VSAN to configure different TOV values for VSANs with special links such as Fibre Channel. You can configure different E_D_TOV, R_A_TOV, and D_S_TOV values for individual VSANs. Active VSANs are suspended and activated when their timer values are changed.
Note |
This configuration must be propagated to all switches in the fabric. Be sure to configure the same value in all switches in the fabric. |
You can configure per-VSAN Fibre Channel timers.
SUMMARY STEPS
- configure terminal
- fctimer D_S_TOV timeout vsan vsan-id
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
fctimer D_S_TOV timeout vsan vsan-id Example:
|
Configures the D_S_TOV timeout value (in milliseconds) for the specified VSAN. Suspends the VSAN temporarily. You have the option to end this command, if required. |
EXAMPLES
This example shows how to configure the timer value for VSAN 2:
switch(config#)# fctimer D_S_TOV 6000 vsan 2
Warning: The vsan will be temporarily suspended when updating the timer value This
configuration would impact whole fabric. Do you want to continue? (y/n) y
Since this configuration is not propagated to other switches, please configure the same
value in all the switches
fctimer Distribution
You can enable per-VSAN fctimer fabric distribution for all Cisco SAN switches in the fabric. When you perform fctimer configurations, and distribution is enabled, that configuration is distributed to all the switches in the fabric.
You automatically acquire a fabric-wide lock when you enter the first configuration command after you enabled distribution in a switch. The fctimer application uses the effective and pending database model to store or commit the commands based on your configuration.
Note |
CFS is enabled by default. All devices in the fabric must have CFS enabled, or they do not receive distributions.If CFS is disabled for an application, that application does not distribute any configuration, and it does not accept a distribution from other devices in the fabric. You can enable CFS using cfs distribute command. |
Enabling or Disabling fctimer Distribution
You can enable or disable fctimer fabric distribution.
SUMMARY STEPS
- configure terminal
- fctimer distribute
- no fctimer distribute
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
fctimer distribute Example:
|
Enables fctimer configuration distribution to all switches in the fabric. Acquires a fabric lock and stores all future configuration changes in the pending database. |
Step 3 |
no fctimer distribute Example:
|
Disables (default) fctimer configuration distribution to all switches in the fabric. |
Committing fctimer Changes
When you commit the fctimer configuration changes, the effective database is overwritten by the configuration changes in the pending database and all the switches in the fabric receive the same configuration. When you commit the fctimer configuration changes without implementing the session feature, the fctimer configurations are distributed to all the switches in the physical fabric.
SUMMARY STEPS
- configure terminal
- fctimer commit
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
fctimer commit Example:
|
Distributes the fctimer configuration changes to all switches in the fabric and releases the lock. Overwrites the effective database with the changes made to the pending database. |
Discarding fctimer Changes
After making the configuration changes, you can choose to discard the changes by discarding the changes instead of committing them. In either case, the lock is released.
SUMMARY STEPS
- configure terminal
- fctimer abort
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
fctimer abort Example:
|
Discards the fctimer configuration changes in the pending database and releases the fabric lock. |
Overriding the Fabric Lock
If you have performed a fctimer fabric task and have forgotten to release the lock by either committing or discarding the changes, an administrator can release the lock from any switch in the fabric. If the administrator performs this task, your changes to the pending database are discarded and the fabric lock is released.
The changes are only available in the volatile directory and are subject to being discarded if the switch is restarted.
To use administrative privileges and release a locked fctimer session, use the clear fctimer session command.
switch# clear fctimer session
Fabric Database Merge Guidelines
When merging two fabrics, follow these guidelines:
-
Be aware of the following merge conditions:
-
The merge protocol is not implemented for distribution of the fctimer values. You must manually merge the fctimer values when a fabric is merged.
-
The per-VSAN fctimer configuration is distributed in the physical fabric.
-
The fctimer configuration is only applied to those switches containing the VSAN with a modified fctimer value.
-
The global fctimer values are not distributed.
-
-
Do not configure global timer values when distribution is enabled.
Note |
The number of pending fctimer configuration operations cannot be more than 15. After 15 operations, you must commit or abort the pending configurations before performing any more operations. |
Verifying Configured fctimer Values
Use the show fctimer command to display the configured fctimer values. The following example displays the configured global TOVs:
switch# show fctimer
F_S_TOV D_S_TOV E_D_TOV R_A_TOV
----------------------------------------
5000 ms 5000 ms 2000 ms 10000 ms
Note |
The F_S_TOV constant, though not configured, is displayed in the output of the show fctimer command. |
The following example displays the configured TOV for VSAN 10:
switch# show fctimer vsan 10
vsan no. F_S_TOV D_S_TOV E_D_TOV R_A_TOV
-------------------------------------------------
10 5000 ms 5000 ms 3000 ms 10000 ms