cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
692
Views
0
Helpful
3
Replies

BGP -As advertisement

mustansirt
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

snarayanaraju
Level 4
Level 4

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

View solution in original post

3 Replies 3

snarayanaraju
Level 4
Level 4

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

Thanks for suggestion, but i tried..it gives an error saying "

% Cannot have local-as same as remote-as number

"

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 

Review Cisco Networking for a $25 gift card