- Want to put APIC-EM PnP to the test but getting this error when trying to load a config file to the server to use with a pop job. The switch is getting the config but getting a job error with some strange characters as the reason for the failure.
- Here is the upload error:
- WARNING : The uploaded configuration STG-BR-S-01.txt contains hidden/non printable ascii/control characters in line 1.
- Do you want to continue?
- Here is the error on the project after the deploy:
2016-10-30 21:01:53 (Pacific Standard Time) | Received response from pnp agent for message correlatorId: CiscoPnP-1.0-16-308-3D74502C-16 but with error code : ZTD_CMD_ERROR Response String: ERROR:PnP Service Error 1402:Invalid input detected |
service log:
o;?no service config
^
% Invalid input detected at '^' marker.
% % Duplicate permit statement ignored.
% % Duplicate permit statement ignored.
- The configuration files has been taken on PI from the a standard template and used to prep switches.
- The file was created on Windows using notepad++, it is a very simple configuration file with base stuff like AAA and host names etc.
This could be a CR/LF issue.
After creating new configuration files from scratch, no copy pasting etc from log outputs have cleared this error. In 1.3 we are now checking for "special characters" in config files as they were causing issues when downloaded to devices.
Windows is notorious for "\r\n" vs "\n" in unix.
The error you got was the end of the first line... where there was a "\r".
Comments
0 comments
Please sign in to leave a comment.