vlan-id value: Specifies the VLAN ID of test frames. The value argument ranges from 1 to 4094 and
defaults to 1.
Description
Use the linktest command to test the connectivity of the optical link between the OLT and the ONU.
Make sure the ONU is online before you perform the link connectivity test.
Examples
# Set the number of test frames to 100 to test the link between the OLT and ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] linktest frame-number 100
It may affect data transmission, continue?[Y/N]:y
Maximum delay(in TQ): 26408
Mean delay(in TQ)
Minimum delay(in TQ): 19922
Sent frames
Received frames
Error frames
If The link is disconnected! is displayed, it means that the ONU sent some frames successfully but no
correct frames are received, namely, the value of the Received frames field is 0.
loopback enable
Syntax
loopback enable
undo loopback enable
View
ONU port view
Default Level
2: System level
Parameters
None
Description
Use the loopback enable command to enable MAC loopback for the ONU.
Use the undo loopback enable command to cancel loopback.
: 24777
: 100
: 100
: 0
2-16