[rancid] Enterasys C-Series
Jethro R Binks
jethro.binks at strath.ac.uk
Tue Feb 22 20:38:06 UTC 2011
On Tue, 22 Feb 2011, Corey Quinn wrote:
> On Feb 22, 2011, at 7:17 AM, Rob Yamry wrote:
> >
> > The end will look something like this:
> >
> > !
> > end
> >
> >
> > switch(su)->
> >
> switch(su)-> should be the terminator then, regardless if "end" is found or not.
>
> You might packet capture this and see what's actually coming back over
> the wire (assuming telnet). I've seen similar issues before where the
> (radware) switch was actually echoing what the user had input-- once
> that was turned off, Rancid "just worked."
env NOPIPE=YES PATH=${PATH}:/usr/local/libexec/rancid rancid -d devicename
substituting the second "rancid" with the appropriate *rancid and
modifying the path as appropriate.
Then check out the .raw file produced.
You previously said: "Some switches need the space bar pressed to advance
the output.". If you can't disable per-session paging (commands like
"screen length 0" and their ilk), then *login will need to recognise the
paging prompt ("--- More ---" etc), send a space when it sees it, and
*rancid will need to be able to filter out the paging prompt, control
characters etc. It might be that the paging prompt on your devices isn't
being recognised by *login/*rancid.
Jethro.
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK
The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
More information about the Rancid-discuss
mailing list