cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
602
Views
0
Helpful
4
Replies

Applying command switchport voice vlan

mahesh18
Level 6
Level 6

 

 Hi everyone,

 

At customer setup they have implemented VOIP and as they have to meet the deadlines for this project and they are in rush  they want all the switch  ports where users are connected should be configured for voice vlan.

As we have server,printers and other devices also connected to these switches.

if i configure int range fa0/1 - 48 with voice vlan command will it cause any issue to devices connected to the switch other than user PC?

Regards

MAhesh

2 Accepted Solutions

Accepted Solutions

Poonam Garg
Level 3
Level 3

Hello,

In order for this to work it must be a cisco phone and CDP must be enabled on your switch.  The switch uses CDP to identify the other device as a ip phone and will automatically place that traffic on the voice vlan.  If this is not a Cisco phone you will have hardcode the phone to tag its traffic as vlan 10.

you might call the connection between the switch and IP phone a "mini-trunk" because a typical trunk passes a large number of VLANs (if not all VLANs). In this case, the IP phone tags its own packets with the correct voice VLAN. Because the switch receives this traffic on a port supporting tagged packets (our mini-trunk), the switch can read the tag and place the data in the correct VLAN. The data packets pass through the IP phone and into the switch untagged. The switch assigns these untagged packets to whatever VLAN you have configured on the switchport for data traffic.

 

HTH

View solution in original post

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Any issues to ports w/o a VoIP phone but configured with a voice VLAN?  Well, broadcast traffic on the VoIP VLAN will go to each port configured with a voice VLAN, but on a VoIP VLAN I wouldn't expect there to be too much of this traffic.  So it shouldn't be significant.

View solution in original post

4 Replies 4

Poonam Garg
Level 3
Level 3

Hello,

In order for this to work it must be a cisco phone and CDP must be enabled on your switch.  The switch uses CDP to identify the other device as a ip phone and will automatically place that traffic on the voice vlan.  If this is not a Cisco phone you will have hardcode the phone to tag its traffic as vlan 10.

you might call the connection between the switch and IP phone a "mini-trunk" because a typical trunk passes a large number of VLANs (if not all VLANs). In this case, the IP phone tags its own packets with the correct voice VLAN. Because the switch receives this traffic on a port supporting tagged packets (our mini-trunk), the switch can read the tag and place the data in the correct VLAN. The data packets pass through the IP phone and into the switch untagged. The switch assigns these untagged packets to whatever VLAN you have configured on the switchport for data traffic.

 

HTH

mahesh18
Level 6
Level 6

Many thanks Poonam

Regards

MAhesh

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Any issues to ports w/o a VoIP phone but configured with a voice VLAN?  Well, broadcast traffic on the VoIP VLAN will go to each port configured with a voice VLAN, but on a VoIP VLAN I wouldn't expect there to be too much of this traffic.  So it shouldn't be significant.

Thanks Joseph for answering the question

Regards

Mahesh

Review Cisco Networking for a $25 gift card