Cisco Cisco IOS Software Release 12.0(21)S

Pagina di 10
 
BGP 4 MIB Support for per-Peer Received Routes
  Feature Overview
2
Cisco IOS Release: Multiple releases (see the Feature History table)
of the CISCO-BGP4-MIB. The routes that were returned from a bgp4PathAttrTable query were indexed 
in the following order:
Prefix 
Prefix length 
Peer address 
Because the bgp4PathAttrTable indexes the prefixes first, obtaining routes learned from individual BGP 
peers will require the network operator to “walk through” the complete bgp4PathAttrTable and filter out 
routes from the interested peer. A BGP Routing Information Base (RIB) could contain 10,000 or more 
routes, which makes a manual “walk” operation impossible and automated walk operations very 
inefficient. 
BGP 4 MIB Support for per-Peer Received Routes introduces a Cisco-specific enterprise extension to 
the CISCO-BGP4-MIB that defines a new table called the cbgpRouterTable. The cbgpRouterTable 
provides the same information as the bgp4PathAttrTable with the following two differences: 
Routes are indexed in the following order: 
Peer address 
Prefix 
Prefix length 
The search criteria for SNMP queries of local routes are improved because peer addresses are 
indexed before prefixes. A search for routes that are learned from individual peers is improved with 
this enhancement because peer addresses are indexed before prefixes. A network operator will no 
longer need to search through potentially thousands of routes to obtain the learned routes of a local 
BGP RIB table. 
Support is added for multiprotocol BGP, Address Family Identifier (AFI), and Subsequent Address 
Family Identifier (SAFI) information. This information is added in the form of indexes to the 
cbgpRouterTable. The CISCO-BGP4-MIB can be queried for any combination of AFIs and SAFIs 
that are supported by the local BGP speaker. 
Note
The MIB will be populated only if the router is configured to run a BGP process. The present 
implementation of BGP 4 MIB Support for per-Peer Received Routes will show only routes contained 
in IPv4 AFI and unicast SAFI BGP local RIB tables. Support for showing routes contained in other local 
RIB tables will be added in the future.
BGP 4 per-Peer Received Routes Table Elements and Objects
The following sections describe new table elements, AFI and SAFI tables and objects, and network 
address prefixes in the Network Layer Reachability Information (NLRI) fields that have been introduced 
by the BGP 4 MIB Support for per-Peer Received Routes enhancement. 
MIB Tables and Objects
 describes the MIB indexes of the cbgpRouterTable. 
For a complete description of the MIB, see the CISCO-BGP4-MIB file CISCO-BGP4-MIB.my, available 
through Cisco.com at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml