[rancid] Hop onto router/gateway to login to another router

Muhammad Shoaib MShoaib at paciolan.com
Tue Nov 26 01:50:46 UTC 2013


I tried the following configuration but seeing an error :

--- .cloginrc
add method far-router {usercmd}
add user far-router admin
add password far-router {password} {password}
add usercmd far-router {clogin} {-noenable} {gateway-router}
add usercmd_chat far-router {>} {telnet far-router\r} {User Access Verification} {}

---- output
[rancid at ca01net03 ~]$ clogin far-router
far-router

Error: unknown connection method: usercmd
[rancid at ca01net03 ~]$

Do I need to install/patch rancid to get "usercmd" to work ?

Please advise.

From: Muhammad Shoaib
Sent: Monday, November 25, 2013 1:13 PM
To: 'rancid-discuss at shrubbery.net'
Subject: Hop onto router/gateway to login to another router

Hello,

I ran into a scenario where I need to jump through a router or routers to get the config of the target router.

I have searched archives and found the following thread (Sept 2008 ) and wondering if this is still intact or better ways has been incorporated into the newer versions of 'rancid'.

http://www.shrubbery.net/pipermail/rancid-discuss/2008-September/003283.html


I am running the rancid 2.3.8

Any hints / links would be appreciated

Thanks in advance.

Regards,
Muhammad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20131126/9f2195d7/attachment.html>


More information about the Rancid-discuss mailing list