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

Choose one of the topics below for SD-WAN Resources to help you on your journey with SD-WAN

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC!
We will not comment or assist with your TAC case in these forums.

440
Views
5
Helpful
8
Replies
Highlighted
Beginner

bad-cli when pushing Configuration Template

Hi

It seems that I am hitting a bug with pushing a very generic template for a C1111-8PLTEEAW* that is connected to WAN via wired interface Gi0/0/1. cEdge is running IOS-XE SDWAN version 16.12.3.0.3752. All controllers are running 19.2.2. The router has control connection built to the controllers and is online and reachable.

 

When pushing the template I get this log output in the GUI

[16-Jul-2020 9:48:14 CEST] Configuring device with feature template: generic_wired
[16-Jul-2020 9:48:15 CEST] Generating configuration from template
[16-Jul-2020 9:48:18 CEST] Checking and creating device in vManage
[16-Jul-2020 9:48:20 CEST] Device is online
[16-Jul-2020 9:48:20 CEST] Updating device configuration in vManage
[16-Jul-2020 9:48:23 CEST] Pushing configuration to device.
[16-Jul-2020 9:48:28 CEST] Pre-checks on vManage have passed. Continuing with pushing configuration to device.
[16-Jul-2020 9:48:31 CEST] Pushing configuration to device. Please wait ... 
[16-Jul-2020 9:49:25 CEST] Template push failed after 3 retries.
[16-Jul-2020 9:49:38 CEST] Device failed to process request.  Error Message - completed-with-failure
Error received from the device is : 
bad-cli - No controller Cellular 0/2/0, parser-context - No controller Cellular 0/2/0, parser-response - 
% Cannot remove controllers this wayError received from the device is : 
bad-cli - No interface Vlan1, parser-context - No interface Vlan1, parser-response - 
% Default interface VLAN 1 may not be deleted.Error received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip addressError received from the device is : 
bad-cli -  ip address, parser-context -  ip address

I also pulled up logs from the vManage nms.

From the logs attached it seems that the vManage is failing on some steps where it is trying to do a "no" command on some default configuration. See a snippet below (from :

Caused by: java.lang.Exception: <transaction-status>
  <controller-type-processed>vmanage</controller-type-processed>
  <transaction-state>completed-with-failure</transaction-state>
  <transaction-id>27786</transaction-id>
  <confd-errno>-1164</confd-errno>
  <confd-err-tag>Unknown</confd-err-tag>
  <cli-errors>
    <bad-cli>no controller Cellular 0/2/0</bad-cli>
    <err-loc>6</err-loc>
    <parser-context>no controller Cellular 0/2/0</parser-context>
    <parser-response>
% Cannot remove controllers this way</parser-response>
    <confd-rollback>false</confd-rollback>
  </cli-errors>
  <cli-errors>
    <bad-cli>no interface Vlan1</bad-cli>
    <err-loc>14</err-loc>
    <parser-context>no interface Vlan1</parser-context>
    <parser-response>
% Default interface VLAN 1 may not be deleted.</parser-response>
    <confd-rollback>false</confd-rollback>
  </cli-errors>
  <cli-errors>
    <bad-cli> ip address</bad-cli>
    <err-loc>6</err-loc>
    <parser-context> ip address</parser-context>
    <parser-response/>    <confd-rollback>true</confd-rollback>
  </cli-errors>
  <cli-errors>
    <bad-cli> ip address</bad-cli>
    <err-loc>6</err-loc>
    <parser-context> ip address</parser-context>
    <parser-response/>    <confd-rollback>true</confd-rollback>
  </cli-errors>

Note that there are two errors. The one in the blue with a confd-rollback status of false and the second in red with confd-rollback status of true. I am assuming the later is causing the task to fail.

 

Regards,

Rudi

8 REPLIES 8
Highlighted

Did you guys fixed this?
i have the same errors
thanks
Highlighted

Hi Manuel

No, I am still looking ways to come around this. I will post a solution as soon as it's available. I have another C1111-4PLTEEA router running the same version 16.12.3.0.3752, however this one is connecting via LTE and had no issues attaching the template. 

Highlighted

C1111-8PLTEEAWB


Failure
Device failed to process request. Error Message - completed-with-failure Error received from the device is : bad-cli - No controller Cellular 0/2/0, parser-context - No controller Cellular 0/2/0, parser-response - % Cannot remove controllers this wayError received from the device is : bad-cli - Controller Cellular 10, parser-context - Controller Cellular 10Error received from the device is : bad-cli - No vtp domain sdwanlab, parser-context - No vtp domain sdwanlabError received from the device is : bad-cli - No controller Cellular 10, parser-context - No controller Cellular 10Error received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip addressError received from the device is : bad-cli - ip address, parser-context - ip address
C1111-8PLTEEAWB-FGL223816AH
C1111-8PLTEEAW*
Branch-1-C1111
99.99.99.11
4110
99.99.99.201
[20-Jul-2020 18:39:23 UTC] Configuring device with feature template: B1-C1111-MASTER-TEMPLATE
[20-Jul-2020 18:39:24 UTC] Generating configuration from template
[20-Jul-2020 18:39:30 UTC] Checking and creating device in vManage
[20-Jul-2020 18:39:31 UTC] Device is online
[20-Jul-2020 18:39:31 UTC] Updating device configuration in vManage
[20-Jul-2020 18:39:37 UTC] Pushing configuration to device.
[20-Jul-2020 18:39:42 UTC] Pre-checks on vManage have passed. Continuing with pushing configuration to device.
[20-Jul-2020 18:39:44 UTC] Pushing configuration to device. Please wait ...
[20-Jul-2020 18:40:34 UTC] Template push failed after 3 retries.
[20-Jul-2020 18:40:41 UTC] Device failed to process request. Error Message - completed-with-failure
Error received from the device is :
bad-cli - No controller Cellular 0/2/0, parser-context - No controller Cellular 0/2/0, parser-response -
% Cannot remove controllers this wayError received from the device is :
bad-cli - Controller Cellular 10, parser-context - Controller Cellular 10Error received from the device is :
bad-cli - No vtp domain sdwanlab, parser-context - No vtp domain sdwanlabError received from the device is :
bad-cli - No controller Cellular 10, parser-context - No controller Cellular 10Error received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip address
Highlighted

thanks for your quick response
my device is a C1111-8PLTEEAW* same IOS XE release bootflash:c1100-ucmk9.16.12.3.SPA.bin
Highlighted

[20-Jul-2020 18:39:23 UTC] Configuring device with feature template: B1-C1111-MASTER-TEMPLATE
[20-Jul-2020 18:39:24 UTC] Generating configuration from template
[20-Jul-2020 18:39:30 UTC] Checking and creating device in vManage
[20-Jul-2020 18:39:31 UTC] Device is online
[20-Jul-2020 18:39:31 UTC] Updating device configuration in vManage
[20-Jul-2020 18:39:37 UTC] Pushing configuration to device.
[20-Jul-2020 18:39:42 UTC] Pre-checks on vManage have passed. Continuing with pushing configuration to device.
[20-Jul-2020 18:39:44 UTC] Pushing configuration to device. Please wait ...
[20-Jul-2020 18:40:34 UTC] Template push failed after 3 retries.
[20-Jul-2020 18:40:41 UTC] Device failed to process request. Error Message - completed-with-failure
Error received from the device is :
bad-cli - No controller Cellular 0/2/0, parser-context - No controller Cellular 0/2/0, parser-response -
% Cannot remove controllers this wayError received from the device is :
bad-cli - Controller Cellular 10, parser-context - Controller Cellular 10Error received from the device is :
bad-cli - No vtp domain sdwanlab, parser-context - No vtp domain sdwanlabError received from the device is :
bad-cli - No controller Cellular 10, parser-context - No controller Cellular 10Error received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip addressError received from the device is :
bad-cli - ip address, parser-context - ip address
Highlighted

16.12.4 is released now
Highlighted

Hi

I found a workaround and the template finally attached sucessfully. I did not upgrade however. 

What is going on is essentially is vManage trying to delete the default config from cEdge and router is just not liking it. What you need to do is to include all the mandatory config in your device template. 

 

In my logs above you can see two errors 1) No controller Cellular 0/2/0 and 2) No interface Vlan1. That is mandatory (default) config that vManage is trying to delete and this is preventing the template to attach. So I solved the problem by creating a feature template for cellular controller and a feature template for VPN interface SVI and choose to use vlan1 interface and used those in my parent device template. I also did the reset config in between just to start fresh.

Please see feature templates attached.

 

 

Highlighted

I also had this issue with C1111-8PLTE router. Did below change in the device template and attached it again. It was successful.

In the device Template under the "cellular" tab add a "cellular controller" default feature template

 

Regards,

Tharindu