09-19-2011 07:07 AM - edited 03-04-2019 01:39 PM
Hello all,
I was just wondering if the following was possible and if not, why oh why is it still not possible ?
I want to implement outbound traffic shaping based on the originating AS number
The router has a WAN interface over which it runs BGP. It receives a BGP table with routes that originate in a limited number of AS
systems (ie. 20 - 30).
Because the router needs to lookup the routing table (mm not bgp table but anyway), i was wondering if something like this was possible:
ip originating-as-filter X_Y 10 permit _65101$
ip originating-as-filter X_Y 20 permit _65100$
ip originating-as-filter Z 10 permit _65102$
class-map AS_X_Y
match ip originating-as-filter X_Y
class-map AS_Z
match ip originating-as-filter Z
policy-map AS_BASED_SHAPING
class-map AS_X_Y
bandwidth percent 10
class-map AS_Z
bandwidth percent 30
interface WAN
service-policy AS_BASED_SHAPING outbound
exit
I want to avoid having to hardcode all prefixes of remote AS systems by hand.
regards,
Geert
Solved! Go to Solution.
09-19-2011 07:28 AM
Geert,
Would the QoS Policy Propagation via BGP feature be helpful here? See the following document (it's kind of old but should still be accurate):
http://www.cisco.com/en/US/docs/ios/11_1/feature/guide/bgpprop.html#wp4901
I will try to find a more recent document and post it here.
Best regards,
Peter
09-19-2011 07:28 AM
Geert,
Would the QoS Policy Propagation via BGP feature be helpful here? See the following document (it's kind of old but should still be accurate):
http://www.cisco.com/en/US/docs/ios/11_1/feature/guide/bgpprop.html#wp4901
I will try to find a more recent document and post it here.
Best regards,
Peter
09-19-2011 07:47 AM
Geert,
This is a more recent document although it seems that it is merely a copy&paste of the previous one.
Best regards,
Peter
09-19-2011 02:40 PM
I think Peter's link is the only solution to this
09-19-2011 10:59 PM
Hello Marwan,
Thank you for confirming my suspicion. I personally was not aware of any other approach.
By the way, sincere congratulations to your new star color! You absolutely deserve it. And oh, would you mind checking your Private Messages/Notifications inbox here on CSC? I've sent you an invitation to my friends list
Best regards,
Peter
09-19-2011 11:13 PM
u welcome and looking forward to your Ask the Expert session
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