Administrator Guide
aggregate—address address-mask
Use the aggregate-address command without any keywords to create an aggregate entry if any specic BGP routes are available
in the specied range.
Example of conguring aggregate routes using BGP
DellEMC# configure terminal
DellEMC(conf)# router bgp 100
DellEMC(conf-router_bgp)# aggregate-address 10.1.1.0/24
DellEMC(conf-router_bgp)# exit
DellEMC(conf)#
Following is the sample output of show ip bgp command.
DellEMC# show ip bgp
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 30.30.30.30
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed
n - network, D - denied, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>r 3.3.3.0/24 0.0.0.0 0 32768 ?
s>r 10.1.1.0/30 0.0.0.0 0 32768 ?
*>r 30.30.30.30/32 0.0.0.0 0 32768 ?
*>a 10.1.1.0/24 0.0.0.0 32768 ?
Suppressing BGP aggregate routes
The routes that are suppressed are not advertised to any of the BGP neighbors. You can suppress the aggregate routes using the
suppress-map or summary-only options in the aggregate-address conguration. To suppress the advertisement of the
aggregate routes using BGP, use the following commands.
• Create an aggregate entry and suppress the advertisement of specic routes to all neighbors.
CONFIG-ROUTER-BGP mode
aggregate—address address-mask summary-only
• Create an aggregate entry and suppress the advertisement of specic routes.
CONFIG-ROUTER-BGP mode
aggregate—address address-mask suppress-map map-name
The suppress-map keyword creates the aggregate route but suppress the advertisement of specied routes. The routes that are
suppressed are not advertised to the neighbors. You can use
match clause of route maps to selectively suppress the specic route
from the aggregate routes.
Example of suppressing aggregate routes using BGP
Following is the sample conguration to suppress the advertisement of specic aggregate routes.
DellEMC# configure terminal
DellEMC(conf)# router bgp 100
DellEMC(conf-router_bgp)# aggregate-address 10.1.1.0/24 suppress-map map1
DellEMC(conf-router_bgp)# exit
DellEMC(conf)#
The route-map named map1 can have any action such as permit and sequence number congured, so that the advertisement of
aggregate routes can be suppressed based on the set action in the route-map.
208
Border Gateway Protocol (BGP)