Aggregating routes advertised to bgp4 neighbors – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 225

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

211

53-1003246-01

Entering and exiting the address family configuration level

8

Entering and exiting the address family configuration level

The BGP4 address family contains a unicast sub-level.

To go to the IPv4 BGP4 unicast address family configuration level, enter the following command.

Virtual ADX(config-bgp)# address-family ipv4 unicast

Virtual ADX(config-bgp-router)#

NOTE

The CLI prompt for the global BGP4 level and the BGP4 address-family IPv4 unicast level is the same.

Syntax: [no] address-family ipv4 unicast

The default is the ipv4 unicast address family level.

To exit an address family configuration level, enter the following command.

Virtual ADX(config-bgp-ipv6u)# exit-address-family

Virtual ADX(config-bgp-router)#

Syntax: [no] exit-address-family

Aggregating routes advertised to BGP4 neighbors

By default, the device advertises individual routes for all networks. The aggregation feature allows
you to configure the device to aggregate routes from a range of networks into a single network
prefix. For example, without aggregation, the device will individually advertise routes for networks
10.95.1.0/24, 10.95.2.0/24, and 10.95.3.0/24. You can configure the device to end a single,
aggregate route for the networks instead. The aggregate route can be advertised as 10.95.0.0/16.

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

Virtual ADX(config-bgp)# aggregate-address 10.157.0.0 255.255.0.0

Syntax: [no] 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 device to aggregate AS-path information for all the routes in the
aggregate address into a single AS-path.

The summary-only parameter prevents the device 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 device to advertise the more specific
routes in the specified route map.

Advertising