Linktest - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

linktest

Syntax
linktest [ frame-number value | frame-size value | delay { on | off } | vlan-tag
{ on [ vlan-priority value | vlan-id value ] | off } ] *
View
ONU port view
Default Level
2: System level
Parameters
frame-number value: Specifies the number of test frames. The value argument ranges from 1 to 250
and defaults to 20.
frame-size value: Specifies the test frame size in bytes. The value argument ranges from 60 to 1514
and defaults to 1000.
delay: Specifies whether or not to enable delay test. The on keyword enables delay test. The off
keyword disables delay test.
vlan-tag: Specifies whether or not to insert VLAN tags in test frames. The on keyword specifies to
insert VLAN tags in test frames. The off keyword specifies not to insert VLAN tags to test frames. By
default, test frames contain VLAN tags.
vlan-priority value: Specifies the VLAN priority of test frames. The value argument ranges from 0 to 7,
with value 0 representing the lowest priority, and value 7 representing the highest priority.
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.
: 24777
: 100
: 100
: 0
3-15

Advertisement

Table of Contents
loading

Table of Contents