cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1809
Views
20
Helpful
9
Replies

QOS Settings

m.yildiz
Level 1
Level 1

Dear Community,

i need little help with qos settings,

 

class-map match-any VIDEO
match dscp cs4
match dscp af41


class-map match-any DATA
match protocol tcp

policy-map QOS_OUT
class DATA
priority percent 50

class VIDEO
priority percent 25

class class-default
fair-queue
random-detect


int fa0/0
service-policy QOS_OUT out

 

are these settings correct? 
data qos should be internet surfing and so on, but somehow it not works,

please advice

thanks

9 Replies 9

balaji.bandi
Hall of Fame
Hall of Fame

I would suggest reserving only for video or voice since that is sensitive application rest use automatically for data.

 

So simplify config as below to  work as expected. ( in your example used only 50 and 25, what about rest ?)

 

So lets start with basic and add more option as it working.

 

class-map match-any VIDEO
 match dscp cs4
 match dscp af41
policy-map QOS_OUT
 class VIDEO
  priority percent 25
 class class-default
  fair-queue
  random-detect
interface FastEthernet0/0
 service-policy QOS_OUT out

 

 

test and advise, if not working post complete config

 

along with below output :

show policy-map interface FastEthernet 0/0

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi Sir,

 

how to delete the existing class maps

if i type no 

it shows class-map being used

 

thanks for help

hello sir

 

here is the output

 

C1111#show policy-map interface Gi0/0/0
GigabitEthernet0/0/0

Service-policy output: QOS_OUT

queue stats for all priority classes:
Queueing
queue limit 512 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0

Class-map: VIDEO (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: dscp cs4 (32)
Match: dscp af41 (34)
Priority: 25% (250000 kbps), burst bytes 6250000, b/w exceed drops: 0


Class-map: class-default (match-any)
2034694 packets, 2988370235 bytes
5 minute offered rate 52559000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 4166 packets
(queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
(pkts output/bytes output) 2034673/2988361535
Fair-queue: per-flow queue limit 1041 packets
Exp-weight-constant: 9 (1/512)
Mean queue depth: 0 packets
class Transmitted Random drop Tail/Flow drop Minimum Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh thresh prob

0 2034647/2988359711 0/0 0/0 1041 2083 1/10
1 10/540 0/0 0/0 1171 2083 1/10
2 1/54 0/0 0/0 1301 2083 1/10
3 0/0 0/0 0/0 1431 2083 1/10
4 0/0 0/0 0/0 1561 2083 1/10
5 0/0 0/0 0/0 1691 2083 1/10
6 15/1230 0/0 0/0 1821 2083 1/10
7 0/0 0/0 0/0 1951 2083 1/10
C1111#

 

 

C1111#show policy-map interface Gi0/0/0
 GigabitEthernet0/0/0

  Service-policy output: QOS_OUT

    queue stats for all priority classes:
      Queueing
      queue limit 512 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 0/0

    Class-map: VIDEO (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0000 bps, drop rate 0000 bps
      Match:  dscp cs4 (32)
      Match:  dscp af41 (34)
      Priority: 25% (250000 kbps), burst bytes 6250000, b/w exceed drops: 0


    Class-map: class-default (match-any)
      2034694 packets, 2988370235 bytes
      5 minute offered rate 52559000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 4166 packets
      (queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
      (pkts output/bytes output) 2034673/2988361535
      Fair-queue: per-flow queue limit 1041 packets
        Exp-weight-constant: 9 (1/512)
        Mean queue depth: 0 packets
        class       Transmitted      Random drop      Tail/Flow drop Minimum Maximum Mark
                    pkts/bytes       pkts/bytes      pkts/bytes   thresh  thresh  prob

        0         2034647/2988359711      0/0              0/0               1041          2083  1/10
        1              10/540             0/0              0/0               1171          2083  1/10
        2               1/54              0/0              0/0               1301          2083  1/10
        3               0/0               0/0              0/0               1431          2083  1/10
        4               0/0               0/0              0/0               1561          2083  1/10
        5               0/0               0/0              0/0               1691          2083  1/10
        6              15/1230            0/0              0/0               1821          2083  1/10
        7               0/0               0/0              0/0               1951          2083  1/10
C1111#

balaji.bandi
Hall of Fame
Hall of Fame

you need to follow below steps :

 

1. Remove the policy-map from the interface with the interface command no service-policy in|out

2. remove class map from Policy map

3. then make a change and re-apply.

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello
Can you elaborate the match on TCP as I think that isn't a valid classification and do you really require LLQ for that class?
Also suggest you apply some rate limiting on the wan interface so as not to exceed your committed access rate you have with your ISP and possibility adjust the rate limit that you apply to account for L2 overhead on the qos policy

class-map match-any DATA
match protocl tcp <---??

policy-map QOS_OUT
class VIDEO
priority percent 25
class DATA
priority percent 50 <-- or  bandwidth remaining percent 50 ?
class class-default
fair-queue
random-detect


policy-map QOS_OUT_parent
class class-default
shape average xx  (minus 5-10% for l2 overhead)
service-policy QOS_OUT


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

C1111#show policy-map interface Gi0/0/0
 GigabitEthernet0/0/0

  Service-policy output: QOS_OUT

    queue stats for all priority classes:
      Queueing
      queue limit 512 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 0/0

    Class-map: VIDEO (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0000 bps, drop rate 0000 bps
      Match:  dscp cs4 (32)
      Match:  dscp af41 (34)
      Priority: 25% (250000 kbps), burst bytes 6250000, b/w exceed drops: 0


    Class-map: class-default (match-any)
      2034694 packets, 2988370235 bytes
      5 minute offered rate 52559000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 4166 packets
      (queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
      (pkts output/bytes output) 2034673/2988361535
      Fair-queue: per-flow queue limit 1041 packets
        Exp-weight-constant: 9 (1/512)
        Mean queue depth: 0 packets
        class       Transmitted      Random drop      Tail/Flow drop Minimum Maximum Mark
                    pkts/bytes       pkts/bytes      pkts/bytes   thresh  thresh  prob

        0         2034647/2988359711      0/0              0/0               1041          2083  1/10
        1              10/540             0/0              0/0               1171          2083  1/10
        2               1/54              0/0              0/0               1301          2083  1/10
        3               0/0               0/0              0/0               1431          2083  1/10
        4               0/0               0/0              0/0               1561          2083  1/10
        5               0/0               0/0              0/0               1691          2083  1/10
        6              15/1230            0/0              0/0               1821          2083  1/10
        7               0/0               0/0              0/0               1951          2083  1/10
C1111#

balaji.bandi
Hall of Fame
Hall of Fame

i do see the matching in default - do you have any VOICE or Video device  to test?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello Sir,

no have voip phones.

video i can only iptv. Does that work?

 

my main goal is, that web application work smooth, all the users have fair policy. 
so no packages get lost.

 

low latency que or whatever is called.

thanks for help sir

Joseph W. Doherty
Hall of Fame
Hall of Fame

"are these settings correct? "

Answer depends on your QoS requirements.  That said, your policy it (ahem) unusual.

From what you posted in a later post, re-guarding QoS goals, something like this might be more suitable.

class-map match-any VIDEO
match dscp cs4
match dscp af41

policy-map QOS_OUT
class VIDEO
bandwidth percent 25

class class-default
bandwidth percent 75
fair-queue

int fa0/0
service-policy QOS_OUT out

If you video is "streaming" (you noted IPTV), you'll want to guarantee it a little more than its "average" video bandwidth requirement. If you see drops, try increasing its bandwidth allocation in very small increments and/or increase the queue depth in that class.

BTW - I removed WRED as I highly recommend against using it unless you're an QoS expert.

FQ in class-default may handle most of your QoS needs. I.e. you shouldn't need another class.

BTW, you can remove class maps w/o removing the whole policy. The "trick" is you must remove it first from the policy.

e.g.:
conf t
policy-map QOS_OUT
no class DATA
exit
no
class-map match-any DATA
end

I.e. you can also "edit" changes in the policy map and/or class maps.

Review Cisco Networking for a $25 gift card