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

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

Mark a vlan VOIP

Hello,

Can you please tell me how to mark a vlan VOIP with the DSCP field to a value of X?

thank you.

4 REPLIES
VIP Purple

Mark a vlan VOIP

It's not possible to answer that without more info. The right solution is dependent on

  • the switch model
  • the manufacturer of the phone
  • if you already have some kind of QoS configured or not

A starting-point for QoS is the "Medianet Campus QoS Design Guide:

http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSCampus_40.html

-- 
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
New Member

Re: Mark a vlan VOIP

Hi iwen,

thank you for this document,

i use a CISCO 3845 and i want mark a vlan with value 46,phone type :hardware(Avaya)

it tells you something?

Best regards

James

VIP Purple

Re: Mark a vlan VOIP

It's best practice to control the marking on the switch on which the traffic enters the network. But of course you can also do it on a router.

Is the VLAN a subinterface on the router? Then you can do it the following way where all traffic entering a specific subinterface is marked with DSCP 46 (ef):

policy-map MARK

  class class-default

    set dscp ef

!

interface gig 0/0.100

  service-policy input MARK

If you don't terminate the VLAN on this router you can match on the subnets that are used for voice when traffic enters an interface:

ip access-list standard VOICE-NETWORKS

  permit 10.10.10.0 0.0.0.255

  permit 10.11.11.0 0.0.0.255

!

class-map VOICE

  match access-group name VOICE-NETWORKS

!

policy-map MARK

  class VOICE

    set dscp ef

!

interface gig 0/0

  service-policy input MARK

-- 
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
New Member

Re: Mark a vlan VOIP

ok, thank you for this information by cons if I want to set up end to end,

how do I?

SW_BB0 <--------> RouterX <--------> RouterY <------> RouterZ <--------> Router-customer

960
Views
0
Helpful
4
Replies
CreatePlease login to create content