In what case,we need to create AS-SET objects in RIRs.
If i have to advertise a prefix from different ASNs in different region,do I need to create as-set object?
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.Sign up to join this community
route: object should include an
origin: AS<x> attribute associating the route with its BGP origin AS. You can create multiple route objects to announce the same prefix from multiple ASNs.
as-set: has a different use. If you have downstream ASNs, you may list them all in an as-set: then tell your transit providers & peers about your as-set. This saves you from having to inform them about each ASN -- helpful if your network is big enough that the list of downstream ASNs changes frequently (new customers, etc).
If you have multiple ASNs you use in different locations, you might consider listing all your ASNs in an
as-set: to simplify your transit providers' jobs when provisioning.