Greetings all. Am having issues with the _sys_template_header variable and i belive formating it within my JSON variable file.
My current variable entry in my JSON file for this is as follows
"_sys_template_header": "; J9774A Configuration Editor; Created on release #YA.16.09.0001; Ver #14:01.44.00.04.19.02.13.98.188.8.131.52.28.f3.84.9c.63.ff.37.27:45"
with my config file in part looking like this
%_sys_template_header%hostname %_sys_hostname%"%_sys_module_command%qos type-of-service diff-servicesno cwmp enabledhcp-snoopingdhcp-snooping authorized-server 184.108.40.206dhcp-snooping authorized-server 220.127.116.11trunk 9-10 trk1 lacpinclude-credentials
When the system attempts to push this to the switch, i get a corrupted configuration file error message. When i look at configuration audit logs for the push i see things like this
Recent log events from the device (20)<12>Nov 21 15:28:05 - 00158 update: line 175. Invalid input: activate
<12>Nov 21 15:28:05 - 00158 update: line 174. Invalid input: dhcp
<12>Nov 21 15:28:05 - 00158 update: line 173. Invalid input: dhcp
and get the following from the audit trail
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.