-t timeout: Sets the timeout time for receiving looped-back test packets, in the range of 0 to 65535
milliseconds. The default timeout time is 2000 milliseconds.
interface type number: Specifies an interface.
Usage guidelines
Use looptest to detect loops on interfaces. The system returns the following line quality information:
Information about each test packet. If a test packet is looped back, the number of bytes, sequence
•
number, and delay are displayed for the test packet. If a test packet is not looped back before the
timeout timer expires, the system displays " Wait time out."
Statistics for all test packets, including the numbers of sent, received, lost, and error packets,
•
percentages for error and lost packets, and the conclusion.
If the line speed is slow, increase the timeout time.
Examples
# Perform a loop test on Serial 1/0/0.
<Sysname> looptest interface serial 1/0/0
LOOPTEST Serial1/0/0: 52 data bytes, press CTRL_C to break
Receive from Serial1/0/0: bytes=52 sequence=1 time=1 ms
Receive from Serial1/0/0: bytes=52 sequence=2 time=1 ms
Receive from Serial1/0/0: bytes=52 sequence=3 time=1 ms
Receive from Serial1/0/0: bytes=52 sequence=4 time=1 ms
Receive from Serial1/0/0: bytes=52 sequence=5 time=1 ms
--- Serial1/0/0 looptest statistics ---
5 packet(s) transmitted
5 packet(s) received
0 packet(s) lost
0 packet(s) error
0.00% packet lost
0.00% packet error
round-trip min/avg/max = 1/1/1 ms
conclusion: loopback
Related commands
•
fe1 loopback
ft1 loopback
•
•
loopback
pri-set (CT1/PRI interface)
Use pri-set to bundle timeslots into a PRI set on the CT1/PRI interface.
Use undo pri-set to remove the timeslot bundle.
Syntax
pri-set [ timeslot-list list ]
undo pri-set
153