11-13-2022 01:26 AM
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
Solved! Go to Solution.
11-13-2022 01:47 AM
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 ?
11-13-2022 01:47 AM
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 ?
11-13-2022 03:20 AM
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
11-13-2022 02:25 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide