Re: [rancid] problems with PowerConnect switches
Wayne Eisenberg <[email protected]>
| Newsgroups | gmane.network.rancid |
|---|---|
| Message-ID | <SN1PR13MB0269F1B129AAA180C0279DBBE2A60@SN1PR13MB0269.namprd13.prod.outlook.com> |
> -----Original Message----- > From: heasley [mailto:[email protected]] > Sent: Friday, December 07, 2018 3:06 PM > To: Wayne Eisenberg <[email protected]> > Cc: '[email protected]' <[email protected]> > Subject: Re: [rancid] problems with PowerConnect switches > > Fri, Dec 07, 2018 at 10:18:54AM +0000, Wayne Eisenberg: > > Hi, > > > > I have a PowerConnect 5448 that I am having trouble with. If I run the steps > manually it's fine, but using rancid-run always fails. > > > > The router.db file is: > > pc5448;powerconnect;up > > > > The etc/rancid.types.conf section is: > > > > powerconnect;script;rancid -t powerconnect powerconnect;login;clogin > > powerconnect;module;dell powerconnect;inloop;dell::inloop > > powerconnect;command;dell::GetSystem;show system > > powerconnect;command;dell::GetConf;show running-config > > > > and all the info in .clogin is fine. > > > > If I manually run clogin for that switch, it has no problems. Then running > 'show system' and 'show running-config' gives no problems. > > meaning that > clogin -c 'show system;show running-config' hostname completes w/o a > timeout? if so, that implies to me that either a pager is involving itself in an > unrecognized manner or there is other unrecognized input preventing it > from finding the prompt reliably, possibly due to TERM settings (and poor > defaults). that could be tested, or it might debugging to, run that clogin from > cron to see how it acts w/o a terminal. > That results in: User Name:admin Password:************ console# console# terminal length 0 % Unrecognized command What is issuing the 'terminal length 0' command? Wayne _______________________________________________ Rancid-discuss mailing list [email protected] http://www.shrubbery.net/mailman/listinfo/rancid-discuss