H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Switch Module Configuration
Testing a Switch
59272-00 C 77
The following example performs a connectivity internal test on a switch:
H3C #> admin start
H3C (admin) #>set switch state diagnostics
H3C (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.
H3C (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:
H3C #> test status switch
Test Test Test Loop Test
Level Type Status Count Failures
----- ---- ------ ----- --------
Switch Offline Passed 3 0
Port Test Test Loop Test
Num Type Status Count Failures
---- ---- ------ ----- --------
0 Offline Passed 3 0
1 Offline Passed 3 0
2 Offline Passed 3 0
3 Offline NeverRun 0 0
4 Offline Passed 3 0
5 Offline NeverRun 0 0
6 Offline NeverRun 0 0
7 Offline NeverRun 0 0










