cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
934
Views
0
Helpful
4
Replies

QoS question

jasonww04
Level 1
Level 1

I'm trying to give RDP priority over web traffic. This is what I have so far:

class-map match-any scum
match protocol http
class-map match-any RDP
match access-group name RDP
!
!
policy-map die-scum
class scum
   police cir 8000 pir 9000
     conform-action set-prec-transmit 0
     exceed-action drop
policy-map Inbound
class RDP
   police cir 9000000 pir 10000000
     conform-action transmit
     exceed-action set-prec-transmit 0
     violate-action drop
  service-policy die-scum

ip access-list extended RDP
permit tcp any any eq 3389

If I put the policy-map Inbound on my WAN interface as an input filter, it does nothing. However, if I put the policy-map die-scum on my WAN interface as an input filter, web traffic almost grinds to a halt (which is what I want).

What am I doing wrong here?

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

You are only allowed to apply a policy to an interface and you have two policies.

Ideally, you should have this configuration:

policy-map inbound-internet
class scum
   police cir 8000 pir 9000
      conform-action set-prec-transmit 0
     exceed-action drop
class RDP
   police cir 9000000 pir 10000000
      conform-action transmit
     exceed-action set-prec-transmit 0
      violate-action drop

interface WAN0/0

service-policy in inbound-internet

Regards

Edison

View solution in original post

4 Replies 4

Edison Ortiz
Hall of Fame
Hall of Fame

You are only allowed to apply a policy to an interface and you have two policies.

Ideally, you should have this configuration:

policy-map inbound-internet
class scum
   police cir 8000 pir 9000
      conform-action set-prec-transmit 0
     exceed-action drop
class RDP
   police cir 9000000 pir 10000000
      conform-action transmit
     exceed-action set-prec-transmit 0
      violate-action drop

interface WAN0/0

service-policy in inbound-internet

Regards

Edison

The service-policy die-scum in my policy-map Inbound doesn't run the policy-map die-scum as well?

policy-map Inbound
class RDP
   police cir 9000000 pir 10000000
     conform-action transmit
     exceed-action set-prec-transmit 0
     violate-action drop
  service-policy die-scum

That feature requires an IOS that support HQF

http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/qos_frhqf_support.html

For other IOSes, you are limited to class class-default on the parent class.

Regards

Edison

Thanks for your answers. I tried it the way you suggested and it worked.