Avatar of c-h-r-i-s-t-o-p-h
c-h-r-i-s-t-o-p-hFlag for United States of America

asked on 

Cisco - VOICE VLAN command on Trunk port

I am pushing the switchport voice vlan ### command to several end user ports.

Is there any ill-effect to me pushing the switchport voice vlan ### command to a trunk port?
Voice Over IPRoutersSwitches / Hubs

Avatar of undefined
Last Comment
Les Moore
Avatar of Soulja
Soulja
Flag of United States of America image

Why would you need to? Just allow the vlan across the trunk. The voice vlan on the end user port is to differentiate the vlans when the phone and pc are daisy-chained.
Avatar of c-h-r-i-s-t-o-p-h

ASKER

I want to setup all user-facing ports so that they are ready for either a pc or phone connection.

The reason I ask about the trunk link is that I need to do this to hundreds of stacks of switches. It will be far faster if I can blanket the entire switch with the voice vlan command instead of configuring around trunk ports.
Avatar of Soulja
Soulja
Flag of United States of America image

I don't currently have access to my lab to even see if that command can be applied on an trunk port, but I do know that voice vlan isn't supported on trunk ports, so I believe the command will fail if you try to apply it to the trunk ports.
Avatar of c-h-r-i-s-t-o-p-h

ASKER

On the version of ios that we're running, the command is accepted, but im unsure as to it's effect-  if any.

I assume that it has the same effect as a switchport access vlan # command on a trunk port.
Avatar of pserwe
pserwe

assigning voice vlan to a trunk port is a waste of time, because all it flags is DSCP 46 (aka TOS184, aka forward expedite.)

You only need to flag QOS in one place, once the packets are flagged with QOS mappings, they don't drop the flag as they go through different equipment.

Setting the ports to tagged and allowing both tags to be presented on the port with tagging aware devices allows the flexibility you're looking for.  Setting voice vlan on every port is unnecessary, and will probably be ineffectual.

The other thing to consider is that QOS flagged doesn't matter on un-congested interfaces.  The switchports will probably never need or use QOS, whereas the trunk ports may experience congestion.  Usually congestion is experienced on the NNI's, or at the trunk hitting the cubes,
99.9% percent of the time, your Cisco voice-feature enabled routers will be out of resources long before congestion is an issue.

Lastly, QOS doesn't do anything if you're really just out of bandwidth or some other resource capacity issue.

Peter
Avatar of Soulja
Soulja
Flag of United States of America image

@ pserwe

There is so much incorrect information in your post that I care not to even comment on them.
Avatar of c-h-r-i-s-t-o-p-h

ASKER

I have confirmed that adding switchport voice vlan # to an active trunk uplink does not have a negative / noticeable effect.

However, adding the switchport voice vlan # command to an uplink port that is currently in access mode DOES have the capacity to knock the adjacent switch offline.
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Routers
Routers

A router is a networking device that forwards data packets between computer networks. Routers perform the "traffic directing" functions on the Internet. The most familiar type of routers are home and small office cable or DSL routers that simply pass data, such as web pages, email, IM, and videos between computers and the Internet. More sophisticated routers, such as enterprise routers, connect large business or ISP networks up to the powerful core routers that forward data at high speed along the optical fiber lines of the Internet backbone. Though routers are typically dedicated hardware devices, use of software-based routers has grown increasingly common.

49K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo