Administrator Guide

Layer 3 Routing Commands 1247
console(config-router-af)# neighbor 1.1.1.1 send-community extended
console(config-router-af)# exit
console(config-router)#
aggregate-address
Use the aggregate-address command to configure a summary address for BGP.
Syntax
aggregate-address { ipv4-prefix mask | ipv6-prefix/prefix-length } [as-set]
[summary-only]
no aggregate-address { ipv4-prefix mask | ipv6-prefix/prefix-length } [as-set]
[summary-only]
ipv4-prefix mask
—A summary prefix and mask in dotted-quad notation.
The default route (0.0.0.0 0.0.0.0) cannot be configured as an aggregate-
address. The mask cannot be a 32-bit mask (255.255.255.255). The
combination of prefix and mask must be a valid IPv4 unicast destination
prefix
ipv6-prefix
—An IPv6 network prefix. This argument must be in the form
documented in RFC 2373 where the address is specified in hexadecimal
using 16-bit values between 0x00 and 0xff and separated by colons.
Counters are cleared only for the matching prefixes.
prefix-length
—The length of the IPv6 prefix given as part of the ipv6-
prefix. This is required if a prefix is specified. A decimal value in the range
0 to 128 that indicates how many of the high-order contiguous bits of the
address comprise the prefix (the network portion of the address) in /length
format. A slash must precede the decimal value in /length format.
as-set If the as-set option is configured, the aggregate is advertised with
a non-empty AS_PATH. (Normally, the aggregate is advertised with an
empty AS path and the ATOMIC_AGGREGATE attribute.) If the
AS_PATH of all contained routes is the same, the AS_PATH of the
aggregate is the AS_PATH of the contained routes. Otherwise, if the
contained routes have different AS_PATHs, the AS_PATH attribute
includes an AS_SET with each of the AS numbers listed in the AS PATHs
of the aggregated routes. If the as-set option is not configured, the
aggregate is advertised with an empty AS_PATH.