HP StorageWorks SN6000 HP StorageWorks 8/20q Fibre Channel Switch command line - Page 70
Offline tests for ports, Displaying port test results, Canceling a port test
View all HP StorageWorks SN6000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 70 highlights
Offline tests for ports An offline test is a disruptive test that exercises the port connections. You must place the port in the diagnostics state using the set port command before starting the test. There are two types of offline test: internal loopback and external loopback. • An internal loopback test exercises the internal port connections. • An external loopback test exercises the port and its transceiver. A transceiver with a loopback plug is required for the port. The following example performs an offline test: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> set port 1 state diagnostics 8/20q FC Switch (admin) #> test port 1 offline 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 FrameSize DataPattern StopOnError LoopForever (decimal value, 1-4294967295) [429496729] (decimal value, 40-2148) [256 ] (32-bit hex value or 'Default') [Default ] (True / False) [True ] (True / False) [False ] Do you want to start the test? (y/n) [n] y The test has been started. A notification with the test result(s) will appear on the screen when the test has completed. 8/20q FC Switch (admin) #> Test for port 1 Passed. When the test is complete, remember to place the port back online. 8/20q FC Switch (admin) #> set port 1 state online Displaying port test results You can display the test status while the test is in progress by entering the test status port command, as shown in the following example: 8/20q FC Switch #> test status port 1 Port Test Num Port Type ---- 1 1 Offline Internal Canceling a port test Test Status -----Passed Loop Count ----- 12 Test Failures -------- 0 To cancel a port test that is in progress, enter the test cancel port command. 70 Port configuration