11-04-2021 11:29 AM
Hello All,
I have configured 3 class maps (class1. class2 and class3) on a CSR router.
Class Map match-any class2
Match access-group name acl2
Class Map match-any class3
Match access-group name acl3
Class Map match-any class1
Match access-group name acl1
There is policy-map p1 which uses all 3 class maps. And provide bandwidth 8kbps to class1, 16kbps to class2, and 24kbps to class3.
Policy Map p1
Class class1
bandwidth 8 (kbps)
fair-queue
Class class2
bandwidth 16 (kbps)
fair-queue
Class class3
bandwidth 24 (kbps)
fair-queue
But when traffic starts from the sources I see the following output of the 'show service-policy interface'.
Class-map: class1 (match-any)
3638 packets, 4516108 bytes
30 second offered rate 90000 bps, drop rate 0000 bps
Match: access-group name acl1
Class-map: class2 (match-any)
2240 packets, 2266272 bytes
30 second offered rate 90000 bps, drop rate 0000 bps
Fair-queue: per-flow queue limit 16 packets
Class-map: class3 (match-any)
2536 packets, 2634912 bytes
30 second offered rate 91000 bps, drop rate 0000 bps
Match: access-group name acl3
I see class1 is offered 90 kbps , class2 is offered 90kbps and class3 is offered 91kbps.
According to the configuration class1 should be offered 8kbps and class2 should be offered 16kbps and class3 should be offered 24kbps. Is this the expected output?
Thanks,
Sachin
Solved! Go to Solution.
11-05-2021 09:04 AM
"Is this the expected output?"
Yes.
NB: the bandwidth allocations apply to egress dequeuing ratios. If all 3 classes each wanted all the available bandwidth, egress ratios should be, in this case, 1:2:3, which may, or may not, impact offered rates. (Basically, offered rate is the rate of traffic being sent to the interface, for egress.)
11-05-2021 09:04 AM
"Is this the expected output?"
Yes.
NB: the bandwidth allocations apply to egress dequeuing ratios. If all 3 classes each wanted all the available bandwidth, egress ratios should be, in this case, 1:2:3, which may, or may not, impact offered rates. (Basically, offered rate is the rate of traffic being sent to the interface, for egress.)
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