Re: [Idr] BGP MIB v2 input
Curtis Villamizar <curtis@occnc.com> Mon, 26 March 2007 23:08 UTC
Return-path: <idr-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HVyIl-0001mb-8q; Mon, 26 Mar 2007 19:08:35 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HVyIj-0001mR-Us for idr@ietf.org; Mon, 26 Mar 2007 19:08:33 -0400
Received: from [69.37.59.173] (helo=workhorse.brookfield.occnc.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HVyIi-0007Ui-J5 for idr@ietf.org; Mon, 26 Mar 2007 19:08:33 -0400
Received: from workhorse.brookfield.occnc.com (localhost [127.0.0.1]) by workhorse.brookfield.occnc.com (8.13.6/8.13.4) with ESMTP id l2QN0hN6077543; Mon, 26 Mar 2007 18:00:44 -0500 (EST) (envelope-from curtis@occnc.com)
X-DKIM: Sendmail DKIM Filter v0.5.2 workhorse.brookfield.occnc.com l2QN0hN6077543
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=occnc.com; s=workhorse; t=1174950044; bh=7u6kpt9dlukdYI4QE9Cp17IYNHU=; h=To:cc:Reply-To: From:Subject:In-reply-to:Date; b=q2iKpUnNnvjnIvIWd3hvmv80Og4LYNkWBi V9Mdr8QI2PaXiQOlW5CFXH7ci5qE7sQ/wZNq9QyqK6WT+1rZD6hg==
Message-Id: <200703262300.l2QN0hN6077543@workhorse.brookfield.occnc.com>
To: Bill Fenner <fenner@research.att.com>
From: Curtis Villamizar <curtis@occnc.com>
Subject: Re: [Idr] BGP MIB v2 input
In-reply-to: Your message of "Mon, 26 Mar 2007 22:16:13 BST." <200703262016.l2QKGEVi013401@bright.research.att.com>
Date: Mon, 26 Mar 2007 19:00:43 -0400
X-Spam-Score: 0.1 (/)
X-Scan-Signature: a7d6aff76b15f3f56fcb94490e1052e4
Cc: idr@ietf.org, Pekka Savola <pekkas@netcore.fi>
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: curtis@occnc.com
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
Errors-To: idr-bounces@ietf.org
In message <200703262016.l2QKGEVi013401@bright.research.att.com> Bill Fenner writes: > > > >Just wondering: the current BGP4 MIB already supports the routing > >databse (BGP4-MIB::bgp4PathAttrBest at least). Are you proposing > >dropping the equivalent functionality from the new MIB or just some > >more exciting new variants? > > That was my proposal, since getting a pathattr table that > nicely handles IP and non-IP NLRI is ... confusing. It also > can result in less than ideal behavior when walking the whole > MIB on a device that has hundreds of thousands of prefixes. I completely missed the non-IP issue here with the need for a MIB entry and sorting order covering both IP and non-IP. > >An example: I currently use both IP-FORWARD-MIB and > >BGP4-MIB::bgp4PathAttrBest in SNMP scripts by parsing the config files > >(interface-related routing protocol config to be exact) and checking > >them against operational policy (e.g., certain kinds of interface > >addresses must be in OSPF; others must not be in OSPF; some others > >must be in BGP; static routes must be in BGP; etc.). > > Interesting. I was looking it from the point of view of not knowing > exactly what prefix you were looking for (e.g., "show ip bgp 12.106.35.1" > without knowing that it's in a /22). The obvious thing to do is to grab > the whole table (probably inadvisable); there are more subtle ways but > none are very efficient. More likely do GET on a 12.106.35.1/32, and decrement prefix length to /31, etc, until something comes up. Not terribly efficient either. The route covering this could be 0/0. To handle IP and non-IP cleanly you almost need an object oriented MIB entry, where one order is used for IP and other types can define other orders. No such thing in SNMP AFAIK. > Bill Curtis _______________________________________________ Idr mailing list Idr@ietf.org https://www1.ietf.org/mailman/listinfo/idr
- [Idr] BGP MIB v2 input Susan Hares
- Re: [Idr] BGP MIB v2 input Simon Leinen
- Re: [Idr] BGP MIB v2 input Henk Uijterwaal
- Re: [Idr] BGP MIB v2 input Bill Fenner
- Re: [Idr] BGP MIB v2 input Pekka Savola
- Re: [Idr] BGP MIB v2 input Jeffrey Haas
- Re: [Idr] BGP MIB v2 input Curtis Villamizar
- Re: [Idr] BGP MIB v2 input Jeffrey Haas
- Re: [Idr] BGP MIB v2 input Curtis Villamizar
- Re: [Idr] BGP MIB v2 input Jeffrey Haas
- Re: [Idr] BGP MIB v2 input Pekka Savola
- Re: [Idr] BGP MIB v2 input Bill Fenner
- Re: [Idr] BGP MIB v2 input Jeffrey Haas
- Re: [Idr] BGP MIB v2 input Curtis Villamizar
- Re: [Idr] BGP MIB v2 input Curtis Villamizar
- Re: [Idr] BGP MIB v2 input Pekka Savola