Ni Ne
2018-11-01 21:51:46 UTC
Ran into this today and figured I would share. If you try to restore a RANCID file from an OpenGear directly onto the device it wont work.
You need to modify the configuration file first in a few ways:
1. Remove initial comment lines added by RANCID, and the line that talks about the make/model/version
* Essentially modify file so the line with <?xml is the first line
2. Remove the leading white space from that (now) first line
3. Double-quote the XML values on that line
Before (using a _ to show whitespace):
_<?xml version=1.0 encoding=UTF-8 standalone=no?>
After:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Then you must paste in your modified configuration file via the WebUI of the OpenGear under the menu Configuration Backup > XML Configuration.
Hope this helps someone,
-Aaron
You need to modify the configuration file first in a few ways:
1. Remove initial comment lines added by RANCID, and the line that talks about the make/model/version
* Essentially modify file so the line with <?xml is the first line
2. Remove the leading white space from that (now) first line
3. Double-quote the XML values on that line
Before (using a _ to show whitespace):
_<?xml version=1.0 encoding=UTF-8 standalone=no?>
After:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Then you must paste in your modified configuration file via the WebUI of the OpenGear under the menu Configuration Backup > XML Configuration.
Hope this helps someone,
-Aaron