The wavelength-channel command sets a wavelength number for an optical module.
The undo wavelength-channel command restores the default wavelength number for an optical module.
The wavelength-channel frequency command sets a frequency for an optical module.
The undo wavelength-channel frequency command deletes the frequency set for an optical module.
The wavelength-channel wavelength command sets a wavelength for an optical module.
The undo wavelength-channel wavelength command deletes the wavelength set for an optical module.
By default, the wavelength-channel number is determined by the optical module on the port.
Parameter | Description | Value |
---|---|---|
channel-num |
The channel number. |
The value is an integer that ranges from 0 to 99. |
frequency-number |
Set a frequency value. The input value is 100000 times the expected value (in THz). For example, If you want 196.05000 THz, input 19605000. |
The value is an integer that ranges from 0 to 4294967294 . |
wave-number |
Set a wavelength value. The input value is 100000 times the expected value (in nm). For example, if you want 1529.16300 nm, input 152916300. |
The value is an integer that ranges from 0 to 4294967294 . |
Usage Scenario
A wavelength determines transmission quality and efficiency of an optical fiber, which can be set for optical transmission to enable fibers to work in different transmission modes based on actual situations.
Before setting a center wavelength for a tunable optical module whose channel spacing is 50 GHz, run the display wavelength-map command to check the channel corresponding to the wavelength to be set, and then specify the channel in the wavelength-channel channel-num command. After the channel is specified, the wavelength corresponding to the channel automatically takes effect. Before setting a center wavelength for a tunable optical module whose channel spacing is not 50 GHz, run the display wavelength-capability command to check the frequency and wavelength supported by the optical module on a specified interface and then run the wavelength-channel frequency frequency-number and wavelength-channel wavelength wave-number commands respectively to configure a frequency and a wavelength for the optical module.Configuration Impact
After the wavelength-channel command is run, the system automatically switches off and then switches on the local optical module. This affects all the services on the interface. Therefore, you are prompted to confirm whether to run this command.
Precautions
The wavelengths must be the same for optical modules inserted into two connected interfaces.
The interval at which the wavelength of an interface's optical module is changed must be no less than 10s. A center wavelength cannot be configured for a non-configurable optical module inserted into an interface. A center wavelength cannot be configured for an optical module being upgraded. If the wavelength-channel command is configured on an interface with a 100 Gbit/s CFP2 DWDM optical module inserted, the wavelength configuration takes a maximum of 90s to take effect. To check whether the configuration takes effect, run the display optical-module brief or display wavelength-map command. (The model of the optical module is OSNB00C02, 118 Gbps(425.78/427.95)-CFP2-SMF-192.1-196.05THz-1200km-commercial.)<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/0 [~HUAWEI-GigabitEthernet0/1/0] undo wavelength-channel
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/0 [~HUAWEI-GigabitEthernet0/1/0] undo wavelength-channel wavelength 153621600
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/0 [~HUAWEI-GigabitEthernet0/1/0] wavelength-channel wavelength 153621600 Warning: To ensure that an input wavelength or frequency value is within the capability range of an optical module, run the display wavelength-capability interface command to check the wavelength capability. This command overwrites the existing wavelength and frequency configurations. Continue?[Y/N]
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/0 [~HUAWEI-GigabitEthernet0/1/0] undo wavelength-channel frequency 19515000
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] wavelength-channel 5 Warning: The command can be run only on optical modules whose C-band is 50 GHz. The wavelength configuration takes a maximum of 90 seconds to take effect. To check whether the configuration takes effect, run the display optical-module brief or display wavelength-map command. Continue?[Y/N]
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/0 [~HUAWEI-GigabitEthernet0/1/0] wavelength-channel frequency 19515000 Warning: To ensure that an input wavelength or frequency value is within the capability range of an optical module, run the display wavelength-capability interface command to check the wavelength capability. This command overwrites the existing wavelength and frequency configurations. Continue?[Y/N]