10-22-2020 08:39 AM
Hi all, I'm experiencing a strange NSO Device Templates behavior. Hope you can give me guidance.
The scenario is straightforward, customer wants to deploy a qos policy, using NSO templates. Configuration works fine in both netsim and physical device and looks like this into NSO CLI:
policy-map DEV_SHAPE_XR class class-default shape average 64000 bps ! end-policy-map !
When I try to create a device template, CLI parser asks for a string when the syntax should accept <CR> right after "class class-default".
admin@ncs(config-config)# policy-map DEV_SHAPE_XR type qos class class-default ? This line doesn't have a valid range expression Possible completions: <map:string> "" admin@ncs(config-config)# policy-map DEV_SHAPE_XR type qos class class-default -------------------------------------------------------------------------------^ syntax error: incomplete path: 'devices template SHAPE ned-id cisco-iosxr-cli-7.30 config policy-map DEV_SHAPE_XR class class-default'
Have you experienced similar issue? What is your suggestion to move on with the troubleshooting?
Thanks in advance!
Solved! Go to Solution.
10-22-2020 08:50 AM
10-22-2020 08:50 AM
10-22-2020 09:29 AM
Hi Viktor,
Thank you very much for the prompt reply.
You are right. The map into yang model refers to a second class-default keyword entry.
The issue in my setup was related to a missing config for rate-unit.
The run | display xml was really helpful!
BR
Kratz
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