11-02-2018 02:41 AM - edited 03-01-2019 04:14 AM
Hi !
I dont find few NSO CLI equivalent commands for certain commands which works in device(IOS) when executed directly.
Eg: spanning-tree backbonefast
class REALTIME_IN
class class-default
a) Does this mean NSO doesn't support these commands for IOS devices?
b) If NSO supports then what are its NSO equivalents CLI commands ? For example , class-map match-any REALTIME_IN has NSO CLI Command is ios:class-map match-any REALTIME_IN or for interface it is ios:interface with prefix ios mostly.
c) If NSO doesnt support certain commands which device accepts ,then which are those commands and how to find them?
Thanks,
Chitra
Solved! Go to Solution.
11-02-2018 06:24 AM - edited 11-02-2018 06:32 AM
a) Does this mean NSO doesn't support these commands for IOS devices?
It means that the IOS NED version you are using doesn't support that command. If you are already using the latest NED release then for all I know you will have to go through the defined Upgrade/Enhancement request process for NEDs and request that the non-supported command is added to the NED.
See here for details of the NED enhancement process.
b) If NSO supports then what are its NSO equivalents CLI commands ? For example , class-map match-any REALTIME_IN has NSO CLI Command is ios:class-map match-any REALTIME_IN or for interface it is ios:interface with prefix ios mostly.
The way of accessing the command via NSO should be as expected by you:
i.e. when you log on to NSO CLI with e.g. "ncs_cli - u admin -C" type "conf t" then "devices device yourdevicename config ios:spanning-tree backbonefast"...of course this will only work once the support has been built in to NED.
c) If NSO doesnt support certain commands which device accepts ,then which are those commands and how to find them?
As far as I know there is no ultimate list with supported/unsupported config snippets (a list like this would be quite hard to maintain). It is recommended that one gets sample configs from the customer early on in projects and then tries out whether they work/are supported. One way to verify this is to try and put a sample config on a netsim device (which is generated using the NED). You will then see pretty quickly which config commands aren't supported.
I am not aware of any NED which supports the full config command set which would be supported on a device directly. NEDs are amended on demand. So if you use commands which have come up in previous NSO projects there is a fairly good chance the NED already supports it...in some cases you will have to request a NED enhancement though.
Looks like you found commands which currently aren't supported yet by the NED.
11-02-2018 07:28 AM
Hi,
I would recommend you to check the ntool tool: https://github.com/NSO-developer/ntool
You can use it to validate if the NSO IOS NED supports your target config.
If you want a NED to support all the configs from a vendor, the way forward is NETCONF/YANG devices.
Regards,
Roque
11-02-2018 06:24 AM - edited 11-02-2018 06:32 AM
a) Does this mean NSO doesn't support these commands for IOS devices?
It means that the IOS NED version you are using doesn't support that command. If you are already using the latest NED release then for all I know you will have to go through the defined Upgrade/Enhancement request process for NEDs and request that the non-supported command is added to the NED.
See here for details of the NED enhancement process.
b) If NSO supports then what are its NSO equivalents CLI commands ? For example , class-map match-any REALTIME_IN has NSO CLI Command is ios:class-map match-any REALTIME_IN or for interface it is ios:interface with prefix ios mostly.
The way of accessing the command via NSO should be as expected by you:
i.e. when you log on to NSO CLI with e.g. "ncs_cli - u admin -C" type "conf t" then "devices device yourdevicename config ios:spanning-tree backbonefast"...of course this will only work once the support has been built in to NED.
c) If NSO doesnt support certain commands which device accepts ,then which are those commands and how to find them?
As far as I know there is no ultimate list with supported/unsupported config snippets (a list like this would be quite hard to maintain). It is recommended that one gets sample configs from the customer early on in projects and then tries out whether they work/are supported. One way to verify this is to try and put a sample config on a netsim device (which is generated using the NED). You will then see pretty quickly which config commands aren't supported.
I am not aware of any NED which supports the full config command set which would be supported on a device directly. NEDs are amended on demand. So if you use commands which have come up in previous NSO projects there is a fairly good chance the NED already supports it...in some cases you will have to request a NED enhancement though.
Looks like you found commands which currently aren't supported yet by the NED.
11-02-2018 07:28 AM
Hi,
I would recommend you to check the ntool tool: https://github.com/NSO-developer/ntool
You can use it to validate if the NSO IOS NED supports your target config.
If you want a NED to support all the configs from a vendor, the way forward is NETCONF/YANG devices.
Regards,
Roque
11-04-2018 08:41 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide