Aggregating routes advertised to bgp4 neighbors – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 341

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

323

53-1002603-01

Optional BGP4 configuration tasks

Commands for router C

BrocadeC(config)#router bgp

BrocadeC(config-bgp-router)#local-as 64513

BrocadeC(config-bgp-router)#confederation identifier 10

BrocadeC(config-bgp-router)#confederation peers 64512 64513

BrocadeC(config-bgp-router)#write memory

Commands for router D

BrocadeD(config)#router bgp

BrocadeD(config-bgp-router)#local-as 64513

BrocadeD(config-bgp-router)#confederation identifier 10

BrocadeD(config-bgp-router)#confederation peers 64512 64513

BrocadeD(config-bgp-router)#write memory

Aggregating routes advertised to BGP4 neighbors

By default, the Layer 3 switch advertises individual routes for all the networks. The aggregation
feature allows you to configure the Layer 3 switch to aggregate routes in a range of networks into a
single CIDR number. For example, without aggregation, the Layer 3 switch will individually advertise
routes for networks 10.95.1.0, 10.95.2.0, and 10.95.3.0. You can configure the Layer 3 switch to
instead send a single, aggregate route for the networks. The aggregate route would be advertised
as 10.95.0.0.

NOTE

To summarize CIDR networks, you must use the aggregation feature. The auto summary feature
does not summarize networks that use CIDR numbers instead of class A, B, or C numbers.

To aggregate routes for 10.157.22.0, 10.157.23.0, and 10.157.24.0, enter the following command.

Brocade(config-bgp-router)#aggregate-address 10.157.0.0 255.255.0.0

Syntax: aggregate-address ip-addr ip-mask [as-set] [nlri multicast | unicast | multicast unicast]

[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, 10.0.2.0, and 10.0.3.0, 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 nlri multicast | unicast | multicast unicast parameter specifies whether the neighbor is a
multicast neighbor or a unicast neighbor. Optionally, you also can specify unicast if you want the
Layer 3 switch to exchange unicast (BGP4) routes as well as multicast routes with the neighbor. The
default is unicast only.

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.

The advertise-map map-name parameter configures the router to advertise the more specific
routes in the specified route map.

Advertising