cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
920
Views
5
Helpful
5
Replies

originating-AS based shaping

gnijs
Level 4
Level 4

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

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

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

View solution in original post

5 Replies 5

Peter Paluch
Cisco Employee
Cisco Employee

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

Peter Paluch
Cisco Employee
Cisco Employee

Geert,

This is a more recent document although it seems that it is merely a copy&paste of the previous one.

http://www.cisco.com/en/US/docs/ios/iproute_pi/configuration/guide/iri_ip_prot_indep_ps10591_TSD_Products_Configuration_Guide_Chapter.html#wp1058278

Best regards,

Peter

I think Peter's link is the only solution to this

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

u welcome and looking forward to your Ask the Expert session

Review Cisco Networking for a $25 gift card