Specifications

12-137
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 12 Command Line Interface Reference
fcswitch diag
fcswitch diag
To set all Fibre Channel (FC) interfaces into diagnostic mode for testing purposes, use the fcswitch diag
command.
fcswitch diag
Syntax Description This command has no arguments or keywords.
Defaults None.
Command Modes Administrator.
Command History
Usage Guidelines Use this command to change all FC interfaces to diagnostic mode prior to performing internal or external
loopback testing on individual FC interfaces.
Use the fcswitch enable command to reenable all FC interfaces. An FC interface must be enabled
to run online loopback tests or to allow access to storage targets.
Use the no fcswitch enable command to disable all FC interfaces. When you are ready to allow
access to the storage targets, you can enable all FC interfaces at once via the fcswitch enable
command, or enable individual interfaces via the interface fc? enable command.
Examples The following example sets all FC interfaces into a diagnostic state and then performs an internal
loopback test on the FC interface named fc6:
[SN5428-2A]# fcswitch diag
[SN5428-2A]# interface fc6 loopback internal
Related Commands
Release Modification
3.2.1 This command was introduced.
Command Description
fcswitch enable Enable all FC interfaces.
interface fc? diag Set the named FC interface into diagnostic mode for testing purposes.
interface fc? enable Enable the named FC interface.
interface fc? loopback Initiate a loopback test on the named FC interface.
show fcswitch Display global configuration information for storage router FC interfaces.