09-22-2016 02:20 AM - edited 03-05-2019 07:07 AM
Dear All,
I have a simple test set-up . with MPLS and L3vpn over it. I want the CE router to not see the ISP AS in the routes advertise from other CE router in same vrf connected to another PE router
How can i block the public AS of the ISP from being advertise in the BGP updates to the CE routers.The CE router should only see AS of the other CE router.
Topology is attached. I want CPE-1 to see only AS 1 in the BGP update and not AS4000 like
Route AS-path
4.4.4.4/32 4000 1
but i want to hide AS 4000 so something like this
4.4.4.4/32 1 1
Solved! Go to Solution.
09-22-2016 05:04 AM
Hello - If it is a lab setup i would suggest a try using "NEIGHBOR LOCAL-AS" command. This has to be configured in PE-2 ISP Router.
PE2(config-t)#neighbor x.x..x.x local-as 2
Please let me know if this works. Thanks
Regards/ SAIRAM
09-22-2016 05:04 AM
Hello - If it is a lab setup i would suggest a try using "NEIGHBOR LOCAL-AS" command. This has to be configured in PE-2 ISP Router.
PE2(config-t)#neighbor x.x..x.x local-as 2
Please let me know if this works. Thanks
Regards/ SAIRAM
09-22-2016 05:08 AM
Thanks for suggestion, but i tried..it gives an error saying "
% Cannot have local-as same as remote-as number
"
09-22-2016 05:45 AM
HI Sairam,
Yes i got it..it's working.additionally I added no-prepend and replace-as and now the public AS is also hidden..thanks
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