Usage Guidelines
Use this command to create an ephone configuration for a Cisco
Unified IP phone whose MAC address is not explicitly configured as it registers
in Cisco Unified CME. The system-created ephone configuration includes the MAC
address of the Cisco Unified IP phone being registered and an already-defined
available ephone-dn assigned to button 1 of this phone.
The
auto-reg-ephone command must be enabled
(default) to use this command. If the auto registration feature is disabled, a
Cisco Unified IP phone whose MAC address is not explicitly configured cannot
register in Cisco Unified CME.
Before using this command, configure the ephone-dn tags to be
assigned and define at least one primary number for each dn-tag.
All ephone-dns in a specified range should be of the same type,
either single-line or dual-line.
Ephone-dn tags to be assigned must belong to normal ephone-dns and
cannot belong to paging ephone-dns, intercom ephone-dns, music-on-hold (MOH)
ephone-dns, or message-waiting-indication (MWI) ephone-dns.
The
auto
assign command cannot create shared lines.
If an insufficient number of dn-tags is available, some ephone
configurations will not include a telephone or extension number.
Use multiple
auto
assign commands to assign discontinuous ranges of
ephone-dn tags and to support multiple types of IP phones. Overlapping ranges
of dn-tags may be assigned so that they map to more than one type of phone. If
no
type is specified, the values in the range
are assigned to phones of any type, and if a specific range is assigned for a
specific phone type, the available ephone-dn tag in that range are used first.
If the phone being registered is connected to a Cisco VG200 series
analog phone gateway, configuring the
auto assign command will automatically create one ephone
configuration for each configured port, as the port registers with the Cisco
Unified CME router. To ensure that the tag-to-port assignment will match the
numbering order of the physical ports; for example, dn-tags 1 to 24 assigned to
ports 1 to 24 of a Cisco VG224 analog phone gateway, in that order, we
recommend that the Cisco Unified CME system be up, running, and configured
before you boot the analog phone gateway.
The
auto
assign command cannot be used for the Cisco
Unified IP Phone 7914 Expansion Module. Phones with one or more expansion
modules must be configured manually.
After using this command, reboot the phone for which an ephone is to
be configured.
This command is also used by the Cisco Unified CME setup tool to
automatically assign ephone-dns after the tool has gathered information about
the setup from the user. When lines are assigned by the Cisco Unified CME setup
tool in keyswitch mode with two ephone-dn entries created for each individual
extension number, the automatic assignment mechanism assigns both ephone-dn
entries to an individual ephone associated with an IP phone.
Note |
Care should be taken when using the
auto
assign command because this command grants
telephony service to
any IP phone that attempts to register. If you use the
auto
assign command, ensure that your network is secure
from unauthorized access by unknown IP phones.
|
Examples
The following examples show how to configure the Auto Assign feature,
including prerequisite commands for configuring the
auto
assign command.
The following example shows how to enter the ephone-dn configuration
and create ephone-dns configurations, tags 1-4, each having a single primary
number:
Router(config)# ephone-dn 1
Router(config-ephone-dn)# number 2000
Router(config-ephone-dn)# exit
Router(config)# ephone-dn 2
Router(config-ephone-dn)# number 3000
Router(config-ephone-dn)# exit
Router(config)# ephone-dn 3
Router(config-ephone-dn)# number 4000
Router(config-ephone-dn)# exit
Router(config)# ephone-dn 4
Router(config-ephone-dn)# number 4001
Router(config-ephone-dn)# exit
The following example shows how to designate ephone-dn tags 1 to 4
for automatic assignment to any type of IP phone and then perform a fast reboot
of all phones:
Router(config)# telephony-service
Router(config-telephony)# auto assign 1 to 4
Router (config-telephony)# restart all
The following example is the partial output from the
show
ephone
registered command listing four registered IP
phones, to which ephone-dn tags 1 to 4 have been automatically assigned, after
the phones were booted:
Router# show ephone registered
ephone-1 Mac:0003.E3E7.F627 TCP socket:[2] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:10.0.0.2 51671 Telecaster 7940 keepalive 28 max_line 2
button 1: dn 1 number 2000
ephone-2 Mac:0030.94C3.F43A TCP socket:[1] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:10.0.0.3 50094 Telecaster 7960 keepalive 28 max_line 6
button 1: dn 2 number 3000
ephone-3 Mac:0003.6B40.99DA TCP socket:[3] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:10.0.0.200 51879 Telecaster 7960 keepalive 28 max_line 6
button 1: dn 3 number 4000
ephone-4 Mac:0010.406B.99D9 TCP socket:[4] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:10.0.0.012 51879 Telecaster 7960 keepalive 28 max_line 6
button 1: dn 4 number 4001
.
.
.
The following example shows how to designate ephone-dn tags 1 to 12
for automatic assignment to Cisco Unified IP Phone 7910Gs only and ephone-dn
tags 13 to 20 for automatic assignment to a Cisco Unified IP Phones 7960 and
7960Gs only, with call forwarding to extension 5001 on busy or after 30 seconds
of ringing with no answer:
Router(config)# telephony-service
Router(config-telephony)# auto assign 1 to 12 type 7910
Router(config-telephony)# auto assign 13 to 20 type 7960 cfw 5001 timeout 30