11-24-2015 01:27 PM - edited 03-08-2019 02:49 AM
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
11-27-2015 08:36 AM
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 theCLASS_Test
class.
Policypolicy-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 theshape average 8000000
configuration command to limit our speed (the CIR) to 8 Mbps.
Another configuration command available for a policy map isbandwidth
, which has a similar effect. Unfortunately, a policy map utilizing thebandwidth
configuration command can not be applied to a sub-interface.
Now apply the configuration on interfaceinterface 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...
11-29-2015 03:38 PM
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
11-28-2015 03:17 AM
Are there only two subintefaces, or are there more than two subinterfaces but you only want to share 50 Mbps between two?
11-29-2015 02:31 PM
Hi Joseph,
Yes, there are just two sub-interfaces that need to share the 50Mb.
Thanks,
Jono
11-30-2015 04:32 AM
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.
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