< Home

wavelength-channel trust sfp

Function

The wavelength-channel trust sfp command configures a device to trust the wavelength channel of an optical module.

The undo wavelength-channel trust sfp command deletes the configuration.

By default, a device does not trust the wavelength channel of an optical module.

Format

wavelength-channel trust sfp

undo wavelength-channel trust sfp

Parameters

None

Views

XGE interface view, 25GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a wavelength-tunable optical module is installed on a device, the device forcibly sets the wavelength channel to the default value 1 or a value configured using the wavelength-channel channelnum command. This makes the wavelength channel on the local device be different from that of on the remote device. As a result, the two devices fail to communicate. In this case, you can run the wavelength-channel trust sfp command to configure the device to trust the wavelength channel of the optical module.

Precautions

The wavelength-channel channelnum and wavelength-channel trust sfp commands are mutually exclusive. That is:

  • After the wavelength-channel channelnum command is run to set the wavelength channel of a wavelength-tunable optical module to a value other than 1, the wavelength-channel trust sfp command cannot be run. To run the wavelength-channel trust sfp command, run the undo wavelength-channel command first.
  • After the wavelength-channel trust sfp command is run, the wavelength-channel channelnum command cannot be run. To set the wavelength channel of a wavelength-tunable optical module, run the undo wavelength-channel trust sfp command first.

Example

# Configure the device to trust the wavelength channel of the optical module on XGigabitEthernet0/0/2.

<HUAWEI> system-view
[HUAWEI] interface XGigabitEthernet 0/0/2
[HUAWEI-XGigabitEthernet0/0/2] wavelength-channel trust sfp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic