Configuring BGP
To configure a BGP confederation, you must specify a confederation identifier that acts as the
autonomous system number for the group of autonomous systems.
Beginning in privileged EXEC mode, use these commands to configure a BGP confederation:
Command
Step 1
configure terminal
Step 2
router bgp autonomous-system
Step 3
bgp confederation identifier autonomous-system Configure a BGP confederation identifier.
Step 4
bgp confederation peers autonomous-system
[autonomous-system ...]
Step 5
end
Step 6
show ip bgp neighbor
show ip bgp network
Step 7
copy running-config startup-config
Configuring BGP Route Reflectors
BGP requires that all of the IBGP speakers be fully meshed. When a router receives a route from an
external neighbor, it must advertise it to all internal neighbors. To prevent a routing information loop,
all IBPG speakers must be connected. The internal neighbors do not send routes learned from internal
neighbors to other internal neighbors.
With route reflectors, all IBGP speakers need not be fully meshed because another method is used to
pass learned routes to neighbors. When you configure an internal BGP peer to be a route reflector, it is
responsible for passing IBGP learned routes to a set of IBGP neighbors. The internal peers of the route
reflector are divided into two groups: client peers and nonclient peers (all the other routers in the
autonomous system). A route reflector reflects routes between these two groups. The route reflector and
its client peers form a cluster. The nonclient peers must be fully meshed with each other, but the client
peers need not be fully meshed. The clients in the cluster do not communicate with IBGP speakers
outside their cluster.
When the route reflector receives an advertised route, it takes one of these actions, depending on the
neighbor:
•
•
•
Usually a cluster of clients have a single route reflector, and the cluster is identified by the route reflector
router ID. To increase redundancy and to avoid a single point of failure, a cluster might have more than
one route reflector. In this case, all route reflectors in the cluster must be configured with the same 4-byte
cluster ID so that a route reflector can recognize updates from route reflectors in the same cluster. All
the route reflectors serving a cluster should be fully meshed and should have identical sets of client and
nonclient peers.
Catalyst 3560 Switch Software Configuration Guide
30-60
A route from an external BGP speaker is advertised to all clients and nonclient peers.
A route from a nonclient peer is advertised to all clients.
A route from a client is advertised to all clients and nonclient peers. Hence, the clients need not be
fully meshed.
Purpose
Enter global configuration mode.
Enter BGP router configuration mode.
Specify the autonomous systems that belong to the
confederation and that will be treated as special EBGP peers.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Chapter 30
Configuring IP Unicast Routing
78-16156-01