Prerequisites For Defining Network Parameters

Download as pdf or txt
Download as pdf or txt
You are on page 1of 26

Network Parameters

• Prerequisites for Defining Network Parameters, on page 1


• Restrictions for Defining Network Parameters, on page 1
• Information About Defining Network Parameters, on page 2
• Define Network Parameters, on page 4
• Configuration Examples for Network Parameters, on page 24
• Where to Go Next, on page 25
• Feature Information for Network Parameters, on page 25

Prerequisites for Defining Network Parameters


• IP routing must be enabled.
• VoIP networking must be operational. For quality and security purposes, we recommend you have
separate virtual LANs (VLANs) for data and voice. The IP network assigned to each VLAN should be
large enough to support addresses for all nodes on that VLAN. Cisco Unified CME phones receive their
IP addresses from the voice network, whereas all other nodes such as PCs, servers, and printers receive
their IP addresses from the data network. For configuration information, see Configure VLANs on a
Cisco Switch.
• If applicable, PSTN lines are configured and operational.
• If applicable, the WAN links are configured and operational.
• Trivial File Transfer Protocol (TFTP) must be enabled on the router to allow IP phones to download
phone firmware files.
• To support IP phones that are running SIP to be directly connected to the Cisco Unified CME router,
Cisco Unified CME 3.4 or later must be installed on the router.
• To provide voice-mail support for phones connected to the Cisco Unified CME router, install and configure
voice mail on your network.

Restrictions for Defining Network Parameters


In Cisco Unified CME 4.0 and later versions, Layer-3-to-Layer-2 VLAN Class of Service (CoS) priority
marking is not automatically processed. Cisco Unified CME 4.0 and later versions will continue to mark Layer

Network Parameters
1
Network Parameters
Information About Defining Network Parameters

3, but Layer 2 marking is now only handled in the Cisco IOS software. Any Quality of Service (QoS) design
that requires Layer 2 marking will have to be explicitly configured, either on a Catalyst switch that supports
this capability or on the Cisco Unified CME router under the Ethernet interface configuration. For configuration
information, see Enterprise QoS Solution Reference Network Design Guide.

Information About Defining Network Parameters


DHCP Service
When a Cisco Unified IP phone is connected to the Cisco Unified CME system, it automatically queries for
a Dynamic Host Configuration Protocol (DHCP) server. The DHCP server responds by assigning an IP address
to the Cisco Unified IP phone and providing the IP address of the TFTP server through DHCP option 150.
Then the phone registers with the Cisco Unified CME server and attempts to get configuration and phone
firmware files from the TFTP server.
For configuration information, perform only one of the following procedures to set up DHCP service for your
IP phones:
• If your Cisco Unified CME router is the DHCP server and you can use a single shared address pool for
all your DHCP clients, see Configure Single DHCP IP Address Pool, on page 7.
• If your Cisco Unified CME router is the DHCP server and you need separate pools for non-IP-phone
DHCP clients, see Configure Separate DHCP IP Address Pool for Each DHCP Client, on page 9.
• If the Cisco Unified CME router is not the DHCP server and you want to relay DHCP requests from IP
phones to a DHCP server on a different router, see Configure DHCP Relay, on page 11.

Network Time Protocol for the Cisco Unified CME Router


Network Time Protocol (NTP) allows you to synchronize your Cisco Unified CME router to a single clock
on the network, known as the clock master. NTP is disabled on all interfaces by default, but it is essential for
Cisco Unified CME so you must ensure that it is enabled. For information about configuring NTP for the
Cisco Unified CME router, see Enable Network Time Protocol, on page 12.

Olson Timezones
Before Cisco Unified CME 9.0, some Cisco Unified SCCP IP phones and Cisco Unified SIP IP phones
displayed exactly the same time as that of the Cisco Unified CME. For these phones, the correct time was
displayed whenever the Cisco Unified CME time was set correctly. The clock timezone, clock summer-time,
and clock set commands were the only commands used to set the Cisco Unified CME time correctly.
Other phones used only the time-zone command in telephony-service configuration mode and the timezone
command in voice register global configuration mode to specify which time zone they were in so that the
correct local time was displayed on Cisco Unified SCCP IP phones and Cisco Unified SIP IP phones,
respectively. The phones calculated and displayed the time based on the Greenwich Mean Time (GMT)
provided by the Cisco Unified CME or the Network Time Protocol server. The problem with this method is
that every time a new country or new time zone was available or an old time zone was changed, the Cisco
Unified CME time-zone and timezone commands and the phone loads had to be updated.

Network Parameters
2
Network Parameters
DTMF Relay

In Cisco Unified CME 9.0 and later versions, the Olson Timezone feature eliminates the need to update time
zone commands or phone loads to accommodate a new country with a new time zone or an existing country
whose city or state wants to change their time zone. Oracle’s Olson Timezone updater tool, tzupdater.jar, only
needs to be current for you to set the correct time using the olsontimezone command in either telephony-service
or voice register global configuration mode.
For Cisco Unified 3911 and 3951 SIP IP phones and Cisco Unified 6921, 6941, 6945, and 6961 SCCP and
SIP IP phones, the correct Olson Timezone updater file is TzDataCSV.csv. The TzDataCSV.csv file is created
based on the tzupdater.jar file.
To set the correct time zone, you must determine the Olson Timezone area/location where the Cisco Unified
CME is located and download the latest tzupdater.jar or TzDataCSV.csv to a TFTP server that is accessible
to the Cisco Unified CME, such as flash or slot 0.
After a complete reboot, the phone checks if the version of its configuration file is earlier or later than 2010o.
If it is earlier, the phone loads the latest tzupdater.jar and uses that updater file to calculate the Olson Timezone.
To make the Olson Timezone feature backward compatible, both the time-zone and timezone commands are
retained as legacy time zones. Because the olsontimezone command covers approximately 500 time zones
(Version 2010o of the tzupdater.jar file supports approximately 453 Olson Timezone IDs.), this command
takes precedence when either the time-zone or the timezone command (that covers a total of 90 to 100 time
zones only) is present at the same time as the olsontimezone command.
For more information on setting the time zone so that the correct local time is displayed on an IP phone, see
Set Olson Timezone for SCCP Phones, on page 13 or Set Olson Timezone for SIP Phones, on page 16.

DTMF Relay
IP phones connected to Cisco Unified CME systems require the use of out-of-band DTMF relay to transport
DTMF (keypad) digits across VoIP connections. The reason for this is that the codecs used for in-band transport
may distort DTMF tones and make them unrecognizable. DTMF relay solves the problem of DTMF tone
distortion by transporting DTMF tones out-of-band, or separate, from the encoded voice stream.
For IP phones on H.323 networks, DTMF is relayed using the H.245 alphanumeric method, which is defined
by the ITU H.245 standard. This method separates DTMF digits from the voice stream and sends them as
ASCII characters in H.245 user input indication messages through the H.245 signaling channel instead of the
RTP channel. For information about configuring a DTMF relay in a multisite installation, see Configure
DTMF Relay for H.323 Networks in Multisite Installations, on page 19.
To use remote voice-mail or IVR applications on SIP networks from Cisco Unified CME phones, the DTMF
digits used by the Cisco Unified CME phones must be converted to the RFC 2833 in-band DTMF relay
mechanism used by SIP phones. The SIP DTMF relay method is needed in the following situations:
• When SIP is used to connect a Cisco Unified CME system to a remote SIP-based IVR or voice-mail
application.
• When SIP is used to connect a Cisco Unified CME system to a remote SIP-PSTN voice gateway that
goes through the PSTN to a voice-mail or IVR application.

The requirement for out-of-band DTMF relay conversion is limited to SCCP phones. SIP phones natively
support in-band DTMF relay as specified in RFC 2833.
To use voice mail on a SIP network that connects to a Cisco Unity Express system, which uses a nonstandard
SIP Notify format, the DTMF digits used by the Cisco Unified CME phones must be converted to the Notify
format. Additional configuration may be required for backward compatibility with Cisco CME 3.0 and 3.1.

Network Parameters
3
Network Parameters
SIP Register Support

For configuration information about enabling DTMF relay for SIP networks, see Configure SIP Trunk Support,
on page 20.

SIP Register Support


SIP register support enables a SIP gateway to register E.164 numbers with a SIP proxy or SIP registrar, similar
to the way that H.323 gateways can register E.164 numbers with a gatekeeper. SIP gateways allow registration
of E.164 numbers to a SIP proxy or registrar on behalf of analog telephone voice ports (FXS) and IP phone
virtual voice ports (EFXS) for local SCCP phones.
When registering E.164 numbers in dial peers with an external registrar, you can also register them with a
secondary SIP proxy or registrar to provide redundancy. The secondary registration can be used if the primary
registrar fails.

Note No commands allow registration between the H.323 and SIP protocols.

By default, SIP gateways do not generate SIP Register messages, so the gateway must be configured to register
the gateway’s E.164 telephone numbers with an external SIP registrar. For information about configuring the
SIP gateway to register phone numbers with Cisco Unified CME, see Configure SIP Trunk Support, on page
20.

Note When you configure SIP on a router, the ports on all its interfaces are open by default. This makes the router
vulnerable to malicious attackers who can execute toll fraud across the gateway if the router has a public IP
address and a public switched telephone network (PSTN) connection. To eliminate the threat, you should
bind an interface to private IP address that is not accessible by untrusted hosts. In addition, you should protect
any public or untrusted interface by configuring a firewall or an access control list (ACL) to prevent unwanted
traffic from traversing the router.

Define Network Parameters


Enable Calls in Your VoIP Network

Restriction • SIP endpoints are not supported on H.323 trunks. SIP endpoints are supported on SIP trunks only.
• Cisco Unified CME 3.4 and later versions support Media Flow-through mode only; enabling SIP-to-SIP
calls is required before you can successfully make SIP-to-SIP calls.
• Media Flow-around configured with the media flow-around command is not supported by
Cisco Unified CME with SIP phones.

Network Parameters
4
Network Parameters
Enable Calls in Your VoIP Network

SUMMARY STEPS
1. enable
2. configure terminal
3. voice service voip
4. allow-connections from-type to to-type
5. sip
6. registrar server [expires [max sec] [min sec]]
7. exit
8. sip-ua
9. notify telephone-event max-duration time
10. registrar {dns:host-name | ipv4:ip-address} expires seconds [tcp] [secondary]
11. retry register number
12. timers register time
13. end

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 voice service voip Enters voice service configuration mode and specifies
Voice over IP (VoIP) encapsulation.
Example:
Router(config)# voice service voip

Step 4 allow-connections from-type to to-type Enables calls between specific types of endpoints in a VoIP
network.
Example:
Router(config-voi-srv)# allow-connections h323 to • A separate allow-connections command is required
h323 for each type of endpoint to be supported.
Router(config-voi-srv)# allow-connections h323 to
SIP
Router(config-voi-srv)# allow-connections SIP to
SIP

Step 5 sip (Optional) Enters SIP configuration mode.


Example: • Required if you are connecting IP phones running
Router(config-voi-srv)# sip SIP directly in Cisco CME 3.4 and later.

Step 6 registrar server [expires [max sec] [min sec]] (Optional) Enables SIP registrar functionality in
Cisco Unified CME.
Example:

Network Parameters
5
Network Parameters
Enable Calls in Your VoIP Network

Command or Action Purpose


Router(config-voi-sip)# registrar server expires • Required if you are connecting IP phones running
max 600 min 60
SIP directly in Cisco CME 3.4 and later.

Note Cisco Unified CME does not maintain a


persistent database of registration entries across
reloads. Because SIP phones do not use a
keepalive functionality, the SIP phones must
register again. To decrease the amount of time
after which the SIP phones register again, we
recommend that you change the expiry.

• max sec—(Optional) Range: 600 to 86400.


Default: 3600. Recommended value: 600.

Note Ensure that the registration expiration timeout


is set to a value smaller than the TCP
connection aging timeout to avoid disconnection
from the TCP.

• min sec—(Optional) Range: 60 to 3600. Default: 60.

Step 7 exit Exits dial-peer configuration mode.


Example:
Router(config-voi-sip)# exit

Step 8 sip-ua Enters SIP user-agent configuration mode.


Example:
Router(config)# sip-ua

Step 9 notify telephone-event max-duration time Configures the maximum time interval allowed between
two consecutive NOTIFY messages for a single DTMF
Example:
event.
Router(config-sip-ua)# notify telephone-event
max-duration 2000 • max-duration time—Range: 500 to 3000.
Default: 2000.

Step 10 registrar {dns:host-name | ipv4:ip-address} expires Registers E.164 numbers on behalf of analog telephone
seconds [tcp] [secondary] voice ports (FXS) and IP phone virtual voice ports (EFXS)
with an external SIP proxy or SIP registrar server.
Example:
Router(config-sip-ua)# registrar ipv4:10.8.17.40
expires 3600 secondary

Step 11 retry register number Sets the total number of SIP Register messages that the
gateway should send.
Example:
Router(config-sip-ua)# retry register 10 • number—Number of Register message retries.
Range: 1 to 10. Default: 10.

Network Parameters
6
Network Parameters
Configure DHCP

Command or Action Purpose


Step 12 timers register time Sets how long the SIP user agent (UA) waits before
sending Register requests.
Example:
Router(config-sip-ua)# timers register 500 • time—Waiting time, in milliseconds.
Range: 100 to 1000. Default: 500.

Step 13 end Exits configuration mode and enters privileged EXEC


mode.
Example:
Router(config-sip-ua)# end

Configure DHCP
To set up DHCP service for your DHCP clients, perform only one of the following procedures:
• If your Cisco Unified CME router is the DHCP server and you can use a single shared address pool for
all your DHCP clients, see Configure Single DHCP IP Address Pool, on page 7.
• If your Cisco Unified CME router is the DHCP server and you need separate pools for each IP phone
and each non-IP-phone DHCP client, see Configure Separate DHCP IP Address Pool for Each DHCP
Client, on page 9.
• If the Cisco Unified CME router is not the DHCP server and you want to relay DHCP requests from IP
phones to a DHCP server on a different router, see Configure DHCP Relay, on page 11.

Configure Single DHCP IP Address Pool


To create a shared pool of IP addresses for all DHCP clients, perform the following step.

Note Do not perform this task if you already have a DHCP server on the LAN that can be used to provide addresses
to the Cisco Unified CME phones. See Enable Network Time Protocol, on page 12.

Restriction A single DHCP IP address pool cannot be used if non-IP-phone clients, such as PCs, must use a different
TFTP server address.

Before you begin


Your Cisco Unified CME router is a DHCP server.

SUMMARY STEPS
1. enable
2. configure terminal
3. ip dhcp pool pool-name
4. network ip-address [mask | / prefix-length]

Network Parameters
7
Network Parameters
Configure Single DHCP IP Address Pool

5. option 150 ip ip-address


6. default-router ip-address
7. end

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 ip dhcp pool pool-name Creates a name for the DHCP server address pool and enters
DHCP pool configuration mode.
Example:
Router(config)# ip dhcp pool mypool

Step 4 network ip-address [mask | / prefix-length] Specifies the IP address of the DHCP address pool to be
configured.
Example:
Router(config-dhcp)# network 10.0.0.0 255.255.0.0

Step 5 option 150 ip ip-address Specifies the TFTP server address from which the
Cisco Unified IP phone downloads the image configuration
Example:
file.
Router(config-dhcp)# option 150 ip 10.0.0.1
• This is your Cisco Unified CME router’s address.

Step 6 default-router ip-address (Optional) Specifies the router that the IP phones will use
to send or receive IP traffic that is external to their local
Example:
subnet.
Router(config-dhcp)# default-router 10.0.0.1
• If the Cisco Unified CME router is the only router on
the network, this address should be the
Cisco Unified CME IP source address. This command
can be omitted if IP phones need to send or receive IP
traffic only to or from devices on their local subnet.
• The IP address that you specify for default router will
be used by the IP phones for fallback purposes. If the
Cisco Unified CME IP source address becomes
unreachable, IP phones will attempt to register to the
address specified in this command.

Step 7 end Returns to privileged EXEC mode.


Example:
Router(config-dhcp)# end

Network Parameters
8
Network Parameters
Configure Separate DHCP IP Address Pool for Each DHCP Client

What to do next
• If you are configuring Cisco Unified CME for the first time on this router, you are ready to configure
NTP for the Cisco Unified CME router. For more information, see Enable Network Time Protocol, on
page 12.
• If you are finished modifying network parameters for an already configured Cisco Unified CME router,
see Configuration Files for Phones.

Configure Separate DHCP IP Address Pool for Each DHCP Client


To create a DHCP IP address pool for each DHCP client, including non-IP-phone clients such as PCs, perform
the following steps.

Note Do not perform this task if you already have a DHCP server on the LAN that can be used to provide addresses
to the Cisco Unified CME phones. See Enable Network Time Protocol, on page 12.

Restriction To use a separate DHCP IP address pool for each DHCP client, make an entry for each IP phone.

Before you begin


Your Cisco Unified CME router is a DHCP server.

SUMMARY STEPS
1. enable
2. configure terminal
3. ip dhcp pool pool-name
4. host ip-address subnet-mask
5. client-identifier mac-address
6. option 150 ip ip-address
7. default-router ip-address
8. end

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Network Parameters
9
Network Parameters
Configure Separate DHCP IP Address Pool for Each DHCP Client

Command or Action Purpose


Step 3 ip dhcp pool pool-name Creates a name for the DHCP server address pool and enters
DHCP pool configuration mode.
Example:
Router(config)# ip dhcp pool pool2

Step 4 host ip-address subnet-mask Specifies the IP address that you want the phone to get.
Example:
Router(config-dhcp)# host 10.0.0.0 255.255.0.0

Step 5 client-identifier mac-address Specifies the MAC address of the phone, which is printed
on a label on each Cisco Unified IP phone.
Example:
Router(config-dhcp)# client-identifier • A separate client-identifier command is required for
01238.380.3056 each DHCP client.
• Add “01” prefix number before the MAC address.

Step 6 option 150 ip ip-address Specifies the TFTP server address from which the
Cisco Unified IP phone downloads the image configuration
Example:
file.
Router(config-dhcp)# option 150 ip 10.0.0.1
• This is your Cisco Unified CME router’s address.

Step 7 default-router ip-address (Optional) Specifies the router that the IP phones will use
to send or receive IP traffic that is external to their local
Example:
subnet.
Router(config-dhcp)# default-router 10.0.0.1
• If the Cisco Unified CME router is the only router on
the network, this address should be the
Cisco Unified CME IP source address. This command
can be omitted if IP phones need to send or receive IP
traffic only to or from devices on their local subnet.
• The IP address that you specify for default router will
be used by the IP phones for fallback purposes. If the
Cisco Unified CME IP source address becomes
unreachable, IP phones will attempt to register to the
address specified in this command.

Step 8 end Returns to privileged EXEC mode.


Example:
Router(config-dhcp)# end

What to do next
• If you are configuring Cisco Unified CME for the first time on this router, you are ready to configure
NTP for the Cisco Unified CME router. See Enable Network Time Protocol, on page 12.
• If you are finished modifying network parameters for an already configured Cisco Unified CME router,
see Configuration Files for Phones.

Network Parameters
10
Network Parameters
Configure DHCP Relay

Configure DHCP Relay


To set up DHCP relay on the LAN interface where the Cisco Unified IP phones are connected and enable the
DHCP relay to relay requests from the phones to the DHCP server, perform the following steps.

Restriction The Cisco Unified CME router cannot be the DHCP server.

Before you begin


There is a DHCP server that is not on this Cisco Unified CME router on the LAN that can provide addresses
to the Cisco Unified CME phones.

SUMMARY STEPS
1. enable
2. configure terminal
3. service dhcp
4. interface type number
5. ip helper-address ip -address
6. end

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 service dhcp Enables the Cisco IOS DHCP server feature on the router.
Example:
Router(config)# service dhcp

Step 4 interface type number Enters interface configuration mode for the specified
interface.
Example:
Router(config)# interface vlan 10

Step 5 ip helper-address ip -address Specifies the helper address for any unrecognized broadcast
for TFTP server and DNS server requests.
Example:
Router(config-if)# ip helper-address 10.0.0.1 • A separate ip helper-address command is required
for each server if the servers are on different hosts.

Network Parameters
11
Network Parameters
Enable Network Time Protocol

Command or Action Purpose


• You can also configure multiple TFTP server targets
by using the ip helper-address commands for multiple
servers.

Step 6 end Returns to privileged EXEC mode.


Example:
Router(config-if)# end

What to do next
• If you are configuring Cisco Unified CME for the first time on this router, you are ready to configure
NTP for the Cisco Unified CME router. See Enable Network Time Protocol, on page 12.
• If you are finished modifying network parameters for an already configured Cisco Unified CME router,
see Configuration Files for Phones.

Enable Network Time Protocol


SUMMARY STEPS
1. enable
2. configure terminal
3. clock timezone zone hours-offset [minutes-offset]
4. clock summer-time zone recurring [week day month hh:mm week day month hh:mm [offset]]
5. ntp server ip-address
6. exit

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 clock timezone zone hours-offset [minutes-offset] Sets the local time zone.
Example:
Router(config)# clock timezone pst -8

Step 4 clock summer-time zone recurring [week day month (Optional) Specifies daylight savings time.
hh:mm week day month hh:mm [offset]]

Network Parameters
12
Network Parameters
Set Olson Timezone for SCCP Phones

Command or Action Purpose


Example: • Default: summer time is disabled. If the clock
Router(config)# clock summer-time pdt recurring summer-time zone recurring command is specified
without parameters, the summer time rules default to
United States rules. Default of the offset argument is
60.

Step 5 ntp server ip-address Synchronizes software clock of router with the specified
NTP server.
Example:
Router(config)# ntp server 10.1.2.3

Step 6 exit Returns to privileged EXEC mode.


Example:
Router(config-telephony)# end

What to do next
• If you are configuring Cisco Unified CME for the first time on this router and if you have a multisite
installation, you are ready to configure a DTMF relay. See Configure DTMF Relay for H.323 Networks
in Multisite Installations, on page 19.
• If Cisco Unified CME will interact with a SIP Gateway, you must set up support for the gateway. See
Configure SIP Trunk Support, on page 20.
• If you are configuring Cisco Unified CME for the first time on this router and you are ready to configure
system parameters. See System-Level Parameters.
• If you are finished modifying network parameters for an already configured Cisco Unified CME router,
see Configuration Files for Phones.

Set Olson Timezone for SCCP Phones


To set the Olson Timezone so that the correct local time is displayed on a Cisco Unified SCCP IP phone,
perform the following steps.

Before you begin


• TzDataCSV.csv file is added to the configuration files of Cisco Unified 6921, 6941, 6945, and 6961
SCCP IP phones.
• tzupdater.jar file is added to the configuration files of Cisco Unified 7961 SCCP IP phones.

SUMMARY STEPS
1. enable
2. configure terminal
3. tftp-server device: tzupdater.jar
4. tftp-server device: TZDataCSV.csv
5. telephony-service

Network Parameters
13
Network Parameters
Set Olson Timezone for SCCP Phones

6. olsontimezone timezone version number


7. create cnf-files
8. time-zone number
9. exit
10. clock timezone zone hours-offset
11. clock summer-time zone date date month year hh:mm date month year hh:mm
12. exit
13. clock set hh:mm:ss day month year
14. configure terminal
15. telephony-service
16. reset
17. end

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 tftp-server device: tzupdater.jar Enables access to the tzupdater.jar file on the TFTP server.
Example: • device—TFTP server that is accessible to the Cisco
Router(config)# tftp-server flash:tzupdater.jar Unified CME, such as flash or slot 0.

Step 4 tftp-server device: TZDataCSV.csv Enables access to the TZDataCSV.csv file on the TFTP
server.
Example:
Router(config)# tftp-server flash:TZDataCSV.csv • device—TFTP server that is accessible to the Cisco
Unified CME, such as flash or slot 0.

Step 5 telephony-service Enters telephony-service configuration mode.


Example:
Router(config)# telephony-service

Step 6 olsontimezone timezone version number Sets the Olson Timezone so that the correct local time is
displayed on Cisco Unified SCCP IP phones or Cisco
Example:
Unified SIP IP phones.
Router(config-telephony)# olsontimezone
America/Argentina/Buenos Aires version 2010o • timezone—Olson Timezone names, which include
the area (name of continent or ocean) and location
(name of a specific location within that region, usually
cities or small islands).

Network Parameters
14
Network Parameters
Set Olson Timezone for SCCP Phones

Command or Action Purpose


• version number—Version of the tzupdater.jar or
TzDataCSV.csv file. The version indicates whether
the file needs to be updated or not.

Note In Cisco Unified CME 9.0, the latest version is


2010o.

Step 7 create cnf-files Builds the eXtensible Markup Language (XML)


configuration files that are required for Cisco Unified
Example:
SCCP IP phones in Cisco Unified CME.
Router(config-telephony)# create cnf-files

Step 8 time-zone number Sets the time zone so that the correct local time is displayed
on Cisco Unified SCCP IP phones.
Example:
Router(config-telephony)# time-zone 21 • number—Numeric code for a named time zone.

Step 9 exit Exits telephony-service configuration mode.


Example:
Router(config-telephony)# exit

Step 10 clock timezone zone hours-offset Sets the time zone for display purposes.
Example: • zone—Name of the time zone to be displayed when
Router(config)# clock timezone CST -6 standard time is in effect. The length of the zone
argument is limited to 7 characters.
• hours-offset—Hours difference from UTC.

Step 11 clock summer-time zone date date month year hh:mm (Optional) Configures the Cisco Unified CME system to
date month year hh:mm automatically switch to summer time (daylight saving
time).
Example:
Router(config)# clock summer-time CST date 12 • zone—Name of the time zone (for example, “PDT”
October 2010 2:00 26 April 2011 2:00 for Pacific Daylight Time) to be displayed when
summer time is in effect. The length of the zone
argument is limited to 7 characters.
• date—Indicates that summer time should start on the
first specific date listed in the command and end on
the second specific date in the command.
• date—Date of the month (1 to 31).
• month—Month (January, February, and so on).
• year—Year (1993 to 2035).
• hh:mm—Time (24-hour format) in hours and minutes.

Step 12 exit Exits global configuration mode.


Example:

Network Parameters
15
Network Parameters
Set Olson Timezone for SIP Phones

Command or Action Purpose


Router(config)# exit

Step 13 clock set hh:mm:ss day month year Manually sets the system software clock.
Example: • hh:mm:ss—Current time in hours (24-hour format),
Router# clock set 19:29:00 13 May 2011 minutes, and seconds.
• day—Current day (by date) in the month.
• month—Current month (by name).
• year—Current year (no abbreviation).

Step 14 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 15 telephony-service Enters telephony-service configuration mode.


Example:
Router(config)# telephony-service

Step 16 reset Performs a complete reboot of Cisco Unfiied SCCP IP


phones associated with a Cisco Unified CME router.
Example:
Router(config-telephony)# reset

Step 17 end Exits to privileged EXEC mode.


Example:
Router(config-telephony)# end

Set Olson Timezone for SIP Phones


To set the Olson Timezone so that the correct local time is displayed on a Cisco Unified SIP IP phone, perform
the following steps.

Before you begin


• TzDataCSV.csv file is added to the configuration files of Cisco Unified 3911, 3951, 6921, 6941, 6945,
and 6961 SIP IP phones.
• tzupdater.jar file is added to the configuration files of Cisco Unified 7961 SIP IP phones.

SUMMARY STEPS
1. enable
2. configure terminal
3. tftp-server device: tzupdater.jar
4. tftp-server device: TZDataCSV.csv
5. voice register global

Network Parameters
16
Network Parameters
Set Olson Timezone for SIP Phones

6. olsontimezone timezone version number


7. create profile
8. timezone number
9. exit
10. clock timezone zone hours-offset
11. clock summer-time zone date date month year hh:mm date month year hh:mm
12. exit
13. clock set hh:mm:ss day month year
14. configure terminal
15. voice register global
16. reset
17. end

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 tftp-server device: tzupdater.jar Enables access to the tzupdater.jar file on the TFTP server.
Example: • device—TFTP server that is accessible to the Cisco
Router(config)# tftp-server slot0:tzupdater.jar Unified CME, such as flash or slot 0.

Step 4 tftp-server device: TZDataCSV.csv Enables access to the TZDataCSV.csv file on the TFTP
server.
Example:
Router(config)# tftp-server slot0:TZDataCSV.csv • device—TFTP server that is accessible to the Cisco
Unified CME, such as flash or slot 0.

Step 5 voice register global Enters voice register global configuration mode.
Example:
Router(config)# voice register global

Step 6 olsontimezone timezone version number Sets the Olson Timezone so that the correct local time is
displayed on Cisco Unified SCCP IP phones or Cisco
Example:
Unified SIP IP phones.
Router(config-register-global)# olsontimezone
America/Argentina/Buenos Aires version 2010o • timezone—Olson Timezone names, which include
the area (name of continent or ocean) and location
(name of a specific location within that region, usually
cities or small islands).

Network Parameters
17
Network Parameters
Set Olson Timezone for SIP Phones

Command or Action Purpose


• version number—Version of the tzupdater.jar or
tzdatacsv.csv file. The version indicates whether the
file needs to be updated or not.

Note In Cisco Unified CME 9.0, the latest version is


2010o.

Step 7 create profile Generates the configuration profile files required for Cisco
Unified SIP IP phones.
Example:
Router(config-register-global)# create profile

Step 8 timezone number Sets the time zone used for Cisco Unified SIP IP phones.
Example: • number—Range is 1 to 53. Default is 5, Pacific
Router(config-register-global)# timezone 21 Standard/Daylight Time.

Step 9 exit Exits voice register global configuration mode.


Example:
Router(config-register-global)# exit

Step 10 clock timezone zone hours-offset Sets the time zone for display purposes.
Example: • zone—Name of the time zone to be displayed when
Router(config)# clock timezone CST -6 standard time is in effect. The length of the zone
argument is limited to 7 characters.
• hours-offset—Hours difference from UTC.

Step 11 clock summer-time zone date date month year hh:mm (Optional) Configures the Cisco Unified CME system to
date month year hh:mm automatically switch to summer time (daylight saving
time).
Example:
Router(config)# clock summer-time CST date 12 • zone—Name of the time zone (for example, “PDT”
October 2010 2:00 26 April 2011 2:00 for Pacific Daylight Time) to be displayed when
summer time is in effect. The length of the zone
argument is limited to 7 characters.
• date—Indicates that summer time should start on the
first specific date listed in the command and end on
the second specific date in the command.
• date—Date of the month (1 to 31).
• month—Month (January, February, and so on).
• year—Year (1993 to 2035).
• hh:mm—Time (24-hour format) in hours and minutes.

Step 12 exit Exits global configuration mode.


Example:

Network Parameters
18
Network Parameters
Configure DTMF Relay for H.323 Networks in Multisite Installations

Command or Action Purpose


Router(config)# exit

Step 13 clock set hh:mm:ss day month year Manually sets the system software clock.
Example: • hh:mm:ss—Current time in hours (24-hour format),
Router# clock set 15:25:00 17 November 2011 minutes, and seconds.
• day—Current day (by date) in the month.
• month—Current month (by name).
• year—Current year (no abbreviation).

Step 14 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 15 voice register global Enters voice register global configuration mode.
Example:
Router(config)# voice register global

Step 16 reset Performs a complete reboot of Cisco Unified SIP phones


associated with a Cisco Unified CME router.
Example:
Router(config-register-global)# reset

Step 17 end Exits to privileged EXEC mode.


Example:
Router(config-register-global)# end

Configure DTMF Relay for H.323 Networks in Multisite Installations


To configure DTMF relay for H.323 networks in a multisite installation only, perform the following steps.

Note To configure DTMF relay on SIP networks, see Configure SIP Trunk Support, on page 20.

SUMMARY STEPS
1. enable
2. configure terminal
3. dial-peer voice tag voip
4. dtmf-relay h245-alphanumeric
5. end

Network Parameters
19
Network Parameters
Configure SIP Trunk Support

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 dial-peer voice tag voip Enters dial-peer configuration mode.


Example:
Router(config)# dial-peer voice 2 voip

Step 4 dtmf-relay h245-alphanumeric Specifies the H.245 alphanumeric method for relaying dual
tone multifrequency (DTMF) tones between telephony
Example:
interfaces and an H.323 network.
Router(config-dial-peer)# dtmf-relay
h245-alphanumeric

Step 5 end Returns to privileged EXEC mode.


Example:
Router(config-dial-peer)# end

What to do next
• To set up support for a SIP trunk, see Configure SIP Trunk Support, on page 20.
• If you are configuring Cisco Unified CME for the first time on this router and you are ready to configure
system parameters. For more information, see System-Level Parameters.
• If you are finished modifying network parameters for an already configured Cisco Unified CME router,
see Configuration Files for Phones.

Configure SIP Trunk Support


To enable DTMF relay on a dial-peer for a SIP gateway and set up the gateway to register phone numbers
with Cisco Unified CME, perform the following steps.

SUMMARY STEPS
1. enable
2. configure terminal
3. dial-peer voice tag voip
4. dtmf-relay rtp-nte
5. dtmf-relay sip-notify
6. exit

Network Parameters
20
Network Parameters
Configure SIP Trunk Support

7. sip-ua
8. notify telephone-event max-duration msec
9. registrar {dns: host-name | ipv4: ip-address} expires seconds [tcp] [secondary]
10. retry register number
11. timers register msec
12. end

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 dial-peer voice tag voip Enters dial-peer configuration mode.


Example:
Router(config)# dial-peer voice 2 voip

Step 4 dtmf-relay rtp-nte Forwards DTMF tones by using Real-Time Transport


Protocol (RTP) with the Named Telephone Event (NTE)
Example:
payload type and enables DTMF relay using the RFC 2833
Router(config-dial-peer)# dtmf-relay rtp-nte standard method.

Step 5 dtmf-relay sip-notify Forwards DTMF tones using SIP NOTIFY messages.
Example:
Router(config-dial-peer)# dtmf-relay sip-notify

Step 6 exit Exits dial-peer configuration mode.


Example:
Router(config-dial-peer)# exit

Step 7 sip-ua Enters SIP user-agent configuration mode.


Example:
Router(config)# sip-ua

Step 8 notify telephone-event max-duration msec Sets the maximum milliseconds allowed between two
consecutive NOTIFY messages for a single DTMF event.
Example:
Router(config-sip-ua)# notify telephone-event • max-duration time—Range: 500 to 3000.
max-duration 2000 Default: 2000.

Network Parameters
21
Network Parameters
Verify SIP Trunk Support Configuration

Command or Action Purpose


Step 9 registrar {dns: host-name | ipv4: ip-address} expires Registers E.164 numbers on behalf of analog telephone
seconds [tcp] [secondary] voice ports (FXS) and IP phone virtual voice ports (EFXS)
with an external SIP proxy or SIP registrar server.
Example:
Router(config-sip-ua)# registrar ipv4:10.8.17.40
expires 3600 secondary

Step 10 retry register number Sets the total number of SIP Register messages that the
gateway should send.
Example:
Router(config-sip-ua)# retry register 10 • number—Number of Register message retries.
Range: 1 to 10. Default: 10.

Step 11 timers register msec Sets how long the SIP user agent (UA) waits before
sending Register requests.
Example:
Router(config-sip-ua)# timers register 500 • time—Waiting time, in milliseconds.
Range: 100 to 1000. Default: 500.

Step 12 end Returns to privileged EXEC mode.


Example:
Router(config-sip-ua)# end

Verify SIP Trunk Support Configuration


To verify SIP trunk configuration, perform the following steps in any order.

Step 1 show sip-ua status


Use this command to display the time interval between consecutive NOTIFY messages for a telephone event. In the
following example, the time interval is 2000 ms:
Example:
Router# show sip-ua status
SIP User Agent Status
SIP User Agent for UDP :ENABLED
SIP User Agent for TCP :ENABLED
SIP User Agent bind status(signaling):DISABLED
SIP User Agent bind status(media):DISABLED
SIP early-media for 180 responses with SDP:ENABLED
SIP max-forwards :6
SIP DNS SRV version:2 (rfc 2782)
NAT Settings for the SIP-UA
Role in SDP:NONE
Check media source packets:DISABLED

Network Parameters
22
Network Parameters
Change the TFTP Address on a DHCP Server

Maximum duration for a telephone-event in NOTIFYs:2000 ms


SIP support for ISDN SUSPEND/RESUME:ENABLED
Redirection (3xx) message handling:ENABLED
SDP application configuration:
Version line (v=) required
Owner line (o=) required
Timespec line (t=) required
Media supported:audio image
Network types supported:IN
Address types supported:IP4
Transport types supported:RTP/AVP udptl

Step 2 show sip-ua timers


This command displays the waiting time before Register requests are sent; that is, the value that has been set with the
timers register command.

Step 3 show sip-ua register status


This command displays the status of local E.164 registrations.

Step 4 show sip-ua statistics


This command displays the Register messages that have been sent.

Change the TFTP Address on a DHCP Server


To change the TFTP IP address after it has already been configured, perform the following steps.

Restriction If the DHCP server is on a different router than Cisco Unified CME, reconfigure the external DHCP server
with the new IP address of the TFTP server.

Before you begin


Your Cisco Unified CME router is a DHCP server.

SUMMARY STEPS
1. enable
2. configure terminal
3. ip dhcp pool pool-name
4. option 150 ip ip-address
5. end

Network Parameters
23
Network Parameters
Configuration Examples for Network Parameters

DETAILED STEPS

Command or Action Purpose


Step 1 enable Enables privileged EXEC mode.
Example: • Enter your password if prompted.
Router> enable

Step 2 configure terminal Enters global configuration mode.


Example:
Router# configure terminal

Step 3 ip dhcp pool pool-name Enters DHCP pool configuration mode to create or modify
a DHCP pool.
Example:
Router(config)# ip dhcp pool pool2 • pool-name—Previously configured unique identifier
for the pool to be configured.

Step 4 option 150 ip ip-address Specifies the TFTP server IP address from which the
Cisco Unified IP phone downloads the image configuration
Example:
file, XmlDefault.cnf.xml.
Router(config-dhcp)# option 150 ip 10.0.0.1

Step 5 end Returns to privileged EXEC mode.


Example:
Router(config-dhcp)# end

Configuration Examples for Network Parameters


NTP Server
The following example defines the pst timezone as 8 hours offset from UTC, using a recurring daylight savings
time called pdt, and synchronizes the clock with the NTP server at 10.1.2.3:

clock timezone pst -8


clock summer-time pdt recurring
ntp server 10.1.2.3

DTMF Relay for H.323 Networks


The following excerpt from the show running-config command output shows a dial peer configured to use
H.245 alphanumeric DTMF relay:

dial-peer voice 4000 voip


destination-pattern 4000
session target ipv4:10.0.0.25

Network Parameters
24
Network Parameters
Where to Go Next

codec g711ulaw
dtmf-relay h245-alphanumeric

Where to Go Next
• If you are configuring Cisco Unified CME for the first time on this router, you are ready to configure
system-level parameters. See System-Level Parameters.
• If you modified network parameters for an already configured Cisco Unified CME router, you are ready
to generate the configuration file to save the modifications. See Configuration Files for Phones.

Feature Information for Network Parameters


The following table provides release information about the feature or features described in this module. This
table lists only the software release that introduced support for a given feature in a given software release
train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support.
To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Table 1: Feature Information for Network Parameters

Feature Name Cisco Unified CME Modification


Version

Olson 9.0 Eliminates the need to update time zone commands or phone loads
Timezone to accommodate a new country with a new time zone or an existing
country whose city or state wants to change their time zone, using
the olsontimezone command in either telephony-service or voice
register global configuration mode.

Network Parameters
25
Network Parameters
Feature Information for Network Parameters

Network Parameters
26

You might also like