<div dir="ltr">Jason,<div><br></div><div>Make life easy for yourself.</div><div>RANCID (using PERL and EXPECT) is coded so that RFC 1123 compliant hostnames will be ok. Whoever set the hostname with a # should be sent to CCNA school, or some learning facility that says you can't just dream up esoteric names for devices.</div>
<div><br></div><div><br></div><div>Cheers,</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Bob Watson</div><div>BAppSci, MACS, CP</div><div><br></div><div><a href="<a href="http://au.linkedin.com/in/bobthebaritone" target="_blank">http://au.linkedin.com/in/bobthebaritone</a>"></div>
<div> </div><div> <img src="<a href="http://www.linkedin.com/img/webpromo/btn_viewmy_160x33.png" target="_blank">http://www.linkedin.com/img/webpromo/btn_viewmy_160x33.png</a>" width="160" height="33" border="0" alt="View Robert Watson's profile on LinkedIn"></div>
<div> </div><div> </a></div></div></div>
<br><br><div class="gmail_quote">On 23 August 2013 23:28, Jason Humes <span dir="ltr"><<a href="mailto:JHumes@acs.on.ca" target="_blank">JHumes@acs.on.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
No, I mean the actual device configured hostname...when clogin tries to login, it fails to enter enable mode due to the Switch#1_Site#2 hostname.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Jason<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
-----Original Message-----<br>
From: heasley [mailto:<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>]<br>
Sent: Friday, August 23, 2013 9:27 AM<br>
To: Jason Humes<br>
Cc: <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br>
Subject: Re: [rancid] Anyway to backup devices with '#' in hostname...other than renaming host?<br>
<br>
Fri, Aug 23, 2013 at 01:22:18PM +0000, Jason Humes:<br>
> Hi<br>
> We've been running with RANCID for a while and have recently come upon a large group of devices we'd like to backup, but they are all numbered with '#' in the hostnames and thus RANCID fails to enter enable mode on these. Is there any way to have RANCID escape the '#' in the hostname?<br>
><br>
<br>
put cnames/aliases in your dns/hosts file.<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</div></div></blockquote></div><br></div>