[rancid] Anyway to backup devices with '#' in hostname...other than renaming host?
bob watson
bobthebaritone at gmail.com
Fri Aug 23 13:43:05 UTC 2013
Jason,
Make life easy for yourself.
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.
Cheers,
Bob Watson
BAppSci, MACS, CP
<a href="http://au.linkedin.com/in/bobthebaritone">
<img src="
http://www.linkedin.com/img/webpromo/btn_viewmy_160x33.png" width="160"
height="33" border="0" alt="View Robert Watson's profile on LinkedIn">
</a>
On 23 August 2013 23:28, Jason Humes <JHumes at acs.on.ca> wrote:
> Hi
> 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.
>
> Thanks
>
>
> Jason
>
>
> -----Original Message-----
> From: heasley [mailto:heas at shrubbery.net]
> Sent: Friday, August 23, 2013 9:27 AM
> To: Jason Humes
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Anyway to backup devices with '#' in
> hostname...other than renaming host?
>
> Fri, Aug 23, 2013 at 01:22:18PM +0000, Jason Humes:
> > Hi
> > 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?
> >
>
> put cnames/aliases in your dns/hosts file.
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130823/cb2d2b6d/attachment.html>
More information about the Rancid-discuss
mailing list