Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please share your Cisco switchport settings 1

Status
Not open for further replies.

seezer

Technical User
Jun 23, 2004
78
US
To those of you running VoIP using Avaya PBXs and Cisco network hardware, how are your switchports (the ones the IP phones hang off of) configured? While Googling, I've seen the following config or some variant of it:

interface FastEthernet0/1
switchport access vlan x
switchport trunk encapsulation dot1q
switchport trunk native vlan x
switchport mode trunk
switchport voice vlan xx
spanning-tree portfast

I realize that each network is different so the configs may vary widely; however, I'd greatly appreciate if anyone can share their Catalyst switchport configurations.

Thanks,
Seezer
 
what switch seezer??

on the newer switches you don't have to do trunking anymore for even the avaya phones...

you just assign the voice vlan to the port and set it as an access port..


BuckWeet
 
Thanks BuckWeet, you're right. While browsing Cisco's website for more info, I read some config notes stating voice vlan's only work on access ports.

Seezer
 
Hi Buckwheat, do you know when (IOS or hardware)can use the voice vlan for the avaya phones?
 
seezer: here's a snip from one of my Catalyst3560's. I'm doing 2 data VLANs (corporate and development) and a voice VLAN; this port is for devnet:
interface FastEthernet0/20
switchport access vlan 3
switchport trunk encapsulation dot1q
switchport trunk native vlan 3
switchport trunk allowed vlan 2,3
switchport mode trunk
switchport voice vlan 2
no ip address
speed 100
mls qos trust dscp
no mdix auto
spanning-tree portfast

This port is for corpnet:
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,2
switchport mode trunk
switchport voice vlan 2
no ip address
speed 100
mls qos trust dscp
no mdix auto
spanning-tree portfast

george630us: I'm running IOS 12.1.19. Not sure what level VoIP is supported at (enterprise, et al).
 
Thanks for generously posting your config, m4ilm4n.

Seezer
 
3550s and up support it...

i think 2950's do too...
 
m4ilm4n

turn off trunking on your ports and it should work for you..

3560's are new, and they support it.
 
Buckweet - if you set the switchport as an access port, and you're using the data port on a 4610SW for a passthru PC hookup, won't the port only give one VLAN to the connection? At least in my experiments before going live that is indeed what happened - the phone was attempting to obtain DHCP info from the data (default) VLAN. Naturally I'd love to have separate connections for data and voice, but in offices with single jacks it gets a little difficult. ;)
 
thats why you set the 'voice vlan'

this will give you an auxilary vlan for that port.. so the phone can then tag its traffic and the switch will accept it..

read earlier in this posting..
 
* * * Update * * *

Thanks BuckWeet for pointing me in the right direction about the voice vlan! We finally got around to setting up our S8700/G650 and a couple of IP phones and digital phones; the initial setup was to ensure connectivity and no VLANs were used.

Once we placed some test calls among the phones, we configured a couple of ports on our Cat 3550 to use the voice vlan. After a few false starts, the IP phones worked great.

I also spent a lot of time at cisco.com's discussion forums, which contains a lot of excellent, real world information like these forums.

A star for you BuckWeet for your guidance!

Seezer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top