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

Bandwidth sharing

Hello,

We have a requirement where we'd like to have a pool of bandwidth that can be dynamically shared between two sub-interfaces on a router.  For example, if we have a customer with two WAN links that aggregate back to the same router (on our side) we'd like to allocate the customer 50Mb that can be shared between the two services.  If the two interfaces try to use in excess of the 50Mb then the traffic is shaped (preferred) or policed.

Can anyone suggest how this could be achieved other than putting the two interfaces into a VRF and limiting an inbounf data feed to the VRF?

Thanks,

Jono

5 Replies 5

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hello Jono,

You can enable shaping on an interface (or sub-interface) in three easy steps. Check out the below example format by creating step by step appraoch.

class-map match-any CLASS_Test
 match any  In this case, we are going to assign all traffic to the CLASS_Test class.
Policy
policy-map POLICY_Test class CLASS_Test shape average 8000000
In this case, we're going to take any traffic that matched the CLASS_Test class ( With all traffic) and apply a shaping policy to it. As an example We use the shape average 8000000 configuration command to limit our speed (the CIR) to 8 Mbps. 

Another configuration command available for a policy map is bandwidth, which has a similar effect. Unfortunately, a policy map utilizing the bandwidth configuration command can not be applied to a sub-interface.

Now apply the configuration on interface 
interface GigabitEthernet0/3.429 encapsulation dot1Q 429 service-policy output POLICY_Test

With above matching based on ACL for IP subnet we can define the bandiwdth policing based on our requirement.

Hope it Helps..

-GI

Rate if it Helps...

Thanks Ganesh,

I already do quote a lot of shaping on individual sub-interfaces - my question was if a 'pool' of ip bandwidth could be allocated (shared) to a number of sub-interfaces.

Thanks,

Jono

Joseph W. Doherty
Hall of Fame
Hall of Fame

Are there only two subintefaces, or are there more than two subinterfaces but you only want to share 50 Mbps between two?

Hi Joseph,

Yes, there are just two sub-interfaces that need to share the 50Mb.

Thanks,

Jono

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Then you might only need to shape at the main interface for 50 Mbps.