设为首页 收藏本站
查看: 658|回复: 0

[经验分享] Cisco IP Phone 两种配置方式

[复制链接]

尚未签到

发表于 2018-7-11 07:46:29 | 显示全部楼层 |阅读模式
  
  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>
  client-identifier Client>  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>  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

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-535975-1-1.html 上篇帖子: CISCO的CONSOLE线接线线序 下篇帖子: CISCO路由器上的NAT配置
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表