[rancid] Backing up HP router issue

heasley heas at shrubbery.net
Tue Jan 18 20:40:23 UTC 2022


Tue, Jan 18, 2022 at 08:14:33PM +0000, simon ben:
> Dear All,
> I have the below 
> Rancid ver 3.9 running on Centos 8.4 backing up with no issues Cisco Switches ,Routers and Forgate Firewall I wanted to backup a new HP router but the config file is emptyI am able to login into the router with cloginhere are my .clogin.rc and my router.db file
> --------------.clogin.rc entry
> add cyphertype ipaddress    aes256-ctradd method ipaddress      telnetadd enablecmd ipaddress           "super"add password ipaddress   {password} {password}-------------
> router.db entry
> ipaddress;hp;up
> -------------------------------------
> when i run ./path/clogin ipaddress of hp router it logs me in and i see the below

hp uses hlogin.  If you have the device in a group's router.db, you can
use plogin and it will exect the appropriate script.  Also see the FAQ
section 3 for a more detailed login test.  Lack of permissions might be
causing the failure.

but, hp mostly (entirely?) OEMs their NOS.  see comments in rancid.types.base
for hp models known to work with types hp or foundry.  type smc is another
option to try.

> Password:
> <Hostname>super
> Please input the password to change the privilege level. Press CTRL_C to abort.
>  Password:
> User privilege level is 3, and only those commands can be used
> whose level is equal or less than this.
> Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
> <Hostname>---------------------------------------
> my error log
> -----------------



More information about the Rancid-discuss mailing list