cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

171
Views
0
Helpful
2
Replies
Beginner

QoS over GRE Tunnel running MPLS

We have an MPLS network in which a few of the P routers are connected to each other via GRE over a service provider. We are running MPLS IP over those GRE tunnels. We have configured an outbound QoS Shaping policy on those tunnel interfaces. However, the problem is that the QoS policy on the tunnel is NOT matching the MPLS EXP bits in that policy on that tunnel interface. I have already verified that the packets are marked with the MPLS EXP bits. The same outbound policy works on physical interfaces that connect to different P routers, just not over the GRE tunnels. The router is an ASR-1006X running 16.9.3. Below is a simple config.

!

class-map CLASS1

 match mpls experimental topmost 1

class-map CLASS2

 match mpls experimental topmost 2

!

policy-map POLICY1

 class CLASS1

  bandwidth 1000

 class CLASS2

  bandwidth 2000

!

interface Tunnel1

 service-policy output POLICY1

 

I have found an article that says that it is not supported. (listed below) I guess my question is, has anyone had any luck making this work, or do they know of a workaround? At the end of the day, we want to manage the traffic that leaves the GRE tunnel, giving priority to specific sets of traffic.

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mp_l3_vpns/configuration/xe-3s/mp-l3-vpns-xe-3s-book/mp-vpn-gre.html

 

An excerpt from this document:

 

Restrictions for MPLS VPN 3VPN over GRE

The MPLS VPN L3VPN over GRE feature does not support the following:

  • Quality of service (QoS) service policies that are configured on the tunnel interface; they are supported on the physical or subinterface.

 

Thanks for the help!

1 ACCEPTED SOLUTION

Accepted Solutions
Beginner

Re: QoS over GRE Tunnel running MPLS

OK, I have an update. I found that some routers (version dependent) allow for the use of an outbound QoS policy on a GRE tunnel that runs MPLS and matches MPLS EXP values. My router, unfortunately did not support it. Luckily, I was able to find a work around. It is a feature called "qos-groups". The link to the Cisco document can be found below. Also below is a link to a blog that explains it a little simpler.

 

Essentially you mark traffic on the Ingress of the router with a qos-group number (value from 0-1023). That qos-group number is locally significant, and is not carried to other routers. On your tunnel outbound QoS policy, you match on that qos-group number. Below is the config.

 

class-map CLASS1

 match dscp af11

policy-map POLICY1

 class CLASS1

  set qos-group 1

!

class-map CLASS2

 match qos-group 1

policy-map POLICY2

 class CLASS2

  bandwidth 1000

 

interface <ingress interface>

 service-policy input POLICY1

!

interface tunnel 1

 service-policy output POLICY2

 

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_classn/configuration/xe-16/qos-classn-xe-16-book/qos-classn-grp-mtch-set.html

http://switchpacket.blogspot.com/2013/06/qos-groups.html 

 

I hope that proves helpful to someone.

View solution in original post

2 REPLIES 2
Beginner

Re: QoS over GRE Tunnel running MPLS

OK, I have an update. I found that some routers (version dependent) allow for the use of an outbound QoS policy on a GRE tunnel that runs MPLS and matches MPLS EXP values. My router, unfortunately did not support it. Luckily, I was able to find a work around. It is a feature called "qos-groups". The link to the Cisco document can be found below. Also below is a link to a blog that explains it a little simpler.

 

Essentially you mark traffic on the Ingress of the router with a qos-group number (value from 0-1023). That qos-group number is locally significant, and is not carried to other routers. On your tunnel outbound QoS policy, you match on that qos-group number. Below is the config.

 

class-map CLASS1

 match dscp af11

policy-map POLICY1

 class CLASS1

  set qos-group 1

!

class-map CLASS2

 match qos-group 1

policy-map POLICY2

 class CLASS2

  bandwidth 1000

 

interface <ingress interface>

 service-policy input POLICY1

!

interface tunnel 1

 service-policy output POLICY2

 

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_classn/configuration/xe-16/qos-classn-xe-16-book/qos-classn-grp-mtch-set.html

http://switchpacket.blogspot.com/2013/06/qos-groups.html 

 

I hope that proves helpful to someone.

View solution in original post

Beginner

Re: QoS over GRE Tunnel running MPLS

Just saw this thread, indeed, mostly platform-dependent. ; )

Elvin
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here