Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a HP Procurve with the following:

vlan 4 
  name "Phones" 
  untagged 20 
  ip address 
  qos dscp 101110 

qos device-priority dscp 101110 
qos device-priority dscp 100010 
qos type-of-service diff-services 

What is the Cisco equivalent command to accomplish the same?


share|improve this question
You have 0% accept rate on your questions. I suggest you accept some answers on your questions. Other SF users are then more motivated to answer your future questions. (accepting can be done by pressing the V next to the answer). – Lucas Kauffman May 10 '12 at 23:10

Assuming port GigabitEthernet1/20 in the Cisco switch...

You need to define the vlan interface on the Cisco...

interface Vlan4
 description Phones
 ip address

Then assign a switch port to the vlan...

interface GigabitEthernet1/20
 switchport access vlan 4
 switchport mode access
 auto qos voip trust 
 spanning-tree portfast
 spanning-tree bpduguard enable

As far as defining maps for your QoS policy, it may be dependent on the model of your Cisco switch.
You'll want dscp mode 46 for IP (ef) and dscp mode 34 for IP (af41).

My setups look like:

policy-map AutoQos-VoIP-Output-Policy
 class AutoQos-VoIP-Bearer-QosGroup
   set dscp ef
   set cos 5
    police cir percent 33

and on the port level...

 service-policy input AutoQos-VoIP-Input-Cos-Policy
 service-policy output AutoQos-VoIP-Output-Policy

What type of switch are you using?

share|improve this answer
I'm using a Cisco 3560G-48TS – Magd May 10 '12 at 23:26
How do I add the dscp mode for the IP addresses? – Magd May 10 '12 at 23:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.