[rancid] Re: Dell Switch Errors

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


 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.

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
--------------------------------------------------------------------------


More information about the Rancid-discuss mailing list