cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1422
Views
1
Helpful
4
Replies

command line manual about huawei-vrp ned

Jing Wang
Cisco Employee
Cisco Employee

Hi,Team:

  1. My customer has different versions of Huawei Device  (v6r7, v6r9 and v8r9), Which version is suppoted by  ncs-4.4.1-huawei-vrp-4.2 ?

  1. Do  we have command line manual that includes all CLIs supported by the newest huawei-vrp ned ?
1 Accepted Solution

Accepted Solutions

Hi Jing,

Several options with the poor quality of data provided:

- The simplest way is to get NSO in a laptop and ask the customer to perform a sync-from a configured device. Then, you just need to read the NED traces and find unsupported commands.

- You can also navigate the YANG model of the NED to get some ideas of major commands support or create a NETSIM device and try to apply these commands.

There are more advance tools but they all rely in full configs.

Regards,

Roque

View solution in original post

4 Replies 4

snovello
Cisco Employee
Cisco Employee

The way CLI NEDs work is that they contain a yang model that enables the storing parsing, generation of the config for a particular operating system. For CLI NEDs the model contains all the config we have ever been asked to support for that operating system, so for any device and any version.

The resulting yang model typically can parse combinations of features that exist in multiple versions or for example will let you attempt to configure combinations of features that do not exist on any specific device. However it also does not support every configuration option on any specific device, because all we develop is what is requested from us. So we do not have full coverage of all config of any specific device or version.

Because the NED supports a mixture of configuration options from many devices and versions we don't call out  a specific set of devices or specific software versions that are supported.

The big advantage for the customer is that they have not bought a NED for version X of device Y, so if they decide to use a new software version or change to a different device model, we still support them, and if they need support for any line of config not currently supported they simply open a TAC case and we add it.

To determine all the options that are supported, the best way is to look at the yang files for the NED. The model defines those options, although its not so easy to read. Another way is to look through the CHANGES file, since everything we support was added via a a change

Usually though its more interesting to find out which parts of an existing configuration file of a router are not supported by the NED. This is easy. You set the device trace mode to raw

#set devices device mydevice trace raw

#commit

and do a sync-from operation. The logs for the device (llook for  logs/*mydevice*) will contain messages for all lines of config which were not parsed (look for 'ignore')

Thank stefano so much for the detailed answer,Understand the composition of ned

I have a pre-sale job for the nso in china, the customer want to know whether  L2VPN command of huawei router is supported in the newest  huawei-vrp ned.

But the customer can not provide a specific configuration,Only the configuration command manual is provided

Like:

diffserv-mode { ingress uniform egress { pipe | short-pipe [ domain ds-name ] } | pipe service-class color | short-pipe service-class color [ domainds-name ] | uniform }


queue cos-value { { pq | wfq weight weight-value | lpq } | { shaping { shaping-value | shaping-percentage shaping-percentage-value } [ pbs pbs-value ] } | flow-wred wred-name | low-latency }


There are many similar command, If the combination of these commands,it will be produced a lot of configuration, spending a lot of time.

Whether there are other ways to Complete verification of the command line ?

Hi Jing,

Several options with the poor quality of data provided:

- The simplest way is to get NSO in a laptop and ask the customer to perform a sync-from a configured device. Then, you just need to read the NED traces and find unsupported commands.

- You can also navigate the YANG model of the NED to get some ideas of major commands support or create a NETSIM device and try to apply these commands.

There are more advance tools but they all rely in full configs.

Regards,

Roque

thanks, Roque