George Hills
2009-08-14 17:11:50 UTC
Hi,
My thanks to Jeremy Singletary for his drancid/dlogin scripts, and Nate
Steffen for his updates and email help.
I've had a couple of different problems trying to get RANCID working
with some Dell Powerconnect switches recently.
I'm using rancid 2.3.2a7 from the Ubuntu package on Ubuntu Hardy amd64.
My Powerconnects are 6248s running 2.0.1.2 and 2.2.0.3 and 5324s running
2.0.0.40.
The 6248s had an easy problem - the dlogin script is sending "exit" and
expecting to get out, but that only takes it out of enable mode. It then
needs to send "quit" (*not* "exit" again) afterwards to get out.
I bodged this by just adding a line:
***@beast:~$ diff dlogin dlogin.gh
672a673
think there's a problem with the pager. My "more" prompts look like
"More: <space>, Quit: q, One line: <return> "
and dlogin freezes when it sees one. Other than that it works fine. I
guess there's a problem with the regex but I can't work out what it is.
Would be grateful for any suggestions.
Cheers.
My thanks to Jeremy Singletary for his drancid/dlogin scripts, and Nate
Steffen for his updates and email help.
I've had a couple of different problems trying to get RANCID working
with some Dell Powerconnect switches recently.
I'm using rancid 2.3.2a7 from the Ubuntu package on Ubuntu Hardy amd64.
My Powerconnects are 6248s running 2.0.1.2 and 2.2.0.3 and 5324s running
2.0.0.40.
The 6248s had an easy problem - the dlogin script is sending "exit" and
expecting to get out, but that only takes it out of enable mode. It then
needs to send "quit" (*not* "exit" again) afterwards to get out.
I bodged this by just adding a line:
***@beast:~$ diff dlogin dlogin.gh
672a673
dsend "quit\r"
On the 5348 (where "exit" from enable mode logs you off...sigh...) Ithink there's a problem with the pager. My "more" prompts look like
"More: <space>, Quit: q, One line: <return> "
and dlogin freezes when it sees one. Other than that it works fine. I
guess there's a problem with the regex but I can't work out what it is.
Would be grateful for any suggestions.
Cheers.
--
George Hills
Systems Administrator
Brightbox
http://www.brightbox.co.uk/
George Hills
Systems Administrator
Brightbox
http://www.brightbox.co.uk/