11-11-2012 04:32 PM - edited 03-07-2019 09:59 AM
Hi everybody.
I have encountered a different issue. When I configure " switchport voice vlan 2" under f0/2 connected to ip phone, it does not have any effect.
Below is my set up:
Sw is cisco cat 3524 XL.
ip phone-------f0/2( vlan1)-----SW----f0/1---trunk------f0/0-CME-router+dhcp
|
f0/3( vlan2)
tftp server ( 201.201.201.3)
switch has two vlans:
vlan1 (data) 200.200.200.0/24
vlan 2 (voice) 201.201.201.0/24
Switch management int vlan 1 : 200.200.200.3
router
f0/0.1 200.200.200.1
f0/0.2 201.201.201.1
The trunk is working correctly.
Sw can ping 200.200.200.1 as show below:
Switch#ping 200.200.200.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.200.200.1, timeout is 2 seconds:
!!!!!
Tftp can ping 201.201.201.1 as shown below:
C:\Users\Administrator>ping 201.201.201.1
Pinging 201.201.201.1 with 32 bytes of data:
Reply from 201.201.201.1: bytes=32 time=1ms TTL=255
Reply from 201.201.201.1: bytes=32 time=1ms TTL=255
Reply from 201.201.201.1: bytes=32 time=1ms TTL=255
Reply from 201.201.201.1: bytes=32 time=1ms TTL=255
The problem is when I configured " switchport voice vlan 2" under f0/2, it does not work i.e I dont see any stp instance for vlan 2 as shown below:
Switch(config)#int f0/2
Switch(config-if)#switchport voice vlan 2
Switch#show spanning-tree int f0/2
Interface Fa0/2 (port 14) in Spanning tree 1 is FORWARDING
Port path cost 19, Port priority 128
Designated root has priority 32768, address 0006.2818.0100
Designated bridge has priority 32768, address 0006.2818.0100
Designated port is 14, path cost 0
Timers: message age 0, forward delay 0, hold 0
BPDU: sent 1076, received 0
===============================================================================================
Below I have listed different output from the switch :
Switch#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/4, Fa0/5, Fa0/6,
Fa0/7, Fa0/8, Fa0/9, Fa0/10,
Fa0/11, Fa0/12, Fa0/13, Fa0/14,
Fa0/15, Fa0/16, Fa0/17, Fa0/18,
Fa0/19, Fa0/20, Fa0/21, Fa0/22,
Fa0/23, Fa0/24, Gi0/1, Gi0/2
2 voice active Fa0/3
=========================================================================
Switch#show running-config
Building configuration...
Current configuration:
!
version 12.0
!
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/2
switchport voice vlan 2
!
interface FastEthernet0/3
switchport access vlan 2
interface VLAN1
ip address 200.200.200.2 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
interface VLAN2
no ip directed-broadcast
no ip route-cache
shutdown
thanks and have a great day
Solved! Go to Solution.
11-12-2012 08:24 AM
Hi,
I think I found out solution of your problem try this:
int f0/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 2
switchport priority extend cos 0
spanning-tree portfast
Please rate helpful post.
11-11-2012 04:44 PM
Hi,
Try this:
int f0/2
Switchport mode access
Switchport voice vlan 2
Spanning-tree portfast
Int vlan 2
No shutdown
Please rate helpful posts.
Sent from Cisco Technical Support iPhone App
11-11-2012 06:13 PM
Thanks Abzal
I already tried that . It did not work. When i configured f0/2 as trunk, it works.
11-11-2012 06:41 PM
Hi Sarah,
The 3524 is not a POE switch and so it doesn't support the voice vlan.
HTH
Reza
11-12-2012 08:03 AM
Hi Reza.
The switch iam using 3524 xl has poe. Infact my 7940 ip phone is plugged in and all powered up.
thanks
11-12-2012 08:24 AM
Hi,
I think I found out solution of your problem try this:
int f0/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 2
switchport priority extend cos 0
spanning-tree portfast
Please rate helpful post.
11-12-2012 10:23 AM
Hi Abzal.
That exactly I did to make it work.
thanks
11-12-2012 01:58 PM
Hi Sarah,
I apologize. I wasn't aware that the 3524-XL support POE.
Sorry
Reza
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