Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

QoS for Video


I need to configure QoS on 2960 SW and also on trunk ports.

I have these values:

Vlan 802.1q CoS 5 and 4

DSCP CoS Trust (CoS will be marked by codec, 5 and 4) :

TCP 1720 DSCP AF31 (26)

TCP 3230:3243 AF31 (26)

UDP 3280:3285 DSCP AF41 (34)

What must be configured on Video port and trunks???


Slayt 3

Slayt 3

New Member

Re: QoS for Video

I also need to know. What QoS needs to be put on the port which the video conferencing unit is connected to? Does QoS then need to be put on every interface in-line with that one e.g. the trunk port and if so, what QoS commands need to be used for those interfaces?

Re: QoS for Video

If you are sure that you have the marking correct, then on the ports and trunk you have to trust this value:

mls qos

and on the interfaces

mls qos trust cos


mls qos trust dscp

Good luck!

New Member

Re: QoS for Video

I configured nothing. What must the full config including marking commands?

Re: QoS for Video

Well, you are not giving us much details, but as general rule.

As closer as it can be to the edge of the network (e.g. access port where video device is connected) you have to mark the packets accordingly.

For this one method is to use and ACL like:

access-list 101 permit tcp any any range 3230 3243
access-list 101 permit tcp any range 3230 3243 any

Then you use this ACL in a class-map like:

class-map match-all AF26
match access-group 101

The class-map is matched in a policy-map like:

policy-map MARK-MY-VIDEO
class AF26
  set dscp af26

Then you add this direction input to the access port where your video server is connected:

interface GigabitEthernetx/x
service-policy input MARK-MY-VIDEO

This is just for one class of traffic, you need to to the same for other classes of traffic that you want to mark and group all this under a common policy-map (like MARK-MY-VIDEO)

The you need to prioritize the queue where you match the video traffic to be expedited before other. This has to be done on the L3 devices.

Nevertheless, this is not a point-and-click task. You need to have good understanding of what QoS is and how to configure it. What I pointed here is just some basic rules.

Please rate if you find it useful!

New Member

Re: QoS for Video

Here is the full info:

Vlan 50 for video

IP Block

Next Hop:

Video IP :

For Lan QoS:

CoS Marked with 5 for video and audio 4 for signalling

DSCP CoS Tags :

TCP 1720 DSCP AF31 (26)

TCP 3230:3243 AF31 (26)

UDP  3280:3285 DSCP AF41 (34)

I tried to configure :

policy-map MARK-MY-VIDEO
class AF26

and recieved

class map AF26 not configured  error.

I have also found a sample config:

class-map Video-Conf 
  match access-group 102
class-map Streaming-Video
  match access-group 103
policy-map QoS-Policy
  class Video-Conf
    priority 450 30000
  class Streaming-Video
    bandwidth 150
class class-default
! -- Video-Conf Traffic
access-list 102 permit ip any any dscp cs4
access-list 102 permit ip any any dscp af41
! -- Streaming Traffic
access-list 103 permit ip any any dscp cs1
access-list 103 permit ip any any dscp af13

and for CoS level 5 and 4btagging what must be configured?

Re: QoS for Video


You have to configure in this order

ACL's than Class-map than policy map and than apply to the interface...

Try it and comment back..


Hitesh Vinzoda

Please rate useful posts

New Member

Re: QoS for Video

We have got a video conferencing unit connected to a 2960. The 2960 is then trunked to a layer 3 3750. We do not currently use access lists. What would we need to configure on both the 2960 and 3750?

CreatePlease to create content