cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11317
Views
10
Helpful
8
Replies

Voice vlan versus data vlan

Hello,

Two questions what exactly is the difference between a port configured for voice vlan for a cisco phone that connects to call manager version 8 versus a a cisco phone on a data vlan that connects to call manager. I see both type vlans connect to call manager and work what are differences and advantages and disadvantages for a port configured as data vlan and voice vlan?

Second question I notice our cisco emergency responder was routing incorrectly 911 when the phone was only on a data Vlan but when we put switchport to voice vlan CER routed 911 correctly. When in the data vlan is was set to default erl instead of its correct one until the port was put the on voice vlan why was that?

Thanks,

2 Accepted Solutions

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Horacio,

Let me put it this way: if the only device connected to a switchport is the IP phone, then it is largely irrelevant (with respect to the IP phone operation) whether you configure the port with a data VLAN (switchport access vlan data-vlan)  and a separate voice VLAN (switchport voice vlan voice-vlan), or whether you configure the port directly into the voice VLAN (switchport access vlan voice-vlan). In the second case, you would normally also use the switchport voice vlan dot1p or switchport voice vlan untagged command to let the IP phone know rapidly that the voice VLAN is equal to the data VLAN, just the tagging is either allowed for QoS purposes (dot1p) or is not allowed at all (untagged).  Having a different data and voice VLAN is necessary if you expect both a PC and an IP phone to be connected to the same switchport (a PC connected to an IP phone, and the phone in turn connected to a switchport). In that case, you most probably want to keep the data communication separate from the voice communication, which is why you can define two separate VLANs on a single access port.

An advantage of using an explicit voice VLAN may be that the phone will be sending tagged frames and it will be able to use the CoS priority field in the tag to perform QoS marking. Even without the tags, though, the phone will be marking the IP packets with appropriate DSCP values, and Cisco Catalyst switches are capable of performing QoS operations based on IP DSCP field. Therefore, using the tags just for QoS purposes is not a persuasive reason. You'd use different VLANs simply because you want to have your network neat and tidy and not mix different kinds of traffic and its purpose in a single VLAN.

Best regards,

Peter

View solution in original post

8 Replies 8

Leo Laohoo
Hall of Fame
Hall of Fame

Peter Paluch
Cisco Employee
Cisco Employee

Horacio,

Let me put it this way: if the only device connected to a switchport is the IP phone, then it is largely irrelevant (with respect to the IP phone operation) whether you configure the port with a data VLAN (switchport access vlan data-vlan)  and a separate voice VLAN (switchport voice vlan voice-vlan), or whether you configure the port directly into the voice VLAN (switchport access vlan voice-vlan). In the second case, you would normally also use the switchport voice vlan dot1p or switchport voice vlan untagged command to let the IP phone know rapidly that the voice VLAN is equal to the data VLAN, just the tagging is either allowed for QoS purposes (dot1p) or is not allowed at all (untagged).  Having a different data and voice VLAN is necessary if you expect both a PC and an IP phone to be connected to the same switchport (a PC connected to an IP phone, and the phone in turn connected to a switchport). In that case, you most probably want to keep the data communication separate from the voice communication, which is why you can define two separate VLANs on a single access port.

An advantage of using an explicit voice VLAN may be that the phone will be sending tagged frames and it will be able to use the CoS priority field in the tag to perform QoS marking. Even without the tags, though, the phone will be marking the IP packets with appropriate DSCP values, and Cisco Catalyst switches are capable of performing QoS operations based on IP DSCP field. Therefore, using the tags just for QoS purposes is not a persuasive reason. You'd use different VLANs simply because you want to have your network neat and tidy and not mix different kinds of traffic and its purpose in a single VLAN.

Best regards,

Peter

Peter

Have you clicked on the duplicate post link. Leo has created his very own routing loop

Jon

STP to the rescue!

STP to the rescue! 

Better block it at this end then because i'm not sure how much the voice guys know about STP.

Jon

Guys,

Have you clicked on the duplicate post link. Leo has created his very own routing loop 

ROFL

STP to the rescue! 

Better block it at this end then because i'm not sure how much the voice guys know about STP.

Ahem... me being quite a routing guy, how about throwing the IS-IS spanner into works and make it a TRILL/FabricPath without blocked links whatsoever?

Best regards,

Peter

Ahem... me being quite a routing guy, how about throwing the IS-IS spanner into works and make it a TRILL/FabricPath without blocked links whatsoever

I'm up for that if you are happy to explain it over on the VoIP forums

Jon

Thanks Peter.