To identify the
IP address and port through which IP phones communicate with a Cisco Unified
CME router, use the
ip
source-address command in telephony-service or
group configuration mode. To disable the router from receiving messages from
Cisco Unified IP phones, use the
no form of
this command.
ip { ipv4_address| ipv6_address} [port port ] [secondary { ipv4 address
|ipv6 address} [rehome seconds ]] [any-match | strict-match]
no ip source-address
Syntax Description
ipv4_address
|
IPv4
address of the router, typically one of the addresses of the Ethernet port of
the router.
|
ipv6_address
|
In
Cisco Unified CME 8.0 and later versions: IPv6 address of the router, typically
one of the addresses of the Ethernet port of the router.
|
port
port
|
(Optional) TCP/IP port number to use for Skinny Client Control Protocol (SCCP).
Default is 2000. For IPv4 only: Range is from 2000 to 9999.
Note
|
For
IPv6, do not configure the port number to change from the default value (2000).
|
|
secondary
|
(Optional) Second Cisco Unified CME router with which phones can register if
the primary Cisco Unified CME router fails.
Note
|
For
dual-stack (IPv4 and IPv6) mode: Only an IPv4 address can be configured for a
secondary router.
|
|
rehome
seconds
|
(Optional) Used only by Cisco Unified IP phones that have registered with a
Cisco Unified Survivable Remote Site Telephony (SRST) router. This keyword
defines a delay that is used by phones to verify the stability of their primary
SCCP controller (Cisco Unified Communications Manager or Cisco Unified CME)
before the phones reregister with it. This parameter is ignored by phones
unless they are registered to a secondary Cisco Unified SRST router. The range
is from 0 to 65535 seconds. The default is 120 seconds.
The use
of this parameter is a phone behavior and is subject to change, based on the
phone type and phone firmware version.
|
strict-match
|
(Optional) Requires strict IP address checking for registration.
|
Command Default
The IP address
for communicating with phones is not defined.
Command Modes
Telephony-service configuration (config-telephony)
Group configuration (conf-tele-group)
Command History
Cisco
IOS Release
|
Cisco
Product
|
Modification
|
12.1(5)YD
|
Cisco
ITS 1.0
|
This
command was introduced.
|
12.2(8)T
|
Cisco
ITS 2.0
|
This
command was integrated into Cisco IOS Release 12.2(8)T.
|
12.4(4)XC
|
Cisco
Unified CME 4.0
|
The
secondary
ip-address
and
rehome
seconds
keyword-argument pairs were added.
|
12.4(9)T
|
Cisco
Unified CME 4.0
|
The
secondary
ip-address
and
rehome
seconds
keyword-argument pairs were added.
|
12.4(22)T
|
Cisco
Unified CME 7.0(1)
|
This
command was added to VRF group mode.
|
15.0(1)XA
|
Cisco
Unified CME 8.0
|
This
command was modified. Support for IPv6 was added and the
ipv4-address and ipv6-address
arguments
replaced
the
generic
ip-address
argument.
|
15.1(1)T
|
Cisco
Unified CME 8.0
|
This
command was integrated into Cisco IOS Release 15.1(1)T.
|
Usage Guidelines
This command
enables a router to receive messages from Cisco Unified IP phones through the
specified IP address and port.
The Cisco
Unified CME router cannot communicate with Cisco Unified CME phones if the IP
address of the port to which they are attached is not configured. In Cisco
Unified CME 8.0 and later versions, the Cisco Unified CME router can receive
messages from IPv6-enabled or IPv4-enabled IP phones or from phones in
dual-stack (both IPv6 and IPv4) mode.
- In Cisco Unified CME 8.0
and later versions: If the IP phones connected to Cisco Unified CME were
configured for dual-stack mode by using
dual-stack
keyword with the
protocol
mode command, configure this command with the IPv6
address.
- In Cisco Unified CME 8.0 and later
versions: If the IP phones to be connected to the port to be configured are
IPv4-enabled only
or
IPv6-enabled only, configure this command with the corresponding IPv4 or IPv6
address.
For IPv6: Do
not configure the
port
port
keyword argument combination in this command to change the value from the
default (2000). If you change the port number, IPv6 CEF packet switching engine
will not be able to handle the IPv6 SCCP phones and various packet handling
problems may occur when more than a dozen (approximately) calls in IPv6 are
going on.
Use the
strict-match
keyword to instruct the router to reject IP phone registration
attempts if the IP server address used by the phone does not match the source
address.
Prior to Cisco
IOS Telephony Services (Cisco ITS) V2.1, this command helped the router to
autogenerate the SEPDEFAULT.cnf file, which was stored in the flash memory of
the router. The SEPDEFAULT.cnf file contains the IP address of one of the
Ethernet ports of the router to which the phone should register.
In ITS V2.1 and
in Cisco CME 3.0 and later versions, the configuration files were moved to
system:/its/. The file named Flash:SEPDEFAULT.cnf that was used with previous
Cisco ITS versions is obsolete, but is retained as system:/its/SEPDEFAULT.cnf
to support upgrades from older phone firmware.
For systems
using Cisco ITS V2.1 or later versions, the IP phones receive their initial
configuration information and phone firmware from the TFTP server associated
with the router. In most cases, the phones obtain the IP address of their TFTP
server using the
option
150
command and Dynamic Host Configuration Protocol (DHCP). For
Cisco ITS or Cisco CME operation, the TFTP server address obtained by the Cisco
Unified IP phones should point to the router IP address. The Cisco IP phones
attempt to transfer a configuration file called XmlDefault.cnf.xml. This file
is automatically generated by the router through the
ip
source-address command and is placed in router
memory. The XmlDefault.cnf.xml file contains the IP address that the phones use
to register for service, using the SCCP. This IP address should correspond to a
valid Cisco CME router IP address (and may be the same as the router TFTP
server address).
Similarly, when
an analog telephone adapter (ATA) such as the ATA-186 is attached to the Cisco
Unified CME router, the ATA receives very basic configuration information and
firmware from the TFTP server XmlDefault.cnf.xml file. The XmlDefault.cnf.xml
file is automatically generated by the Cisco Unified CME router with the
ip
source-address command and is placed in the
router’s flash memory.
By specifying a
second Cisco Unified CME router in the
ip
source-address command, you improve the failover
time for phones.
Examples
The following
example sets the IP source address and port:
Router(config)# telephony-service
Router(config-telephony)# ip source-address 10.6.21.4 port 2000 strict-match
The following
example establishes the router at 10.5.2.78 as a secondary router:
Router(config)# telephony-service
Router(config-telephony)# ip source-address 10.0.0.1 port 2000 secondary 10.5.2.78
Examples
The following
example shows how to configure this command with an IPv6 address. Do not change
the port number from the default value (2000) when you configure an IPv6
address.
Router(config)# telephony-service
Router(config-telephony)#protocol mode ipv6
Rounter(config-telephony)ip source-address 2001:10:10:10::3
The following
example shows how to configure an IP address for dual-stack mode. When the IP
phones are configured for dual-stack mode, the IP address of the router port to
which the IP phones are connected must be an IPv6 address. For dual-stack mode,
the address of the secondary router must be an IPv4 address.
Router(config)# telephony-service
Router(config-telephony)# protocol mode dual-stack
Router(config-telephony)# ip source address
2001:10:10:10::3 secondary 10.5.2.78
Router(config-telephony)#