54 Switch Configuration
The following example performs an internal connectivity test on a switch:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> set switch state diagnostics
SN6000 FC Switch (admin) #> test switch connectivity internal
A list of attributes with formatting and current values will follow. Enter a new
value or simply press the ENTER key to accept the default value. If you wish to
terminate this process before reaching the end of the list press 'q' or 'Q' and
the ENTER key to do so.
LoopCount (decimal value, 1-4294967295) [100 ]
FrameSize (decimal value, 40-2148) [256 ]
DataPattern (32-bit hex value or 'Default') [Default]
StopOnError (True / False) [True ]
LoopForever (True / False) [False ]
Do you want to start the test? (y/n) [n] y
When the test is complete, remember to place the switch back online. The switch resets when it leaves the
diagnostics state.
SN6000 FC Switch (admin) #> set switch state online
Displaying switch test status
You can display the test status while the test is in progress by entering the test status switch
command, as shown in the following example:
SN6000 FC Switch #> test status switch
Test Test Test Loop Test
Level Type Status Count Failures
----- ---- ------ ----- --------
Switch Offline internal Passed 4 0
Port Test Test Loop Test
Num Type Status Count Failures
---- ---- ------ ----- --------
0 Offline internal Passed 4 0
1 Offline internal Passed 4 0
2 Offline internal Passed 4 0
3 Offline internal Passed 4 0
4 Offline internal Passed 4 0
5 Offline internal Passed 4 0
6 Offline internal Passed 4 0
7 Offline internal Passed 4 0
8 Offline internal Passed 4 0
9 Offline internal Passed 4 0
10 Offline internal Passed 4 0
11 Offline internal Passed 4 0
12 Offline internal Passed 4 0
13 Offline internal Passed 4 0
14 Offline internal Passed 4 0
15 Offline internal Passed 4 0
16 Offline internal Passed 4 0
17 Offline internal Passed 4 0
18 Offline internal Passed 4 0
19 Offline internal Passed 4 0
Canceling a switch test
To cancel a switch test that is in progress, enter the test cancel switch command.