Default Redistribution and Route Aggregation Example
1. Configure the IP interface.
2. Configure the AS number (AS 135) and router ID (10.1.1.135)
3. Configure internal peer router 1 and external peer router 2 with IPv4 addresses.
4. Configure redistribution for Peer 1.
© Copyright Lenovo 2016
This example shows you how to configure the switch to redistribute information
from one routing protocol to another and create an aggregate route entry in the
BGP routing table to minimize the size of the routing table.
As illustrated in Figure
peer router. Configure the G8264 to redistribute the default routes from AS 200 to
AS 135. At the same time, configure for route aggregation to allow you to condense
the number of routes traversing from AS 135 to AS 200.
Figure 47. Route Aggregation and Default Route Redistribution
RS G8264(config)# router bgp
RS G8264(configrouterbgp)# as 135
RS G8264(configrouterbgp)# exit
RS G8264(config)# ip routerid 10.1.1.135
RS G8264(config)# router bgp
RS G8264RS G8264(configrouterbgp)# neighbor 1 remoteaddress 10.1.1.4
RS G8264(configrouterbgp)# neighbor 1 remoteas 135
RS G8264(configrouterbgp)# no neighbor 1 shutdown
RS G8264RS G8264(configrouterbgp)# neighbor 2 remoteaddress 20.20.20.2
RS G8264(configrouterbgp)# neighbor 2 remoteas 200
RS G8264(configrouterbgp)# no neighbor 2 shutdown
RS G8264(configrouterbgp)# neighbor 1 redistribute defaultaction
redistribute
RS G8264(configrouterbgp)# neighbor 1 redistribute fixed
47, you have two peer routers: an internal and an external
Switch
10.1.1.135
.
Chapter 34: Border Gateway Protocol
551