cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
401
Views
4
Helpful
5
Replies

2950 Voice Config with CME

amarley270
Level 1
Level 1

Hi

I am setting up a lab for my CCNA Voice with a 2950XL Switch running 12.0(5,2) and a 1700 running CME on 12.4-15.

Everything works fine if I run the switch with no config, ie default settings

However as soon as I enter any Voice config the phones stop working and just show "Configuring IP"

I have two vlans configured vlan 100 for data and vlan 200 for voice

The ports are configured as

"Switchport mode access

switchport access vlan 100

switchport voice vlan 200"

This does not work but if I remove this and the enter

Switchport access vlan 200

This does work, for the phones at least

 

What am I doing wrong ?

Thanks, Andrew.

5 Replies 5

acampbell
VIP Alumni
VIP Alumni

Hi Andrew,

Can you share the configs of the 2950 and the 1700.

If you are going to run a data & voip vlans you will
need to trunk switch to router and providedjcp for both vlans


Regard
Alex

Regards, Alex. Please rate useful posts.

In addition to what Alexander said, please check phone is assigned expected voice VLAN through CDP and broadcasting DHCP in correct VLAN.... 

Hi

 

Thanks for the responses guys,

Config is attached, this is with just the "switchport access vlan 200"

configured in which case the phone on port 17 works and the one on port 20 doesnt

This is what I would expect, however with the config detailed in the OP it still doesnt work.

Obviously I would like this to work with the Voice and Data Vlans but am trying with just the voice vlan to see if it makes troubleshooting easier so with one vlan would it require trunking ?

If I change the ports (9 and 17) tp

Switchport mode access
switchport access vlan 100
switchport voice vlan 200

 

Phones stay on "configuring IP"

 

Thanks

 

 

Hi Andrew,

Can you change the set up between the switch & router.

We need to make sure we have created the vlans and trunk the switch port to the router a trunk.

On the switch

!
vtp mode transparent
!
vlan 100
name DATA
!
vlan 200
name VOICE
!
int fas 0/9
shut
desc *** TRUNK LINK TO 1700 CME ROUTER ***
no switchport access vlan 200
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 100,200
no shut
!
! YOU can now define you phone ports to be dual vlan DATA/VOICE
!
int fas 0/17
shut
no switchport access vlan 200
desc *** DATA & VOICE PORT ***
switchport mode access
switchport access vlan 100
switchport voice vlan 200
spanning-tree portfast
no shut
!


On the router we define interface fast 0/0 with 802.1q sub interfaces
and create a dhcp scope for your data vlan
Please replace with your own subnets/addresses

ip dhcp excluded-address 10.10.100.1 10.10.100.10
!
ip dhcp pool DATA
   network 10.10.100.0 255.255.255.0
   default-router 10.10.100.1
!
router ospf 100
 network 10.10.100.0 0.0.0.255 area 0
!
!
int fas0/0
shut
no ip address 192.168.0.6 255.255.255.0
desc *** TRUNK & ROUTE PORT TO 2950 ***
no shut
!
int fas0/0.100
desc *** DATA VLAN ***
encapsulation dot1Q 100
ip address 10.10.100.1 255.255.255.0
no shut
!
int fas0/0.200
desc *** DATA VLAN ***
encapsulation dot1Q 200
ip address 192.168.0.6 255.255.255.0
no shut
!

THEN TEST

Hope this helps
Reagrds
Alex

Regards, Alex. Please rate useful posts.

acampbell
VIP Alumni
VIP Alumni

Hi Andrew,

If the switch is from the 2900XL ranges these a really old & End of Life

You configure the vlans and vtp mode differently.

You do not use conf t to build the vlans - you use exec mode only
Then conf t for the interfaces etc


switch#vlan data
vtp transparent
vlan 100 name DATA
vlan 200 name VOICE
exit
!
!
conf t
!
!
interface FastEthernet0/17
shut
no switchport access vlan 200
desc *** DATA & VOICE PORT ***
switchport trunk encapsulation dot1q
switchport trunk native vlan 100
switchport mode trunk
switchport voice vlan 200
spanning-tree portfast
no shut
!
!
int fas 0/9
shut
desc *** TRUNK LINK TO 1700 CME ROUTER ***
no switchport access vlan 200
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 100,200
no shut
!


Regards
Alex

Regards, Alex. Please rate useful posts.