Hello,
I try to configure QoS on my router. My configuration is very simple but I have a little problem I dont understand.
First step, I use an ACL to match packets and set DSCP to af41 :
access-list 101 permit tcp any any eq 3389
access-list 101 permit tcp any any eq 22
class-map match-all MarkRDP
match access-group 101
policy-map ClassificationQoS
class MarkRDP
set ip dscp af41
interface GigabitEthernet0/1.101
encapsulation dot1Q 101
ip address 10.10.10.1 255.255.255.0
ip nat inside
...
service-policy input ClassificationQoS
My conf is correct, it's working :
#sh policy-map interface Gi0/1.101
GigabitEthernet0/1.101
Service-policy input: ClassificationQoS
Class-map: MarkRDP (match-all)
10050 packets, 825827 bytes
5 minute offered rate 4000 bps, drop rate 0 bps
Match: access-group 101
QoS Set
dscp af41
Packets marked 7021
Class-map: class-default (match-any)
56700 packets, 7301625 bytes
5 minute offered rate 43000 bps, drop rate 0 bps
Match: any
class-map match-all MatchRDPmatch ip dscp af41policy-map RegulationTraficclass MatchRDPbandwidth percent 5class class-defaultfair-queuerandom-detectrandom-detect precedence 6 30 40 4interface Dialer0bandwidth 768bandwidth receive 3776ip nat outside...service-policy output RegulationTrafic
#sh policy-map interface Dialer0Dialer0Service-policy output: RegulationTraficClass-map: MatchRDP (match-all)3090 packets, 229558 bytes5 minute offered rate 2000 bps, drop rate 0 bpsMatch: ip dscp af41 (34)QueueingOutput Queue: Conversation 267Bandwidth 5 (%)Bandwidth 38 (kbps)Max Threshold 64 (packets)(pkts matched/bytes matched) 0/0(depth/total drops/no-buffer drops) 0/0/0
This does appear to be working. The class map 'MatchRDP' is matching traffic as demonstrated by the 3090 packets in line 4 of the 'show policy-map interface dialer 0' output.
CBWFQ engages when there is congestion. If there isn't any congestion the queuing counters at the bottom of the output will not increase.
Chris
Is your layer 2 encap ppp ?
Could you post a sh run of the interfaces and the complete dialer config ?