QoS policies....
I have this config on my lab:
class-map match-all crap
match dscp 21
match dscp af21
class-map match-all bulk
match dscp af33
class-map match-all voice
match dscp ef
!
!
policy-map corp
class voice
priority percent 60
class bulk
bandwidth percent 10
class crap
bandwidth percent 5
random-detect
class class-default
fair-queue
So we have the Voice class configured using LLQ, and the bulk and crap classes configured using CBWFQ.
When i do a show policy-map int s2/0 i was expecting to see the words Weighted Fair Queue under the crap and bulk classes but all i get is:
R1#sh policy-map interface s2/0
Serial2/0
Service-policy output: corp
Class-map: voic (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: dscp ef (46)
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 60 (%)
Bandwidth 926 (kbps) Burst 23150 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0
Class-map: bulk (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: dscp af33 (30)
Queueing
Output Queue: Conversation 265
Bandwidth 10 (%)
Bandwidth 154 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
Class-map: crap (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: dscp 21
Match: dscp af21 (1
Queueing
Output Queue: Conversation 266
Bandwidth 5 (%)
Bandwidth 77 (kbps)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
exponential weight: 9
mean queue depth: 0
class Transmitted Random drop Tail drop Minimum Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh thresh prob
0 0/0 0/0 0/0 20 40 1/10
1 0/0 0/0 0/0 22 40 1/10
2 0/0 0/0 0/0 24 40 1/10
3 0/0 0/0 0/0 26 40 1/10
4 0/0 0/0 0/0 28 40 1/10
5 0/0 0/0 0/0 30 40 1/10
6 0/0 0/0 0/0 32 40 1/10
7 0/0 0/0 0/0 34 40 1/10
rsvp 0/0 0/0 0/0 36 40 1/10
Class-map: class-default (match-any)
13 packets, 922 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 256
(total queued/total drops/no-buffer drops) 0/0/0
So as you see under the bulk and crap classes it does not say what type of queuing method is in use.
If you have the cisco press book check out pages 161 and 162. Pretty much the same config as above and the output of the show policy-map command lists the type of queuing for all the classes....
Am i missing something here??
class-map match-all crap
match dscp 21
match dscp af21
class-map match-all bulk
match dscp af33
class-map match-all voice
match dscp ef
!
!
policy-map corp
class voice
priority percent 60
class bulk
bandwidth percent 10
class crap
bandwidth percent 5
random-detect
class class-default
fair-queue
So we have the Voice class configured using LLQ, and the bulk and crap classes configured using CBWFQ.
When i do a show policy-map int s2/0 i was expecting to see the words Weighted Fair Queue under the crap and bulk classes but all i get is:
R1#sh policy-map interface s2/0
Serial2/0
Service-policy output: corp
Class-map: voic (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: dscp ef (46)
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 60 (%)
Bandwidth 926 (kbps) Burst 23150 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0
Class-map: bulk (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: dscp af33 (30)
Queueing
Output Queue: Conversation 265
Bandwidth 10 (%)
Bandwidth 154 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
Class-map: crap (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: dscp 21
Match: dscp af21 (1
Queueing
Output Queue: Conversation 266
Bandwidth 5 (%)
Bandwidth 77 (kbps)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
exponential weight: 9
mean queue depth: 0
class Transmitted Random drop Tail drop Minimum Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh thresh prob
0 0/0 0/0 0/0 20 40 1/10
1 0/0 0/0 0/0 22 40 1/10
2 0/0 0/0 0/0 24 40 1/10
3 0/0 0/0 0/0 26 40 1/10
4 0/0 0/0 0/0 28 40 1/10
5 0/0 0/0 0/0 30 40 1/10
6 0/0 0/0 0/0 32 40 1/10
7 0/0 0/0 0/0 34 40 1/10
rsvp 0/0 0/0 0/0 36 40 1/10
Class-map: class-default (match-any)
13 packets, 922 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 256
(total queued/total drops/no-buffer drops) 0/0/0
So as you see under the bulk and crap classes it does not say what type of queuing method is in use.
If you have the cisco press book check out pages 161 and 162. Pretty much the same config as above and the output of the show policy-map command lists the type of queuing for all the classes....
Am i missing something here??
CCIE# 38186
showroute.net
showroute.net
Comments
-
networker050184 Mod Posts: 11,962 ModIn LLQ or CBWFQ each class you define gets a FIFO queue except the class-default which can alternativley be set for weighted fair queueing using the fair-queue command that you have used or FIFO if you do not set the fair-queue command. There is one caveate in the QoS exam cert guide that says 7500 series routers can support both WFQ and FIFO in all classes, but I've never tried it on one.
Not sure what output in the book you are talking about, I'll check it out when I get home though.An expert is a man who has made all the mistakes which can be made. -
rakem Member Posts: 800networker050184 wrote: »In LLQ or CBWFQ each class you define gets a FIFO queue except the class-default which can alternativley be set for weighted fair queueing using the fair-queue command that you have used or FIFO if you do not set the fair-queue command. There is one caveate in the QoS exam cert guide that says 7500 series routers can support both WFQ and FIFO in all classes, but I've never tried it on one.
Not sure what output in the book you are talking about, I'll check it out when I get home though.
Yea but see under the voice class it says Queuing, Strict Prioirty.
Check out the book when you can, it has Class Based Queuing under the other classes.
Even though each CBWFQ will be just a FIFO it still should say that you are using classed based queuingCCIE# 38186
showroute.net -
networker050184 Mod Posts: 11,962 ModThe output might vary depending on the IOS. I put your config on a 7200 running 12.3 and a 3640 running 12.4 and got the same exact output as you.An expert is a man who has made all the mistakes which can be made.
-
rakem Member Posts: 800networker050184 wrote: »The output might vary depending on the IOS. I put your config on a 7200 running 12.3 and a 3640 running 12.4 and got the same exact output as you.
Yea i also did my config on a 7200 on dynamips then on a 877 running 12.4 and got the same as well...
Not sure what IOS the Ciscopress guys use... oh well...
Sitting ONT tomorrow!CCIE# 38186
showroute.net