Chapter 10: BGP Configuration Guide
134
DIGITAL GIGAswitch/Router User Reference Manual
EBGP Aggregation Example
Figure 15
shows a simple EBGP configuration in which one peer is exporting an
aggregated route to its upstream peer and restricting the advertisement of contributing
routes to the same peer. The aggregated route is 212.19.192.0/19.
Figure 15. Sample BGP Configuration (Route Aggregation)
Router GSR8 has the following CLI configuration:
interface add ip xleapnl address-netmask 212.19.192.2/24
interface create ip hobbygate address-netmask 212.19.199.62/24 port
et.1.2
interface create ip xenosite address-netmask 212.19.198.1/24 port
et.1.7
interface add ip lo0 address-netmask 212.19.192.1/30
bgp create peer-group webnet type external autonomous system 64901
bgp add peer-host 194.109.86.5 group webnet
#
# Create an aggregate route for 212.19.192.0/19 with all its subnets as
# contributing routes
#
ip-router policy summarize route 212.19.192.0/19
ip-router policy redistribute from-proto aggregate to-proto bgp target-
as 64901 network 212.19.192.0/19
ip-router policy redistribute from-proto direct to-proto bgp target-as
64901 network all restrict
Physical Link
Legend:
Peering Relationship
AS-64901
GSR8
212.19.199.62/24
GSR9
AS-64900
212.19.198.1/24
212.19.192.2/24
194.109.86.6
194.109.86.5