Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Per tunnel QoS. How to apply QoS from Spokes to Hubs?

Unanswered Question
Aug 30th, 2010
User Badges:


I'd like to apply QoS in a DMVPN network. I have applied Per Tunnel QoS and the QoS from Hub to spokes is running well. The problem is when I want to apply QoS from Spoke to Hub.

In previous versions when Per Tunnel QoS didn't exist I only had to configure service-policy in tunnels, but now it isn`t available this option when the DMVPN tunnel is configured.. So, How can I apply the policy-map to tunnel interfaces in DMVPNs?

Thank you

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Xabier Arza... Mon, 08/30/2010 - 04:34
User Badges:

Thank you for answering

This is what I have configured, but Per Tunnel QoS is tipically applied on Hubs in order to make different the QoS applied to different Spokes depending on their networks.

But what I want is the opposite. I want to apply the qos in spokes in order to prioiritize some traffic when it is sent to other spokes.

Theoretically it is easy, apply "service-policy output" in the DMVPN tunnel, the problem is that in new IOS versions this command is not available.

Thank you

Atri Basu Mon, 08/30/2010 - 04:45
User Badges:
  • Cisco Employee,

Hey Jon,

Try attaching the service policy to physical output interface and qos pre-classify command on the Tunnel interface on the spoke side. Leave all configurations on the HUB as you already have it.Use a priority command to use low latency queueing for voice traffic (other traffic will be able to use this bandwdith when voice does not require it) something like.....

int tunnel0

qos pre-classify

class-map voice

match dscp ef

policy map enterprise

class voice

priority 256 (kbps, that may be too much)

class class-default

fair queue

The real interface would be the preferred location (in case there was other traffic besides just the one tunnel's traffic), it allows the service policy to see packet information before it was encrypted.  (An alternative approach is to rely on ToS tags, e.g. DSCP.)

Let me know if this works.



Jon Xabier Arza... Mon, 08/30/2010 - 04:57
User Badges:


But the problem is that I have more than one tunnel per physical interface, and I'd like to apply the policy to each tunnel ....

Atri Basu Mon, 08/30/2010 - 05:37
User Badges:
  • Cisco Employee,

So apply the qos pre-classify command on the Tunnel interface on the spoke side for which you want to do classification and leave the tunnels unclassified. Then define your policy map accordingly and map the physical interface to this policy. Make sure you provide actions for both classified as well as unclassified traffic.

This should work, let me know



Jon Xabier Arza... Mon, 08/30/2010 - 07:07
User Badges:

I haven't tested it yet, but the first problem I see is that using tunnel interfaces I could apply some policies that are not possible to use in some physical interfaces (switched ports)

Jon Xabier Arza... Mon, 08/30/2010 - 13:32
User Badges:

Hi Atri

I am using 15.1, and yes, this command is available in 15.1. But this command is to associate some policies in the HUB to spokes depending on the characteristics of the network the spokes have.

But what I want is to appy QoS to spokes, when I want more than one tunnel through a physical interface, and having into account all these types of QoS which are possible to use through a tunnel and not through some types of physical interfaces.

In 12.4(15)T and 12.4(20)T it was easy:

interface tunnel XXX

     service-policy output

The problem is that service-policy command is disabled in this version when DMVPN and Per Tunnel QoS are configured....

Thank you


This Discussion