1-47
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring IP Unicast Routing
Configuring BGP
In BGP, each route consists of a network number, a list of autonomous systems that information has
passed through (the autonomous system path), and a list of other path attributes. The primary function
of a BGP system is to exchange network reachability information, including information about the list
of AS paths, with other BGP systems. This information can be used to determine AS connectivity, to
prune routing loops, and to enforce AS-level policy decisions.
A router or switch running Cisco IOS does not select or use an IBGP route unless it has a route available
to the next-hop router and it has received synchronization from an IGP (unless IGP synchronization is
disabled). When multiple routes are available, BGP bases its path selection on attribute values. See the
“Configuring BGP Decision Attributes” section on page 1-54 for information about BGP attributes.
BGP Version 4 supports classless interdomain routing (CIDR) so you can reduce the size of your routing
tables by creating aggregate routes, resulting in supernets. CIDR eliminates the concept of network
classes within BGP and supports the advertising of IP prefixes.
These sections contain this configuration information:
• Default BGP Configuration, page 1-47
• Enabling BGP Routing, page 1-50
• Managing Routing Policy Changes, page 1-52
• Configuring BGP Decision Attributes, page 1-54
• Configuring BGP Filtering with Route Maps, page 1-56
• Configuring BGP Filtering by Neighbor, page 1-56
• Configuring Prefix Lists for BGP Filtering, page 1-58
• Configuring BGP Community Filtering, page 1-59
• Configuring BGP Neighbors and Peer Groups, page 1-60
• Configuring Aggregate Addresses, page 1-62
• Configuring Routing Domain Confederations, page 1-63
• Configuring BGP Route Reflectors, page 1-63
• Configuring Route Dampening, page 1-64
• Monitoring and Maintaining BGP, page 1-65
For detailed descriptions of BGP configuration, see the “Configuring BGP” chapter in the “IP Routing
Protocols” part of the Cisco IOS IP Configuration Guide, Release 12.4. For details about specific
commands, see the Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols, Release 12.4.
For a list of BGP commands that are visible but not supported by the switch, see Appendix 1,
“Unsupported Commands in Cisco IOS Release 15.0(2)SE and Later.”
Default BGP Configuration
Table 1-9 shows the basic default BGP configuration. For the defaults for all characteristics, see the
specific commands in the Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols,
Release 12.4.