03-11-2025 05:12 AM - edited 03-11-2025 05:25 AM
Hej
IoS XR - ASR9903
I am trying to create a route-policy that drops Any private BGP ASN number anywhere in the AS-path.
64512 to 65534 and 4200000000 to 4294967294
Can you help me how to create these Regex for these?
Regards
03-11-2025 07:43 AM - edited 03-11-2025 08:23 AM
Hi @oscardenizjensen ,
You simply need to use the command "remove as-path private-as" inside a route policy and apply the route policy to the appropriate neighbor.
Regards,
Harold
03-12-2025 05:34 AM
This is Internet facing and we do not want any routes with Private AS coming on Internet
03-12-2025 06:38 AM
Hi @oscardenizjensen ,
Thanks for the additional information. The approach I suggested should work then.
Regards,
Harold
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide