cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2344
Views
0
Helpful
7
Replies

cisco 3524xL ,switchport voice vlan

sarahr202
Level 5
Level 5

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

1 Accepted Solution

Accepted Solutions

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

http://www.cisco.com/en/US/docs/switches/lan/catalyst2900xl_3500xl/release12.0_5_wc5/swg/swports.html#wp1029161

Please rate helpful post.

Best regards,
Abzal

View solution in original post

7 Replies 7

Abzal
Level 7
Level 7

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

Best regards,
Abzal

Thanks Abzal

I already tried that . It did not work.  When i configured f0/2 as trunk, it works.

Hi Sarah,

The 3524 is not a POE switch and so it doesn't support the voice vlan.

HTH

Reza

Hi Reza.

The switch iam using 3524 xl has poe. Infact my 7940 ip phone is plugged in and all powered up.

thanks

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

http://www.cisco.com/en/US/docs/switches/lan/catalyst2900xl_3500xl/release12.0_5_wc5/swg/swports.html#wp1029161

Please rate helpful post.

Best regards,
Abzal

Hi Abzal.

That exactly I did to make it work.

thanks

Hi Sarah,

I apologize.  I wasn't aware that the 3524-XL support POE.

Sorry

Reza

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: