Our customers want to have peering with our BGP Routers for their ip announcement under their AS. In that regard, our upstream providers(ISPs) suggested to include our AS and Customer's AS under our AS-Set as well as creating route object for our customer's Prefix.
I saw two types of AS-Set Hierarchical such as "AS-Foo" and non-hierarchical AS-SET such as "AS1:AS-Bar". I also referred rfc 2725 to understand difference between Hierarchical vs non-Hierarchical but could not figure it out which AS-Set I should create and what is the difference between them!!!!!!
Realistically, it's just a string and more a matter of preference, based on your internal naming conventions, than an issue of RFCs. For all practical purposes, the AS-SET will be used with irrtoolset to generate router configs. So, the most definitive way to determine how an AS-SET is handled is to look at the irrtoolset source code.
ASTUTE HOSTING: Advanced, customized, and scalable solutions with AS54527 Premium Canadian Optimized Network (Level3, PEER1, Shaw, Tinet) MicroServers.io: Enterprise Dedicated Hardware with IPMI at VPS-like Prices using AS63213 Affordable Bandwidth (Cogent, HE, Tinet) Dedicated Hosting, Colo, Bandwidth, and Fiber out of Vancouver, Seattle, LA, Toronto, NYC, and Miami