PurposeCommand or Action
(Optional) Saves your entries in the configuration
file.
copy running-config startup-config
Example:
Device# copy running-config
Step 26
startup-config
Configuring Aggregate Addresses in a Routing Table
Procedure
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 1
Enters BGP router configuration mode.
router bgp autonomous-system
Example:
Device(config)# router bgp 106
Step 2
Creates an aggregate entry in the BGP routing
table. The aggregate route is advertised as
aggregate-address address mask
Example:
Device(config-router)# aggregate-address
10.0.0.0 255.0.0.0
Step 3
coming from the AS, and the atomic aggregate
attribute is set to indicate that information might
be missing.
(Optional) Generates AS set path information.
This command creates an aggregate entry
aggregate-address address mask as-set
Example:
Device(config-router)# aggregate-address
10.0.0.0 255.0.0.0 as-set
Step 4
following the same rules as the previous
command, but the advertised path will be an
AS_SET consisting of all elements contained
in all paths. Do not use this keyword when
aggregating many paths because this route must
be continually withdrawn and updated.
(Optional) Advertises summary addresses only.
aggregate-address address-mask
summary-only
Step 5
Example:
Device(config-router)# aggregate-address
10.0.0.0 255.0.0.0 summary-only
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
140
Configuring IP Unicast Routing
Configuring Aggregate Addresses in a Routing Table