I Have ROUTER CISCO ASR 903 ( IOS XE V3.18 )

  ip access-list extended ip-google-traffic
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any
 permit ip any

** i match all traffic on vlan 2528 with ACL IP-GOOGLE-TRAFFIC

 class-map match-all google
 match access-group name ip-google-traffic

  policy-map google-cap
     class google
     set cos 3

interface Port-channel2
 description To-MTS-BE02
 mtu 9000
 no ip address
 service instance 2528 ethernet
  encapsulation dot1q 2528
  rewrite ingress tag pop 1 symmetric
  service-policy input google-cap
  bridge-domain 2528
 service instance 2529 ethernet

** Now i have CUST on interface 0/0/2 with instance 955 , i need make a limited traffic for google and default

 class-map match-all GGC-OUT
   match cos  3

policy-map Cust1
 class GGC-OUT
  police cir 5000000000
 class class-default
  police cir 1750000000

** Now applying A policy to Cust1 instance

#interface ten 0/0/6
#service instance 955 ethernet 
serivce-policy output Cust1

i get this msg error Match cos is not supported for this interface in the output direction. or if i used DSCP i get this msg Match DSCP in IPv4/IPv6 packets is not supported for this interface

so any idean to limited a google and default traffic for my Customers on ASR 903

  • Have you tried matching on the inbound interface(s)?
    – Ron Trunk
    Jun 28 '18 at 13:06
  • yes, i am here marking a incoming traffic with dscp and limited any packet has mark , but not working too Jun 28 '18 at 13:15
  • I am ISP provider , i have customers on interface ten 0/0/2 , every cust. hase instacne (vlan) like 100 , 120 ,530. . Jun 28 '18 at 13:18
  • i have a ACL For IP google , i need make for every Cust two limited traffic , 1 for google and two for other ips (class-default) Jun 28 '18 at 13:19
  • for example , i need to give cust 1 (1000 M google , 2500M othe ip's) , cust 1 (300 M google, 800m othe ip's ) Jun 28 '18 at 13:21

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.