[rancid] Rancid can't fully save the config file of D-Link switch
heasley
heas at shrubbery.net
Thu Feb 18 21:16:05 UTC 2016
Thu, Feb 18, 2016 at 11:51:10PM +0300, Serge Torop:
> Hello, all,
>
> I have installed v 3.3.0 and try to work with D-Link switches.
>
> My configuration scripts is:
>
> 1.
> etc/rancid.types.base:
you should put your custom stuff in rancid.types.conf
> dlink1;script;rancid -t dell
> dlink1;login;dllogin
> dlink1;module;dell
> dlink1;inloop;dell::inloop
> dlink1;command;dlink1::GetSystem;show switch
> dlink1;command;dlink1::GetConf;show config effective
some dells are SMC OEMs; see the smc type.
> 2.
> router.db:
>
> 10.37.11.210;dlink1;up
> 10.37.4.184;dlink1;up
>
> I have run "rancid-run dlinkdevices" and see config files
> /usr/local/rancid/var/dlinkdevices/config/10.37.11.210.new and 10.37.4.184.new
> with normal config content.
>
> After script is finished in log file I see the messages:
>
> Trying to get all of the configs.
> 10.37.11.210: End of run not found
> #-------------------------------------------------------------------
> 10.37.4.184: End of run not found
> #-------------------------------------------------------------------
> =====================================
> Getting missed routers: round 1.
> 10.37.11.210: End of run not found
> #-------------------------------------------------------------------
> 10.37.4.184: End of run not found
>
> And config files (10.37.11.210 and 10.37.4.184) are empty or config
> information not comletely saved
> (with some parts of configuration).
>
> Test command, for example, ./dllogin -c "show config" 10.37.4.184 is work fine.
>
> Can you help me find the misconfiguration or other working method?
>
> Thank you in advance.
>
>
> --
> Serge P. Torop
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
More information about the Rancid-discuss
mailing list