.. _example_protocols_bgp_aggregate-address_aggregate-addressas-set: ######################## Aggregate-Address As-Set ######################## Scenario to verify BGP **aggregate-address as-set** configuration. The as-set option generates AS_SET path information for the aggregate route, preserving the AS path information from the contributing routes. This is useful for loop prevention when aggregating routes from multiple AS sources. .. image:: topologyas-set.svg :width: 800 ************************************** Test BGP Aggregate Address As-Set eBGP ************************************** Description =========== Test BGP **aggregate-address as-set** with eBGP. **DUT0** (AS 10) receives route ``192.168.1.0/24`` from **DUT1** (AS 20) and has local route ``192.168.2.0/24``. It aggregates both into ``192.168.0.0/16`` with as-set and announces to **DUT2** (AS 30). With as-set, **DUT2** sees AS_SET {20} in the path, preserving the origin AS information for loop prevention. Scenario ======== .. include:: aggregate-addressas-set/testbgpaggregateaddressas-setebgp .. raw:: html