<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
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.<o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
You need to modify the configuration file first in a few ways:<o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<ol style="margin-bottom: 0in;margin-top:0in" start="1" type="1">
<li style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"">Remove initial comment lines added by RANCID, and the line that talks about the make/model/version<o:p></o:p></span>
<ol style="margin-bottom: 0in;margin-top:0in" start="1" type="a">
<li style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif;margin-left:0in;mso-list:l0 level2 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"">Essentially modify file so the line with <?xml is the first line<o:p></o:p></span>
</li></ol>
</li><li style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"">Remove the leading white space from that (now) first line<o:p></o:p></span>
</li><li style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"">Double-quote the XML values on that line<o:p></o:p></span></li></ol>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Before (using a _ to show whitespace):<o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
_<?xml version=1.0 encoding=UTF-8 standalone=no?><o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
After:<o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<?xml version="1.0" encoding="UTF-8" standalone="no"?><o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Then you must paste in your modified configuration file via the WebUI of the OpenGear under the menu Configuration Backup > XML Configuration.<o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Hope this helps someone,<o:p></o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<o:p> </o:p></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
-Aaron<o:p></o:p></p>
<br>
</div>
</body>
</html>