Andre van der Merwe | 11 Feb 2005 15:51
Picon

Cisco 1900s, fru, AS5300s and AS5400s...


Hi

NOTE:
This is for -test- purpose only please don't patch your
live systems...

We have added the following to the version RANCID (2.3.1) we run.

 - fru / product code support
 - 1900 improved support, (I hope :) )
 - Cisco AS5300, AS5400 basic "Slot" support

FRU/product code.

The additional field within the "Slot" field has been added and called
"fru" for now, this is the product "fru" code. The ability for 
RANCID to pick this up is based on the IOS you run and the age 
of the PA/NM cards. As usual Cisco does not have a standard way of 
doing this, so there a bit of kludging to make it work. 

Here is the "fru" field as shown in the sample below.

!RANCID-CONTENT-TYPE: Cisco
!
!Chassis type: 7206VXR - a 7200 router
!CPU: NPE-G1, SB-1 CPU at 700Mhz, impl 1025, Rev 0.2, 512KB L2 Cache
!
<snip>
!     
(Continue reading)

john heasley | 12 Feb 2005 01:32

Re: Cisco 1900s, fru, AS5300s and AS5400s...

Fri, Feb 11, 2005 at 04:51:55PM +0200, Andre van der Merwe:
>  - 1900 improved support, (I hope :) )
> 
> The other thing we have done is hopefully improve the Cat 1900 support by adding
> some pager handling stuff to clogin, we are now able to use RANCID collect       
> configs from our group of 1900's they don't support "term length 0" as far as I can
> see.
> 
> Here is the basic mod to "clogin".
> 
> --------
> 531a532,535
> >               # 1900 pager sucks
> >               -re "^\[\n\r]*^--More--\[\n\r\]*" { send " "
> >                                                 exp_continue}
> >               #
> 561a566,569      
> >               # 1900 Pager sucks
> >               -re "^\[\n\r]*^--More--\[\n\r]*" { send " "
> >                                                 exp_continue}
> >               #
> --------         

could you try ftp://ftp.shrubbery.net/pub/rancid/clogin.in

I think all the 1900 issues were worked-out.

john heasley | 16 Feb 2005 18:59

Re: 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. 
> 
>  <at>  <at>  -410,8 +410,10  <at>  <at> 
>   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.

Mark Loveley | 17 Feb 2005 18:13
Favicon

Re: Duplicate config when polling Foundry ServerIrons

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
(Continue reading)

john heasley | 17 Feb 2005 18:23

Re: Duplicate config when polling Foundry ServerIrons

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."


Gmane