cisco ip phone and cme configuration

28
Cisco IP phone boot Cisco IP phone boot process process 1. 1. The 802.3af PoE switch sends a small DC The 802.3af PoE switch sends a small DC voltage on the Ethernet cable, detects an voltage on the Ethernet cable, detects an unpowered 802.3af device and supplies unpowered 802.3af device and supplies power to the line. power to the line. 2. 2. The switch delivers voice VLAN information The switch delivers voice VLAN information to the Cisco IP phone using Cisco to the Cisco IP phone using Cisco Discovery Protocol (CDP). Discovery Protocol (CDP). 3. 3. The IP phone sends a DHCP request on its The IP phone sends a DHCP request on its voice VLAN. The DHCP server replies with voice VLAN. The DHCP server replies with IP addressing information, including DHCP IP addressing information, including DHCP Option 150, which directs the IP phone to Option 150, which directs the IP phone to the TFTP server. the TFTP server.

Upload: tanu-sood-931

Post on 14-Oct-2014

489 views

Category:

Documents


12 download

TRANSCRIPT

Page 1: Cisco IP phone and CME Configuration

Cisco IP phone boot processCisco IP phone boot process

1.1. The 802.3af PoE switch sends a small DC voltage The 802.3af PoE switch sends a small DC voltage on the Ethernet cable, detects an unpowered on the Ethernet cable, detects an unpowered 802.3af device and supplies power to the line.802.3af device and supplies power to the line.

2.2. The switch delivers voice VLAN information to the The switch delivers voice VLAN information to the Cisco IP phone using Cisco Discovery Protocol Cisco IP phone using Cisco Discovery Protocol (CDP).(CDP).

3.3. The IP phone sends a DHCP request on its voice The IP phone sends a DHCP request on its voice VLAN. The DHCP server replies with IP VLAN. The DHCP server replies with IP addressing information, including DHCP Option addressing information, including DHCP Option 150, which directs the IP phone to the TFTP 150, which directs the IP phone to the TFTP server.server.

Page 2: Cisco IP phone and CME Configuration

Cisco IP phone boot processCisco IP phone boot process

4.The IP phone contacts the TFTP 4.The IP phone contacts the TFTP server and downloads its server and downloads its configuration file and firmware.configuration file and firmware.

5. Based on the IP address listed in the 5. Based on the IP address listed in the configuration file, the IP phone configuration file, the IP phone contacts the call processing server contacts the call processing server (the CME router in this case), which (the CME router in this case), which supports VoIP functions.supports VoIP functions.

Page 3: Cisco IP phone and CME Configuration
Page 4: Cisco IP phone and CME Configuration

CME IP Phone configurationCME IP Phone configuration

Figure shows the DHCP server, TFTP Figure shows the DHCP server, TFTP server and CME router as three server and CME router as three separate devices. To save resources, separate devices. To save resources, smaller networks typically combine smaller networks typically combine all three of these functions into one all three of these functions into one device. In our case, the CME router device. In our case, the CME router would also act as the DHCP and TFTP would also act as the DHCP and TFTP server for the network.server for the network.

Page 5: Cisco IP phone and CME Configuration

Voice VLANVoice VLAN

To separate the voice and data traffic, To separate the voice and data traffic, we must configure each port we must configure each port connecting to a Cisco IP phone for a connecting to a Cisco IP phone for a voice VLAN. In our lab, the voice voice VLAN. In our lab, the voice VLAN is 15 and the data VLAN ( for VLAN is 15 and the data VLAN ( for the PC device attaching to the IP the PC device attaching to the IP phone) is 10.phone) is 10.

Page 6: Cisco IP phone and CME Configuration

Configuring Voice VLANsConfiguring Voice VLANs

Switch# configure terminalSwitch# configure terminalSwitch(config)# interface fa0/1Switch(config)# interface fa0/1Switch(config-if)# switchport mode accessSwitch(config-if)# switchport mode accessSwitch(config-if)# switchport voice vlan 15Switch(config-if)# switchport voice vlan 15Switch(config-if)# switchport access vlan 10Switch(config-if)# switchport access vlan 10Switch(config-if)# spanning-tree portfastSwitch(config-if)# spanning-tree portfastSwitch(config-if)# exitSwitch(config-if)# exit

• Note: Note: spanning-tree portfastspanning-tree portfast command disables the Spanning Tree command disables the Spanning Tree Protocol (STP) on interfaces connecting to Cisco IP phones.Protocol (STP) on interfaces connecting to Cisco IP phones.

Page 7: Cisco IP phone and CME Configuration

DHCP ServicesDHCP Services

• Once the IP phone receives its voice Once the IP phone receives its voice VLAN information, it begins sending VLAN information, it begins sending DHCP requests.DHCP requests.

• The DHCP server delivers phone The DHCP server delivers phone Option 150, which gives the IP phone Option 150, which gives the IP phone the IP address of the TFTP server.the IP address of the TFTP server.

Page 8: Cisco IP phone and CME Configuration

Configuring a DHCP pool on a Configuring a DHCP pool on a RouterRouter

Router(config)# ip dhcp pool voiceRouter(config)# ip dhcp pool voice

Router(dhcp-config)# network 10.10.0.0 Router(dhcp-config)# network 10.10.0.0 255.255.255.0255.255.255.0

Router(dhcp-config)# default-router 10.10.0.1Router(dhcp-config)# default-router 10.10.0.1

Router(dhcp-config)# option 150 ip 10.10.0.1Router(dhcp-config)# option 150 ip 10.10.0.1

Router(dhcp-config)# dns-server a.b.c.dRouter(dhcp-config)# dns-server a.b.c.d

Router(dhcp-config)# exitRouter(dhcp-config)# exit

Page 9: Cisco IP phone and CME Configuration

TFTP ServicesTFTP Services

• The TFTP server plays the role of "file The TFTP server plays the role of "file server" in the IP telephony network. The IP server" in the IP telephony network. The IP phones download their configuration and phones download their configuration and firmware files from this server.firmware files from this server.

• The CME router generates these The CME router generates these configuration files as we work through the configuration files as we work through the initial configuration. For example, we must initial configuration. For example, we must specify the correct firmware loads for the specify the correct firmware loads for the CME router to use with the IP phones. CME router to use with the IP phones.

Page 10: Cisco IP phone and CME Configuration

Configuring Firmware loads in Configuring Firmware loads in CMECME

CME-Voice(config)# telephony-serviceCME-Voice(config)# telephony-service

CME-Voice(config)# load 7960-7940 CME-Voice(config)# load 7960-7940 P0030320214.binP0030320214.bin

• Updating CNF filesUpdating CNF files

• CNF files update completeCNF files update complete

Page 11: Cisco IP phone and CME Configuration

Configuring Firmware loads in Configuring Firmware loads in CMECME

Note: In CME 4.0 and later, configuration Note: In CME 4.0 and later, configuration and firmware files can be store on an and firmware files can be store on an external TFTP server using the command external TFTP server using the command cnf-file location tftp://cnf-file location tftp://<ip address of the <ip address of the TFTP server> from telephony service TFTP server> from telephony service configuration mode. configuration mode.

This can save some valuable flash space on This can save some valuable flash space on our router.our router.

Page 12: Cisco IP phone and CME Configuration

Configuring EPhone-DnsConfiguring EPhone-Dns

An An ephone-dnephone-dn in its simplest form is in its simplest form is just a directory number that can be just a directory number that can be assigned to one or more buttons on assigned to one or more buttons on one or more Cisco IP phones. We one or more Cisco IP phones. We can configure each ephone-dn as can configure each ephone-dn as either a single-line or dual-line either a single-line or dual-line mode ehone-dn. mode ehone-dn.

Page 13: Cisco IP phone and CME Configuration

Single-line ephone-dn:Single-line ephone-dn:

In single-line mode, the ephone-dn is In single-line mode, the ephone-dn is only able to make or receive one call only able to make or receive one call at a time. If a call arrives on an at a time. If a call arrives on an ephone-dn where there is already an ephone-dn where there is already an active call, the caller will receive a active call, the caller will receive a busy signal. busy signal.

Page 14: Cisco IP phone and CME Configuration

Dual-line ephone-dn:Dual-line ephone-dn:

In dual-line mode, the ephone-dn is able to In dual-line mode, the ephone-dn is able to handle two simultaneous calls. This is useful for handle two simultaneous calls. This is useful for supporting features like call waiting, supporting features like call waiting, conference calling, and consultative transfers.conference calling, and consultative transfers.

In most network environments, dual-line In most network environments, dual-line configurations are useful for user IP phones, configurations are useful for user IP phones, whereas single-line configurations are useful whereas single-line configurations are useful for network functions ( such as intercom or for network functions ( such as intercom or paging). paging).

Page 15: Cisco IP phone and CME Configuration

Configuring Ephone-DNs Configuring Ephone-DNs (Single-line)(Single-line)CME_Voice# config tCME_Voice# config t

CME_Voice(config)# ephone-dn ?CME_Voice(config)# ephone-dn ?

<1 - 150> ephone-dn tag<1 - 150> ephone-dn tag

CME_Voice(config)# ephone-dn 5CME_Voice(config)# ephone-dn 5

CME_Voice(config-ephone-dn)# number 5001CME_Voice(config-ephone-dn)# number 5001

CME_Voice(config-ephone-dn)# exitCME_Voice(config-ephone-dn)# exit

Page 16: Cisco IP phone and CME Configuration

Configuring Ephone-DNs (dual-Configuring Ephone-DNs (dual-line)line)CME_Voice# config tCME_Voice# config t

CME_Voice(config)# ephone-dn ?CME_Voice(config)# ephone-dn ?

<1 - 150> ephone-dn tag<1 - 150> ephone-dn tag

CME_Voice(config)# ephone-dn 6 ?CME_Voice(config)# ephone-dn 6 ?

dual-line dual-line DN (2 calls per line/button)dual-line dual-line DN (2 calls per line/button)

CME_Voice(config)# ephone-dn 6 dual-lineCME_Voice(config)# ephone-dn 6 dual-line

CME_Voice(config-ephone-dn)# number 5002CME_Voice(config-ephone-dn)# number 5002

CME_Voice(config-ephone-dn)# exitCME_Voice(config-ephone-dn)# exit

Page 17: Cisco IP phone and CME Configuration

Note: Creating more ephone-dns than you Note: Creating more ephone-dns than you have specified using the max-dn command have specified using the max-dn command will result in the following error message:will result in the following error message:

CME-Voice9config)# ephone-dn 49CME-Voice9config)# ephone-dn 49

dn tag 49 exceeds legal range 1 to max-dn 48dn tag 49 exceeds legal range 1 to max-dn 48

To correct this error, increase the max-dn To correct this error, increase the max-dn value from telephony service configuration value from telephony service configuration mode. mode.

Page 18: Cisco IP phone and CME Configuration

The number syntax (which is used to assign a The number syntax (which is used to assign a directory number to an ephone-dn) also supports a directory number to an ephone-dn) also supports a secondary number value. For example,secondary number value. For example,

CME_Voice(config)# ephone-dn 6 dual-lineCME_Voice(config)# ephone-dn 6 dual-lineCME_Voice(config-ephone-dn)# number 5002 CME_Voice(config-ephone-dn)# number 5002

secondary 4166995002secondary 4166995002

This allows the ephone-dn to answer for multiple This allows the ephone-dn to answer for multiple phone numbers. This could be useful if you want phone numbers. This could be useful if you want an internal extension to be reachable if someone an internal extension to be reachable if someone on the internal network dialled a four-digit on the internal network dialled a four-digit extension or the full PSTN Direct Inward Dial (DID) extension or the full PSTN Direct Inward Dial (DID) number.number.

Note:Note: Direct Inward Dial (DID) is a feature supported Direct Inward Dial (DID) is a feature supported by PSTN carriers that allows internal extensions to by PSTN carriers that allows internal extensions to be reached by PSTN callers directly without the be reached by PSTN callers directly without the need to route calls through a receptionist.need to route calls through a receptionist.

Page 19: Cisco IP phone and CME Configuration

CME_Voice(config)# ephone 1CME_Voice(config)# ephone 1

CME_Voice(config-ephone)# mac-address ?CME_Voice(config-ephone)# mac-address ?

H.H.H Mac addressH.H.H Mac address

CME_Voice(config-ephone)# mac-address CME_Voice(config-ephone)# mac-address 0018.1c48.e71a0018.1c48.e71a

CME_Voice(config-ephone)# exitCME_Voice(config-ephone)# exit

• Note: After you have entered the ephone MAC Note: After you have entered the ephone MAC address information, you can verify the IP phone address information, you can verify the IP phone registration status by using the registration status by using the show ephoneshow ephone command.command.

Page 20: Cisco IP phone and CME Configuration

Button commandButton command

You can assign You can assign ephone-dnsephone-dns by using the by using the button button command from command from ephoneephone configuration configuration mode. mode.

The basic syntax of this command is as The basic syntax of this command is as follows:follows:

button <physical button> <separator> button <physical button> <separator> <ephone-dn><ephone-dn>

Page 21: Cisco IP phone and CME Configuration

Basic use of the button Basic use of the button commandcommand

Assigning Ephone-DN 2 to Button 1 on Assigning Ephone-DN 2 to Button 1 on Ephone 1Ephone 1

CME_Voice(config)# ephone 1CME_Voice(config)# ephone 1

CME_Voice(config-ephone)# button 1:2CME_Voice(config-ephone)# button 1:2

CME_Voice(config-ephone)# restartCME_Voice(config-ephone)# restart

Page 22: Cisco IP phone and CME Configuration

Basic use of the button Basic use of the button commandcommand

• Note: The restart syntax causes the Note: The restart syntax causes the phone to perform a warm reboot and phone to perform a warm reboot and redownload its configuration file from redownload its configuration file from the TFTP server. the TFTP server.

Page 23: Cisco IP phone and CME Configuration

Basic use of the button Basic use of the button commandcommand

Physical IP phone looks like this after Physical IP phone looks like this after the configuration.the configuration.

Page 24: Cisco IP phone and CME Configuration

Assigning Buttons Using Assigning Buttons Using Multiple commands:Multiple commands:

We can assign multiple lines to a We can assign multiple lines to a phone by either entering multiple phone by either entering multiple button commands.button commands.

CME_Voice(config)# ephone 1CME_Voice(config)# ephone 1

CME_Voice(config)# button 1:2CME_Voice(config)# button 1:2

CME_Voice(config)# button 2:1CME_Voice(config)# button 2:1

Page 25: Cisco IP phone and CME Configuration

Assigning Buttons Using One Assigning Buttons Using One Command:Command:

CME_Voice(config)# ephone 1CME_Voice(config)# ephone 1

CME_Voice(config)# button 1:2 2:1CME_Voice(config)# button 1:2 2:1

Page 26: Cisco IP phone and CME Configuration

Show ephone commandShow ephone command

• The show ephone command is also The show ephone command is also useful for verifying button useful for verifying button assignments.assignments.

Page 27: Cisco IP phone and CME Configuration
Page 28: Cisco IP phone and CME Configuration