This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy
this document for noncommercial distribution and exclusive use by instructors in the IP Telephony
course as part of an official Cisco Networking Academy Program.
Lab 2.1.1a Basic Setup for the CME Router with Switch Module
Objectives
• Configure a Cisco router in preparation for CallManager Express (CME)
• Configure a switch in preparation for CME
Equipment Requirements
• Cisco CallManager Express (CME) capable router with switch module
• Workstation with an Ethernet 10/100 NIC installed
• Two Cisco IP phones
In this lab, the ACME.com Company has decided to deploy CallManager Express in the enterprise.
First, the router portion (including the switch module) of CallManager Express must be configured.
The routers and switch module should be configured using the information found in IP Telephony
Table 1.
a. On the router, enter privilege mode and then configuration mode.
b. Change the hostname of the router. Use the command hostname CMERouterX, where X is the
pod number assigned to the group. Throughout the rest of the lab, use IP Telephony Table 1
parameters based on the pod number assigned.
Router(config)# hostname CMERouterX
c. Set the enable secret password to cisco. (Do not deviate from this password.)
d. Use the command no ip domain-lookup to disable name resolution since there is no DNS
server in the classroom lab.
CMERouterX(config)# no ip domain-lookup
e. Note that router commands are IOS and model specific. Examples given in this lab are the most
common configurations seen. However, the command may vary slightly. For example, on a 1760
router the VTY lines are 0 through 15 instead of 0 through 4. Configure all the router VTY lines
with parameters similar to the following:
g. Create two VLANs—one for the voice VLAN and one for the data VLAN. VLAN 1, the
management VLAN, is already created. Note that the X shown in the command is the pod
number.
CMERouterX# vlan database
CMERouterX(vlan)# vlan X0 name Data state active
CMERouterX(vlan)# vlan X5 name Voice state active
h. Go into the configuration mode for the management VLAN by entering global configuration mode
and typing the command interface vlan 1. The management VLAN is the VLAN used to
remotely manage network devices such as routers and switches.
CMERouterX(config)# interface vlan 1
i. Configure the management VLAN interface with an IP address appropriate for the management
VLAN. From the interface configuration mode, enter the IP address for the management VLAN
based on the information found in IP Telephony Table 1. Use the command ip address 10.X.0.1
255.255.255.0 command (where X is the pod number).
CMERouterX(config-if)# ip address 10.X.0.1 255.255.255.0
j. Go into the configuration mode for the data VLAN by entering global configuration mode and
entering the command interface vlan X0 (where X is the pod number). For example, if the group
was assigned to Pod 1, the command would be as follows: interface vlan 10
CMERouterX(config)# interface vlan X0
k. Configure the data VLAN interface with an appropriate IP address. From the interface
configuration mode, enter the IP address for the data VLAN based on the information found in IP
Telephony Table 1. Use the command ip address 10.X0.0.1 255.255.255.0 command (where X
a. Verify the slot into which the router switch four port module inserts by (1) viewing the router and
(2) using the show diag command. Look for the words 4 Port FE Switch.
CMERouterX# show diag
b. Based on the previous step, into what slot does the switch module insert? _________________
c. Use the show ip interface brief command to verify the slot and the format used for the
interface. For example in a 2811 ISR, the four ports list as FastEthernet 0/0/0, 0/0/1, 0/0/2, and
0/0/3.
d. Write the format in which the four ports list. _________________________________________
e. Ports 0 and 1 of the switch module will be used to connect the IP phones. These ports must be
configured as trunk modes, must have the trunking protocol configured, must identify the native
VLAN, and must identify the voice VLAN.
Note that the slot/port-adapter/port parameter that is typed depends on the router slot into which
the four port module inserts.
The native keyword defines this VLAN as the one that is not tagged with VLAN information
when a frame (from VLAN X0) crosses the trunk between the IP phone and the switch. This
allows the PC that connects to the IP phone to be on a different subnet than the IP phone and
still receive an IP address from a DHCP server. If a warning message appears, ignore it. If this
command does not work, the proper router is not being used.
IMPORTANT: Note that the following commands must be done on both port 0 and port 1. An
alternative to the interface fastethernet command is interface range fastethernet slot/port-adapter/port command.
CMERouterX(config)# interface fastethernet slot/port-adapter/port
CMERouterX(config-if)# switchport trunk encapsulation dot1q
CMERouterX(config-if)# switchport trunk native vlan X0 (where X is
the pod number)
CMERouterX(config-if)# switchport mode trunk
CMERouterX(config-if)# switchport voice vlan X5 (where X is the pod
number)
CMERouterX(config-if)# no shutdown
f. What is the purpose of the dot1q parameter used in the previous step? ___________________
a. From privileged mode on the router, issue the show ip interface brief command and verify that
VLAN1, X0, and X5 (where X is the pod number) have IP addresses and that their status is up
and up.
CMERouterX# show ip interface brief
b. Are all three VLAN interfaces up and up and have the proper IP address? If not, troubleshoot as
necessary. __________
If the interfaces are not there, do not have an IP address or the correct IP address, or if their
status is not up and up, do not proceed until appropriate troubleshooting has been performed.
k. Based on the command output, what VLAN is the native VLAN? (Note: The native VLAN is the
VLAN that does not tag a frame from this VLAN as it traverses the trunk with VLAN information.
It is also the VLAN that continues to cross the link between the router and the switch if the trunk
ever fails for any reason.) _________________________________________
l. Based on the command output, what VLANs are allowed on the trunk? ____________________
m. Based on the command output, what VLANs are participating in spanning tree and are in the
forwarding state? ______________________________
n. Connect a Cisco IP phone using a straight-through cable to the switch port 0. The port on the
bottom of the IP phone is labeled 10/100. Note that the IP phone will not work until CallManager
Express has been configured.
o. Using a second straight-through cable, connect the second phone to switch port 1 on the router.
1a. The pod number depends on what the instructor assigned.
3m.
10.X0.0.1 (Pod1 is 10.1.0.1; Pod2 is 10.2.0.1, etc.)
4b. Depends on the router being used
4d. Usually this answer will be something similar to the following: FastEthernet 0/0/0, 0/0/1, 0/0/2,
and 0/0/3 OR FastEthernet 1/0/0, 1/0/1, 1/0/2, and 1/0/3.
4f. DOT1Q is the parameter that specifies the IEEE 802.1Q trunking protocol to be used on the
subinterface. The 802.1Q trunking protocol is the most commonly used trunking protocol. The
alternative is ISL. Note many switches do not have both trunking protocols.
5b. Yes
5d. Enabled
5e. trunk
5f. trunk
5g. dot1q
5h. all of the VLANs
5j. The answer depends on the slot number into which the switch module inserts, but an example
is Fa0/0/0 and Fa0/0/1.
5k. VLAN X0 (where X is the pod number)
5l. 1-1005 (all of them)
5m. VLANs 1, X0, and X5 (where X is the pod number)
Lab 2.1.1b Basic Setup for the CME Router and Switch
Objectives
• Configure a Cisco router in preparation for CallManager Express (CME)
• Identify the DHCP configuration commands
• Configure a switch in preparation for CME
Equipment Requirements
• Cisco CallManager Express (CME) capable router
• Inline Power capable switch or non-inline power switch with power injectors
• Workstation with an Ethernet 10/100 NIC installed
In this lab, the ACME.com Company has decided to deploy CallManager Express in the enterprise.
First, the router portion of CallManager Express must be configured. The routers and switches
should be configured using the information found in IP Telephony Table 1.
Step 1 Assign a Pod Number
a. Ask the instructor to assign a pod number to the lab group.
What pod number was the group assigned? ____________________
a. Connect to the console port of a Cisco CallManager Express router and power it on. If the router
has a configuration already on it, erase the router and reload it.
b. Enter privilege mode, and then configuration mode.
c. Change the hostname of the router. Use the command hostname CMERouterX, where X is the
pod number assigned to the group. Throughout the rest of the lab, use IP Telephony Table 1
parameters based on the pod number assigned.
Router(config)# hostname CMERouterX
d. Set the enable secret password to cisco. (Do not deviate from this password.)
e. Use the command no ip domain-lookup to disable name resolution since there is no DNS
server in the classroom lab.
CMERouterX(config)# no ip domain-lookup
f. Note that router commands are IOS and model specific. Examples given in this lab are the most
common configurations seen. However, the command man vary slightly. For example, on a 1760
router the VTY lines are 0 through 15 instead of 0 through 4. Configure all the router VTY lines
with parameters similar to the following:
h. Create a subinterface for the management VLAN by entering global configuration mode, and
typing the command interface fastethernet 0/0.1. The management VLAN is the VLAN used to
remotely manage network devices such as routers and switches.
Note: Depending on the model and physical configuration of the router, the interface could be a
FastEthernet port or a Gigabit Ethernet port. Also, the router may have a different physical
interface number (i.e., FastEthernet 0 or GigabitEthernet 2/0). If unsure about which interface is
installed, verify the name of the Ethernet ports on the router by using the show running-config
or show ip interface brief command.
CMERouterX(config)# interface fastethernet 0/0.1
What types of Ethernet interface(s) are on the router? ______________________________
i. Configure the subinterface for trunking by entering the command encapsulation dot1q 1. The 1
is the management VLAN number. The command instructs the router to use this subinterface for
VLAN 1. If a warning message appears, ignore it. If this command does not work, the proper
router is not being used.
j. Configure the management VLAN subinterface with an IP address appropriate for the
management VLAN. From the subinterface configuration mode, enter the IP address for the
management VLAN based on the information found in IP Telephony Table 1. Use the command
ip address 10.X.0.1 255.255.255.0 command (where X is the pod number).
CMERouterX(config-subif)# ip address 10.X.0.1 255.255.255.0
If a switch was configured with an IP address on the same management VLAN, what would be
the default gateway IP address configured on the switch? ________________________
k. Create a subinterface for the data VLAN by entering the global configuration mode and entering
the command interface fastethernet 0/0.X0 (where X is the pod number). For example, if the
group was assigned to Pod 1, the command would be as follows: interface fastethernet 0/0.10
CMERouterX(config)# interface fastethernet 0/0.X0
l. Configure the subinterface for trunking by entering the command encapsulation dot1q X0
(where X is the pod number) native. The native keyword defines this VLAN as the one that is
not tagged with VLAN information when a frame (from VLAN X0) crosses the trunk between the
router and the switch. This allows the PC that connects to the IP phone to be on a different
subnet than the IP phone and still receive an IP address from a DHCP server. If a warning
message appears, ignore it. If this command does not work, the proper router is not being used.
m. Configure the data VLAN subinterface with an IP address appropriate for the data VLAN. From
the subinterface configuration mode, enter the IP address for the data VLAN based on the
information found in IP Telephony Table 1. Use the command ip address 10.X0.0.1
255.255.255.0 command (where X is the pod number). CMERouterX(config-subif)#ip address 10.X0.0.1 255.255.255.0
If a host was configured on the same data VLAN, what would be the host default gateway IP
address? ________________________________________________________________
n. Create a subinterface for the voice VLAN by entering the global configuration mode, and
entering the command interface fastethernet 0/0.X5 (where X is the pod number).
r. Configure the EIGRP routing protocol by using the router eigrp 100 command to start an
EIGRP process with an autonomous system number of 100. Then enter the command network
10.0.0.0, which enables and advertises EIGRP updates on all 10.0.0.0-configured interfaces.
CMERouterX(config)# router eigrp 100
CMERouterX
s. Connect a straight-through cable between the Ethernet port on the router and port 1 on the
switch.
t. Verify connectivity by viewing the interfaces on the router.
CMERouterX# show ip interface brief
u. Is the Ethernet interface in a functional state?_______
If not, troubleshoot and resolve the problem. Do not proceed until the interface is up and up.
What is the status of the Status and Protocol states for the main Ethernet interface (not the
subinterfaces)? ____________________________________________________________
v. Save the router configuration.
(config-router)# network 10.0.0.0
Step 3 Erasing the CME Switch
Note: The configuration output used in the lab is produced from a 2950 switch. Any other switch or
IOS may produce different output. The following steps are to be executed on each model of switch
unless specifically instructed otherwise.
a. Connect a console cable to the switch and power on the switch.
b. Erase the switch VLAN database and startup-configuration file by using the delete
flash:vlan.dat, erase startup-config, and reload commands.
a. From privileged mode, exam the current configuration that follows to verify that there is no
configuration except for the hostname:
CMESwitchX# show running-config
b. Are there any passwords set on the console or VTY lines? ______________________________
c. What does the configuration show as the hostname of this switch? _______________________
Step 7 Set access passwords
Enter line configuration mode for the console port. Set the password on the console port to cisco.
Configure the VTY lines with the password of cisco.
Step 10 Verify and activate the management VLANs settings
a. Verify the interface settings on VLAN 1 as follows:
CMESwitchX# show interfaces vlan 1
b. What is the bandwidth on this interface? ____________________________________________
c. What are the VLAN states: VLAN1 is ___________________________________________, line
protocol is _________________________.
d. What is the queuing strategy being used? ___________________________________________
e. Enable the virtual interface using the no shutdown command.
CMESwitchX(config)# interface vlan 1
CMESwitchX(config-if)# no shutdown
Step 11 Save the configuration
a. The basic configuration of the switch has just been completed. Backup the running configuration
file to NVRAM.
Note: This will ensure that the changes made will not be lost if the system is rebooted or
loses power.
CMESwitchX# copy running-config startup-config
Step 12 Configure the switch port as a trunk port
a. From global configuration mode, access switch interface port 1 that connects to the router.
CMESwitchX(config)# interface fastethernet 0/1
b. From interface configuration mode, set the switch to use the IEEE 802.1Q trunking protocol.
Note: If this command does not work on the switch, the switch only supports the 802.1Q trunking
protocol and does not have to be programmed with this command. The next step may have to be
completed before this step if an older switch is being used.
n. If the show interfaces trunk command is available, what VLAN is the native VLAN? (Note: The
native VLAN is the VLAN that does not tag a frame from this VLAN as it traverses the trunk with
VLAN information. It is also the VLAN that continues to cross the link between the router and the
switch if the trunk ever fails for any reason.) _________________________________________
o. If the show interfaces trunk command is available, what VLANs are allowed on the trunk based
on the output from this command? _____________________________
p. If the show interfaces trunk command is available, what VLANs are participating in spanning
tree and are in the forwarding state? ______________________________
Step 13 Test connectivity across the trunk
a. From enable mode on the switch, ping the router IP address for VLAN1 (the management
VLAN). Refer to IP Telephony Table 1 for this address. (X in the command below refers to the
pod number.)
CMESwitchX# ping 10.X.0.1
b. Was the ping successful from the switch? _____________________________________
If the ping was unsuccessful, do not proceed until appropriate troubleshooting has been
performed and the ping is successful. Note that on some models of routers and switches the
speed and duplex must be manually configured on both ports.
c. Ping the router IP address for the voice VLAN and the data VLAN. Refer to IP Telephony Table
1 for IP addresses, if necessary. All pings should be successful when the trunk is working
correctly. Troubleshoot as necessary.
d. For the ports that connect to the IP phones, the switch must be configured so that 802.1Q knows
which VLAN contains voice traffic. This is done with the switchport voice vlan command. The
voice VLAN is X5, where X is the pod number. Refer to IP Telephony Table 1 for the IP
addressing scheme.
e. The IP phone has a port used to connect a PC. The PC can (and should) be on a separate
VLAN from the IP phone. The IP phone connects to the switch via a trunk port. A trunk port can
carry multiple VLAN information. In order for the phone to operate on a different VLAN from the
phone, the switchport trunk native vlan X0 (where X is the pod number) command must be
used. The native VLAN is the VLAN that does not get tagged with VLAN information as frames
from this VLAN traverse the trunk. The native VLAN must be the same as the data VLAN for this
to work.
This command is done in interface configuration mode. The interface to use is the switch
interface to which one of the IP phones connects (the one that has a PC connected to the PC
port on the back of the IP phone). The X in the switchport command refers to the pod number.
1a. The pod number depends on what the instructor assigned.
2h. The interfaces on the router depends on the router model and physical configuration being
used by the student.
2j. 10.X.0.1 (Pod1 is 10.1.0.1; Pod2 is 10.2.0.1, etc.)
2l. DOT1Q is the parameter that specifies the IEEE 802.1Q trunking protocol to be used on the
subinterface. The 802.1Q trunking protocol is the most commonly used trunking protocol. The
alternative is ISL. Note many switches do not have both trunking protocols.
2m.
10.X0.0.1 (Pod1 is 10.1.0.1; Pod2 is 10.2.0.1, etc.)
2u. Yes or the student needs to troubleshoot.
The status is supposed to be up and up.
4b. The number of interfaces depends on the switch model being used.
4c. The VTY values depends on which switch model is being used, but a common response will be
5 or 15.
4e. Because there is no configuration file located in NVRAM.
6b. No.
6c. CMESwitchX where X is the pod number.
8b. The enable secret command takes precedence over the enable password command.
9b. The management VLAN is the VLAN that is used to access the switch from a remote device.
The management VLAN is where an IP address is assigned to the switch.
9d. The default gateway on a switch allows an administrator to reach remote devices on different
networks from VLAN 1 from the switch command prompt.
10b. The answer depends on the type switch. A common answer is 1,000,000 Kbits.
• Install Cisco CallManager Express (CME) software on the router
Equipment Requirements
• Cisco CallManager Express (CME) capable router
• Cisco router IOS version that supports CallManager Express
• Workstation with Ethernet 0/100 NIC installed
• TFTP server application
• Access to Table 1 IP Telephony IP Addressing Scheme and VLAN Assignment document
In this lab the ACME.com Company has configured the router with a basic configuration, but the
version of IOS on the router does not support CallManager Express features. The version of IOS will
need to be updated. The router should already be configured. Redo Lab 2.1.1 if necessary.
Note: This lab may not be necessary if the IPVoice IOS is already installed. Use the show flash:
command on the router and see if the words IPVOICE appear in the name of the IOS image. This is
one quick indication that can be used to determine if this lab is necessary.
Note: If the router has multiple Ethernet interfaces use the lowest numbered interface. For example, if
there are two Ethernet interface, 0 and 1, then 0 should be used.
a. Ensure the computer that has the TFTP server application loaded on it is connected to the
Ethernet port of the router. Be sure that the computer has an appropriate IP address and default
gateway assigned. See the IP Telephony Table 1 for IP addressing assignment. An example IP
address is 10.1.0.5 and default gateway of 10.1.0.1, where the 1 in the second octet is equal to
the pod number and the number in the fourth octet is 2, 3 or any number between 5 and 254.
b. Ensure that the appropriate router IOS file that supports CallManager Express is placed in the
default folder for the TFTP server application. Obtain this file from the instructor.
c. Open the TFTP server application.
d. Console to the router. From the router ping the TFTP server. Do not proceed unless the ping is
successful. Troubleshoot as necessary.
e. What address is assigned to the TFTP server? ____________________________________
Step 2 Update and Install Cisco CallManager Express IOS
a. From enable mode, copy the IOS image from the TFTP server to the router. The prompts may
vary depending on the model and IOS.
CMERouterX# copy tftp: flash:
Source filename? [Enter the IOS filename. It is best to copy and past the filename into this section.]
Address or name of remote host? [Enter the address assigned to the TFTP server. See step 1e.]
Destination filename? [The filename should be the same as what was placed in the source filename and Enter can be pressed.]
When and if prompted to overwrite enter y for yes.
(Address or name of remote host is the IP address of the TFTP server. Source filename is
the filename of the Voice IOS located on the TFTP server. Destination filename is the same
name as Source filename. Contact the instructor to obtain the correct router IOS that
supports IP Telephony.)
An example of the process follows:
CMERouter1# copy tftp flash:
Address or name of remote host? 10.10.0.12
Source filename? c2800nm-ipvoice-mz.123-11.T3.bin
Destination filename? c2800nm-ipvoice-mz.123-11.T3.bin
When prompted to save the system configuration, enter no.
When prompted to confirm the reload, enter y.
e. Verify the system image file (IOS Image) is the correct one by using the show flash or show
version command. The system image file should match the filename used in step 2a.
CMERouterX# show version
For example:
Cisco IOS Software, 2800 Software (C2800NM-IPVOICE-M), Version
12.3(11)T3, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 26-Jan-05 02:49 by pwade
ROM: System Bootstrap, Version 12.3(8r)T7, RELEASE SOFTWARE
(fc1)
CMERouter1 uptime is 11 minutes
System returned to ROM by power-on
System image file is "flash:c2800nm-ipvoice-mz.123-11.T3.bin"
Cisco 2821 (revision 53.51) with 249856K/12288K bytes of
memory.
Processor board ID FHK0847F0QH
4 FastEthernet interfaces
2 Gigabit Ethernet interfaces
2 Serial(sync/async) interfaces
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
Configuration register is 0x2102
f. Is the image on the router correct? ________________________________
If not, troubleshoot as necessary until this image is on the router.
a. There are two types of switches that can be used with Cisco IP phones: (1) an inline power
switch and (2) a non-inline power switch. A switch that can provide power to another device such
as an IP phone has the words INLINE POWER stenciled on it as shown below.
A non-inline power switch does not have the words INLINE POWER stenciled on it. An example
of this type of switch is the 2950. The 2950 cannot provide power to other devices such as the
Cisco IP phone.
b. Use the Cisco web site to determine if any model of 29xx switch can provide inline power.
Record the results. __________________________________________________________
Step 2 Cabling the IP phone to an inline power switch
Note: If an inline power switch is not available, skip to Step 3.
a. Locate the two RJ-45 ports on the back of the IP phone.
b. What are the names of the two RJ-45 ports? ______________________________________
c. Connect a power cord to the switch that is to provide the inline power. The switch should power
The port on the left labeled 10/100BaseTX to Device is used to connect to the IP phone (via a
straight-through cable).The port on the right labeled 10/100BaseTX to Network is used to
connect to a non-inline power switch such as a 2950 switch (via a straight-through cable).
c. Connect a straight-through cable from the left power injector port labeled 10/100BaseTX To
Device to the IP phone port labeled 10/100 SW.
d. Connect a second straight-through cable from the right power injector port labeled
10/100BaseTX To Network to any non-inline power switch port.
e. At the opposite end of the power injector module there is a cable that goes to the power supply
adapter. The opposite end of the power supply adapter requires an AC power cord.
Plug an AC power cord into the AC adapter. Plug the other end of the AC power cord into an AC
wall outlet.
f. What indication is shown on the phone that power has been applied?
Lab 2.1.4 Resetting a 7900 Series Cisco IP Phone to Factory Defaults
Objective
• Erase the current configuration from an IP phone
Equipment Requirements
• Cisco IP Phone 79xx series
• Inline power capable switch or non-inline power switch with power injectors
In this lab, the ACME.com Company has decided to deploy CallManager Express (CME) in the
enterprise. First, the IP phones must be reset. They were used in a test lab by the network support
staff and currently have various configurations. This process should be used when configuring any IP
phone that could have been previously configured.
Step 1 Provide power to the switch
a. Cable the Cisco IP phone to an inline power switch using a straight-through cable OR cable the
phone (with a straight-through cable) to a power module that connects to a non-inline power
switch.
b. Power on the switch.
c. Which method of providing power to the IP phone was chosen? __________________________
a. On the IP phone press the following keys to unlock the Network Configuration menu: **#. Note:
No feedback will be given on the screen.
b. Press the Settings button on the phone. If the phone buttons are unlabelled, it is the button that
has a checkmark on the button.
c. Press the number 3 on the keypad to select the Network Configuration option.
d. Using the arrow keys scroll up and down to see the network configuration options. How many
options are available? ___________________________________________________________
e. Either scroll to the number 33 options or press the number 33 on the keypad. The Erase
Configuration option should now be displayed on the IP phone.
Note: A key to whether or not this works properly is that the symbol of an unlocked lock is
beside the words Network Configuration. If the symbol is a lock press the following keys: **#.
f. Press the button located under the Yes option.
g. Press the button located under the Save option.
What message appears on the IP phone screen? ___________________________________
h. Press the button that corresponds to Cancel.
i. Press the Save option.
j. What message appears on the IP phone screen? ___________________________________