2 aggregate-address, Aggregate, Address – PLANET XGS3-24042 User Manual

Page 622

Advertising
background image


37-261

Switch(config-vrf)#exit

Switch(config)#router bgp 100

Switch(config-router)#address-family ipv4 vrf DC1

Switch(config-router-af)#

3) Enter BGP VPNv4 address-family mode.

Switch(config)#router bgp 100

Switch(config-router)#address-family vpnv4

Switch(config-router-af)#

37.2 aggregate-address

Command:

aggregate-address <ip-address/M> [summary-only] [as-set]

no aggregate-address <ip-address/M> [summary-only] [as-set]

Function:

Configure the aggregate-address. The “no aggregate-address <ip-address/M> [summary-only]

[as-set]” command deletes the aggregate-address.

Parameter:

<ip-address/M>: IP address, length of mask.

[summary-only]: Send summary only ignoring specific route.

[as-set]: Show AS on the path in list, each AS is shown once.

Default:

No aggregate configuration.

Command Mode:

BGP route mode, VRF address family mode

Usage Guide:

Address aggregation reduces spreading routing messages outside. Use summary-only option so to

spread aggregate route to the neighbors without spreading specific route. as-set option will list AS

from each route covered by the aggregation only once without repeat.

Example:

Switch(config-router)#aggregate-address 100.1.0.0/16 summary-only

Switch(config-router)#aggregate-address 100.2.0.0/16 summary-only as-set

Switch(config-router)#aggregate-address 100.3.0.0/16 as-set

Related Command:

bgp aggregate-nexthop-check, no bgp aggregate-nexthop-check

Advertising