Traffic shaping in Cable Modem | docsis.org

You are here

Traffic shaping in Cable Modem

3 posts / 0 new
Last post
astrit
Traffic shaping in Cable Modem

Hi all,

I'm trying to do a kind of traffic shaping in Cable Modem, so when traffic reaches the maximum sustained rate of a service flow, the ping reply from cable modem to be stable, not to go from 300 ms to 2000 ms.

Is this related to MaxTrafficBurst maybe?

Below is one of my service flow:.

Upstram Flow
Service Flow Reference = 1
QoS Parameter Set = 7
Traffic Priority = 1
Max Sutained Rate = 512000

I will appriciate any suggestion from you.

Regards,
Astrit

kwesibrunee
What you need to do is

What you need to do is classify your traffic there are two approaches to doing this

1. Classify ICMP traffic and assign it to its own dedicated flow.

2. Classify Everything but ICMP traffic and assign it a distinct flow.

I would reccomend the first option.

so first step would be to add another traffic flow. Both upstream and downstream.

something like this

Upstram Flow
Service Flow Reference = 101
QoS Parameter Set = 7
Traffic Priority = 5
Max Sutained Rate = 51600 # note 51k not 512 kilobits.

Then create a Classifier that identifies ICMP traffic, i.e. protocol type of 1 and assign it to service flow 101.
then repeat for the downstream flow/classifier.

This works beacuse traffic that is not classified is assigned to the default (read first) service flow. So all your upstream ICMP traffic will be classified on service flow 101 with 51k of bandwidth and a slightly higher priority.

astrit
Yes you right, below is what

Yes you right, below is what I did yesterday, and it worked:

UsServiceFlow
{
UsServiceFlowRef 7;
QosParamSetType 7;
TrafficPriority 2;
MaxRateSustained 1000;
}

UsPacketClass
{
ClassifierRef 7;
ServiceFlowRef 7;
ActivationState 1;
IpPacketClassifier
{
IpProto 1;
}
}

Another thing that is worrying me is, how to write a service flow so that Cable Modem to do queuing and not dropping of packets when the service flow Max Sustained traffic is reached?

Thanks Astrit.

Log in or register to post comments