North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: route statistics

  • From: Ralph Doncaster
  • Date: Mon May 20 13:29:21 2002

> > I'm trying to collect statistics on how many routes match certain
> > patterns.  So far I've been using zebra, set term len 0, and then sh ip
> > bgp regexp, and wait for the total prefixes count at the end of the list.
> > I figure there must be a better way than this, but so far haven't found
> > one.  Any ideas?
> 
> Zebra supports dumping the RIB to MRT binary format. See the 'dump bgp'
> family of commands. I find this format much easier to deal with than CLI
> output.
> 
> Bradley

I've been told getting the MRT sources to build is rather difficult.  I
may give it a shot anyway...

-Ralph