I'm having problems with Call Manager Express and the registration of ephones in that the phones do not obtain an IP address from the router. I've attached the config for the C2851 router and c3650 switch I'm using. The router software is c2800nm.spservicesk9-mz.124-3e.bin. The phone simply hangs displaying Configuring IP. The router console shows no activity, either does the debug dhcp events. Phones are 7940G, 7960G and 7961G. Phones are powered via PoE.
Solved! Go to Solution.
If you do a show cdp neighbot on the switch do you see the phones? are you sure they are plugged into the right ports?
You need to add the
switchport trunk encapsulation dot1q
line to the switch ports so they can see your set the phone vlan to 700
Thanks for the reply.
Did a sh cdp neighbor and I can see the phones. The phones are definitely plugged into the right port. Tried the switchport trunk encapsulation dot1q without success, phone set to vlan700 already. Strange thing is that I cannot ping the router 10.15.0.1 from the switch and vice-versa however I can ping the router from a PC connected to the switch therefore I know the switch is functioning. This configuration has been one I've used on quite a few implementations without having any issues.
all indicates some misconfiguration most likely in the router. I'm not going over your posted configs because by the time now, you may have changed them already. As you said, the configuration is standard and must work. I'm sure that with a little of patience and the right "show" command (eg, mac address table, arp, etc), you will find why you can't ping and why the phones are not getting address.
I've checked the config line by line several times only to get more frustrated each time. The only config change (switch) is as above. I'd welcome any help on this one, would be very grateful. Thanks
On the switch please remove all :
- mls commands
- srr commands
- priority-queue commands
On the router, remove all nat commands.
The idea is to start again with a fresh, minimal configuration.
The switch must ping all router address, and vice-versa. Then check "show mac-address-table dynamic" and check the router MAC are in there.
in switches, a vlan is created automatically when referenced in a "switchport" command, and a warning is given.
The switch doesn't have a layer3 interface to the voice vlan, as that doesn't appear to be necessary.
Perhaps tomorrow the issue will be solved and we will know from what it was caused.
Vlan is layer 2, and the voice vlan is NOT created automatically!
A vlan i created if you do the command "switchport access vlan" but not with "switchport voice vlan"
Configuring InterVLAN Routing with Catalyst 3750/3560/3550 Series Switches
Hmm, no. See following example when configuring a 3550 with a voice vlan that did not exist previously:
L3Core(config-if)#switchport voice vlan 300
% Voice VLAN does not exist. Creating vlan 300
L3Core#sh vlan id 300
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
300 VLAN0300 active Gi0/1, Gi0/8
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
300 enet 100300 1500 - - - - - 0 0
Now, for the case in question, is absolutely not necessary that the switch does inter-vlan routing for the voice vlan. The CCME router will do that via the trunked port.
Note, the only case in which you need inter-vlan communication with the voice VLAN, is when you want to access phone's web server for diagnostic purposes. Else, all the phones and CCME communication is confined within the voice VLAN.
Please refer to reply above.
sh vlan did not show VLAN700 or VLAN999 and therefore I created them using vlan vlan700 and vlan vlan999, did a no shutdown and everything worked. Very strange in the the first switch would not create them automatically during config whereas the second switch did. Thanks
Removed all the commands as advised and this made no difference at all. Rebuilt the switch as a minimal config and still did not work. Used another switch with same minimal config and this did work, added the rest of my config and it still worked. First switch was 12.2(25)SEB4 and the second was 12.2(25)SEE2. Router MAC was listed along with phones however phones were not associated with VLAN700. See replies below.