Aggregating routes advertised to bgp4 neighbors – Brocade BigIron RX Series Configuration Guide User Manual

Page 912

Advertising
background image

834

BigIron RX Series Configuration Guide

53-1002484-04

Aggregating routes advertised to BGP4 neighbors

27

Issuing a show ip route on Router 1 and Router 2 shows “drop” under the Port column for the
network prefixes you configured with null0 routing.

Aggregating routes advertised to BGP4 neighbors

By default, the BigIron RX advertises individual routes for all the networks. The aggregation feature
allows you to configure the device to aggregate routes in a range of networks into a single network
prefix. For example, without aggregation, the device will individually advertise routes for networks
207.95.1.0/24, 207.95.2.0/24, and 207.95.3.0/24. You can configure the device to instead send a
single, aggregate route for the networks. The aggregate route can be advertised as 207.95.0.0/16.

To aggregate routes for 209.157.22.0/24, 209.157.23.0/24, and 209.157.24.0/24, enter the
following command.

BigIron RX(config-bgp)# aggregate-address 209.157.0.0 255.255.0.0

Syntax: aggregate-address <ip-addr> <ip-mask> [as-set] [summary-only] [suppress-map

<map-name>] [advertise-map <map-name>] [attribute-map <map-name>]

The <ip-addr> and <ip-mask> parameters specify the aggregate value for the networks. Specify 0
for the host portion and for the network portion that differs among the networks in the aggregate.
For example, to aggregate 10.0.1.0/24, 10.0.2.0/24, and 10.0.3.0/24, enter the IP address
10.0.0.0 and the network mask 255.255.0.0.

The as-set parameter causes the router to aggregate AS-path information for all the routes in the
aggregate address into a single AS-path.

The summary-only parameter prevents the router from advertising more specific routes contained
within the aggregate route.

The suppress-map <map-name> parameter prevents the more specific routes contained in the
specified route map from being advertised.

BigIron RX# show ip route

Total number of IP routes: 133

Type Codes - B:BGP D:Connected S:Static R:RIP O:OSPF; Cost - Dist/Metric

Destination Gateway Port Cost Type

1 9.0.1.24/32 DIRECT loopback 1 0/0 D

2 30.0.1.0/24 DIRECT eth 2/7 0/0 D

3 40.0.1.0/24 DIRECT eth 2/1 0/0 D

.

13 110.0.0.6/31 90.0.1.3 eth 2/2 20/1 B

14 110.0.0.16/30 90.0.1.3 eth 2/2 20/1 B

15 110.0.0.40/29 DIRECT drop 200/0 B

. .. . . . .

42 115.0.0.192/27 DIRECT drop 200/0 B

43 115.0.1.128/26 30.0.1.3 eth 2/7 20/1 B

. .. . . . .

69 120.0.7.0/24 70.0.1.3 eth 2/10 20/1 B

70 120.0.14.0/23 DIRECT drop 200/0 B

. .. . . . .

. .. . . . .

131 130.144.0.0/12 80.0.1.3 eth 3/4 20/1 B

132 192.168.0.1/32 DIRECT drop 1/1 S

BigIron RX#

Advertising