思科ucm电话配置文件指南 - cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server...

40
IBA 协作 配置文件 指南 智能业务平台IBA 2012年8月系列 思科UCM电话配置文件指南

Upload: others

Post on 21-Aug-2020

22 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

IBA 协作配置文件指南

智 能 业 务 平 台 I B A

2012年8月系列

思科UCM电话配置文件指南

Page 2: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

前言2012年8月系列

前言

本指南的目标受众Cisco®智能业务平台(IBA)指南主要面向承担以下职务的读者:

•需要用标准程序来实施方案时的系统工程师

•需要撰写思科IBA实施项目工作说明书的项目经理

•需要销售新技术或撰写实施文档的销售合作伙伴

•需要课堂讲授或在职培训材料的培训人员

一般来说,您也可以将思科IBA指南作为增加工程师和项目实施统一性的指导文件,或利用它更好地规划项目成本预算和项目工作范围。

版本系列思科将定期对IBA指南进行更新和修订。在开发新的思科IBA指南系列时,我们将会对其进行整体评测。为确保思科IBA指南中各个设计之间的兼容性,您应当使用同一系列中的设计指南文档。

每一个系列的ReleaseNotes(版本说明)提供了增加和更改内容的总结。

所有思科IBA指南的封面和每页的左下角均标有指南系列的名称。我们以某系列指南发布时的年份和月份来对该系列命名,如下所示:

年月系列

例如,我们把于2011年8月发布的系列指南命名为:“2012年8月系列”

您可以在以下网址查看最新的IBA指南系列:

http://www.cisco.com/go/cn/iba

如何阅读命令许多思科IBA指南详细说明了思科网络设备的配置步骤,这些设备运行着CiscoIOS、CiscoNX-OS或其他需要通过命令行界面(CLI)进行配置的操作系统。下面描述了系统命令的指定规则,您需要按照这些规则来输入命令:

在CLI中输入的命令如下所示:

configure terminal

为某个变量指定一个值的命令如下所示:

ntp server 10.10.48.17

包含您必须定义的变量的命令如下所示:

class-map [highest class name]

以交互示例形式显示的命令(如脚本和包含提示的命令)如下所示:

Router# enable

包含自动换行的长命令以下划线表示。应将其作为一个命令进行输入:

wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100

系统输出或设备配置文件中值得注意的部分以高亮方式显示,如下所示:

interface Vlan64 ip address 10.5.204.5 255.255.255.0

问题和评论如果您需要评论一个指南或者提出问题,请使用IBA反馈表。

如果您希望在出现新评论时获得通知,我们可以发送RSS信息。

Page 3: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

目录2012年8月系列

目录

思科UCM电话配置文件指南 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

简介 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

广域网络 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

总部,双语音网关,CiscoISRG23945 . . . . . . . . . . . . . . . . . . . . . . 7

远端站点,独立的语音网关,CiscoISRG23925和CiscoISRG22951 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

远端站点,集成语音网关,CiscoISRG22921,和CiscoISRG22911 .24

附录A:产品列表 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Page 4: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

关于本指南作为一个参考文档,本配置文件指南提供了部署指南中网络设备的全部配置。

您可以在以下网址查看最新的IBA指南系列:

http://www.cisco.com/go/cn/iba

本IBA指南的内容

关于IBA协作思科IBA能帮助您设计和快速部署一个全服务企业网络。IBA系统是一种规范式设计,即购即用,而且具备出色的可扩展性和灵活性。

思科IBA在一个综合的解决方案中集成了局域网、广域网、无线、安全、数据中心、应用优化和统一通信技术,并对其进行了严格测试,确保能实现无缝协作。IBA采用的模块化分类简化了多技术系统集成的复杂度,使您能够根据需要解决企业需求,而无需担心技术复杂性。

思科IBA协作整合了统一通信、视频协作和网页会议。并从网络基础、网络服务和用户服务这种分层架构进行介绍。思科IBA协作提供了可靠的业务部署、应用以及服务。

成功部署路线图为确保您能够按照本指南中的设计成功完成部署,您应当阅读本指南所依据的所有相关指南——即如下路线中本指南之前的所有指南。

4本IBA指南的内容2012年8月系列

协作设计概览 额外的部署指南使用思科UCM的电话部署指南 思科UCM电话配置文件指南

协作

您在这里预备知识 以本指南为依据的指南

Page 5: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

5简介2012年8月系列

简介

对于拥有多达10,000名联网用户的客户和合作伙伴,思科设计了一种即购即用的部署方式,它简单、快速、经济、可扩展且十分灵活。这个设计令它非常易用——易于配置、部署和管理。

虽然架构本身具有广度和深度方面的复杂性,但这种部署方式却非常简单。根据许多客户和合作伙伴的反馈意见,思科已经开发出了一个强大的网络基础,它提供了一个灵活的平台,无需重新设计,就能支持更多网络或用户服务。

本指南为面向中小企业的IBA智能业务平台思科UCM电话部署指南中使用的产品提供可用的配置文件。它包括以下配置文件:

•广域网总部路由器

•广域网远端站点路由器

本指南未包含那些带有基于浏览器的图形配置工具的产品的配置文件。请参考思科网站上提供的配套《思科IBA智能业务平台思科UCM电话部署指南》,来了解关于这些产品配置的逐步说明。

请参考附录A,获得实验室测试本设计时所用产品的列表。

实际设置和数值取决于您当前的网络配置。在提交所有设置和配置变更前请仔细进行检查。

技术提示

Page 6: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

6简介2012年8月系列

图1-统一通信的网络架构基准

Nexus 5500

Unified CM

Unity Connection

数据中心防火墙

WAN路由器

互联网边缘防火墙 & RA-VPN

WAN 路由器

无线 LAN控制器

WAAS

接入交换机

分布层6500 VSS 交换机

ACE

WAASCentral

Manager

Nexus2000

存储 NTP, DNS, 和SyslogUCS 机架式服务器

接入交换机

紧缩的LAN核心

LAN接入

远程站点

20

79

用户

远程办公/移动办公

MPLSWANs

Internet

PSTN

总部

数据中心

WAN汇聚

互联网边缘

接入交换机堆叠

WAN路由器

远程站点WAAS

无线 IP 电话

无线 IP 电话

无线IP 电话

V

V

V

V

V

Page 7: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

7广域网络2012年8月系列

广域网络

总部,双语音网关, Cisco ISR G2 3945这里推荐思科ISRG23945作为独立的语音网关,在总部可以最多连接18路T1/E1公共交换电话网络(PSTN)接口。对于较小的站点,可以支持12个或更少的T1/E1PSTN接口,思科ISRG23925提供了一个在相同配置下更低成本的选择。

如下的路由器配置包含了多链路以太通道连接的永续性局域网部署,这里使用的是静态IP路由。这里也有双T1PRI接口连接到4个思科UCM(UnifiedCM)用户的SIP拨号dialpeer。

第一个总部思科G2 3945 独立语音网关

version 15.1service timestamps debug datetime msec localtimeservice timestamps log datetime msec localtimeservice password-encryption!hostname HQ-3945-VG1!boot-start-markerboot-end-marker!card type t1 0 0enable secret 4 /DtCCr53Q4B18jSIm1UEqu7cNVZTOhxTZyUnZdsSrsw!aaa new-model!aaa group server tacacs+ TACACS-SERVERSserver name TACACS-SERVER-1!aaa authentication login default group TACACS-SERVERS localaaa authorization console

aaa authorization exec default group TACACS-SERVERS local !aaa session-id common!clock timezone PST -8 0clock summer-time PDT recurringnetwork-clock-participate wic 0 !no ipv6 cefip source-routeip cef!ip multicast-routing !ip domain name cisco.local!multilink bundle-name authenticated!isdn switch-type primary-ni!voice-card 0 dspfarm dsp services dspfarm!voice service voip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback nonesip bind control source-interface Port-channel1 bind media source-interface Port-channel1!voice class codec 1 codec preference 1 g711ulaw codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 ilbc!

Page 8: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

8广域网络2012年8月系列

license udi pid C3900-SPE150/K9 sn FOC133037J0hw-module pvdm 0/0!username admin password 7 04585A150C2E1D1C5A!redundancy!controller T1 0/0/0 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI!controller T1 0/0/1 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI!controller T1 0/0/2 cablelength long 0db!controller T1 0/0/3 cablelength long 0db!ip ssh version 2!interface Port-channel1 description EtherChannel link to DC5548UP ip address 10.4.48.138 255.255.255.0 ip pim sparse-mode!interface Embedded-Service-Engine0/0 no ip address shutdown!interface GigabitEthernet0/0 description DC5548UP Eth106/1/5 no ip address

shutdown duplex auto speed auto channel-group 1!interface GigabitEthernet0/1 description DC5548UP Eth107/1/5 no ip address duplex auto speed auto channel-group 1!interface GigabitEthernet0/2 no ip address shutdown duplex auto speed auto!interface Serial0/0/0:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!interface Serial0/0/1:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!ip forward-protocol nd!ip pim autorp listenerno ip http serverip http authentication aaa

Page 9: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

9广域网络2012年8月系列

ip http secure-server!ip route 0.0.0.0 0.0.0.0 10.4.48.1!logging trap errorslogging 10.4.48.36!nls resp-timeout 1cpd cr-id 1!snmp-server community cisco ROsnmp-server community cisco123 RWsnmp-server chassis-id tacacs server TACACS-SERVER-1 address ipv4 10.4.48.15 key 7 122A0014000E182F2F32!control-plane!voice-port 0/0/0:23!voice-port 0/0/1:23!ccm-manager sccp local Port-channel1!mgcp profile default!sccp local Port-channel1sccp ccm 10.4.48.114 identifier 4 priority 4 version 7.0 sccp ccm 10.4.48.113 identifier 3 priority 3 version 7.0 sccp ccm 10.4.48.112 identifier 2 priority 2 version 7.0 sccp ccm 10.4.48.111 identifier 1 priority 1 version 7.0 sccp!sccp ccm group 1 bind interface Port-channel1 associate ccm 1 priority 1

associate ccm 2 priority 2 associate ccm 3 priority 3 associate ccm 4 priority 4 associate profile 1 register CFB1HQ1 switchback method graceful switchback interval 60!dspfarm profile 1 conference description HQ Conference Bridges codec ilbc codec g722-64 codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8 maximum sessions 5 associate application SCCP!dial-peer voice 100 voip description SIP TRUNK to SUB1 preference 1 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.111 incoming called-number . voice-class codec 1 !dial-peer voice 101 voip description SIP TRUNK to SUB2 preference 2 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.112 incoming called-number . voice-class codec 1

Page 10: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

10广域网络2012年8月系列

!dial-peer voice 102 voip description SIP TRUNK to SUB3 preference 3 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.113 incoming called-number . voice-class codec 1 !dial-peer voice 103 voip description SIP TRUNK to SUB4 preference 4 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.114 incoming called-number . voice-class codec 1 !dial-peer voice 1911 pots preference 1 destination-pattern 911 port 0/0/0:23 forward-digits 3!dial-peer voice 19911 pots preference 1 destination-pattern 9911 port 0/0/0:23 forward-digits 3!dial-peer voice 17 pots preference 1 destination-pattern 9[2-9]...... port 0/0/0:23 forward-digits 7!

dial-peer voice 111 pots preference 1 destination-pattern 91[2-9]..[2-9]...... port 0/0/0:23 forward-digits 11!dial-peer voice 19011 pots preference 1 destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/0:23 prefix 011!dial-peer voice 2911 pots preference 2 destination-pattern 911 port 0/0/1:23 forward-digits 3!dial-peer voice 29911 pots preference 2 destination-pattern 9911 port 0/0/1:23 forward-digits 3!dial-peer voice 27 pots preference 2 destination-pattern 9[2-9]...... port 0/0/1:23 forward-digits 7!dial-peer voice 211 pots preference 2 destination-pattern 91[2-9]..[2-9]...... port 0/0/1:23 forward-digits 11

Page 11: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

11广域网络2012年8月系列

!dial-peer voice 29011 pots preference 2 destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/1:23 prefix 011!gatekeeper shutdown!line con 0 logging synchronousline aux 0line 2 no activation-character no exec transport preferred none transport input all transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh stopbits 1line vty 0 4 transport preferred none transport input sshline vty 5 15 transport preferred none transport input ssh!scheduler allocate 20000 1000ntp update-calendarntp server 10.4.48.17end

第二个总部思科G2 3945 独立语音网关

version 15.1

service timestamps debug datetime msec localtimeservice timestamps log datetime msec localtimeservice password-encryption!hostname HQ-3945-VG2!boot-start-markerboot-end-marker!card type t1 0 0enable secret 4 /DtCCr53Q4B18jSIm1UEqu7cNVZTOhxTZyUnZdsSrsw!aaa new-model!aaa group server tacacs+ TACACS-SERVERS server name TACACS-SERVER-1!aaa authentication login default group TACACS-SERVERS localaaa authorization consoleaaa authorization exec default group TACACS-SERVERS local !aaa session-id common!clock timezone PST -8 0clock summer-time PDT recurringnetwork-clock-participate wic 0 !no ipv6 cefip source-routeip cef!ip multicast-routing !ip domain name cisco.local!multilink bundle-name authenticated!

Page 12: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

12广域网络2012年8月系列

isdn switch-type primary-ni!voice-card 0 dspfarm dsp services dspfarm!voice service voip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip bind control source-interface Port-channel1 bind media source-interface Port-channel1!voice class codec 1 codec preference 1 g711ulaw codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 ilbc!license udi pid C3900-SPE150/K9 sn FOC142356K1hw-module pvdm 0/0!username admin password 7 08221D5D0A16544541!redundancy!controller T1 0/0/0 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI!controller T1 0/0/1 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI!controller T1 0/0/2

cablelength long 0db!controller T1 0/0/3 cablelength long 0db!ip ssh version 2!interface Port-channel1 description EtherChannel link to DC5548UP ip address 10.4.48.139 255.255.255.0 ip pim sparse-mode hold-queue 150 in!interface Embedded-Service-Engine0/0 no ip address shutdown!interface GigabitEthernet0/0 description DC2248TP-E Eth106/1/6 no ip address duplex auto speed auto channel-group 1!interface GigabitEthernet0/1 description DC2248TP-E Eth107/1/6 no ip address duplex auto speed auto channel-group 1!interface GigabitEthernet0/2 no ip address shutdown duplex auto speed auto!

Page 13: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

13广域网络2012年8月系列

interface Serial0/0/0:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!interface Serial0/0/1:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!ip forward-protocol nd!ip pim autorp listenerno ip http serverip http authentication aaaip http secure-server!ip route 0.0.0.0 0.0.0.0 10.4.48.1!nls resp-timeout 1cpd cr-id 1!snmp-server community cisco ROsnmp-server community cisco123 RWtacacs server TACACS-SERVER-1 address ipv4 10.4.48.15 key 7 04680E051D2458650C00!control-plane!voice-port 0/0/0:23!voice-port 0/0/1:23

!ccm-manager sccp local Port-channel1!mgcp profile default!sccp local Port-channel1sccp ccm 10.4.48.114 identifier 4 priority 2 version 7.0 sccp ccm 10.4.48.113 identifier 3 priority 1 version 7.0 sccp ccm 10.4.48.112 identifier 2 priority 4 version 7.0 sccp ccm 10.4.48.111 identifier 1 priority 3 version 7.0 sccp!sccp ccm group 1 bind interface Port-channel1 associate ccm 3 priority 1 associate ccm 4 priority 2 associate ccm 1 priority 3 associate ccm 2 priority 4 associate profile 1 register CFB2HQ1 switchback method graceful switchback interval 60!dspfarm profile 1 conference description HQ Conference Bridges codec ilbc codec g722-64 codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8 maximum sessions 5 associate application SCCP!dial-peer voice 100 voip description SIP TRUNK to SUB1

Page 14: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

14广域网络2012年8月系列

preference 3 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.111 incoming called-number . voice-class codec 1 !dial-peer voice 101 voip description SIP TRUNK to SUB2 preference 4 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.112 incoming called-number . voice-class codec 1 !dial-peer voice 102 voip description SIP TRUNK to SUB3 preference 1 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.113 incoming called-number . voice-class codec 1 !dial-peer voice 103 voip description SIP TRUNK to SUB4 preference 2 destination-pattern 310610.... session protocol sipv2 session target ipv4:10.4.48.114 incoming called-number . voice-class codec 1 !dial-peer voice 1911 pots preference 1 destination-pattern 911

port 0/0/0:23 forward-digits 3!dial-peer voice 19911 pots preference 1 destination-pattern 9911 port 0/0/0:23 forward-digits 3!dial-peer voice 17 pots preference 1 destination-pattern 9[2-9]...... port 0/0/0:23 forward-digits 7!dial-peer voice 111 pots preference 1 destination-pattern 91[2-9]..[2-9]...... port 0/0/0:23 forward-digits 11!dial-peer voice 19011 pots preference 1 destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/0:23 prefix 011!dial-peer voice 2911 pots preference 2 destination-pattern 911 port 0/0/1:23 forward-digits 3!dial-peer voice 29911 pots preference 2

Page 15: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

15广域网络2012年8月系列

destination-pattern 9911 port 0/0/1:23 forward-digits 3!dial-peer voice 27 pots preference 2 destination-pattern 9[2-9]...... port 0/0/1:23 forward-digits 7!dial-peer voice 211 pots preference 2 destination-pattern 91[2-9]..[2-9]...... port 0/0/1:23 forward-digits 11!dial-peer voice 29011 pots preference 2 destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/1:23 prefix 011!gatekeeper shutdown!line con 0 logging synchronousline aux 0line 2 no activation-character no exec transport preferred none transport input all transport output pad telnet rlogin lapb-ta mop udptn v120 ssh stopbits 1

line vty 0 4 transport preferred none transport input sshline vty 5 15 transport preferred none transport input ssh!scheduler allocate 20000 1000ntp update-calendarntp server 10.4.48.17end

Page 16: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

16广域网络2012年8月系列

远端站点,独立的语音网关, Cisco ISR G2 3925 和 Cisco ISR G2 2951 我们建议使用思科ISRG23925作为较大的远端站点办公室的独立语音网关,它可以最多连接12个T1/E1PSTN接口。对于连接多达8个T1/E1PSTN接口的需求,思科ISRG22951提供了一个更低成本的选择。对于规模更小使用更少的T1/E1PSTN接口的站点,CiscoISR2921和CiscoISR2911的配置将在下一节中列出。

下列的路由器配置包含了多链路EtherChannel连接的永续性局域网的部署,他们使用的是静态IP路由。远端站点的路由器配置包含了相应的命令来启用远程电话应急呼叫(SRST)。他们也有一个单一的T1PRI接口连接同时包含4个CiscoUnifiedCM的用户的SIP拨号dialpeer。

使用SIP SRST的远端站点Cisco ISR G2 3925 单一语音网关

version 15.1service timestamps debug datetime msec localtimeservice timestamps log datetime msec localtimeservice password-encryption!hostname RS206-3925-VG1!boot-start-markerboot-end-marker!card type t1 0 0enable secret 4 /DtCCr53Q4B18jSIm1UEqu7cNVZTOhxTZyUnZdsSrsw!aaa new-model!aaa group server tacacs+ TACACS-SERVERS server name TACACS-SERVER-1!aaa authentication login default group TACACS-SERVERS localaaa authorization consoleaaa authorization exec default group TACACS-SERVERS local !

aaa session-id common!clock timezone PST -8 0clock summer-time PDT recurringnetwork-clock-participate wic 0 !no ipv6 cefipv6 spd queue min-threshold 62ipv6 spd queue max-threshold 63ip source-routeip cef!ip multicast-routing !ip domain name cisco.local!multilink bundle-name authenticated!isdn switch-type primary-ni!voice-card 0 dspfarm dsp services dspfarm!voice service voip allow-connections sip to sip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip bind control source-interface Port-channel3 bind media source-interface Port-channel3 registrar server expires max 600 min 60!voice class codec 1 codec preference 1 g711ulaw codec preference 2 g711alaw codec preference 3 g729r8

Page 17: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

17广域网络2012年8月系列

codec preference 4 ilbc!voice register global system message “SIP SRST Service” max-dn 200 max-pool 50 dialplan-pattern 1 317617.... extension-length 8 extension-pattern 8517....!voice register pool 1 translation-profile incoming SRST-4-Digit id network 10.5.13.0 mask 255.255.255.0 dtmf-relay rtp-nte sip-notify codec g711ulaw!voice translation-rule 1 rule 1 /^[1-7]...$/ /8517\0/!voice translation-profile SRST-4-Digit translate called 1!license udi pid C3900-SPE100/K9 sn FOC16120TZ9hw-module pvdm 0/0!username admin password 7 0205554808095E731F!redundancy!controller T1 0/0/0 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI!ip ssh version 2!interface Port-channel3 description EtherChannel link to RS206-A2960S

ip address 10.5.12.12 255.255.255.0 ip pim sparse-mode hold-queue 150 in!interface Embedded-Service-Engine0/0 no ip address shutdown!interface GigabitEthernet0/0 no ip address shutdown duplex auto speed auto!interface GigabitEthernet0/1 description RS206-A2960S Gig1/0/19 no ip address duplex auto speed auto channel-group 3!interface GigabitEthernet0/2 description RS206-A2960S Gig2/0/19 no ip address duplex auto speed auto channel-group 3!interface Serial0/0/0:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!ip forward-protocol nd!

Page 18: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

18广域网络2012年8月系列

ip pim autorp listenerno ip http serverip http authentication aaaip http secure-server!ip route 0.0.0.0 0.0.0.0 10.5.12.1!nls resp-timeout 1cpd cr-id 1!snmp-server community cisco ROsnmp-server community cisco123 RWtacacs server TACACS-SERVER-1 address ipv4 10.4.48.15 key 7 00371605165E1F2D0A38!control-plane!voice-port 0/0/0:23!ccm-manager sccp local Port-channel3!mgcp profile default!sccp local Port-channel3sccp ccm 10.4.48.114 identifier 4 priority 2 version 7.0 sccp ccm 10.4.48.113 identifier 3 priority 1 version 7.0 sccp ccm 10.4.48.112 identifier 2 priority 4 version 7.0 sccp ccm 10.4.48.111 identifier 1 priority 3 version 7.0 sccp!sccp ccm group 1 bind interface Port-channel3 associate ccm 3 priority 1 associate ccm 4 priority 2 associate ccm 1 priority 3 associate ccm 2 priority 4

associate profile 1 register CFB1RS206 switchback method graceful switchback interval 60!dspfarm profile 1 conference description RS206 VG1 Conference Bridges codec ilbc codec g722-64 codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8 maximum sessions 5 associate application SCCP!dial-peer voice 100 voip description SIP TRUNK to SUB1 preference 3 destination-pattern 317617.... session protocol sipv2 session target ipv4:10.4.48.111 incoming called-number . voice-class codec 1 !dial-peer voice 101 voip description SIP TRUNK to SUB2 preference 4 destination-pattern 317617.... session protocol sipv2 session target ipv4:10.4.48.112 incoming called-number . voice-class codec 1 !dial-peer voice 102 voip description SIP TRUNK to SUB3

Page 19: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

19广域网络2012年8月系列

preference 1 destination-pattern 317617.... session protocol sipv2 session target ipv4:10.4.48.113 incoming called-number . voice-class codec 1 !dial-peer voice 103 voip description SIP TRUNK to SUB4 preference 2 destination-pattern 317617.... session protocol sipv2 session target ipv4:10.4.48.114 incoming called-number . voice-class codec 1 !dial-peer voice 1911 pots destination-pattern 911 port 0/0/0:23 forward-digits 3!dial-peer voice 19911 pots destination-pattern 9911 port 0/0/0:23 forward-digits 3!dial-peer voice 17 pots destination-pattern 9[2-9]...... port 0/0/0:23 forward-digits 7!dial-peer voice 111 pots destination-pattern 91[2-9]..[2-9]...... port 0/0/0:23 forward-digits 11!dial-peer voice 19011 pots

destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/0:23 prefix 011!sip-ua registrar ipv4:10.4.48.110 expires 3600!gatekeeper shutdown!call-manager-fallback secondary-dialtone 9 max-conferences 8 gain -6 transfer-system full-consult ip source-address 10.5.12.12 port 2000 max-ephones 50 max-dn 35 dual-line dialplan-pattern 1 317617.... extension-length 8 extension-pattern 8517.... translation-profile incoming SRST-4-Digit!line con 0 logging synchronousline aux 0line 2 no activation-character no exec transport preferred none transport input all transport output pad telnet rlogin lapb-ta mop udptn v120 ssh stopbits 1line vty 0 4 transport preferred none transport input sshline vty 5 15

Page 20: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

20广域网络2012年8月系列

transport preferred none transport input ssh!scheduler allocate 20000 1000ntp update-calendarntp server 10.4.48.17end

使用SCCP SRST的远端站点Cisco ISR G2 3925 单一语音网关

version 15.1service timestamps debug datetime msec localtimeservice timestamps log datetime msec localtimeservice password-encryption!hostname RS203-2951-VG!boot-start-markerboot-end-marker!card type t1 0 0enable secret 4 /DtCCr53Q4B18jSIm1UEqu7cNVZTOhxTZyUnZdsSrsw!aaa new-model!aaa group server tacacs+ TACACS-SERVERS server name TACACS-SERVER-1!aaa authentication login default group TACACS-SERVERS localaaa authorization consoleaaa authorization exec default group TACACS-SERVERS local !aaa session-id common!clock timezone PST -8 0clock summer-time PDT recurringnetwork-clock-participate wic 0 !

no ipv6 cefipv6 spd queue min-threshold 62ipv6 spd queue max-threshold 63ip source-routeip cef!ip multicast-routing !ip domain name cisco.local!multilink bundle-name authenticated!isdn switch-type primary-ni!voice-card 0 dspfarm dsp services dspfarm!voice service voip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip bind control source-interface Port-channel20 bind media source-interface Port-channel20!voice class codec 1 codec preference 1 g711ulaw codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 ilbc!voice translation-rule 1 rule 1 /^[1-7]...$/ /8514\0/!voice translation-profile SRST-4-Digit translate called 1!

Page 21: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

21广域网络2012年8月系列

license udi pid CISCO2921/K9 sn FTX1450AJ49hw-module pvdm 0/0!hw-module pvdm 0/1!username admin password 7 04585A150C2E1D1C5A!redundancy!controller T1 0/0/0 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI!controller T1 0/0/1 cablelength long 0db!ip ssh version 2!interface Port-channel20 description EtherChannel link to RS203-A3750X ip address 10.5.52.12 255.255.255.0 ip pim sparse-mode!interface Embedded-Service-Engine0/0 no ip address shutdown!interface GigabitEthernet0/0 no ip address shutdown duplex auto speed auto!interface GigabitEthernet0/1 description RS203-A3750X Gig1/0/20 no ip address

shutdown duplex auto speed auto channel-group 20!interface GigabitEthernet0/2 description RS203-A3750X Gig2/0/20 no ip address duplex auto speed auto channel-group 20!interface Serial0/0/0:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!ip forward-protocol nd!ip pim autorp listenerno ip http serverip http authentication aaaip http secure-server!ip route 0.0.0.0 0.0.0.0 10.5.52.1!snmp-server community cisco ROsnmp-server community cisco123 RWtacacs server TACACS-SERVER-1 address ipv4 10.4.48.15 key 7 00371605165E1F2D0A38!control-plane!voice-port 0/0/0:23

Page 22: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

22广域网络2012年8月系列

!ccm-manager sccp local Port-channel20!mgcp profile default!sccp local Port-channel20sccp ccm 10.4.48.114 identifier 4 priority 4 version 7.0 sccp ccm 10.4.48.113 identifier 3 priority 3 version 7.0 sccp ccm 10.4.48.112 identifier 2 priority 2 version 7.0 sccp ccm 10.4.48.111 identifier 1 priority 1 version 7.0 sccp!sccp ccm group 1 bind interface Port-channel20 associate ccm 1 priority 1 associate ccm 2 priority 2 associate ccm 3 priority 3 associate ccm 4 priority 4 associate profile 1 register CFB1RS203 switchback method graceful switchback interval 60!dspfarm profile 1 conference description RS203 Conference Bridges codec ilbc codec g722-64 codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8 maximum sessions 5 associate application SCCP!dial-peer voice 100 voip description SIP TRUNK to SUB1

preference 1 destination-pattern 314614.... session protocol sipv2 session target ipv4:10.4.48.111 incoming called-number . voice-class codec 1 !dial-peer voice 101 voip description SIP TRUNK to SUB2 preference 2 destination-pattern 314614.... session protocol sipv2 session target ipv4:10.4.48.112 incoming called-number . voice-class codec 1 !dial-peer voice 102 voip description SIP TRUNK to SUB3 preference 3 destination-pattern 314614.... session protocol sipv2 session target ipv4:10.4.48.113 incoming called-number . voice-class codec 1 !dial-peer voice 103 voip description SIP TRUNK to SUB4 preference 4 destination-pattern 314614.... session protocol sipv2 session target ipv4:10.4.48.114 incoming called-number . voice-class codec 1 !dial-peer voice 1911 pots destination-pattern 911 port 0/0/0:23

Page 23: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

23广域网络2012年8月系列

forward-digits 3!dial-peer voice 19911 pots destination-pattern 9911 port 0/0/0:23 forward-digits 3!dial-peer voice 17 pots destination-pattern 9[2-9]...... port 0/0/0:23 forward-digits 7!dial-peer voice 111 pots destination-pattern 91[2-9]..[2-9]...... port 0/0/0:23 forward-digits 11!dial-peer voice 19011 pots destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/0:23 prefix 011!gatekeeper shutdown!call-manager-fallback secondary-dialtone 9 max-conferences 8 gain -6 transfer-system full-consult ip source-address 10.5.52.12 port 2000 max-ephones 50 max-dn 35 dual-line dialplan-pattern 1 314614.... extension-length 8 extension-pattern 8514.... translation-profile incoming SRST-4-Digit

!line con 0 logging synchronousline aux 0line 2 no activation-character no exec transport preferred none transport input all transport output pad telnet rlogin lapb-ta mop udptn v120 ssh stopbits 1line vty 0 4 transport preferred none transport input sshline vty 5 15 transport preferred none transport input ssh!scheduler allocate 20000 1000ntp update-calendarntp server 10.4.48.17end

Page 24: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

24广域网络2012年8月系列

远端站点,集成语音网关, Cisco ISR G2 2921,和Cisco ISR G2 2911我们推荐思科ISRG22921作为中型远程办公室的集成语音路由器网关,它提供了最多6个T1/E1PSTN接口。对于多达4个T1/E1PSTN接口的较小站点,思科ISRG22911是一个相同配置下的低成本选择。

如下的路由器配置包括启用瘦客户端控制协议(SCCP)的SRST,他们使用了动态路由。特定语音命令在各实例中标记为高亮。他们也有一个单一的T1PRI接口连接4个CiscoUnifiedCM的用户的SIPdialpeer。

配置了多链路Etherchannel的Cisco ISR G2 2921 集成语音网关

version 15.1service timestamps debug datetime msec localtimeservice timestamps log datetime msec localtimeservice password-encryption!hostname RS210-2911!boot-start-markerboot-end-marker!card type t1 0 0enable secret 5 $1$JKAj$SZnj772b8Et.jyyyHOdxQ1!aaa new-model!aaa group server tacacs+ TACACS-SERVERS server name TACACS-SERVER-1!aaa authentication login default group TACACS-SERVERS localaaa authorization consoleaaa authorization exec default group TACACS-SERVERS local !aaa session-id common!clock timezone PST -8 0

clock summer-time PDT recurringnetwork-clock-participate wic 0 !no ipv6 cefipv6 spd queue min-threshold 62ipv6 spd queue max-threshold 63ip source-routeip auth-proxy max-login-attempts 5ip admission max-login-attempts 5ip cef!ip multicast-routing !ip domain name cisco.local!multilink bundle-name authenticated!isdn switch-type primary-ni!voice-card 0 dspfarm dsp services dspfarm!voice service voip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip bind control source-interface Loopback0 bind media source-interface Loopback0!voice class codec 1 codec preference 1 g711ulaw codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 ilbc!voice translation-rule 1

Page 25: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

25广域网络2012年8月系列

rule 1 /^[1-7]...$/ /8521\0/!voice translation-profile SRST-4-Digit translate called 1!license udi pid CISCO2921/K9 sn FTX1419ALZ6hw-module pvdm 0/0!username admin password 7 104D580A061843595F!redundancy!controller T1 0/0/0 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI!ip ssh source-interface Loopback0ip ssh version 2!class-map match-any DATA match dscp af21 class-map match-any INTERACTIVE-VIDEO match dscp cs4 af41 class-map match-any CRITICAL-DATA match dscp cs3 af31 class-map match-any VOICE match dscp ef class-map match-any SCAVENGER match dscp cs1 af11 class-map match-any NETWORK-CRITICAL match dscp cs2 cs6 !policy-map WAN class VOICE priority percent 10 class INTERACTIVE-VIDEO

priority percent 23 class CRITICAL-DATA bandwidth percent 15 random-detect dscp-based class DATA bandwidth percent 19 random-detect dscp-based class SCAVENGER bandwidth percent 5 class NETWORK-CRITICAL bandwidth percent 3 class class-default bandwidth percent 25 random-detectpolicy-map WAN-INTERFACE-G0/0 class class-default shape average 10000000 service-policy WAN!interface Loopback0 ip address 10.255.255.210 255.255.255.255 ip pim sparse-mode!interface Port-channel1 description RS210-A3750X no ip address hold-queue 150 in!interface Port-channel1.64 description Wired Data encapsulation dot1Q 64 ip address 10.5.148.1 255.255.255.0 ip helper-address 10.4.48.10 ip pim sparse-mode!interface Port-channel1.65 description Wireless Data

Page 26: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

26广域网络2012年8月系列

encapsulation dot1Q 65 ip address 10.5.146.1 255.255.255.0 ip helper-address 10.4.48.10 ip pim sparse-mode!interface Port-channel1.69 description Wired Voice encapsulation dot1Q 69 ip address 10.5.149.1 255.255.255.0 ip helper-address 10.4.48.10 ip pim sparse-mode!interface Port-channel1.70 description Wireless Voice encapsulation dot1Q 70 ip address 10.5.147.1 255.255.255.0 ip helper-address 10.4.48.10 ip pim sparse-mode!interface GigabitEthernet0/0 bandwidth 10000 no ip address duplex auto speed auto no cdp enable service-policy output WAN-INTERFACE-G0/0!interface GigabitEthernet0/0.38 encapsulation dot1Q 38 ip address 10.4.38.210 255.255.255.0 ip pim sparse-mode ip summary-address eigrp 300 10.5.144.0 255.255.248.0!interface GigabitEthernet0/1 description RS210-A3750X Gig1/0/24 no ip address duplex auto

speed auto channel-group 1!interface GigabitEthernet0/2 description RS210-A3750X Gig2/0/24 no ip address duplex auto speed auto channel-group 1!interface Serial0/0/0:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!router eigrp 300 network 10.4.38.0 0.0.0.255 network 10.5.0.0 0.0.255.255 network 10.255.0.0 0.0.255.255 passive-interface default no passive-interface GigabitEthernet0/0.38 eigrp router-id 10.255.255.210 eigrp stub connected summary!ip forward-protocol nd!ip pim autorp listenerip pim register-source Loopback0no ip http serverip http authentication aaaip http secure-serverip http timeout-policy idle 60 life 86400 requests 10000!ip tacacs source-interface Loopback0!

Page 27: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

27广域网络2012年8月系列

logging 10.4.48.35!snmp-server community cisco ROsnmp-server community cisco123 RWsnmp-server trap-source Loopback0tacacs server TACACS-SERVER-1 address ipv4 10.4.48.15 key 7 097F4B0A0B0003390E15!control-plane!voice-port 0/0/0:23!ccm-manager sccp local Loopback0!mgcp profile default!sccp local Loopback0sccp ccm 10.4.48.114 identifier 4 priority 4 version 7.0 sccp ccm 10.4.48.113 identifier 3 priority 3 version 7.0 sccp ccm 10.4.48.112 identifier 2 priority 2 version 7.0 sccp ccm 10.4.48.111 identifier 1 priority 1 version 7.0 sccp!sccp ccm group 1 bind interface Loopback0 associate ccm 1 priority 1 associate ccm 2 priority 2 associate ccm 3 priority 3 associate ccm 4 priority 4 associate profile 1 register CFB1RS210 switchback method graceful switchback interval 60!dspfarm profile 1 conference description RS210 Conference Bridge codec ilbc

codec g722-64 codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8 maximum sessions 5 associate application SCCP!dial-peer voice 1911 pots destination-pattern 911 port 0/0/0:23 forward-digits 3!dial-peer voice 19911 pots destination-pattern 9911 port 0/0/0:23 forward-digits 3!dial-peer voice 17 pots destination-pattern 9[2-9]...... port 0/0/0:23 forward-digits 7!dial-peer voice 111 pots destination-pattern 91[2-9]..[2-9]...... port 0/0/0:23 forward-digits 11!dial-peer voice 19011 pots destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/0:23 prefix 011!

Page 28: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

28广域网络2012年8月系列

dial-peer voice 100 voip description SIP TRUNK to SUB1 preference 1 destination-pattern 321621.... session protocol sipv2 session target ipv4:10.4.48.111 incoming called-number . voice-class codec 1 !dial-peer voice 101 voip description SIP TRUNK to SUB2 preference 2 destination-pattern 321621.... session protocol sipv2 session target ipv4:10.4.48.112 incoming called-number . voice-class codec 1 !dial-peer voice 102 voip description SIP TRUNK to SUB3 preference 3 destination-pattern 321621.... session protocol sipv2 session target ipv4:10.4.48.113 incoming called-number . voice-class codec 1 !dial-peer voice 103 voip description SIP TRUNK to SUB4 preference 4 destination-pattern 321621.... session protocol sipv2 session target ipv4:10.4.48.114 incoming called-number . voice-class codec 1 !gatekeeper

shutdown!call-manager-fallback secondary-dialtone 9 max-conferences 8 gain -6 transfer-system full-consult ip source-address 10.255.255.210 port 2000 max-ephones 50 max-dn 35 dual-line dialplan-pattern 1 321621.... extension-length 8 extension-pattern 8521.... translation-profile incoming SRST-4-Digit!line con 0 logging synchronousline aux 0line vty 0 4 transport preferred none transport input sshline vty 5 15 transport preferred none transport input ssh!scheduler allocate 20000 1000ntp source Loopback0ntp server 10.4.48.17!end

配置了单一Etherchannel的Cisco ISR G2 2921 集成语音网关

version 15.1service timestamps debug datetime msec localtimeservice timestamps log datetime msec localtimeservice password-encryption!hostname RS211-2921-1!

Page 29: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

29广域网络2012年8月系列

boot-start-markerboot-end-marker!card type t1 0 0enable secret 4 /DtCCr53Q4B18jSIm1UEqu7cNVZTOhxTZyUnZdsSrsw!aaa new-model!aaa group server tacacs+ TACACS-SERVERS server name TACACS-SERVER-1!aaa authentication login default group TACACS-SERVERS localaaa authorization consoleaaa authorization exec default group TACACS-SERVERS local !aaa session-id common!clock timezone PST -8 0clock summer-time PDT recurringnetwork-clock-participate wic 0 !no ipv6 cefip source-routeip cef!ip multicast-routing !ip domain name cisco.local!multilink bundle-name authenticated!isdn switch-type primary-ni!voice-card 0 dspfarm dsp services dspfarm!

voice service voip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip bind control source-interface Loopback0 bind media source-interface Loopback0!voice class codec 1 codec preference 1 g711ulaw codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 ilbc!voice translation-rule 1 rule 1 /^[1-7]...$/ /8522\0/!voice translation-profile SRST-4-Digit translate called 1!license udi pid CISCO2911/K9 sn FTX1418AM08hw-module pvdm 0/0!username admin password 7 121A540411045D5679!redundancy!controller T1 0/0/0 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI 1!controller T1 0/0/1 cablelength short 110 pri-group timeslots 1-24 description PSTN PRI 2!ip ssh source-interface Loopback0

Page 30: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

30广域网络2012年8月系列

ip ssh version 2!track 50 ip sla 100 reachability!class-map match-any DATA match dscp af21 class-map match-any BGP-ROUTING match protocol bgpclass-map match-any INTERACTIVE-VIDEO match dscp cs4 af41 class-map match-any CRITICAL-DATA match dscp cs3 af31 class-map match-any VOICE match dscp ef class-map match-any SCAVENGER match dscp cs1 af11 class-map match-any NETWORK-CRITICAL match dscp cs2 cs6 !policy-map MARK-BGP class BGP-ROUTING set dscp cs6policy-map WAN class VOICE priority percent 10 class INTERACTIVE-VIDEO priority percent 23 class CRITICAL-DATA bandwidth percent 15 random-detect dscp-based class DATA bandwidth percent 19 random-detect dscp-based class SCAVENGER bandwidth percent 5 class NETWORK-CRITICAL bandwidth percent 3

service-policy MARK-BGP class class-default bandwidth percent 25 random-detectpolicy-map WAN-INTERFACE-G0/0 class class-default shape average 10000000 service-policy WAN!interface Loopback0 ip address 10.255.255.211 255.255.255.255 ip pim sparse-mode!interface GigabitEthernet0/0 bandwidth 20000 no ip address duplex auto speed auto no cdp enable service-policy output WAN-INTERFACE-G0/0!interface GigabitEthernet0/0.38 encapsulation dot1Q 38 ip address 10.4.38.211 255.255.255.0 ip pim sparse-mode ip summary-address eigrp 300 10.5.152.0 255.255.248.0!interface GigabitEthernet0/1 no ip address shutdown duplex auto speed auto!interface GigabitEthernet0/2 description RS211-A2960S Gig1/0/24 no ip address duplex auto

Page 31: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

31广域网络2012年8月系列

speed auto!interface GigabitEthernet0/2.64 description Wired Data encapsulation dot1Q 64 ip address 10.5.156.2 255.255.255.0 ip helper-address 10.4.48.10 ip pim dr-priority 110 ip pim sparse-mode standby version 2 standby 1 ip 10.5.156.1 standby 1 priority 110 standby 1 preempt standby 1 authentication md5 key-string 7 0007421507545A545C standby 1 track 50 decrement 10!interface GigabitEthernet0/2.65 description Wireless Data encapsulation dot1Q 65 ip address 10.5.154.2 255.255.255.0 ip helper-address 10.4.48.10 ip pim dr-priority 110 ip pim sparse-mode standby version 2 standby 1 ip 10.5.154.1 standby 1 priority 110 standby 1 preempt standby 1 authentication md5 key-string 7 00071A1507545A545C standby 1 track 50 decrement 10!interface GigabitEthernet0/2.69 encapsulation dot1Q 69 ip address 10.5.157.2 255.255.255.0 ip helper-address 10.4.48.10 ip pim dr-priority 110 ip pim sparse-mode standby version 2

standby 1 ip 10.5.157.1 standby 1 priority 110 standby 1 preempt standby 1 authentication md5 key-string 7 04585A150C2E1D1C5A standby 1 track 50 decrement 10!interface GigabitEthernet0/2.70 description Wireless Voice encapsulation dot1Q 70 ip address 10.5.155.2 255.255.255.0 ip helper-address 10.4.48.10 ip pim dr-priority 110 ip pim sparse-mode standby version 2 standby 1 ip 10.5.155.1 standby 1 priority 110 standby 1 preempt standby 1 authentication md5 key-string 7 121A0C0411045D5679 standby 1 track 50 decrement 10!interface GigabitEthernet0/2.99 description Transit Net encapsulation dot1Q 99 ip address 10.5.152.1 255.255.255.252 ip pim sparse-mode!interface Serial0/0/0:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cdp enable!router eigrp 300 network 10.4.38.0 0.0.0.255 network 10.5.0.0 0.0.255.255 network 10.255.0.0 0.0.255.255

Page 32: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

32广域网络2012年8月系列

redistribute eigrp 100 route-map LOOPBACK-ONLY passive-interface default no passive-interface GigabitEthernet0/0.38 eigrp router-id 10.255.255.211 eigrp stub connected summary redistributed!router eigrp 100 network 10.4.0.0 0.1.255.255 network 10.255.0.0 0.0.255.255 redistribute eigrp 300 passive-interface default no passive-interface GigabitEthernet0/2.99 eigrp router-id 10.255.255.211!ip forward-protocol nd!ip pim autorp listenerip pim register-source Loopback0no ip http serverip http authentication aaaip http secure-serverip http timeout-policy idle 60 life 86400 requests 10000!ip tacacs source-interface Loopback0!ip access-list standard R2-LOOPBACK permit 10.255.253.211logging 10.4.48.35!route-map LOOPBACK-ONLY permit 10 match ip address R2-LOOOPBACK!snmp-server community cisco ROsnmp-server community cisco123 RWsnmp-server trap-source Loopback0tacacs server TACACS-SERVER-1 address ipv4 10.4.48.15

key 7 122A0014000E182F2F32!control-plane!voice-port 0/0/0:23!ccm-manager sccp local Loopback0!mgcp profile default!sccp local Loopback0sccp ccm 10.4.48.114 identifier 4 priority 4 version 7.0 sccp ccm 10.4.48.113 identifier 3 priority 3 version 7.0 sccp ccm 10.4.48.112 identifier 2 priority 2 version 7.0 sccp ccm 10.4.48.111 identifier 1 priority 1 version 7.0 sccp!sccp ccm group 1 bind interface Loopback0 associate ccm 1 priority 1 associate ccm 2 priority 2 associate ccm 3 priority 3 associate ccm 4 priority 4 associate profile 1 register CFB1RS211 switchback method graceful switchback interval 60!dspfarm profile 1 conference description RS211 VG1 Conference Bridge codec ilbc codec g722-64 codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8

Page 33: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

33广域网络2012年8月系列

maximum sessions 5 associate application SCCP!dial-peer voice 100 voip description SIP TRUNK to SUB1 preference 1 destination-pattern 322622.... session protocol sipv2 session target ipv4:10.4.48.111 incoming called-number . voice-class codec 1 !dial-peer voice 101 voip description SIP TRUNK to SUB2 preference 2 destination-pattern 322622.... session protocol sipv2 session target ipv4:10.4.48.112 incoming called-number . voice-class codec 1 !dial-peer voice 102 voip description SIP TRUNK to SUB3 preference 3 destination-pattern 322622.... session protocol sipv2 session target ipv4:10.4.48.113 incoming called-number . voice-class codec 1 !dial-peer voice 103 voip description SIP TRUNK to SUB4 preference 4 destination-pattern 322622.... session protocol sipv2 session target ipv4:10.4.48.114 incoming called-number .

voice-class codec 1 !dial-peer voice 1911 pots destination-pattern 911 port 0/0/0:23 forward-digits 3!dial-peer voice 19911 pots destination-pattern 9911 port 0/0/0:23 forward-digits 3!dial-peer voice 17 pots destination-pattern 9[2-9]...... port 0/0/0:23 forward-digits 7!dial-peer voice 111 pots destination-pattern 91[2-9]..[2-9]...... port 0/0/0:23 forward-digits 11!dial-peer voice 19011 pots destination-pattern 9011T incoming called-number . direct-inward-dial port 0/0/0:23 prefix 011!gatekeeper shutdown!call-manager-fallback secondary-dialtone 9 max-conferences 8 gain -6 transfer-system full-consult ip source-address 10.255.255.211 port 2000

Page 34: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

34广域网络2012年8月系列

max-ephones 50 max-dn 35 dual-line dialplan-pattern 1 322622.... extension-length 8 extension-pattern 8522.... translation-profile incoming SRST-4-Digit!line con 0 logging synchronousline aux 0line vty 0 4 transport preferred none transport input sshline vty 5 15 transport preferred none transport input ssh!scheduler allocate 20000 1000ntp source Loopback0ntp server 10.4.48.17end

Page 35: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

35附录A:产品列表2012年8月系列

附录A:产品列表

数据中心或机房

功能领域 产品描述 产品编号 软件版本

呼叫控制 CiscoMediaConvergenceServer7845-I3forUnifiedCommunicationsManagerupto10,000users

MCS7845I3-K9-CMD3A

8 .6(2a)SU1

CiscoMediaConvergenceServer7835-I3forUnifiedCommunicationsManagerupto2500users

MCS7835I3-K9-CMD3A

语音信箱 CiscoMediaConvergenceServer7845-I3forUnityConnectionupto10,000users

MCS7845I3-K9-UCC2

8 .6(2a)SU1

CiscoMediaConvergenceServer7835-I3forUnityConnectionupto2500users

MCS7835I3-K9-UCC2

呼叫控制虚拟服务器 CiscoUCSC210M2General-PurposeRack-MountServerforunifiedcommunicationsapplications

UCS-C210M2-VCD2

8 .6(2a)SU1ESXi4 .1

CiscoUCSC200M2High-DensityRack-MountServerforunifiedcommunicationsapplications

UCS-C200M2-VCD2

UnifiedCMBE6KUCSC200M2forUnifiedCommunicationsManagerupto500users

UCS-C200M2-BE6K

Page 36: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

36附录A:产品列表2012年8月系列

总部语音

功能领域 产品描述 产品编号 软件版本

总部语音路由器 Cisco3945VoiceSec .Bundle,PVDM3-64,UCandSECLicensePAK C3945-VSEC/K9

15 .1(4)M4securityk9datak9uck9

Cisco3925VoiceSec .Bundle,PVDM3-64,UCandSECLicensePAK C3925-VSEC/K9

SecurityPaperPAKforCisco3900Series SL-39-SEC-K9

DataPaperPAKforCisco3900series SL-39-DATA-K9

UnifiedCommunicationsPaperPAKforCisco3900Series SL-39-UC-K9

2PortChannelizedT1/E1andISDNPRIHighSpeedWANInterfaceCard HWIC-2CE1T1-PRI

2-Port2ndGenMultiflexTrunkVoice/WANInt .Card-T1/E1VWIC2-2MFT-T1/E1

远程站点语音

功能领域 产品描述 产品编号 软件版本

远程站点语音路由器 Cisco2951VoiceSec .Bundle,PVDM3-32,UCandSECLicensePAK C2951-VSEC/K9 15 .1(4)M4securityk9datak9uck9

Cisco2921VoiceSec .Bundle,PVDM3-32,UCandSECLicensePAK C2921-VSEC/K9

Cisco2911VoiceSec .Bundle,PVDM3-32,UCandSECLicensePAK C2911-VSEC/K9

SecurityPaperPAKforCisco2900Series SL-29-SEC-K9

DataPaperPAKforCisco2900series SL-29-DATA-K9

UnifiedCommunicationsPaperPAKforCisco2900Series SL-29-UC-K9

2PortChannelizedT1/E1andISDNPRIHighSpeedWANInterfaceCard

HWIC-2CE1T1-PRI

2-Port2ndGenMultiflexTrunkVoice/WANInt .Card-T1/E1 VWIC2-2MFT-T1/E1

远程站点语音路由器 Cisco881SRSTEthernetSecurityRouterwithFXSFXO802 .11nFCC

C881SRST-K9 15 .1(4)M2voice

Page 37: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

37附录A:产品列表2012年8月系列

终端

功能领域 产品描述 产品编号 软件版本

电话 UnifiedIPPhonewithsixlines,video,color,Wi-Fi,Bluetooth,USB CP-9971 —

UnifiedIPPhonewithfourlines,video,color CP-8945 —

UnifiedIPConferencePhone CP-7937G —

UnifiedIPWirelessPhonewithsixlines,color,Bluetooth CP-7926G —

UnifiedIPPhonewithtwelvelines CP-6961 —

UnifiedIPPhonewithfourlines CP-6945 —

UnifiedIPPhonewithtwolines CP-6921 —

UnifiedIPPhonewithoneline CP-6901 —

IPCommunicatorforWindowsPCwitheightlines IPCOMM86-SW —

数据中心核心

功能领域 产品描述 产品编号 软件版本

核心交换机 CiscoNexus5596upto96-port10GbE,FCoE,andFibreChannelSFP+

N5K-C5596UP-FA NX-OS5 .1(3)N1(1a)Layer3LicenseCiscoNexus5596Layer3SwitchingModule N55-M160L30V2

CiscoNexus5548upto48-port10GbE,FCoE,andFibreChannelSFP+

N5K-C5548UP-FA

CiscoNexus5548Layer3SwitchingModule N55-D160L3

以太网扩展 CiscoNexus2000Series48Ethernet100/1000BASE-TFabricExtender

N2K-C2248TP-1GE —

CiscoNexus2000Series48Ethernet100/1000BASE-T(enhanced)FabricExtender

N2K-C2248TP-E

CiscoNexus2000Series321/10GbESFP+,FCoEcapableFabricExtender

N2K-C2232PP-10GE

Page 38: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

38附录A:产品列表2012年8月系列

机房

功能领域 产品描述 产品编号 软件版本

可堆叠以太网交换机 CiscoCatalyst3750-XSeriesStackable48Ethernet10/100/1000ports

WS-C3750X-48T-S 15 .0(1)SE2IPBase

CiscoCatalyst3750-XSeriesStackable24Ethernet10/100/1000ports

WS-C3750X-24T-S

CiscoCatalyst3750-XSeriesFourGbESFPportsnetworkmodule C3KX-NM-1G

独立的以太网交换机 CiscoCatalyst3560-XSeriesStandalone48Ethernet10/100/1000ports

WS-C3560X-48T-S 15 .0(1)SE2IPBase

CiscoCatalyst3560-XSeriesStandalone24Ethernet10/100/1000ports

WS-C3560X-24T-S

CiscoCatalyst3750-XSeriesFourGbESFPportsnetworkmodule C3KX-NM-1G

LAN 接入层

功能领域 产品描述 产品编号 软件版本

模块化接入层交换机 CiscoCatalyst4507R+E7-slotChassiswith48Gbpsperslot WS-C4507R+E 3 .3 .0 .SG(15 .1-1SG)IPBase

CiscoCatalyst4500E-SeriesSupervisorEngine7L-E WS-X45-SUP7L-E

CiscoCatalyst4500E-Series48Ethernet10/100/1000(RJ45)PoE+ports

WS-X4648-RJ45V+E

CiscoCatalyst4500E-Series48Ethernet10/100/1000(RJ45)PoE+,UPoEports

WS-X4748-UPOE+E

可堆叠接入层交换机 CiscoCatalyst3750-XSeriesStackable48Ethernet10/100/1000PoE+ports

WS-C3750X-48PF-S

15 .0(1)SE2IPBase

CiscoCatalyst3750-XSeriesStackable24Ethernet10/100/1000PoE+ports

WS-C3750X-24P-S

CiscoCatalyst3750-XSeriesTwo10GbESFP+andTwoGbESFPportsnetworkmodule

C3KX-NM-10G

CiscoCatalyst3750-XSeriesFourGbESFPportsnetworkmodule C3KX-NM-1G

Page 39: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

39附录A:产品列表2012年8月系列

功能领域 产品描述 产品编号 软件版本

独立的接入层交换机 CiscoCatalyst3560-XSeriesStandalone48Ethernet10/100/1000PoE+ports

WS-C3560X-48PF-S

15 .0(1)SE2IPBase

CiscoCatalyst3560-XSeriesStandalone24Ethernet10/100/1000PoE+ports

WS-C3560X-24P-S

CiscoCatalyst3750-XSeriesTwo10GbESFP+andTwoGbESFPportsnetworkmodule

C3KX-NM-10G

CiscoCatalyst3750-XSeriesFourGbESFPportsnetworkmodule C3KX-NM-1G

可堆叠接入层交换机 CiscoCatalyst2960-SSeries48Ethernet10/100/1000PoE+portsandTwo10GbESFP+Uplinkports

WS-C2960S-48FPD-L

15 .0(1)SE2LANBase

CiscoCatalyst2960-SSeries48Ethernet10/100/1000PoE+portsandFourGbESFPUplinkports

WS-C2960S-48FPS-L

CiscoCatalyst2960-SSeries24Ethernet10/100/1000PoE+portsandTwo10GbESFP+Uplinkports

WS-C2960S-24PD-L

CiscoCatalyst2960-SSeries24Ethernet10/100/1000PoE+portsandFourGbESFPUplinkports

WS-C2960S-24PS-L

CiscoCatalyst2960-SSeriesFlexstackStackModule C2960S-STACK

Page 40: 思科UCM电话配置文件指南 - Cisco€¦ · nls resp-timeout 1 cpd cr-id 1! snmp-server community cisco RO snmp-server community cisco123 RW snmp-server chassis-id tacacs server

本手册中的所有设计、规格、陈述、信息和建议(统称为“设计”)均按“原样”提供,可能包含错误信息。思科及其供应商不提供任何保证,包括但不限于适销性、适合特定用途和非侵权保证,或与交易过程、使用或贸易惯例相 关的保证。在任何情况下,思科及其供应商对任何间接的、特殊的、继发的或偶然性的损害均不承担责任,包括但不限于由于使用或未能使用本手册所造成的利润损失或数据丢失或损害,即使思科或其供应商已被告知存在此类损害 的可能性。这些设计如有更改,恕不另行通知。用户对于这些设计的使用负有全部责任。这些设计不属于思科、供应商或合作伙伴的技术建议或其它专业建议。用户在采用这些设计之前应咨询他们的技术顾问。思科未测试的一些因 素可能导致结果有所不同。

文中使用的任何互联网协议(IP)地址均非真实地址。文中的任何举例、命令显示输出和图示仅供说明之用。在图示中使用任何真实IP 地址均属无意和巧合。

© 2012 思科系统公司。保留所有权利。

点击这里提供反馈到IBA

反馈

美国总部Cisco Systems, Inc.San Jose, CA

亚太总部Cisco Systems (USA) Pte. Ltd.Singapore

欧洲总部Cisco Systems International BV Amsterdam,The Netherlands

思科在全球拥有超过200家办公室。地址,电话号码和传真在思科网站中列出:www .cisco .com/go/offices。

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)