You have now set up the basic routing and LAN switching. The next task to accomplish is to start setting up the basic Cisco CME configuration. You can accomplish this in several ways:
In the next section, you use the Cisco CME Setup Utility to do the basic Cisco CME configuration. If you are not using this utility, check the resulting CLI from the sections following the discussion of the Setup Utility, and compare that to the CLI that exists in your configuration to ensure that all the different parameters are set to the desired values.
Refer to the related sections in Chapter 13 for details on the configuration for different features.
Running the Cisco CME Setup Utility
Example 15-2 provides a log of running the Cisco CME Setup Utility (discussed in Chapter 13) to build the Site A basic configuration.
Example 15-2. Cisco CME Setup Utility for Site A
cme-3725(config)#telephony-service setup --- Cisco IOS Telephony Services Setup --- Do you want to setup DHCP service for your IP Phones? [yes/no]: yes Configuring DHCP Pool for Cisco IOS Telephony Services : IP network for telephony-service DHCP Pool:18.104.22.168 Subnet mask for DHCP network :255.255.255.0 TFTP Server IP address (Option 150) :22.214.171.124 Default Router for DHCP Pool :126.96.36.199 Do you want to start telephony-service setup? [yes/no]: yes Configuring Cisco IOS Telephony Services : Enter the IP source address for Cisco IOS Telephony Services :188.8.131.52 Enter the Skinny Port for Cisco IOS Telephony Services : : How many IP phones do you want to configure : :_5 Do you want dual-line extensions assigned to phones? [yes/no]: yes What Language do you want on IP phones : 0 Which Call Progress tone set do you want on IP phones : What is the first extension number you want to configure : 2001 Do you have Direct-Inward-Dial service for all your phones? [yes/no]: no Do you want to forward calls to a voice message service? [yes/no]: yes Enter extension or pilot number of the voice message service: 2105 Call forward No Answer Timeout : : 10 Do you wish to change any of the above information? [yes/no]: no ---- Setup completed config --- cme-3725(config)# 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.2, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 2.2, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 3.2, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 4.2, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 5.1, changed state to up 2w3d: %LINK-3-UPDOWN: Interface ephone_dsp DN 5.2, changed state to up
Configuring Router Parameters for Cisco CME
You must set a number of options to configure the IP environment to ensure that Cisco CME has access to devices such as TFTP servers and IP phones:
Cisco CME phone loads must be available for TFTP download, as shown in Example 15-3. Note that the tftp-server command parameters are case-sensitive; specifying filenames in lowercase does not work. The tftp-server commands must be configured manually for phone types, including the Cisco ATA, 7905, 7912, 7935, 7936, 7920, and 7970 IP Phones, even if the Cisco CME Setup Utility is used. The Cisco 7970 IP IP Phone requires multiple phone load files to be served by tftp-server commands, whereas other phones require only one phone load.
Example 15-3. TFTP Phone Loads
Router#show running-config tftp-server flash:P00303020214.bin tftp-server flash:P00303020209.bin tftp-server flash:P00305000200.bin tftp-server flash:P00305000300.bin
Basic DHCP was configured during the Cisco CME Setup Utility. If you chose not to configure DHCP there and now you want to add it, or you want to make changes to the basic DHCP configuration, follow the information in this section.
You must define a DHCP pool for IP address assignment to the IP phones. If you use separate VLANs for voice and data, you need two DHCP pools to assign IP addresses dynamically to the IP phones and the data devices. On the voice DHCP pool, Option 150 should be the LAN interface address. You may also define a DHCP pool to map IP addresses statically to phone MAC addresses. If existing devices use static IP addresses in the same range defined in the DHCP pools, these addresses must be excluded from the DHCP pool to avoid addressing conflicts. You can use the show ip dhcp binding command to verify the addresses assigned to the IP phones. Example 15-4 shows a sample two-VLAN configuration. Note that you may use the ip dhcp exclude-address command to exclude individual or multiple addresses from the DHCP pool.
Example 15-4. Voice and Data VLAN Configuration
Router#show running-config ip dhcp excluded-address 184.108.40.206 ip dhcp excluded-address 220.127.116.11 ! ip dhcp pool data network 18.104.22.168 255.255.255.0 default-router 22.214.171.124 ! ip dhcp pool voice network 126.96.36.199 255.255.255.0 option 150 ip 188.8.131.52 default-router 184.108.40.206 ! ip dhcp-server 220.127.116.11 ip dhcp-server 18.104.22.168 Router#show ip dhcp binding Bindings from all pools not associated with VRF: IP address Hardware address Lease expiration Type 22.214.171.124 0100.3094.c2a3.c5 Mar 02 1993 06:58 AM Automatic 126.96.36.199 0100.3094.c289.a9 Mar 02 1993 06:27 AM Automatic
You must configure NTP (even if the Cisco CME Setup Utility is used) to ensure that clocks are synchronized and voice mail time stamps are correct. If you have a Cisco UE module in your system, be sure to reboot it at some point after the NTP configuration is complete so that it can pick up the correct time stamps before you start day-to-day operation on your system.
The Cisco CME router must be set to be an HTTP server (even if the Cisco CME Setup Utility is used) for the Cisco IPC Express GUI to function. Enter the following statements in configure terminal mode on the router:
ip http server ip http path flash
Configuring Cisco CME GUI Administrators
If you plan to use Cisco CME GUI access, configure a system administration account and password with the web admin command, as shown in Example 15-5. (Replace admin and cisco with your choices.) Also set the dn-webedit and time-webedit commands to make sure you can access directory numbers (DNs), and set the router clock from the GUI.
Example 15-5. Configuring Cisco CME GUI System Administrator Access
Router#show running-config telephony-service web admin system name admin password cisco dn-webedit time-webedit
If you are a Cisco Partner or Reseller and you plan to customize GUI access for your end customer, enter a customer administrator account, as shown in Example 15-6. (Replace custlogin and custpswd in the web admin command with your choices.)
Example 15-6. Configuring Cisco CME GUI System Administrator Access for a Customer
Router#show running-config telephony-service web admin customer name custlogin password custpswd web customize load sample.xml
You may now point your browser to the following URL to access the Cisco CME GUI, and log in with your configured username and password:
Adjusting Basic Cisco CME Parameters
A few parameters control system Cisco CME operation:
The first two parameters were set during the Cisco CME Setup Utility, but you may want to adjust the values.
The source address is the IP address associated with Cisco CME. You typically use the IP address of the interface where the local IP phones are connected. Port 2000 is the default TCP port. Use the following commands to set these values:
telephony-service ip source-address 188.8.131.52 port 2000
The maximum phone and maximum DN parameters were set to the default values during the Cisco CME Setup Utility. This setting may not have the values you want for your system. Reset these values if needed to numbers that are comfortably more than the actual number of phones and DNs you foresee using, but that are less than or equal to the Cisco CME seat license you purchased. Use the following commands to set these values:
telephony-service max-ephones 20 max-dn 120
In addition to the tftp-server commands given earlier, you have to specify the phone load to use for the IP phones. Only specify the loads that are actually used. Do not use the .bin or .sbn extensions in the load command. The create cnf-files command generates an XML phone configuration file. Use commands similar to this one to specify phone loads for particular IP phone types:
load 7960G-7940G P00305000301 create cnf-files
After you've completed the configuration up to this point, IP phones that are powered on and that have received an IP address via DHCP automatically register with Cisco CME and download firmware from the router. It may take up to 5 minutes for the phones to register. All Cisco 7960G IP Phones registered with Cisco CME show "Cisco CME" on the lower portion of the phone display.
At this point, your router and basic Cisco CME system are operational. But you cannot yet make calls between IP phones, because no extensions have been defined or assigned to any buttons on the phones, nor do the phones have dial tone.
Step 4 Configuring Extensions and Phones