Problems setting up service flows | docsis.org

You are here

Problems setting up service flows

3 posts / 0 new
Last post
josh
Problems setting up service flows

I'm trying to set up a couple upstream and downstream service flows to prioritize traffic to our voip server. Seems strait forward enough, but I can't seem to get it to work. I've tried a number of sample configs with no success. Here's my latest rev if someone can please critique it.

DsServiceFlow
{
DsServiceFlowRef 100;
QosParamSetType 7;
TrafficPriority 3;
MaxRateSustained 10000000;
}
DsServiceFlow
{
DsServiceFlowRef 101;
QosParamSetType 7;
TrafficPriority 7;
MaxRateSustained 128000;
}
UsServiceFlow
{
UsServiceFlowRef 201;
QosParamSetType 7;
TrafficPriority 7;
MaxTrafficBurst 3044;
MaxConcatenatedBurst 1522;
MaxRateSustained 1280000;
}
UsServiceFlow
{
UsServiceFlowRef 200;
QosParamSetType 7;
TrafficPriority 3;
MaxTrafficBurst 3044;
MaxConcatenatedBurst 1522;
MaxRateSustained 2000000;
}
DsPacketClass
{
ServiceFlowRef 101;
ClassifierRef 101;
RulePriority 1;
ActivationState 1;
IpPacketClassifier
{
IpSrcAddr 172.31.64.2;
IpSrcMask 255.255.255.255;
}
}
UsPacketClass
{
ServiceFlowRef 201;
ClassifierRef 201;
RulePriority 1;
ActivationState 1;
IpPacketClassifier
{
IpDstAddr 172.31.64.2;
IpDstMask 255.255.255.255;
}
}

On the CMTS

#show cable mode 0023.7415.f522 service-flow verbose

SUMMARY:
MAC Address IP Address I/F MAC Prim RxPwr Timing Num BPI
State Sid (dBmV) Offset CPE Enb
0023.7415.f522 172.31.35.172 C4/0/U0 online(pt) 32 19.00 1316 1 Y

Sfid Dir Curr Sid Sched Prio MaxSusRate MaxBrst MinRsvRate Throughput
State Type
79 US act 32 BE 7 1280000 3044 0 0
143 US act 64 BE 3 2000000 3044 0 0
80 DS act N/A BE 3 10000000 3044 0 0
144 DS act N/A BE 7 128000 3044 0 0

CfrId SFID CM Mac Address Direction State Priority Matches

1 79 0023.7415.f522 upstream active 1 -
2 144 0023.7415.f522 downstream active 1 3

UPSTREAM SERVICE FLOW DETAIL:

Sfid : 79
Mac Address : 0023.7415.f522
Type : Primary
Direction : Upstream
Current State : Active
Current QoS Indexes [Prov, Adm, Act] : [5, 5, 5]
Active Time : 00:50
Sid : 32
Traffic Priority : 7
Maximum Sustained rate : 1280000 bits/sec
Maximum Burst : 3044 bytes
Minimum Reserved Rate : 0 bits/sec
Admitted QoS Timeout : 200 seconds
Active QoS Timeout : 0 seconds
Packets : 15
Bytes : 1730
Rate Limit Delayed Grants : 0
Rate Limit Dropped Grants : 0
Current Throughput : 621 bits/sec, 0 packets/sec
Application Priority : 0
Classifiers:

Classifier Id : 1
Service Flow Id : 79
CM Mac Address : 0023.7415.f522
Direction : upstream
Activation State : active
Classifier Matching Priority : 1
PHSI : 0
Number of matches : -
IP Classification Parameters:
Destination IP Address : 172.31.64.2
Destination IP Address Mask : 255.255.255.255
Sid : 32
Request polls issued : 0
BWReqs {Cont,Pigg,RPoll,Other} : 17, 0, 0, 0
No grant buf BW request drops : 0
Rate exceeded BW request drops : 0
Grants issued : 18
Packets received : 15
Bytes received : 1730
rate-adapt : Enabled
rate-adapt {rcvd, Consec-PB} : 8743, 0
Fragment reassembly completed : 0
Fragment reassembly incomplete : 0
Concatenated packets received : 0
Queue-indicator bit statistics : 0 set, 0 granted
Good Codewords rx : 49
Corrected Codewords rx : 1
Uncorrectable Codewords rx : 0
Concatenated headers received : 0
Fragmentation headers received : 0
Fragmentation headers discarded: 0

Sfid : 143
Current State : Active
Sid : 64
Traffic Priority : 3
Maximum Sustained rate : 2000000 bits/sec
Maximum Burst : 3044 bytes
Minimum Reserved rate : 0 bits/sec
Minimum Packet Size : 0 bytes
Admitted QoS Timeout : 200 seconds
Active QoS Timeout : 0 seconds
Maximum Concatenated Burst : 1522 bytes
Scheduling Type : Best Effort
Request/Transmission policy : 0x0
IP ToS Overwrite[AND-mask, OR-mask] : 0xFF, 0x0
Current Throughput : 0 bits/sec, 0 packets/sec

Sid : 64
Request polls issued : 0
BWReqs {Cont,Pigg,RPoll,Other} : 0, 0, 0, 0
No grant buf BW request drops : 0
Rate exceeded BW request drops : 0
Grants issued : 0
Packets received : 0
Bytes received : 0
rate-adapt : Enabled
rate-adapt {rcvd, Consec-PB} : 0, 0
Fragment reassembly completed : 0
Fragment reassembly incomplete : 0
Concatenated packets received : 0
Queue-indicator bit statistics : 0 set, 0 granted
Good Codewords rx : 0
Corrected Codewords rx : 0
Uncorrectable Codewords rx : 0
Concatenated headers received : 0
Fragmentation headers received : 0
Fragmentation headers discarded: 0

DOWNSTREAM SERVICE FLOW DETAIL:

Sfid : 80
Current State : Active
Sid : N/A
Traffic Priority : 3
Maximum Sustained rate : 10000000 bits/sec
Maximum Burst : 3044 bytes
Minimum Reserved rate : 0 bits/sec
Minimum Packet Size : 0 bytes
Admitted QoS Timeout : 200 seconds
Active QoS Timeout : 0 seconds
Maximum Latency : 0 usecs
Current Throughput : 434 bits/sec, 0 packets/sec

Sfid : 144
Current State : Active
Sid : N/A
Traffic Priority : 7
Maximum Sustained rate : 128000 bits/sec
Maximum Burst : 3044 bytes
Minimum Reserved rate : 0 bits/sec
Minimum Packet Size : 0 bytes
Admitted QoS Timeout : 200 seconds
Active QoS Timeout : 0 seconds
Maximum Latency : 0 usecs
Current Throughput : 138 bits/sec, 0 packets/sec

With this configuration, the downstream seems to get classified under the right service flow as it should. However all upstream traffic is sent through Sfid 79. It did create a Sfid 143, but nothing matches on it. Interestingly, it says the SID for Sfid 143 is 64, when my modems SID is 32. Can someone help me?

Also, as I understand it, each Sfid gets it's own independent limit, so that they don't usage on one service flow won't count against the bandwidth of another service flow. Is that correct?

Thanks

kwesibrunee
try your classifiers like

try your classifiers like this works for me

UsPacketClass
{
ClassifierRef 100;
ServiceFlowRef 2;
ActivationState 1;
IpPacketClassifier
{
IpProto 257;
IpSrcAddr 0.0.0.0;
IpSrcMask 0.0.0.0;
IpDstAddr 216.229.65.36;
IpDstMask 255.255.255.255;
}
RulePriority 1;
}
DsPacketClass
{
ClassifierRef 102;
ServiceFlowRef 102;
RulePriority 1;
ActivationState 1;
IpPacketClassifier
{
IpProto 257;
IpSrcAddr 216.229.65.36;
IpSrcMask 255.255.255.255;
IpDstAddr 0.0.0.0;
IpDstMask 0.0.0.0;
}
}

josh
Turns out there were a couple

Turns out there were a couple problems here. First, the "default" flow is the first one defined in the config. I didn't think order mattered, but I guess it does. So I had to swap the order of 200/201 to get it to behave as I expected.

The second problem is there seems to be a bug in ubr7200-ik9su2-mz.123-23.BC10.bin. Never did get it working on there. But I installed ubr7200-ik9su2-mz.123-23.BC8.bin and it seems to be working as expected.

Log in or register to post comments