[rancid] exit.. no, logout

2019-09-20 Thread Wayne Eisenberg
Hi,

I am dealing with a Dell 6224 switch that has an interesting quirk. The 
powerconnect and cisco-sb types both do the job of logging in and retrieving 
information, however at the very end when rancid is trying to logout, it leaves 
enabled mode with "exit", and then tries to logoff the switch completely with 
"exit" - except that that command does not exist in disabled mode, only 'quit' 
and 'logout'. The result is that rancid gets stuck in a loop issuing the 'exit' 
command, gets a 'command doesn't exist' response and never successfully logs 
out. Where and how can I modify this so that rancid tries the 'quit' and 
'logout' commands as well as 'exit'?

Some info that may be helpful:
#show system
System Description: Dell Ethernet Switch
System Object ID: 1.3.6.1.4.1.674.10895.3010
System Model ID: PCT6224
Machine Type: Dell 24 Port Gigabit Ethernet

#show version
Image Descriptions
 image1 : default image
 image2 :
Images currently available on Flash

 unit  image1  image2 current-activenext-active

12.1.0.132.1.0.13 image1 image1

Thanks,
Wayne


___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] exit.. no, logout

2019-10-03 Thread Ryan Gelobter
Wayne, have you tried using device type of smc instead of powerconnect or
cisco?

On Fri, Sep 20, 2019, 10:05 AM Wayne Eisenberg <
wayne.eisenb...@carolinasit.com> wrote:

> Hi,
>
> I am dealing with a Dell 6224 switch that has an interesting quirk. The
> powerconnect and cisco-sb types both do the job of logging in and
> retrieving information, however at the very end when rancid is trying to
> logout, it leaves enabled mode with "exit", and then tries to logoff the
> switch completely with "exit" - except that that command does not exist in
> disabled mode, only 'quit' and 'logout'. The result is that rancid gets
> stuck in a loop issuing the 'exit' command, gets a 'command doesn't exist'
> response and never successfully logs out. Where and how can I modify this
> so that rancid tries the 'quit' and 'logout' commands as well as 'exit'?
>
> Some info that may be helpful:
> #show system
> System Description: Dell Ethernet Switch
> System Object ID: 1.3.6.1.4.1.674.10895.3010
> System Model ID: PCT6224
> Machine Type: Dell 24 Port Gigabit Ethernet
>
> #show version
> Image Descriptions
>  image1 : default image
>  image2 :
> Images currently available on Flash
> 
>  unit  image1  image2 current-activenext-active
> 
> 12.1.0.132.1.0.13 image1 image1
>
> Thanks,
> Wayne
>
>
> ___
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss