Solved

Voice ports

Posted on 2012-04-08
4
319 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Article by: user_n
How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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…

789 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