Professional Documents
Culture Documents
Lab 5-1 - Basic Manual Phone Configuration Using The CLI - Packet Tracer
Lab 5-1 - Basic Manual Phone Configuration Using The CLI - Packet Tracer
Lab 5-1 - Basic Manual Phone Configuration Using The CLI - Packet Tracer
Learning Objectives
Scenario
Pod
/ DHCP
Rac Host DHCP Pool Default Option
k Name VLAN Name VLAN# IP Address Exclusion DHCP Pool Router 150
1 RTRPod1 Management 11 10.11.0.1/24
Data 10 10.10.0.1/24 10.10.0.1-10 10.10.0.0/24 10.10.0.1 10.10.0.1
Voice 15 10.15.0.1/24 10.15.0.1-10 10.15.0.0/24 10.15.0.1 10.15.0.1
SWPod1 11 10.11.0.2/24 10.11.0.1
Shiny Objects Inc. (SOI) wants to establish internal calls using the new system. These
instructions refer to the Pod Addressing Table in Appendix A to determine the phone numbers,
IP addresses, and VLAN numbers used for your pod. Wherever an x is shown, substitute the
pod number. For this Packet Tracer lab we are using Pod 1.
This lab is based on the configuration from either Lab 3-2. If necessary, load the configuration
for both the switch and router. However, do NOT connect the phones to the switch until later.
Connect a PC to the switch and verify that it can ping the router and switch management
addresses. Troubleshoot if necessary.
Task 2: Configure Telephony-Service
Telephony-service configuration mode is where settings that impact the entire CUCME system
are configured. There are three settings that must be configured (four in older versions of
CUCME) before phones can register, and one optional setting that avoids common phone
registration mistakes.
Versions of CUCME prior to 4.0 (IOS Release 12.4(9)T) don’t have this command, so if you are
using an earlier version, make sure to double-check the MAC addresses of the phones when
registering them.
RtrPodx(config)# telephony-service
RtrPodx(config-telephony)# no auto-reg-ephone
Before any IP phones can register with the system, the maximum number allowed to register
must be set. The upper limit of the maximum is dependent on the model of the router; the higher
the model number, the more IP Phones CUCME will support. While it might seem best to set the
number to the maximum a given router will support, each reservation consumes resources on
the router; thus it is better to set the number at slightly above the currently expected number of
phones. (The maximum should also be set no higher than the number of licenses purchased.) It
can be increased later (up to the maximum supported by the router model) without disrupting
operations.
Discover the maximum number of phones that your CUCME router will support by using the
question mark (?) with the max-ephones command:
RtrPodx(config-telephony)# max-ephones ?
What is the maximum number of phones your system can register? ____42___________
RtrPodx(config-telephony)# max-ephones 5
Step 2-3: Establish the Maximum Number of Directory Numbers (Phone Numbers)
Before any phones can register with the system, the maximum number of directory numbers
Lab 5-1: Basic Manual Phone Configuration Using the CLI – Packet Tracer
must also be set. The upper limit of the maximum is dependent on the model of the router, but it
will be higher than the number of phones. (If you consider that directory numbers will be used
for intercoms, paging, voicemail numbers, and so on, you can see why there are more numbers
allowed than phones.) Again, each directory number will consume resources on the router; thus
it is better to set the number at slightly above the currently expected number of directory
numbers needed. As with the phones, it can always be increased later (up to the maximum
supported by the router model) without disrupting operations.
Discover the maximum number of directory numbers your CUCME router will support by using
the question mark (?) with the max-dn command:
RtrPodx(config-telephony)# max-dn ?
What is the maximum number of directory numbers your system can support? ____144______
RtrPodx(config-telephony)# max-dn 10
Before any phones can register with the system, CUCME needs to know the IP address used to
receive requests and respond to IP Phones. The ip source-address command tells the system
the IP address to use. By default, TCP port 2000 is used, but it can be specified with the port
option. Any valid IP address on the router can be used, but the address of the voice VLAN
interface is the best choice in this case. Remember that wherever an x is shown, substitute the
pod number.
Note
The best option for the source address is a loopback address, as loopback interfaces are
always up. Using a physical interface (or subinterface) address could cause the system to stop
responding if that interface is down, even if phones are connected to other interfaces that are
up. However, in this configuration, if the interface is down, all phones are disconnected, so a
loopback is not necessary.
Tip:
Older CUCME versions might require you to add the port 2000 option to the end of the
command. Do not use on Cisco 2800 Series Routers.
Troubleshooting:
If phones do not load, remove ip source-address 10.x5.0.1 command and re-add command.
No ip source-address 10.x5.0.1 port 2000
ip source-address 10.x5.0.1
Tip:
It is normal to receive %IPPHONE-6-REG_ALARM since auto phone registration has been
disabled. Power off the phones until the ephone is configured if the messages are annoying.
Lab 5-1: Basic Manual Phone Configuration Using the CLI – Packet Tracer
With newer versions of CUCME, the system will automatically create the default template files
for the phones after all required options are entered. A message will say
On older versions of CUCME, it might be necessary to create the template files manually using
the create cnf-files command in telephony-service mode.
Tip
Sometimes, if a change is made in the Telephony Services section of the config, and the
changes do not show on the phones, using the no create cnf-files and then the create cnf-
files commands to manually re-create the template files (followed by restarting the phones) will
fix the problem.
RtrPodx(config-telephony)# end
The ephone-dns are created in global configuration mode, and each dn is assigned a tag
number. The tag number has to be less than the max-dn configured in telephony service, so
usually you start with 1.
RtrPodx(config)# ephone-dn 1
*Sep 9 18:30:43.451: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up
Tip
If you make an ephone-dn with an incorrect number of lines (for example, single-line when you
wanted dual- line), you have to remove the ephone-dn using the no ephone-dn number
command and re-create it.
Create three more numbers so that there are more to assign for the phones.
RtrPodx(config-ephone-dn)# ephone-dn 2
RtrPodx(config-ephone-dn)# number <second_extension_assigned_to_your_pod>
RtrPodx(config-ephone-dn)# ephone-dn 3
RtrPodx(config-ephone-dn)# number <third_extension_assigned_to_your_pod>
RtrPodx(config-ephone-dn)# ephone-dn 4
RtrPodx(config-ephone-dn)# number <fourth_extension_assigned_to_your_pod>
RtrPodx(config-ephone-dn)# exit
Task 4: Manually Configure an Ephone and Associate the First Directory Number
In a traditional analog or PBX phone system, a directory number (phone number) is associated
with a wall jack. Any phone plugged into a wall jack will have the phone number assigned to that
jack. Move the phone to another wall jack and the number on the phone changes (unless the
line in the jack is manually changed). However, with IP Phones, the phone is identified by the
MAC address assigned to it, so it does not matter where in the network the phone is located. As
long as the phone can reach the Call Agent, it will be have the same directory numbers.
CUCME uses the ephone to connect directory numbers (ephone-dns) to the MAC address of
the phone.
There are three main ways to get the MAC address of a phone:
From the box of the IP Phone: The outside of the box has both the printed MAC address and
a bar code. The bar code makes it easier to scan and enter related information (such as
extension and username) for bulk importing.
From the back of the IP Phone: (Soft phones use the MAC address of the PC.) Turn the
phone over and find the bar code with 12 hex digits. This method can also benefit from using a
bar-code scanner to capture the MAC address for bulk import.
From the screen of the IP Phone: Press the Settings button and then navigate to Network
Settings to show the MAC address. (The disadvantage of this option is that it requires the phone
to be powered on.) Don’t use this method if autoregistration in CUCME is still enabled.
Packet Tracer: Finding the MAC address in Packet Tracer can be challenging, but there are
multiple ways. Hovering over the phone will display the MAC associated with the correct Voice
VLAN. Verify the MAC address in the switch MAC Address Tables, or check the DHCP Bindings
(IP to MAC Address) on the DHCP server.
No matter which method you use, when entering a MAC address into the router, you need to
Lab 5-1: Basic Manual Phone Configuration Using the CLI – Packet Tracer
enter it in the format of three groups of four hex numbers, separated by periods. Thus, a phone
with MAC address 1234567890ab would be entered as 1234.5678.90ab in the ephone
configuration.
Just like the ephone-dns, the ephone requires a tag number that must be less than the max-
ephone number defined in telephony- service. After entering config-ephone mode, the mac-
address command is mandatory before any other command can be issued.
Note
If your CUCME version does not support the no auto-reg-ephone command in telephony-
service, double- check that the MAC address entered matches the phone. If it is not correct, the
phone will autoregister, but not show in the config or get a phone number assigned.
RtrPodx(config)# ephone 1
RtrPodx(config-ephone)# mac-address <mac_address_of_your_first_phone>
For example, a phone with mac address 1234567890ab would use mac-address
1234.5678.90ab.
Step 4-3: Assign the First Directory Number to the First Button on the Phone
The next step is to associate one of the ephone-dns to the ephone. Most Cisco phone models
are capable of having more than one line assigned to them, and they use line buttons on the
phone for the caller to select the line to use. (See Figure 5-2.)
Lab 5-1: Basic Manual Phone Configuration Using the CLI – Packet Tracer
There are many options when assigning an ephone-dn to a button. The most common option is
to use the colon (:) to connect the physical button on the phone to the ephone-dn. Use the
question mark (?) to see the options:
RtrPodx(config-ephone)# button ?
LINE button-index:dn-index pairs example 1:2 2:5
Configuration line:button with separator feature options:
: normal phone lines
example button 1:2 2:5
s silent ring, ringer muted, call waiting beep muted
example button 1s2 2s5
b silent ring, ringer muted, call waiting beep not muted
example button 1b2 2b5
f feature ring
example button 1f2 2f5
see also 'no dnd feature-ring'
<output omitted>
RtrPodx(config-ephone)# button 1:1
RtrPodx(config-ephone)# end
The button 1:1 command in the example ties the first line button to the extension assigned to
the first ephone-dn. If the command had been button 1:2, the first line button would have the
extension assigned to the second ephone-dn. Likewise, if the command had been button 5:3,
the fifth line button (counting down the display) would have the extension assigned to the third
Lab 5-1: Basic Manual Phone Configuration Using the CLI – Packet Tracer
ephone-dn. Note: Packet Tracer only supports the use of one button, button 1.
For the router to properly recognize the features on each type of phone, it is necessary to tag
each ephone with the model. For example, the directory on the phone will not work without a
phone type assigned. Handily, the show ephone attempted- registrations command will
display the model as well as the MAC address. Note: The Cisco IP Communicator uses the
type CIPC for the command.
Note
Do not connect other phones at this time.
If using a physical phone, connect the cable from the SW port to the switch. If using a soft
phone, make sure that the computer is connected to the switch and start the software. The
phone should go through the bootup process and register with CUCME. On the router, you will
see a registration status message. In this output, a Cisco phone with MAC address
0022.555e.ef47 and IP address 10.115.0.11 has registered to ephone 1:
RtrPodx#
*Sep 7 21:55:15.119: %IPPHONE-6-REG_ALARM: 25: Name=SEP0022555EEF47 Load= SCCP42.8-
4-2S Last=Initialized
*Sep 7 21:55:15.147: %IPPHONE-6-REGISTER: ephone-1:SEP0022555EEF47 IP:10.115.0.11
Socket:1 DeviceType:Phone has registered.
The phone will then display the number assigned to ephone-dn 1 on the display. If you lift the
phone handset, you should hear a dial tone.
Note
If the phone does not register, start troubleshooting using the IP Phone Registration process as
a guide. Use the Settings button on the phone to view the networking settings.
Questions to ask:
Is the phone (for physical phones) in a port with the voice VLAN active and assigned?
Lab 5-1: Basic Manual Phone Configuration Using the CLI – Packet Tracer
In CUCME, there is an easier way to get the MAC addresses and register a few phones, if you
have the no auto-reg-ephone command in telephony-service. With autoregistration disabled,
you can connect the phone and the phone registration will fail. This allows you to use the show
ephone attempted-registrations command to get the information.
Note
If your CUCME version does not support the no auto-reg-ephone command in telephony-
service, skip Step 5-1 and repeat Steps 4-1 and 4-2 for the second IP Phone. Then, proceed to
Step 5-2.
Step 5-1: Connect the Second Phone to the Switch
Connect the second phone to the switch. A message will display on the router console showing
a registration alarm. The MAC address is displayed in the output of the alarm, but it is not in the
right format. Use the show ephone attempted-registrations command to obtain the MAC
address in the right format. In the following example, a Cisco 7975 Phone with MAC address
0022.555D.928A attempted to register, but there is no matching ephone config. The output of
the show ephone attempted-registrations command not only gives the MAC address in the
right format, but it also shows the model type of the phone (which is useful to have, as shown in
Lab 5-2).
RtrPodx#
*Sep 7 22:13:59.770: %IPPHONE-6-REG_ALARM: 25: Name=SEP0022555D928A Load=
SCCP75.8-4-2S Last=Initialized
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Num Mac Address DateTime DeviceType
You can now copy and paste the MAC address information:
RtrPodx# config t
RtrPodx(config)# ephone 2
RtrPodx(config-ephone)# mac-address <mac_address_listed_in_output>
Step 5-2: Assign the Second Directory Numbers to the Second Phone
Assuming that the second phone has more than one line button, you can assign more than one
ephone-dn. The line buttons can be assigned as separate commands, or they can be assigned
together as one command. In this output, we assign the first line button to the extension
assigned to ephone-dn 2 and the second line button to the extension assigned to ephone-dn 1
(the same directory assigned to ephone 1 button 1).
On real equipment, you might find that the phone has already registered before you type the
button command and it does not show any extensions on the phone display. While in config-
ephone mode, you can use either the restart or reset command to update the phone. The
phone will unregister and then reregister.
Note
The restart command tells the phone to update the configuration. The reset command tells the
phone to completely reboot, including the full power-up boot process. One hint to remember
which does which: The shorter the command, the longer it takes the phone to be back in
service.
Place a call from the first phone to the directory number assigned on ephone-dn 2 (second
extension for your pod). When you call from one phone to the other, the display on the ringing
phone will show the extension that is called/calling.
Lab 5-1: Basic Manual Phone Configuration Using the CLI – Packet Tracer
Unlike an analog home phone, where someone can pick up another extension and join the
conversation, only one phone can use an ephone-dn at a time.
Step 5-4: Verify the Phone Status Using the Show Ephone
You can verify the phone status using the show ephone command. In this output, the directory
number and extensions are assigned to line buttons 1. Notice there is a channel 1 (CH1) and
channel 2 (CH2) status of IDLE for both dns, as the ephone-dns were created as dual-line and
the phone is not in use.
Now place a call from line button 1 on the second phone to the extension assigned to button 2
of the first phone (extension 5333 in this example), and while the phone is ringing, run the
command again. You will notice the status of button 2 CH1 is now RINGING, and at the end of
the ephone-1 output, it shows that a call is ringing on line 2.
Answer the call and run the command again. The status now shows the call as CONNECTED
and the IP addresses of both phones. There are also statistics about the packets of the voice
conversation.
<output omitted>
Step 5-5: Save Configuration files and Packet Tracer File for the Next Lab
The next lab shows configuring beyond the basics required to make two phones ring. Save the
Packet Tracer file and the configuration of the router and switches for the next lab.
Updated 4/27/2021