Discussion:
[rancid] Re: Riverbed WAN Accelerators
chris
2008-02-19 21:19:17 UTC
Permalink
I was digging a bit more into this and noticed that the Riverbeds look
a lot more like a Foundry than a Cisco. So I changed it in my
router.db to Foundry but it fails with a timeout in the logs.

I run flogin manually on the device this is what it does.


***@mothership:~/bin> ./flogin los-3520-A
los-3520-a
spawn ssh -c 3des -x -l rancid los-3520-a
Riverbed Steelhead
***@los-3520-a's password:
Last login: Tue Feb 19 13:05:24 2008 from 10.3.1.36
rancid
los-3520-A > rancid
% Unrecognized command "rancid".
Type "?" for help.
los-3520-A > enable
los-3520-A #

So it gets to an enable prompt fine. So I'm not exactly sure what its
timeout on.

The logs show:

los-3520-A flogin error: Error: TIMEOUT reached

I'm fairly sure I'm close as the comands that will run on the Foundry
will work on teh Riverbed... at least the show version and write term
ones that I want.

Can someone please point me in the right direction?

Thanks
I saw a post back in Jan on gmane about using Rancid on Riverbeds.
But didn't see any replies, so was hoping someone could post to the
list if they know the answer.
Has anyone had Rancid parse Riverbeds? They are very much like a
Cisco in CLI structure.
They can do a show run to get the config. A 'show run full' or 'show
config full' gets all the default values as well.
Was hoping someone has done this for these devices and can point me in
the right direction.
Thanks
Chris
chris
2008-02-19 17:55:41 UTC
Permalink
I saw a post back in Jan on gmane about using Rancid on Riverbeds.
But didn't see any replies, so was hoping someone could post to the
list if they know the answer.

Has anyone had Rancid parse Riverbeds? They are very much like a
Cisco in CLI structure.

They can do a show run to get the config. A 'show run full' or 'show
config full' gets all the default values as well.

Was hoping someone has done this for these devices and can point me in
the right direction.

Thanks
Chris
Lance Vermilion
2008-02-20 00:28:18 UTC
Permalink
Chris,

It looks like you do not get prompted for a password after you enter
the "enable <enter>". That would cause an issue with rancid since it
is expecting a password prompt. Thus the timeout you are seeing.

I would presume the clogin script ends near the same. Where exactly
does the clogin erorr out for you?

Have you tried hlogin?

-lance
Post by chris
I was digging a bit more into this and noticed that the Riverbeds look
a lot more like a Foundry than a Cisco. So I changed it in my
router.db to Foundry but it fails with a timeout in the logs.
I run flogin manually on the device this is what it does.
los-3520-a
spawn ssh -c 3des -x -l rancid los-3520-a
Riverbed Steelhead
Last login: Tue Feb 19 13:05:24 2008 from 10.3.1.36
rancid
los-3520-A > rancid
% Unrecognized command "rancid".
Type "?" for help.
los-3520-A > enable
los-3520-A #
So it gets to an enable prompt fine. So I'm not exactly sure what its
timeout on.
los-3520-A flogin error: Error: TIMEOUT reached
I'm fairly sure I'm close as the comands that will run on the Foundry
will work on teh Riverbed... at least the show version and write term
ones that I want.
Can someone please point me in the right direction?
Thanks
I saw a post back in Jan on gmane about using Rancid on Riverbeds.
But didn't see any replies, so was hoping someone could post to the
list if they know the answer.
Has anyone had Rancid parse Riverbeds? They are very much like a
Cisco in CLI structure.
They can do a show run to get the config. A 'show run full' or 'show
config full' gets all the default values as well.
Was hoping someone has done this for these devices and can point me in
the right direction.
Thanks
Chris
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
chris
2008-02-20 14:28:11 UTC
Permalink
Post by Lance Vermilion
Chris,
It looks like you do not get prompted for a password after you enter
the "enable <enter>". That would cause an issue with rancid since it
is expecting a password prompt. Thus the timeout you are seeing.
I would presume the clogin script ends near the same. Where exactly
does the clogin erorr out for you?
Have you tried hlogin?
-lance
Lance,

When I manually use hlogin, I get the same thing as using flogin.
Doesn't prompt for the enable password. I'm not sure the autoenable
knob will work as it doesn't put 'rancid' at an enable prompt at
login... still have to enter enable <return> to get there. Unless
I'm not understanding the knob fully.

John,

I put the device as 'agm' in router.db but that didn't appear to work.
Unless I completely misunderstood you.

Trying to get all of the configs.
unknown router manufacturer for los-3520-a: agm
=====================================

Thanks for the help. I'm willing to keep trying ideas people come up with.

Chris
Lance Vermilion
2008-02-20 17:11:30 UTC
Permalink
This could easily be done with a minor code change. But aht would all
be assuming you know how to make code changes.

-lance
Post by chris
Post by Lance Vermilion
Chris,
It looks like you do not get prompted for a password after you enter
the "enable <enter>". That would cause an issue with rancid since it
is expecting a password prompt. Thus the timeout you are seeing.
I would presume the clogin script ends near the same. Where exactly
does the clogin erorr out for you?
Have you tried hlogin?
-lance
Lance,
When I manually use hlogin, I get the same thing as using flogin.
Doesn't prompt for the enable password. I'm not sure the autoenable
knob will work as it doesn't put 'rancid' at an enable prompt at
login... still have to enter enable <return> to get there. Unless
I'm not understanding the knob fully.
John,
I put the device as 'agm' in router.db but that didn't appear to work.
Unless I completely misunderstood you.
Trying to get all of the configs.
unknown router manufacturer for los-3520-a: agm
=====================================
Thanks for the help. I'm willing to keep trying ideas people come up with.
Chris
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...