02-16-2017 06:41 AM - edited 03-17-2019 09:33 AM
Hello,
I have a problem configuring the IP Phones, I register the post, in CUCM, and when I plug the IP Phone into the Switch, the station does not recover its network configuration, I give you the elements of my Lab: CUCM 11.5, Cisco ROuter 2901, Catalyst 2960 PoE Switch, and IP Phone 7911,
Here is the configuration of my Router (my Router configured also as DHCP and DNS Server) :
hostname GATEWAY-VOIP
!
boot-start-marker
boot-end-marker
!
!
! card type command needed for slot/vwic-slot 0/0
logging buffered 51200 warnings
!
no aaa new-model
bsd-client server url https://cloudsso.cisco.com/as/token.oauth2
!
ip dhcp excluded-address 10.2.7.1
ip dhcp excluded-address 10.2.7.2
ip dhcp excluded-address 10.2.7.3
ip dhcp excluded-address 10.2.10.10
ip dhcp excluded-address 10.2.10.11
ip dhcp excluded-address 10.2.10.12
ip dhcp excluded-address 10.2.10.13
ip dhcp excluded-address 10.2.10.14
ip dhcp excluded-address 10.2.10.15
ip dhcp excluded-address 10.2.10.1
ip dhcp excluded-address 10.2.10.2
ip dhcp excluded-address 10.2.10.3
!
ip dhcp pool dpool1
import all
network 10.2.7.0 255.255.255.0
default-router 10.2.7.12
dns-server 10.2.7.12
domain-name cisco.ma
exit
ip dhcp pool dpool2
import all
network 10.2.10.0 255.255.255.0
default-router 10.2.7.12
dns-server 10.2.7.12
domain-name cisco.ma
!
no ip domain lookup
ip domain name cisco.ma
ip name-server 10.2.7.12
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
voice-card 0
!
!
voice call send-alert
!
voice service voip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
session transport udp
!
voice class h323 1
call start fast
!
license udi pid CISCO2901/K9 sn FGL204610JC
hw-module pvdm 0/0
!
username admin privilege 15 password 7 06350E2D491C594852
!
redundancy
!
ip ssh time-out 50
ip ssh authentication-retries 4
ip ssh version 2
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 10.2.7.12 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
ip http access-class 23
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip dns server
ip route 0.0.0.0 0.0.0.0 10.2.7.1
!
control-plane
!
voice-port 0/1/0
timeouts interdigit 4
connection plar opx 1111
caller-id enable
!
voice-port 0/1/1
timeouts interdigit 4
connection plar opx 1111
caller-id enable
!
voice-port 0/1/2
timeouts interdigit 4
connection plar opx 1100
caller-id enable
!
voice-port 0/1/3
timeouts interdigit 4
connection plar opx 1100
caller-id enable
!
dial-peer voice 1 voip
destination-pattern 1...
progress_ind setup enable 3
session target ipv4:10.2.7.13
incoming called-number 0T
codec g711ulaw
no vad
!
dial-peer voice 2 pots
preference 1
destination-pattern 0T
port 0/1/0
forward-digits all
!
dial-peer voice 3 pots
preference 2
destination-pattern 0T
port 0/1/1
forward-digits all
!
dial-peer voice 4 pots
preference 3
destination-pattern 0T
port 0/1/2
forward-digits all
!
dial-peer voice 5 pots
preference 4
destination-pattern 0T
port 0/1/3
forward-digits all
gatekeeper
shutdown
!
line con 0
login local
line aux 0
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet ssh
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
scheduler allocate 20000 1000
ntp master 3
!
end
/////////////////////////// ********
The configuration of my Switch is in join with the screens of the configuration of IP Phone to the CUCM,
thank you for helping me
02-16-2017 08:11 AM
Hi,
Can you confirm whether the DHCP optional parameters especially option 150 for providing the TFTP server details to the phone are imported properly. if not, try configuring, option 150 ip address manually so that phones know the TFTP server to pull its config from. Also check whether the switch port where the phone is connected is configured in the correct voice vlan to get the details.
HTH
Rajan
Pls rate all useful posts
02-16-2017 08:48 AM
Thanks for your reply, the switch ports are configured correctly in both Data / Voice VLANs.
But how can I confirm the 150 option in CUCM ?? I have already defined the address of the TFTP server in the Primary TFTP and Secondary TFTP field (that is: 10.2.7.13)
You find in join, the screen shot of the DHCP Information window in CUCM
10.2.7.13 : @ CUCM
10.2.7.12 : @ Voice Gateway, DNS, DHCP
Thank you
Youssef
02-16-2017 10:36 AM
Hi,
Your router configuration is have lot of mistakes. Anyway, you didn't configure option-150 in your dhcp pool.
ip dhcp pool dpool1
import all
network 10.2.7.0 255.255.255.0
default-router 10.2.7.12
dns-server 10.2.7.12
domain-name cisco.ma
option 150 ip 10.2.7.13
exit
Also, your 2nd DHCP pool is wrongly configured. You can't provide addresses in 10.2.10.0 subnet and use the gateway from 10.2.7.0 subnet. The gateway should be in the same subnet of the pool
ip dhcp pool dpool2
import all
network 10.2.10.0 255.255.255.0
default-router 10.2.7.12
dns-server 10.2.7.12
domain-name cisco.ma
02-17-2017 06:12 AM
Hi Mohemmed,
thank you for your reply
I added option 150, and i created two sub-interface on Gig0/1 (Vlan 10 : Voice, Vlan 8 : Data and the first VLAN 7 : Admin) port connected with port trunk on switch, all workin well
i added IP Pohne 7911 on CUCM 11.5, The IP phone restarts each time and displays this window (in join), i uploaded the FW SCCP11.8-5-3S on CUCM, why can not the phone recover its configuration?
N.B: I have already reset the IP Phone on Factory Default
thank you
02-17-2017 06:48 AM
I want to migrate from CME to CUCM, so I just made a test on IP Phones 7911, 7931, 7975, which are already configured at CME.
I have added another IP Phone to the CUCM which is already configured to CME v7, my router, switch and my CUCM server are isolated to the CME, the IP Phone retrieves its Vlan Voice, DNS, TFTP1: 10.2.7.13 (@ IP CUCM), when I manually check the IP Phone, I find the CME address 10.2.7.254 in the Cisco Unified CM 1 (join)
Why it also has this address, knowing that my Lab (Router, Switch and CUCM are isolated from CME?
thank you.
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