[90016] in North American Network Operators' Group
Re: Determine difference between 2 BGP feeds
daemon@ATHENA.MIT.EDU (Marco d'Itri)
Tue Apr 18 16:46:04 2006
Date: Tue, 18 Apr 2006 22:44:48 +0200
To: Scott Tuc Ellentuch at T-B-O-H <ml@t-b-o-h.net>
Cc: nanog@merit.edu
In-Reply-To: <200604182013.k3IKDC7H044130@himinbjorg.tucs-beachin-obx-house.com>
From: md@Linux.IT (Marco d'Itri)
Errors-To: owner-nanog@merit.edu
On Apr 18, Scott Tuc Ellentuch at T-B-O-H <ml@t-b-o-h.net> wrote:
> Is there a utility that I can use that will pull the
> routes off each router (Foundry preferred), and then compare
> them as best it can to see why there is such a difference?
I have one, but it's cisco-specific:
http://www.bofh.it/~md/software/cisco-tools-0.2.tgz (the dumppeers script)
Then you can easily find the missing routes with commands like:
awk '{print $1}' < ../routes/1.2.3.4 | sort > ROUTER1
awk '{print $1}' < ../routes/1.2.3.5 | sort > ROUTER2
comm -23 ROUTER1 ROUTER2 > MISSING2
--
ciao,
Marco