Solved

Voice ports

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…

679 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