[rancid] Restoring OpenGear configuration from RANCID file
Ni Ne
nineoften at hotmail.com
Thu Nov 1 21:51:46 UTC 2018
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 won’t 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20181101/843180dd/attachment.html>
More information about the Rancid-discuss
mailing list