[rancid] HP switches
Per-Olof Olsson
peo at chalmers.se
Sat May 24 05:05:46 UTC 2014
Munroe Sollog skrev 2014-05-22 16:29:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm investigating rancid as a way to reliably download configs from HP switches. Below I have
> included my .cloginrc file as well as the output from hlogin. It seems to log in successfully,
> however it never executes the command. Any help would be appreciated
>
> .cloginrc
> - ---------------------
> add password * password
> add user * user
>
>
>
> $ /usr/local/rancid/bin/hlogin -d -noenable -c "y;show version" 172.16.203.244
> 172.16.203.244
...
Yes, looks like login working but you have to use "-autoenable" instead of -noenable
or set "add autoenable <hostname|ip|*> 1" in your .cloginrc
-noenable only useful if you login and stay at operator level.
HP switches, and some other devices that login directly to manager level, need to have autoenable on.
/Peo
----------------------------------------------------------
Per-Olof Olsson Email: peo at chalmers.se
Chalmers tekniska högskola IT-service
Arvid Hedvalls backe 6 412 96 Göteborg
Tel: 031/772 6738 Fax: 031/772 8680
----------------------------------------------------------
More information about the Rancid-discuss
mailing list