
C613-50186-01 Rev B
Command Reference for AR2050V
1108
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
AGGREGATE
-
ADDRESS
then the device will advertise the prefix
172.0.0.0/8
, but no component routes
like
172.10.0.0/16
The
as-set
parameter controls the AS-path attribute that is advertised with the
aggregate route. If the device has learned multiple routes that are within the range
of the aggregate address/mask, and the AS-paths associated with those routes
contain different sets of AS-numbers, then it is not possible to create a single
AS-path that accurately represents the AS-paths of all those component routes. In
this case, the device will, by default, advertise a NULL AS-path with the aggregate.
Usage [BGP4+]
If the
summary-only
parameter is specified, then only the aggregate
address/mask will be advertised, and none of the component addresses that fall
within the range of the aggregate address/mask. For example, if you configure:
then the device will advertise the prefix 2001:0db8::/64, but no component routes
like 2001:0db8:010d::1/128
Examples [BGP]
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
aggregate-address 192.0.0.0/8 as-set
summary-only
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
no aggregate-address 192.0.0.0/8 as-set
summary-only
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# aggregate-address 172.0.0.0/8 summary-
only
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)#address-family ipv6
awplus(config-router-af)# aggregate-address 2001:0db8::/64
summary-only