Tuesday, September 4, 2018

IOS XE - BGP Based Queues

Hello Redditors,

Here's the scenario, I've tried to a find a function for this but I haven't so far:

We have several upstreams, but the issue where I work is the fact that the bandwidth is sold as metered by region, say you get 1 Gbps line and then it's metered like this:

  • 100 Mbps towards region A
  • 200 Mbps towards Region B
  • 1 Gbps if towards Region C

Those regions are easy to filter using BGP AS_PATH regex, I can tag the prefixes by filtering them using such regex, so let's say Region A has community 65500:1000 applied, region B has 65500:1001 applied, region C has 65500:1002 applied.

We use MikroTiks and are planning to move away from them due to the amount of bandwidth we're now seeing and the fact that those devices just can't hold the load, those devices allowed us to tweak a lot of things and even build QoS mappings using data from BGP (by means of filtering and scripting). Management want to go to Cisco and want to know if this is doable, we're looking at the ASR1000 series (IOS-XE).

In short this is what we need:

  • Tag BGP routes in with communities based on AS_PATH (easy to do with route-maps)
  • Based on those communities apply Queing policies, say police 50 Mbps when traffic is directed towards region B or police to 30 Mbps when traffic is sourced from IP X.X.X.X and goes to region C

Is there any way to achieve this with this platform? thank you in advance.



No comments:

Post a Comment