cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
0
Helpful
3
Replies

Class-based traffic shaping questions

zrunner626
Level 1
Level 1

Recently, we’ve experienced some flapping on our internet facing interface. I noticed the “Lost Carrier” counter increasing. After swapping our cable and the ISP testing their equipment and cabling, no problems found, they suggested I needed to put a shaper on the interface.
I’m not terribly familiar with shapers other than the reading I’ve done this weekend.

Better to do average or peak setting? Would I want to apply the service-policy both inbound and outbound? (I would think LAN speed choked down to MB would be the problem and need for shaping)

Here’s what I was thinking for a 50MB circuit. Any input is appreciated!


policy-map 50MB_SHAPER
class class-default
shape average 50000000

interface gigabitethernet 0/1
service-policy output 50MB_SHAPER

1 Accepted Solution

Accepted Solutions

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

I would be nice if your ISP explained why a shaper would preclude interface flaps.

If your Internet connection only provides X amount of bandwidth, which is less than what the physical interface supports, a shaper can be used to manage your available bandwidth.

To some of your other questions, you can only shape egress, although you can police ingress or egress.  Normally, when using a shaper, you would use the "average" variant.

Many shapers don't appear to allow for L2 overhead, which often is what CIRs really describe.  So, sometimes you need to shape slower than your nominal CIR bandwidth.  (10 or 15% usually works well.)

View solution in original post

3 Replies 3

zrunner626
Level 1
Level 1

Also, does anyone have any ideas of why the interface would be flapping in the first place. I am not seeing the circuit maxed when the link goes down. The CPU is always bored. This is a 3845 router with 1GB RAM.

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

I would be nice if your ISP explained why a shaper would preclude interface flaps.

If your Internet connection only provides X amount of bandwidth, which is less than what the physical interface supports, a shaper can be used to manage your available bandwidth.

To some of your other questions, you can only shape egress, although you can police ingress or egress.  Normally, when using a shaper, you would use the "average" variant.

Many shapers don't appear to allow for L2 overhead, which often is what CIRs really describe.  So, sometimes you need to shape slower than your nominal CIR bandwidth.  (10 or 15% usually works well.)

I think they are grasping to offer a solution after all their testing showed up clean. They looked at utilization reports and saw one or two days where the max traffic spiked to near the circuit capacity and so they offered the shaper as the next step though, I know the flapping has occurred at times that we were not near capacity on the circuit.

Thanks for the info.