Configuring NetFlow for BGP
The Border Gateway Protocol (BGP), defined in RFC 1771, provides loop-free interdomain routing between autonomous systems. (An autonomous system [AS] is a set of routers that operate under the same administration.) BGP is often run among the networks of Internet service providers (ISPs).
Enabling BGP RoutingEnter the global configuration mode and issue the following commands to enable BGP routing and establish a BGP routing process:
Configuring BGP NeighborsBGP supports two kinds of neighbors: internal and external. Internal neighbors are in the same autonomous system; external neighbors are in different autonomous systems. Normally, external neighbors are adjacent to each other and share a subnet, while internal neighbors may be anywhere in the same autonomous system.
To configure BGP neighbors, issue the following command in router configuration mode:
BGP Neighbor Configuration ExamplesThe following example shows how BGP neighbors on an autonomous system are configured to share information.
router bgp 109
In the example, a BGP router is assigned to autonomous system 109, and
two networks are listed as originating in the autonomous system. Then
the addresses of three remote routers (and their autonomous systems) are
listed. The router being configured will share information about networks
131.108.0.0 and 192.31.7.0 with the neighboring routers. The first router
listed is in a different autonomous system; the second neighbor's Including AS Info in Netflow ExportsIf you have configured BGP on your network, and want Netflow to report on autonomous systems (AS info), issue the following command on the router in global configuration mode:
Copyright © 2004-2008 AdventNet, Inc. All Rights Reserved. |