[rancid] Re: Dell Switch Errors
john heasley
heas at shrubbery.net
Wed Jun 23 04:52:00 UTC 2010
Wed, Jun 23, 2010 at 12:47:37AM -0400, Willie Bollinger:
> From what I can see the script does a show version, show vlan, and show
> running-config and all of these work properly when I telnet into the
> switch and run them manually.
set NOPIPE=YES and use the rancid script with -d (hopefully the author
maintained that) so that you get a .raw file and log of commands
recognized.
> Corey Chandler wrote:
> > On Jun 22, 2010, at 9:26 PM, Willie Bollinger wrote:
> >
> >> rancid at staff$ ./dlogin -autoenable -c "show run" -f ../.cloginrc 10.10.111.2
> >> 10.10.111.2
> >> spawn telnet 10.10.111.2
> >> Trying 10.10.111.2...
> >> Connected to 10.10.111.2.
> >> Escape character is '^]'.
> >>
> >>
> >> User Name:rancid
> >> Password:*******
> >>
> >> dsw1-cc#
> >> dsw1-cc# show run
> >> port jumbo-frame
> >> interface ethernet g48
> >> switchport mode trunk
> >> exit
> >> vlan database
> >>
> >> <snip>
> >>
> >>
> >> Any input would be appreciated
> >
> > I assume this works when you telnet in and run these commands. What you might end up doing is running a packet capture via wireshark / tcpdump, and compare doing it by hand to your clogin command; it may be an improper newline or something simple like that.
> >
>
> --
> --------------------------------------------------------------------------
> Willie Bollinger | Quantum Internet and Telecommunications
> 410-239-6920 | 2975B Manchester Rd., Manchester, MD 21102
> --------------------------------------------------------------------------
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list