[rancid] Edgerouter: showConfig command failure
Andreas Herrmann
andreas at in-berlin.de
Tue Oct 24 07:06:49 UTC 2017
Hi,
On 24.10.2017 08:20, Andreas Herrmann wrote:
> we have problems with one of our EdgeRouters. I'm not sure if it is fixed in
> 3.7 (edgerouter.pm: add match for transient show version command failure).
>
> Only EdgeRouter Pro 8-Port (v1.9.7+hotfix.4) is reporting this change every
> some days:
>
> -# rancid at ams-gw:~$ cli-shell-api showConfig --show-active-only | no-more
> -firewall {
> +# rancid at ams-gw:~$cli-shell-api showConfig --show-active-only | no-more
> +ofirewall {
> all-ping enable
> broadcast-ping disable
>
> -# rancid at ams-gw:~$cli-shell-api showConfig --show-active-only | no-more
> -ofirewall {
> +# rancid at ams-gw:~$ cli-shell-api showConfig --show-active-only | no-more
> +firewall {
> all-ping enable
> broadcast-ping disable
>
> An EdgeRouter Lite 3-Port is working fine.
>
> /etc/rancid/rancid.types.conf:
> edgerouter_custom;script;rancid -t edgerouter_custom
> edgerouter_custom;login;ulogin -noenable -t 30
> edgerouter_custom;module;edgerouter
> edgerouter_custom;inloop;edgerouter::inloop
> edgerouter_custom;command;rancid::RunCommand;terminal length 0
> edgerouter_custom;command;edgerouter::ShowVersion;show version | no-more
> edgerouter_custom;command;edgerouter::ShowOffload;show ubnt offload | no-more
> edgerouter_custom;command;edgerouter::WriteTerm;cli-shell-api showConfig
> --show-active-only | no-more
Some addition:
* ~rancid/bin/ulogin set sleeps to 5s
* not enough for Lite 3-Port -> MAX_ROUNDS=10
* ulogin -noenable -t 30 (was: -noenable -t 10)
* {{ | no-more }} decreased formating errors
With this changes, only the reported error exists.
Regards, Andreas
More information about the Rancid-discuss
mailing list