Q-Logic 5802V Manuel D’Utilisation

Page de 412
5 – Switch Configuration
Testing a Switch
59263-01  A
5-27
A
Connectivity Tests for Switches
A connectivity test is a disruptive test that exercises all port and inter-port 
connections for a switch in the diagnostics state. You must place the switch in the 
diagnostics state using the 
 command before starting the test. 
There are two types of connectivity test: internal loopback and external loopback.
„
An internal loopback test exercises all internal port and inter-port 
connections.
„
An external loopback test exercises all internal port, transceiver, and 
inter-port connections. A transceiver with a loopback plug is required for all 
ports.
The following example performs a connectivity internal test on a switch:
SANbox #> admin start
SANbox (admin) #>set switch state diagnostics
SANbox (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 current 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 keyword 'Default')       [Default]
  StopOnError   (True / False)                                [True   ]
  LoopForever   (True / False)                                [False  ]
  Do you want to start the switch 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.
SANbox (admin) #> set switch state online