netcomp
asked on
How to setup VLan for Cisco IP Phones on cisco Switch
We are putting in a new Cisco ASA 5520 to replace our Pix 515. We have Cisco managed switches (I think Cisco 3750 but not sure ). We have Cisco VOIP phones on the same network that the computers are on.
We would like to setup VLans to separate the traffic in order to improve the network performance. The cisco switches are Gigabit switches.
Is the only way to setup VLans thought port VLans or can we do it any other way. The reason is that we have one cable going into the phones and then the phones have a switch port that goes to the workstations. Therefore we can not do port VLans.
FYI, I am not familiar with VLans and am not sure how they work. Do you some how login to the switch and do it.
We would like to setup VLans to separate the traffic in order to improve the network performance. The cisco switches are Gigabit switches.
Is the only way to setup VLans thought port VLans or can we do it any other way. The reason is that we have one cable going into the phones and then the phones have a switch port that goes to the workstations. Therefore we can not do port VLans.
FYI, I am not familiar with VLans and am not sure how they work. Do you some how login to the switch and do it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
REmber on Ciscos you can also have dynamic Vlans.
You set up your trunks as normal. but you can assing different mac addresses different Vlans.
then what ever switch port they are pluged in to. as long as you have set up the switchs correctly. will automatical place that port in to the correct vlan.
If you want to be able to move phones around with out having to reconfiger the vlan date each time this might be a good idea.
You only have to set up one switch (core switch normaly) as the vlan server and all the rest as clients. and it will proprogate through the network.
AS for Vlans decribed in a simple way. simple breack up the switch in to seperat switches and so stop traffic moving between them. You then need a router if you want one vlan to talk to another.
As the Rock said. QOS would be a great idea for Voip as well. As by default voice and data will compeate for bandwith. by running QOS you can garantee that a certian % of the link is always avalible for voip traffic.
You set up your trunks as normal. but you can assing different mac addresses different Vlans.
then what ever switch port they are pluged in to. as long as you have set up the switchs correctly. will automatical place that port in to the correct vlan.
If you want to be able to move phones around with out having to reconfiger the vlan date each time this might be a good idea.
You only have to set up one switch (core switch normaly) as the vlan server and all the rest as clients. and it will proprogate through the network.
AS for Vlans decribed in a simple way. simple breack up the switch in to seperat switches and so stop traffic moving between them. You then need a router if you want one vlan to talk to another.
As the Rock said. QOS would be a great idea for Voip as well. As by default voice and data will compeate for bandwith. by running QOS you can garantee that a certian % of the link is always avalible for voip traffic.
Also a note I would like to add to my first comment:
If you connect a PC (without first connecting to a phone) to a switch port which is configured as trunk port, the switch will assign the PC to VLAN100 because this is marked as the "Native VLAN". All devices will be assigned to the Native VLAN unless the switch knows it is an IP phone connecting... as mentioned the switch knows when a Cisco phone is connected (by use of CDP protocol) and assigns the phone to the VLAN marked with "switchport voice vlan xxx"
Hope that helps...
If you connect a PC (without first connecting to a phone) to a switch port which is configured as trunk port, the switch will assign the PC to VLAN100 because this is marked as the "Native VLAN". All devices will be assigned to the Native VLAN unless the switch knows it is an IP phone connecting... as mentioned the switch knows when a Cisco phone is connected (by use of CDP protocol) and assigns the phone to the VLAN marked with "switchport voice vlan xxx"
Hope that helps...
oh thats quite cool :)
sorry we dont use Voip here so i missed that in your post Rock. see arn't cisco helpfull..
but i have used dynamic vlans for different machines on site.
Learn something new every day :)
Aaron
sorry we dont use Voip here so i missed that in your post Rock. see arn't cisco helpfull..
but i have used dynamic vlans for different machines on site.
Learn something new every day :)
Aaron
ASKER
Wow, Lots of great info. I have some confusion:
1. What is a Trunk, and how does it work.
2. How does IP Addressing and DHCP play into this .
3. What do you mean by we assign Vlans to the switch interface . Also what does the command interface GigabitEthernet 1/0/1 do.
4. How do you assign a switch as core switch and make it handell the routing. Dont we need a router to do the routing between the Vlans.
Thanks for all of your help
1. What is a Trunk, and how does it work.
2. How does IP Addressing and DHCP play into this .
3. What do you mean by we assign Vlans to the switch interface . Also what does the command interface GigabitEthernet 1/0/1 do.
4. How do you assign a switch as core switch and make it handell the routing. Dont we need a router to do the routing between the Vlans.
Thanks for all of your help
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you need to know anything else on this topic?
As per your initial question "Do you some how login to the switch and do it", the answer is most surely Yes. You will need to connect a console cable to switch (the switches have an RJ45 slot in the back called "Console") which is provided with the switch. You then must use a program such as hyperterminal to connect to the switch. Some of the new Cisco switches can be managed through a web-interface, however usually the are configured by command line. The information you have been provided above is obviously for command line configuration. Just wanted to clarify in case you were unsure....
of course you can also configure it over the network through the console.
As long as the switch has a ipaddress set on it. (however of course by default it wont be set up)
The command line is very sright forwardx. (although it looks daunting) I will post a link to another thread on this site which deals with the basic introduction to the commands on Cisco ISO.
but really if you have a quick glance through a cisco manual (i can send you a PDF version of one if you need it ) you will be able to do the kind of configuring we are talking about here very quickly.
Just rember in the work of Cisco the "?" is your friend :) as is the show command!!
As long as the switch has a ipaddress set on it. (however of course by default it wont be set up)
The command line is very sright forwardx. (although it looks daunting) I will post a link to another thread on this site which deals with the basic introduction to the commands on Cisco ISO.
but really if you have a quick glance through a cisco manual (i can send you a PDF version of one if you need it ) you will be able to do the kind of configuring we are talking about here very quickly.
Just rember in the work of Cisco the "?" is your friend :) as is the show command!!
auto qos voip cisco-phone
Anyway we could deal with that later ;)