cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
862
Views
5
Helpful
3
Replies

Help setup voice vlan on c9300l-24p for dlink ip phone

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?


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

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame
the ip phone doesn't communicate with the voice vlan on the switch. What else do i need to do?

The information you provided only access-port config on the switch.

we do not have below information  :

1. how is your network connected to reach voice VLAN IP ?

2. where is your DHCP and what IP address range voice vlan ?

3. from what source you are not able to reach voice VLAN ?

 

BB

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

How to Ask The Cisco Community for Help

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame
the ip phone doesn't communicate with the voice vlan on the switch. What else do i need to do?

The information you provided only access-port config on the switch.

we do not have below information  :

1. how is your network connected to reach voice VLAN IP ?

2. where is your DHCP and what IP address range voice vlan ?

3. from what source you are not able to reach voice VLAN ?

 

BB

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

How to Ask The Cisco Community for Help

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

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

3. when i disable vlan seeting on the phone, the phone works, but when i enable vlan on the phone, it doenst register to the network.

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

 

Blackha8732
Level 1
Level 1

On the network, i am having a dlink pbax with ip 192.168.20.253 connect on port 1/0/18 of the switch, and dlink ip phones connected to port 1/0/1 to 1/0/16 of the switch with static ip addresses. see the below configuration.

1. the range of my ip phone addresses will be start 192.168.20.10 to 192.168.20.150

2. the dlink pbax with ip 192.168.20.253 is connected on th switch pot 18.

3. when i disable vlan on the switch the phone registers well on the network and i can even access it via web. but when i turn set it to access voice vlan, the ip hone doesnt register to the network.

Please advice what to add on my switch configuration below, to help the phone access voice vlan 66 and pc access vlan 20 through the phone pc port.

 

hostname 1ST_FLR_SERVERROOM_ASW2

clock timezone EAT 3


!
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 GigabitEthernet1/0/18
switchport trunk encapsulation dot1q
switchport trunk native vlan 1000
switchport mode trunk
!
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 Vlan30
ip address 10.10.30.254 255.255.255.0
!
interface Vlan66
ip address 192.168.20.1 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.1.1
ip http server
ip http secure-server
!
!
!
!
end