Mailing List Archive

Restoring OpenGear configuration from RANCID file
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