• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 681
  • Last Modified:

Cisco vlan voip native

Please can anyone direct me to setting up 2 vlans on a cisco 2960 S 48 port switch.

I need to move ports off the defualt vlan into the NATIVE   DATA vlan   and then create trunks to pass   untagged data  and tagged voice traffic through.

the voice vlan are using ip phones (non cisco)

The reason this is delicate is that i have inherited a system where they are running phones and computers on a flat network with no vlans etc.

keep losing voice

thanks kindly
0
Maphew
Asked:
Maphew
4 Solutions
 
vmaganCommented:
how are your pcs connected? Are they connected to the back of the phones or is everything running directly to the wall jack?
0
 
vmaganCommented:
to configure a voice vlan on the switch do the following:

Switch2960#conf t
Switch2960(config)# vlan10 (put in any number you want here)
Switch2960(config-vlan)#name VOICE
Switch2960(config-vlan)#end
do a sho vlan brief. THis should show a newly created Voice Vlan with no ports assigned to it.

now add the ports to this vlan. You can do a range or one at a time.
Switch2960# conf t
Switch(config)#interface range fa 0/2 - 22 (example)
Switch(config-if-range)#spanning-tree portfast
Switch(config-if-range)switchport voice vlan 10
Switch(config-if-range) end
sho vlan brief
now the new vlan should have the ports that are directly connected to the phones displayed here.
0
 
lrmooreCommented:
>the voice vlan are using ip phones (non cisco)
So, here's how:

create the vlan's
vlan 10
 name data
vlan 20
 name voice

interface gig 1/0/1
 switch mode trunk
 switch trunk native vlan 10
 switch voice vlan 20

That's it!
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
MaphewAuthor Commented:
Thanks again, however how do i make sure that the new data vlan is a native vlan hence not tagged ?
0
 
vmaganCommented:
Yes make the data vlan the native.

conf t
inter vlan 10 (data vlan)
switch trunk native vlan 10 (this is the cmd that makes it happen)
0
 
arnoldCommented:
Your switch might be configurable to assign a VLAN based on the MAC address of the device.
i.e. without locking the switch ports as is done in the example.
ie. the default VLAN is data, when an IP Phone is connected, that port is auto tagged as a Voice VlaN.
You should also setup a QoS to prioritize voice traffic wheher it is VLANed or flat.

http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_40_se/configuration/guide/swvoip.pdf
0
 
MaphewAuthor Commented:
Thank you guys, i really appreciate your help
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now