< Home

otdr capture interface

Function

The otdr capture interface command triggers an optical time domain reflectometer (OTDR) test on an interface.

Format

otdr capture interface interface-type interface-number

Parameters

Parameter Description Value

interface-type interface-number

Specifies the type and number of an interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To perform an OTDR test to obtain reflection distances of optical fibers, run the otdr capture interface command. The reflection distances are used for fiber fault diagnosis. To query historical OTDR test results, run the display otdr capture history-record interface command.

Precautions

  • The command can be run multiple times.
  • Running the otdr capture interface command will not generate any configuration in a configuration file. Therefore, historical OTDR test results will be cleared after a device restarts.

Example

# Trigger an OTDR test on GE0/0/1.

<HUAWEI> otdr capture interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >