object-group network ip-google
    ip access-list extended ACL-ANAS
    Deny ip object-group ip-google

    class-map match-all CLASS-ANAS
     match access-group name ACL-ANAS
    policy-map MT-LIMTED
     class CLASS-ANAS
      police 2000000

FiberISP-Cisco(config-if)#interface ten 0/0/0
FiberISP-Cisco(config-if)#service instance 2528 ethernet
FiberISP-Cisco(config-if-srv)#service-policy input MT-LIMTED
**QoS: Configuration failed. deny is not supported
QoS: Configuration failed. deny is not supported
QoS: Configuration errors for policymap MT-LIMTED**
  • 1
    OK. Do you have a question? The logic of that configuration is wrong because you will never match anything. You must give it something to match.
    – Ron Maupin
    Jun 30 '18 at 18:23
  • if i make my access-list " permit " i can policy all ips with source google-ip and dst-ip csut , but i need to make else this ACL Jun 30 '18 at 18:25
  • 1
    That makes no sense. You are saying that you want to deny the range, but there is no range to match when you try to match. A match is a permit not a deny. I think you really need to edit your question to give a full explanation of what you want to accomplish. You may be focusing on the perceived solution rather than the actual problem (X-Y problem).
    – Ron Maupin
    Jun 30 '18 at 18:29
  • bro , i need condition say " when source is not "Google-ip" and destination is <Ip network Cust > , so policy this class for example100M Jun 30 '18 at 18:40
  • 1
    We have Network Engineering Chat, but I'm trying to do some other stuff right now. We have people who check it.
    – Ron Maupin
    Jun 30 '18 at 18:58

i find a success method to policy a traffic of Specify ip's or else on CISCO ASR 903 IOS XE 3.18S

for example i have ip's for some serivce (Like google)

1-subnet a full range from to and Cust your ip('s) you want enter link description here

2-now you have two range  (this we need to policy )

3- Create To object group

#object-group network object_ip_select 

 #object-group network object_ip_other

4-Create access-list for Cust and select a dst-address as Cust ip's

#ip access-list extended ACL-CUST1-IP-SELECT
 #permit ip object-group object_ip_select <CUSTNETWORK> <WILDCARD>

#ip access-list extended ACL-CUST1-IP-OTHER
 #permit ip object-group object_ip_other <CUSTNETWORK> <WILDCARD>

5-Create two policy-map for ip-select and other ips

 #class-map match-all CLASS-CUST1-IP-SELECT
 #match access-group name ACL-CUST1-IP-SELECT

 #class-map match-all CLASS-CUST1-IP-OTHER
 #match access-group name ACL-CUST1-IP-OTHER

6-Create Policy-map to our CLASS-MAP

  police cir 40M
  police cir 90M

7-apply this policy map to incoming interfcae or instance(vlan)

interface Port-channel2
 service instance 2000 ethernet
  service-policy input TRAFFIC-LIMTED

8- it's done now cust 1 has traffic 40 M for and other 90M if you have more one cust just create another ip access list with ACL, CLASS, Then add the new class to policy-map TRAFFIC-LIMTED

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.