5 – Switch ConfigurationTesting a Switch5-26 59183-03 ASOffline Tests for SwitchesAn offline test is a disruptive test that exercises all port connections for a switch inthe diagnostics state. You must place the switch in the diagnostics state using theSet Switch State command before starting the test. There are two types of offlinetest: internal loopback and external loopback. An internal loopback test exercises all internal port connections. An external loopback test exercises all internal port and transceiverconnections. A transceiver with a loopback plug is required for all ports.The following example performs an offline internal loopback test on a switch:SANbox #> admin startSANbox (admin) #>set switch state diagnosticsSANbox (admin) #> test switch offline internalA list of attributes with formatting and current values will follow. Enter a newvalue or simply press the ENTER key to accept the default value. If you wish toterminate this process before reaching the end of the list press 'q' or 'Q' and theENTER 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] yWhen the test is complete, remember to place the switch back online. The switchresets when it leaves the diagnostics state.SANbox (admin) #> set switch state online