cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
479
Views
0
Helpful
2
Replies

Learning specific BGP routes based on communities

networkops3
Level 1
Level 1

Hello,

Im faced with a scenario that im not familiar with. We'll be installing MS expressroute over the near future and wanted to ask a question regarding learned routes from Microsoft.

Microsoft have a number of public ip ranges that they advertise in their various regions eg North Europe, West Europe etc. These are updated on a regular basis.

They also have BGP communities for each region eg North Europe 12076:51003 and West Europe 12076:51002. 

Is it possible to setup BGP on my routers in such a way to learn only routes based on the specific MS community value i.e i dont want all PIPs from MS only those from EuropeNorth?

cheers

2 Replies 2

Philip D'Ath
VIP Alumni
VIP Alumni

Not a complete example, but hopefully enough to get you started.

ip community-list standard azure-europe permit 12076:51003

route-map azure-europe permit 10
 match community azure-europe

router bgp xxx
  ...
  neighbour x.x.x.x route-map azure-europe in

Perfect. Thankyou

Review Cisco Networking for a $25 gift card