[rancid] Rancid can't fully save the config file of D-Link switch

Serge Torop serge.torop at gmail.com
Thu Feb 18 20:51:10 UTC 2016


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:

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

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


More information about the Rancid-discuss mailing list