cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Wavelength configuration for dwdm controller fails

aparp
Cisco Employee
Cisco Employee

Hi,

We are using NSO 4.2.1.1 in our project. We are using NSO to configure the wavelength for the dwdm controller of an IOS-XR device. When we configure the wavelength directly on the device, it is working. When we try to configure the wavelength using NSO CLI it is failing without giving the actual reason.

The main difference that I could observe is that on real device, we need to choose between the below 2 options and then specify wavelength. Through NSO CLI, there is no variable to choose the below options. It only inputs the wavelength.

100MHz-Grid  Specify frequency directly instead of wave channel numbers

  50GHz-Grid   Configure Wavelength / Frequency / Channel Number

Can you please enhance the CLI NED to input the above 2 options as well. Please let me know where I can raise a defect for the same.

=======================================================================================================

NSO Cli command only takes wavelength and it fails.

admin@ncs(config)# devices device Samurai-1 config cisco-ios-xr:controller dwdm 0/0/1/0
admin@ncs(config-dwdm-0/0/1/0)# wavelength 5                                                                                    
admin@ncs(config-dwdm-0/0/1/0)# commit
Aborted: Network Element Driver error ned_prepare_cli for device Samurai-1: command: commit confirmed:
Thu Oct 27 22:24:25.769 UTC
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.


end

=======================================================================================

When we try to do the same directly on the device, it is passing when we give both 50GHz-Grid option and wavelength. When we give wavelength directly it is failing.

RP/0/RSP0/CPU0:Samurai-1(config)#controller dwdm 0/0/1/0

RP/0/RSP0/CPU0:Samurai-1(config-dwdm)#wavelength ?

  100MHz-Grid  Specify frequency directly instead of wave channel numbers

  50GHz-Grid   Configure Wavelength / Frequency / Channel Number

RP/0/RSP0/CPU0:Samurai-1(config-dwdm)#wavelength 50GHz-Grid ?

  <1-100>    Select an ITU channel number; C Band: 1-100

  frequency  Configure Frequency and Map to ITU Channel

  update     Configure Wavelength and Map to ITU Channel

RP/0/RSP0/CPU0:Samurai-1(config-dwdm)#wavelength 50GHz-Grid 79

RP/0/RSP0/CPU0:Samurai-1(config-dwdm)#commit

Thu Oct 27 23:49:02.239 UTC

0 REPLIES 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: