12-13-2014 03:18 AM - edited 03-01-2019 02:50 PM
Hi All.
I am configuring an ASR 901 as a CE with a single Gig interface uplink to a PE with with multiple VRFs on the interafce. My question is how do I apply a per VRF QoS shaper parent policy that calls a common child policy. The config below is similar to what I am trying to achieve and the errors I have encountered so far.
interface GigabitEthernet0/5
no negotiation auto
service instance 100 ethernet
description * Management *
encapsulation dot1q 100
rewrite ingress tag pop 1 symmetric
bridge-domain 100
!
service instance 200 ethernet
description * VRFA *
encapsulation dot1q 200
rewrite ingress tag pop 1 symmetric
bridge-domain 200
!
service instance 201 ethernet
description * VRFB *
encapsulation dot1q 201
rewrite ingress tag pop 1 symmetric
bridge-domain 201
!
service instance 202 ethernet
description * VRFC *
encapsulation dot1q 202
rewrite ingress tag pop 1 symmetric
bridge-domain 202
!
interface vlan 100
description * Management *
vrf forwarding Management
ip add 10.100.1.1 255.255.255.0
!
interface vlan 200
description * VRFA *
vrf forwarding VRFA
ip add 10.200.1.1 255.255.255.0
!
interface vlan 201
description * VRFB *
vrf forwarding VRFB
ip add 10.201.1.1 255.255.255.0
!
interface vlan 202
description * VRFC *
vrf forwarding VRFC
ip add 10.202.1.1 255.255.255.0
I am trying to apply different shaping parent QoS Shaping policies to each VRF while calling a common CBWFQ policy. I do similar policies on ISRs and ME3600s. The policy I am trying to apply is as follows.
policy-map CPE-VRFA-QOS-OUT
class class-default
shape average 450000000
service-policy CPE-CHILD-QOS-OUT
!
policy-map CPE-VRFB-QOS-OUT
class class-default
shape average 450000000
service-policy CPE-CHILD-QOS-OUT
!
policy-map CPE-VRFC-QOS-OUT
class class-default
shape average 80000000
service-policy CPE-CHILD-QOS-OUT
!
policy-map CPE-CHILD-QOS-OUT
class VOIP
priority police 10 percent
conform-action transmit
exceed-action drop
violate-action drop
class CLASS1
bandwidth percent 25
class CLASS2
bandwidth percent 25
class class-default
bandwidth 40
When I try to apply a parent configuration as an outbound service-policy to a Vlan Interface, I get an error message saying that the SET command must be used (sorry don't have a copy of the message at the moment). After getting the SET command error I tried applying the service-policy command again. The ASR took the command but it never shows in the config.
interface vlan 200
service-policy output CPE-VRFA-QOS-OUT
I also thought of creating class-maps matching the Service Instance, similar to how I do QoS on the ME3600s but this match command is not supported.
I then created class-maps that matched the input interfaces for the VRFs on the LAN side. I then tried to created a parent QoS policy with individual shaping classes for each VRF that then call the common child policy. When I apply this at the interface level I get an error message saying that only the class-default class can be used in the parent policy.
Outbound service-policies are not supported under the Service Instances.
Anyone any ideas how to achieve these requirements on the ASR 901?
12-16-2014 03:07 AM
Any ideas on this query anyone?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide