cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
853
Views
10
Helpful
3
Replies

Help configure my switch for Voice vlans with third party ip phones

Blackha8732
Level 1
Level 1

i have configured two VLANs on my switch ports. data and voice VLAN.

but when i connect a dlink ip phone and configure it to access the voice vlan, the ip phone doesn't communicate with the voice vlan on the switch. What else do i need to do?
see the setup below.

- i have pabx connected to port 1/0/18 with ip 192.168.20.253.

- The ip phone have static Ip addresses connected on ports 1/0/1 to 1/0/10 of the switch.


I want to setup the phone to be able to access voice vlan 66

 and pc to access data vlan 20 from the phone port, please advice what shoul i add to my switch configurations below.


vlan 20
name LAN

vlan 66
name UNIFIED_COMMS
vlan 1000
name NativeVlan_DoNotUse
interface range GigabitEthernet1/0/1 - 16
switchport access vlan 20
switchport mode access
switchport voice vlan 66
spanning-tree portfast

interface GigabitEthernet1/0/17
switchport access vlan 66
switchport mode access
spanning-tree portfast

interface FastEthernet1/0/18
switchport access vlan 66
switchport mode access
spanning-tree portfast


interface GigabitEthernet1/0/19
switchport trunk encapsulation dot1q
switchport trunk native vlan 1000
switchport mode trunk

interface GigabitEthernet1/0/20
switchport access vlan 66
switchport mode access
spanning-tree portfast

interface Vlan1
no ip address

interface Vlan20
ip address 10.187.20.254 255.255.252.0

interface Vlan66
ip address 192.168.20.1 255.255.255.0

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

Device model, and what IOS code running on the switch, sometimes you need to use MLS/mqc trust config ( MLS qos on global and port should have mls qos trust cos)

If the PBX is in the same VLAN and you have static config on the phone.

You have 2 options. 

1. You need to configure manual config, PBX config and SIP config based on vendor document.

2. if you looking to auto-register to phone you need DHCP Options as below explained :

https://www.3cx.com/sip-phones/dhcp-option-66/

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

only run LLDP, the other vendor Phone not support CDP.
LLDP need from Phone to learn the voice VLAN will use.

Joseph W. Doherty
Hall of Fame
Hall of Fame

"What else do i need to do?"

Depends on the phone.  If the phone can be configured to VLAN tag its frames (which from what you describe) your DLINK might, that should be all that's needed to match the (same) voice VLAN on the switch port.  Can the switch ping a VoIP static IP or can the phone ping the VLAN 66 SVI?

Since frames for the data VLAN, on the switch, are untagged, I would expect you to NOT need to specify a VLAN for a downstream PC connected to the VoIP phone.