Mailing List Archive

Duplicate config when polling Foundry ServerIrons
> We have problems with rancid when polling ServerIron Chassis devices.
> It logs on and collects the data okay but it seems to duplicate lines of
> config randomly. See an example below.
>
> @@ -410,8 +410,10 @@
> interface ethernet 4/10
> disable
> !
> interface ethernet 4/11
> + interface ethernet 4/11
> + interface ethernet 4/11
> disable
> !
> interface ethernet 4/12
> disable
>
> I'm assuming it's something with the cli, any idea how I can fix this or
> prove that it is the cli causing it?

could you try collecting it manually like
$ export NOPIPE=YES
$ francid -d host

that will leave a host and host.raw file behind. do it a few times and see
if you can get a pair of files where this duplication has happened. with
those, we can narrow down the cause.
Duplicate config when polling Foundry ServerIrons [ In reply to ]
On Wed, 2005-02-16 at 09:59 -0800, john heasley wrote:
> could you try collecting it manually like
> $ export NOPIPE=YES
> $ francid -d host
>
> that will leave a host and host.raw file behind. do it a few times and see
> if you can get a pair of files where this duplication has happened. with
> those, we can narrow down the cause.

I did this and on the first attempt I can see a few lines that have been
duplicated in both files.
ie
host.new:snmp-server community ..... rw 5
host.new:snmp-server community ..... rw 5
host.new:snmp-server community ..... rw 5

host.raw:snmp-server community ..... rw 5
host.raw:snmp-server community ..... rw 5
host.raw:snmp-server community ..... rw 5

The config only has one rw community:-
tacacs-server key 1 <snip>
snmp-server community ..... ro 5
snmp-server community ..... rw 5
snmp-server contact <snip>

I can also replicate the problem with a straight telnet session (as in
no expect) ie
telnet host
en
term len 0
write term

Sure enough I get some duplicated lines, time to raise a bug with
foundry methinks, the cli on the SI GTE series just isn't as good as on
the Bigirons, copying and pasting config also has problems....

If you can think of anything else that we can try let me know.
Thanks
--
| Mark Loveley Broadband Solutions for
| Network Engineer Home & Business @
| PlusNet plc. www.plus.net
+ ----- PlusNet - The smarter way to broadband ------
Duplicate config when polling Foundry ServerIrons [ In reply to ]
Thu, Feb 17, 2005 at 05:13:05PM +0000, Mark Loveley:
> Sure enough I get some duplicated lines, time to raise a bug with
> foundry methinks, the cli on the SI GTE series just isn't as good as on
> the Bigirons, copying and pasting config also has problems....

good luck. i tried for over 3 years to get them to fix bigiron cli bugs.
their response was that "customers had become accustomed to the behavior."