ip电话设置cisco
思科路由器是世界闻名的通讯设备之一了,有不少用户不知道怎么设置cisco ip电话?学习啦小编为大家分享了具体操作方法,供大家参考!
设置思科IP电话参考以下命令:
第一种配置方式:
Router(config)#telephony-service setup ----开启ipPhone配置
--- Cisco IOS Telephony Services Setup ---
Do you want to setup DHCP service for your IP Phones? [yes/no]: yes ----配置DHCP
Configuring DHCP Pool for Cisco IOS Telephony Services :
IP network for telephony-service DHCP Pool:192.168.2.0
Subnet mask for DHCP network :255.255.255.0
TFTP Server IP address (Option 150) :192.168.2.1
Default Router for DHCP Pool :192.168.2.1
Do you want to start telephony-service setup? [yes/no]: yes ----开启电话语音
Configuring Cisco IOS Telephony Services :
Enter the IP source address for Cisco IOS Telephony Services :192.168.2.1
Enter the Skinny Port for Cisco IOS Telephony Services : [2000]: ----语音端口
How many IP phones do you want to configure : [0]: 2
Do you want dual-line extensions assigned to phones? [yes/no]: yes
What Language do you want on IP phones :
0 English
1 French
2 German
3 Russian
4 Spanish
5 Italian
6 Dutch
7 Norwegian
8 Portuguese
9 Danish
10 Swedish
11 Japanese
[0]: 0
Which Call Progress tone set do you want on IP phones :
0 United States
1 France
2 Germany
3 Russia
4 Spain
5 Italy
6 Netherlands
7 Norway
8 Portugal
9 UK
10 Denmark
11 Switzerland
12 Sweden
13 Austria
14 Canada
15 Japan
[0]: 0
What is the first extension number you want to configure : 800 ----电话分机号
Do you have Direct-Inward-Dial service for all your phones? [yes/no]: yes
Enter the full E.164 number for the first phone :888
Do you want to forward calls to a voice message service? [yes/no]: yes ----语音信箱
Enter extension or pilot number of the voice message service:899
Call forward No Answer Timeout : [18]:
Do you wish to change any of the above information? [yes/no]: no ----表示不修改了
CNF-FILES: Clock is not set or synchronized,
retaining old versionStamps
---- Setup completed config ---
Router(config)#
*Mar 1 00:23:46.743: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up
*Mar 1 00:23:46.747: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.2, changed state to up
*Mar 1 00:23:46.747: %LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
*Mar 1 00:23:46.751: %LINK-3-UPDOWN: Interface ephone_dsp DN 2.2, changed state to up
Router#show run
Building configuration...
!
ip dhcp pool ITS
network 192.168.2.0 255.255.255.0
option 150 ip 192.168.2.1
default-router 192.168.2.1
!
!
telephony-service
max-ephones 2
max-dn 2
ip source-address 192.168.2.1 port 2000
auto assign 1 to 2
create cnf-files version-stamp Jan 01 2002 00:00:00
dialplan-pattern 1 8.. extension-length 3
voicemail 899
max-conferences 4 gain -6
transfer-system full-consult
!
!
ephone-dn 1 dual-line
number 800
call-forward busy 899
call-forward noan 899 timeout 18
!
!
ephone-dn 2 dual-line
number 801
call-forward busy 899
call-forward noan 899 timeout 18
!
!
ephone 1
!
!
!
ephone 2
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
Router#show telephony-service ?
admin Show telephony-service admin username and password
all Show telephony-service details
dial-peer Show telephony-service dialpeers
directory-entry Show telephony-service directory-entry
ephone Show ephone configuration
ephone-dn Show ephone-dn configuration
ephone-template Show ephone-template configuration
tftp-bindings Show telephony-service tftp-server bindings
voice-port Show telephony-service voice ports
| Output modifiers
<cr>
Router#show telephony-service
CONFIG (Version=3.3)
=====================
Version 3.3
Cisco CallManager Express
For on-line documentation please see:
www.cisco.com/univercd/cc/td/doc/product/access/ip_ph/ip_ks/index.htm
ip source-address 192.168.2.1 port 2000
max-ephones 2
max-dn 2
max-conferences 4 gain -6
dspfarm units 0
dspfarm transcode sessions 0
hunt-group report delay 1 hours
max-redirect 5
dialplan-pattern 1 8.. extension-length 3
voicemail 899
time-format 12
date-format mm-dd-yy
timezone 0 Greenwich Standard Time
keepalive 30
timeout interdigit 10
timeout busy 10
timeout ringing 180
caller-id name-only: enable
edit DN through Web: disabled.
edit TIME through web: disabled.
Log (table parameters):
max-size: 150
retain-timer: 15
create cnf-files version-stamp Jan 01 2002 00:00:00
transfer-system full-consult
auto assign 1 to 2
local directory service: enabled.
第二种配置方式:
第1步 先配置DHCP:
r1(config)#ip dhcp pool CME
r1(dhcp-config)#network 192.168.1.0 /24
r1(dhcp-config)#?
DHCP pool configuration commands:
accounting Send Accounting Start/Stop messages
bootfile Boot file name
class Specify a DHCP class
client-identifier Client identifier
client-name Client name
default-router Default routers
dns-server DNS servers
domain-name Domain name
exit Exit from DHCP pool configuration mode
hardware-address Client hardware address
host Client IP address and mask
import Programatically importing DHCP option parameters
lease Address lease time
netbios-name-server NetBIOS (WINS) name servers
netbios-node-type NetBIOS node type
network Network number and mask
next-server Next server in boot process
no Negate a command or set its defaults
option Raw DHCP options
origin Configure the origin of the pool
relay Function as a DHCP relay
subnet Subnet allocation commands
update Dynamic updates
utilization Configure various utilization parameters
vrf Associate this pool with a VRF
r1(dhcp-config)#default-router 192.168.1.1
r1(dhcp-config)#option 150 ip 192.168.1.1
r1(dhcp-config)#exit
第2步 配置telephony服务
r1(config)#telephony-service
r1(config-telephony)#max-ephones 2
r1(config-telephony)#max-dn 2
r1(config-telephony)#auto assign 3 to 4
r1(config-telephony)#ip source-address 192.168.1.1 port 2000
r1(config-telephony)#exit
第3步 配置ephone
r1(config)#ephone-dn 1
r1(config-ephone-dn)#number 111
r1(config-ephone-dn)#exit
r1(config)#ephone-dn 2
r1(config-ephone-dn)#number 112
r1(config-ephone-dn)#exit
学习啦小编分享了cisco ip电话设置的方法,希望大家喜欢。