[rancid] Restoring OpenGear configuration from RANCID file
Ni Ne <[email protected]>
| Newsgroups | gmane.network.rancid |
|---|---|
| Message-ID | <BYAPR04MB42301399E02969CC4E7A5086B5CE0@BYAPR04MB4230.namprd04.prod.outlook.com> |
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
_______________________________________________
Rancid-discuss mailing list
[email protected]
http://www.shrubbery.net/mailman/listinfo/rancid-discuss