My QOS class-map is not matching

Unanswered Question
May 5th, 2010
User Badges:


I have configured class-map which matches based on access-group

this accessgroup is configured to match one specific host

i created a policymap and add this classmap under this and i specified "drop" action (Just for testing; assuming all the traffic thro the host wll be dropped-Is is correct ???)

Add the service policy command in WAN interface in Input direction (so the download will be affected)

when i verified access-list is matched but not the class-map

Where iam wrong

Any suggestions

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Jerry Ye Wed, 05/05/2010 - 11:33
User Badges:
  • Cisco Employee,

Can you post the configuration and a short description of traffic direction.



harisivaji Wed, 05/05/2010 - 13:13
User Badges:

Class-map match-any dropall

match accessgroup MYPC

policy-map MYPOLICY

class dropall    /*earlier i specified same bandwidth value /


Int fa0/1     /*my WAN interface*/

serive policy input MYPOLICY

Ip access-list extended MYPC

10 permit host any

This i did to make sure that QOS which i configured is working fine or not

becuase iam not able to verify (Frankly saying i dont know ) it

Just i want to limit the download speed of this particular pc when he is accessing WAN so i applied in input direction in WAN

In lan interface there is nothing .related to this



Jerry Ye Wed, 05/05/2010 - 13:21
User Badges:
  • Cisco Employee,

Your ACL is wrong, you are matching the traffic in the wrong direction.

Assuming you mean download from the Internet

Internet -> F0/1 Router -> PC (

the ACL should be like the follow

ip access-list extended MYPC

permit ip any host



harisivaji Wed, 05/05/2010 - 13:30
User Badges:

My Network is Like this


Yes you are right i will check and

reply  tomorrow

Thanks for your time



This Discussion