< Home

wavelength-channel

Function

The wavelength-channel command sets the wavelength channel of a wavelength-tunable optical module.

The undo wavelength-channel command restores the default wavelength channel of a wavelength-tunable optical module.

The default wavelength channel of a wavelength-tunable optical module is channel 1.

Format

wavelength-channel channelnum

undo wavelength-channel

Parameters

Parameter

Description

Value

channelnum

Specifies a wavelength channel number.

The value is an integer that ranges from 1 to 80.

Views

XGE interface view, 25GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To adjust the wavelength of a wavelength-tunable optical module on an interface, run the wavelength-channel command on this interface. This command will add the wavelength-tunable optical module to a specified wavelength channel. Each wavelength channel has a fixed center wavelength and frequency.

To view the mapping between the wavelength channel, center wavelength, and frequency, run the display wavelength-map command.

Precautions

When the wavelength-channel command configuration exists on the interface, after the interface has a wavelength-tunable optical module installed, this optical module will automatically adjust its wavelength to the configured wavelength. If a non-wavelength-tunable optical module is installed, the command configuration will not take effect and the system displays an alarm.

Running the wavelength-channel command will open and close the laser, resulting in interface flapping.

Example

# Add a wavelength-tunable optical module to wavelength channel 20 on XGigabitEthernet0/0/2.

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