cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
996
Views
4
Helpful
8
Replies

class based shaping

Vinayaka Raman
Level 1
Level 1

There around 70 remote sites and head end is of 200 mbps MPLS WAN link..Platform: 7206VXR, IOS: 12.4(15)T7

The QOS configuration at present is attached..

At the head end, we would like to shape based on remote sites bandwidth. Having said that, how many classes should I create to achieve this? 70

Is there any other simplified way of achieving this ?

Remote Site MPLS bandwidth

No. of remote sites

64 kbps

3

128 kbps

3

256 kbps

2

384 kbps

2

512 kbps

6

768 kbps

6

1024 kbps

12

1536 kbps

14

2 mbps

1

3 mbps

18

4 mbps

3

Total

70

Regards Vinayak
1 Accepted Solution

Accepted Solutions

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 whatsoever (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

You dont say how the hub router is setup up?

No I didn't as OP was asking for better way.  I assume they know how, so just confirming they need one class per site.

How though would be like:

access-list extended Site1

permit ...

class-map match-all Site1

match access-group Site1

policy-map ShapeForSites

class Site1

shape average ###

class Site2

shape average ###

class Site#

shape average ###

View solution in original post

8 Replies 8

ravikantt
Level 1
Level 1

Hi Raman,

Classes would be as per the traffic type, not as per the site count. Define traffic classes, & use "bandwidth percent" command in there. It'll take care of rest of the things, in accordance of already configured bandwidth under the interface, & calculate percentage value revserved for a particular class.

Cheers

Ashok

let me explain further..

Look at my config..

On SITE_1MB_ACL, if i add 12 ACL entries (12*1 mbps sites) at the headend..Will the headend shape average collectively  1mbps to all12 remote sites OR  per site shape average to 1mbps ?

show ip access-lists SITE_1MB_ACL
Extended IP access list SITE_1MB_ACL

  10 permit ip any 10.40.58.0 0.0.0.255   remote site 1
  20 permit ip any 10.42.124.0 0.0.1.255  remote site 2

.

.

.

.

     xx permit ip any x.x.x.x y.y..ty remote site 12

Regards Vinayak

Okay.. you want do it on Hub location, based on the remote site IP subnet classification..!!!.....Any particular reason of deploying shaping in this way; I mean what 's goal you want achieve via this, that could help me suggest you better.

Cheers

Ashok

Joseph W. Doherty
Hall of Fame
Hall of Fame

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 whatsoever  (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

You'll need a class for each site (70) as you'll want to shape for each individually (even though some will be shaped at the same rate).

Hello
You dont say how the hub router is setup up?

Access -list 100 permit ip any any

Class-map 64
Match access-group 100

Policy-map 64_pm
Class 64
Shape average 64000


Class-map 128
Match access-group 100

Policy-map 128_pm
Class 128
Shape average 128000

Etc.....

Res
Paul


Sent from Cisco Technical Support iPad App


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

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 whatsoever (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

You dont say how the hub router is setup up?

No I didn't as OP was asking for better way.  I assume they know how, so just confirming they need one class per site.

How though would be like:

access-list extended Site1

permit ...

class-map match-all Site1

match access-group Site1

policy-map ShapeForSites

class Site1

shape average ###

class Site2

shape average ###

class Site#

shape average ###

I have inserted a new class-map Class SITE_NWK..
Yet I am seeing the traffic is bursting more that 100 percent in my graph..am i missing something..??

attached some outputs..

the remote site utilization graph shows inbound spikes for more than 100 percent..

Regards Vinayak

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 whatsoever (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

As I don't know what's considered 100% by your remote's monitoring, difficult to say, but if your monitoring is working with a shorter time scale than your policer/shaper, it may see > 100%.  Policer/shapers always transmit at line-rate, they just drop or delay some packets to bring the average rate to be the nominal rate.  Or, I believe most policer/shapers are measuring L3 while you're monitoring might be counting L2.

PS:

BTW why are you both shaping and policing 4.5 Mbps in the parent policy?

Also, in your child policy's voice class, as LLQ has its own implicit policer, you generally need to set its bandwidth higher than an explicit policer to insure you hit the explict policer's values and not the implicit policer's values.