DGS-6604
m
aggregate-address
CLI Reference Guide
38
aggregate-address
Use this command to configure BGP aggregate entries. Use the no form of the
command to disable this function.
aggregate-address
NETWORK-NUMBER/SUBNET-LENGTH
[summary-only] [as-set]
no aggregate-address
NETWORK-NUMBER/SUBNET-LENGTH
[summary-only] [as-set]
Default
Disabled
Command Mode
Router configuration
Usage Guideline
Aggregates are used to minimize the size of routing tables. Aggregation
combines the characteristics of several different routes and advertises a single
route. The
aggregate-address
command creates an aggregate entry in the BGP
routing table if any more-specific BGP routes are available in the specified range.
Using the
summary-only
parameter advertises the prefix only, suppressing the
more-specific routes to all neighbors.
The
as-set
parameter creates an aggregate entry advertising the path for this
route, consisting of all elements contained in all paths being summarized. Use
the
as-set
parameter to reduce the size of the path information by listing the AS
number only once, even if it was included in multiple paths that were aggregated.
The
as-set
parameter is useful when aggregation of information results in an
incomplete path information.
Example
This example shows how to propagate network 172.0.0.0 and suppresses the
more specific route 172.10.0.0:
Syntax Description
NETWORK-NUMBER/
SUBNET-LENGTH
Specifies the number of network and the length of network that BGP will
aggregate.
The format of NETWORK-NUMBER/SUBNET-LENGTH can be 10.9.18.2/8.
summary-only
(Optional) Filters all more-specific routes from updates.
as-set
(Optional) Generates autonomous system set path information.
Switch(config)# router bgp 65534
Switch(config-router)# aggregate-address 172.0.0.0/8 summary-only