CLI Guide

Table Of Contents
Layer 3 Routing Commands 1257
Example
The following example shows how to enter the VPN-IPv4 address family
mode and to distribute VPN4-IPv4 addresses to a neighbor with the extended
community attribute:
console(config)# router bgp 10
console(config-router)# neighbor 1.1.1.1 remote-as 5000
console(config-router)# address-family vpnv4 unicast
console(config-router-af)# neighbor 1.1.1.1 activate
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