04-07-2020 02:10 AM
Hi,
I'm trying to configure bandwidth limitation for customers on my 2900 series router, the customer is connected on a subunterface. Any idea on how this could be achieved will be highly appreciated.
04-07-2020 03:58 AM
Hello,
below is an example where you would limit the customer to 30MB:
policy-map SHAPE
class class-default
shape average 30000000
!
interface GigabitEthernet0/0.1
service-policy output SHAPE
04-07-2020 10:50 AM
Thanks Georg, but service policy command doesn't work on subunterface.
So how do I apply the policy map?
Also how do I ensure that the policy map works for both download and upload?
04-07-2020 11:15 AM
Hello,
sorry about that, my bad. You need a parent and a child policy:
policy-map CHILD_SHAPER
class class-default
shape average 30000000
!
policy-map PARENT_SHAPER
class class-default
shape average 3000000
service-policy CHILD_SHAPER
!
interface GigabitEthernet0/0.1
service-policy PARENT_SHAPER
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