[rancid] Re: Download configs from one router through another
Graham Fleming
Graham.Fleming at bdwalk.biz
Thu Sep 11 18:52:38 UTC 2008
Ed, thanks a lot for your patch. I got it working. Is there a way
though, to use wildcards with the usercmd_chat?
For instance, we log into a gateway router using a public IP address. We
then specify a method to reach the internal routers using usercmd. All
of the internal routers, let's say, are on the 10.0.0.0/24 network.
Is there a way to add a universal method that would use the 10.0.0.0/24
network as a wildcard (ie 10.0.0.*) and then could we put in a {*} or
something in the usercmd_chat so that any prompt is matched?
This would save us from adding dozens of separate .cloginrc commands for
the internal routers.
Regards,
Graham
-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Ed Ravin
Sent: Monday, September 08, 2008 1:03 PM
To: Jeffrey Ollie
Cc: rancid-discuss at shrubbery.net
Subject: [rancid] Re: Download configs from one router through another
On Fri, Sep 05, 2008 at 11:11:30AM -0500, Jeffrey Ollie wrote:
...
> Ed Ravin developed just the thing you need a few years ago. I've
> attached a copy that I've re-based to apply against version 2.3.2a8.
I'm not 100% happy with the way this patch works - it works fine if
the bastion host is a device other than the kind you are trying to
access. But if you are trying to access a Cisco from another Cisco,
you need to jump through some hoops (like putting in a unique prompt
or unique banner on one or both of them) to help the main clogin
figure out when the second clogin has finished the "out of band"
login.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list