[rancid] Re: Dell Switch Errors

Willie Bollinger willie at qis.net
Wed Jun 23 04:55:04 UTC 2010


Where do I set NOPIPE=YES at?


john heasley wrote:
> 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

-- 
--------------------------------------------------------------------------
   Willie Bollinger     | Quantum Internet and Telecommunications
     410-239-6920       | 2975B Manchester Rd., Manchester, MD  21102
--------------------------------------------------------------------------


More information about the Rancid-discuss mailing list