.. _example_protocols_bgp_address-family_ipv6-unicast_aggregate-address_aggregate-addressas-set: ######################## Aggregate-Address As-Set ######################## Scenario to verify BGP **address-family ipv6-unicast 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 IPv6 Aggregate Address As-Set eBGP ******************************************* Description =========== Test BGP **address-family ipv6-unicast aggregate-address as-set** with eBGP. **DUT0** (AS 10) receives route ``2001:db8:100::/64`` from **DUT1** (AS 20) and has local route ``2001:db8:200::/64``. It aggregates both into ``2001:db8::/32`` 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/testbgpipv6aggregateaddressas-setebgp .. raw:: html