cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
802
Views
0
Helpful
5
Replies

Cisco trunk port to VOIP phone

Andy White
Level 3
Level 3

Hello,

We we have an office which is using a hosted IP provider but they just have 15 x non Cisco desk VOIP phones and have their PC's plugged into them all on VLAN 1.

I've created 2 VLANs there, 1 for Data and the other for Voice, would I just need to make the switch ports a trunk and set the phones to the voice vlan?

Any example port configs woud lbe great.  They don't have QoS either which I may add.

Thanks

5 Replies 5

Karthick Murugan
Cisco Employee
Cisco Employee

Hi Andy,

Please find the configuration below. It should work fine without any issues.

vlan 301

name Data

!

vlan 309

name VoIP

lldp run

interface FastEthernet0/9

description PC & IP Phone

switchport trunk encapsulation dot1q

switchport trunk native vlan 301

switchport trunk allowed vlan 301,309

switchport mode trunk

spanning-tree portfast trunk

spanning-tree bpduguard enable

Thanks & regards,

Karthick Murugan

CCIE#39285(R&S)

Thanks & Regards, Karthick Murugan CCIE#39285

Thanks,

That is how I did it, the only thing I have missing is "lldp run" what is that?


Hi Andy,

I am very glad that you got the configuration right.

LLDP is a replacement for CDP.

CDP is to detect the neighbor device(Cisco) and LLDP can be used for Avaya.

Thanks

Karthick Murugan

Thanks & Regards, Karthick Murugan CCIE#39285

Just one thing I noticed I didn't use the "switchport trunk native vlan x" would this be for anything untagged?

"switchport trunk native lan x" is the replacement for "switchport access vlan x" in both the cases the VLAN will not be tagged.

Thanks

Karthick Murugan

Thanks & Regards, Karthick Murugan CCIE#39285
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco