Solved

Voice ports

Posted on 2012-04-08
4
318 Views
Last Modified: 2012-04-16
I have seen this example in quite a bunch of websites. I wonder how can someone determine which ports are voice (Phone)ports and which are PC ports?

Switch#configure terminal
Switch(config)#interface range fa0/2 - 24
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#spanning-tree portfast
Switch(config-if-range)#switchport access vlan 50
Switch(config-if-range)#switchport voice vlan 10
Switch(config-if-range)#end

http://www.ciscopress.com/articles/article.asp?p=1745631&seqNum=3
0
Comment
Question by:jskfan
4 Comments
 
LVL 20

Assisted Solution

by:José Méndez
José Méndez earned 100 total points
ID: 37821407
so... if you run a show run interface fas 0/2 and find that the switchport voice vlan command is there, then that port has been prepared to received tagged traffic from an IP Phone and untagged traffic from a possible PC piggybacked to the PC port of the phone.
0
 
LVL 20

Accepted Solution

by:
agonza07 earned 300 total points
ID: 37824335
Yup, it's just been prepared to have an IP Phone, but it will work if you plug in a computer directly to the port too.

If you connect a phone to the port, then the IP Phone will take VLAN 10, and any PC that is connected to that phone will be on VLAN 50.

If a PC is connected to that port and not piggybacked on a phone, it will simply be on VLAN 50.

Cisco switches and IP Phones use CDP (Cisco Discovery Protocol) to determine what get's connected to that port. If you do a "show cdp neighbor" you will be able to determine which "prepared" ports actually have a Cisco IP Phone connected to it.
0
 
LVL 22

Assisted Solution

by:eeRoot
eeRoot earned 100 total points
ID: 37826280
for a config like this, the PC would usually connect to an extra port on the back of the VOIP phone, and the phone connects to the switch.  So they share the same switch port.
0
 

Author Closing Comment

by:jskfan
ID: 37850651
Thank you
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SonicWALL SIP Transformation Problem 4 91
Tools to detect weak WiFi routers prior connecting to it 14 126
access vs trunk with voice vlan 2 45
Router Question 12 29
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question