[rancid] Cisco SG-500 configs?
Alex DEKKER
rancid at ale.cx
Thu Jun 5 16:07:14 UTC 2014
> On 05/06/14 15:27, Alexander Bochmann wrote:
>>
>> Exactly. For example, csbrancid wants to use an "lcli" command upon
>> logging
>> in that the current SG switches don't know about anymore - they
>> expect an
>> "enable"...
>
I'm not an expect expert, but on line 361 of
https://github.com/chrpinedo/rancid-cisco-sb/blob/master/src/csblogin
I guess this is the start of a conditional, and it tries each
possibility in that code block against what it sees. So if there is no
menu bit, it never has to send the ^z then lcli and just goes straight
for the credentials.
alexd
More information about the Rancid-discuss
mailing list