AS_SETs are being removed from modern BGP practice because they make the AS path ambiguous and undermine mechanisms that need a clear ordered sequence of autonomous systems. The internet engineering community has been moving toward rejecting or eliminating routes containing them.
Why unordered AS paths became a liability
An AS_SET is an unordered collection of AS numbers that historically allowed route aggregation when several more-specific routes had different paths. The aggregator could preserve the fact that certain ASes were involved without asserting an order. That convenience creates problems: loop detection, path analysis and security validation work best when the AS_PATH describes a definite sequence. Modern routing scale and policy also make aggressive inter-domain aggregation far less useful than it once appeared.
Security work needs an ordered path
Eliminating AS_SETs simplifies the routing system and helps newer security work reason about paths. RPKI-based mechanisms such as ASPA need to evaluate relationships between neighbouring ASes; an unordered bag of AS numbers does not provide that information. Operators are therefore encouraged to stop originating them and to handle received AS_SET paths according to current routing-policy guidance.
Legacy routes can still appear
The transition is an operational change rather than proof that every old route containing an AS_SET was malicious. Legacy equipment, historical aggregation policy and stale configurations can still produce them. Networks should follow current IETF and vendor guidance when changing filters so that cleanup does not unexpectedly disconnect prefixes that have not yet been corrected upstream.
Related reading
- What Is ASPA? The New RPKI System for Checking BGP Paths
- RPKI vs IRR: What Is the Difference Between the Two Routing Databases?