Cisco IP Telephony Network Design Guide
Cisco IP Telephony Network Design Guide
Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100
Customer Order Number: DOC-7811103= Text Part Number: 78-11103-03
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCBs public domain version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. AtmDirector, Browse with Me, CCDA, CCDE, CCDP, CCIE, CCNA, CCNP, CCSI, CD-PAC, CiscoLink, the Cisco NetWorks logo, the Cisco Powered Network logo, Cisco Systems Networking Academy, the Cisco Systems Networking Academy logo, Fast Step, Follow Me Browsing, FormShare,FrameShare, GigaStack, IGX, Internet Quotient, IP/VC, iQ Breakthrough, iQ Expertise, iQ FastTrack, the iQ Logo, iQ Net Readiness Scorecard, MGX, the Networkers logo, Packet, PIX, RateMUX, ScriptShare, SlideCast, SMARTnet, TransPath, Voice LAN, Wavelength Router, WebViewer are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, Empowering the Internet Generation, are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, Cisco, the Cisco Certified Internetwork Expert Logo, Cisco IOS, the Cisco IOS logo, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Enterprise/Solver, EtherChannel, EtherSwitch, FastHub, IOS, IP/TV, LightStream, Post-Routing, Pre-Routing, Registrar, StrataView Plus, Stratm, SwitchProbe, TeleRouter, and VCO are registered trademarks of Cisco Systems, Inc. or its affiliates in the U.S. and certain other countries. All other brands, names, or trademarks mentioned in this document or Web site 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. (0011R) Cisco IP Telephony Network Design Guide Copyright 2000, 2001, Cisco Systems, Inc. All rights reserved.
C O N T E N T S
Preface xi Purpose xi Audience xii Organization xii Revision History xiv Conventions xv Additional Information xvii Obtaining Documentation xviii World Wide Web xviii Documentation CD-ROM xviii Ordering Documentation xviii Documentation Feedback xix Obtaining Technical Assistance xix Cisco.com xix Technical Assistance Center xx Contacting TAC by Using the Cisco TAC Website xx Contacting TAC by Telephone xxi
1
CHAPTER
Introduction 1-1 General Design Models 1-1 Single-Site Model 1-3 Multiple Sites with Independent Call Processing 1-5
iii
Contents
Multisite IP WAN with Distributed Call Processing 1-7 Multisite IP WAN with Centralized Call Processing 1-10
2
CHAPTER
Campus Infrastructure Considerations 2-1 Overview 2-2 Power Protection Strategies 2-4 Network Infrastructure 2-5 High Availability 2-7 Physical Connectivity Options 2-9 Power to IP Phones 2-10 Inline Power 2-10 Establishing Power to the IP Phone 2-12 Inline Power Configuration 2-13 Other Inline Power Considerations 2-15 External Patch Panel Power 2-17 Wall Power 2-20 Summary of Recommendations 2-20 IP Addressing and Management 2-21 CDP Enhancements 2-22 VVID Field 2-22 Trigger Field 2-22 Power Requirement Field 2-23 Auxiliary VLANs and Data VLANs 2-23 Voice VLAN Configuration 2-24 Connecting to the Network 2-25 Sample Addressing Plan and Recommendations 2-26
iv
78-11103-03
Contents
Quality of Service 2-28 Traffic Classification Types 2-28 Trust Boundaries 2-29 Traffic Classification at Layer 2 2-30 Traffic Classification at Layer 3 2-34 Layer 3 Traffic Classification on the Cisco Catalyst 6000 2-34 Summary of Capabilities and Recommendations 2-36
3
CHAPTER
Cisco CallManager Clusters 3-1 Cluster Operation and Scalability Guidelines 3-1 Device Weights 3-3 Intracluster Communication 3-5 Cisco CallManager Redundancy 3-6 Redundancy Group Configurations 3-6 Device Pool Configuration 3-9 Campus Clustering Guidelines 3-12 Intercluster Communication 3-14 Cluster Provisioning for the Campus 3-14 Clusters for Multisite WAN with Distributed Call Processing 3-15 Clusters for Multisite WAN with Centralized Call Processing 3-18 Intracluster and Intercluster Feature Transparency 3-21
Contents
CHAPTER
Gateway Selection 4-1 Supported Protocols 4-2 DTMF Relay 4-3 Skinny Gateways 4-4 Cisco IOS H.323 Gateways 4-4 MGCP Gateway 4-4 Cisco CallManager Redundancy 4-5 Skinny Gateways 4-5 IOS H.323 Gateways 4-5 MGCP Gateway 4-6 Supplementary Services 4-7 Skinny Gateways 4-7 IOS H.323 Gateways 4-8 MGCP Gateway 4-9 Site-Specific Gateway Requirements 4-9
CHAPTER
Dial Plan Architecture and Configuration 5-1 Cisco CallManager Dial Plan Architecture 5-1 Route Pattern 5-6 Route List 5-7 Route Group 5-7 Devices 5-8 Digit Translation Tables 5-9 Special Dial String Considerations 5-10 On-Net Route Pattern 5-11 Outbound Calls Through the PSTN 5-12
vi
78-11103-03
Contents
Configuring Dial Plan Groups and Calling Restrictions 5-14 Partitions 5-15 Calling Search Space 5-15 Dial Plan Guidelines and Configuration 5-18 Campus and Individual Site Dial Plans 5-19 Multi-Site WAN Dial Plans 5-21 The Role of a Gatekeeper 5-21
6
CHAPTER
Multisite WAN with Distributed Call Processing 6-1 Distributed Call Processing Model 6-1 Call Admission Control 6-3 Operational Model 6-8 Gatekeeper Configuration 6-9 Cisco CallManager Configuration 6-10 Interaction Between Cisco CallManager and Gatekeeper 6-11 Considerations for Using a Gatekeeper 6-15 Dial Plan Considerations 6-15 Using Cisco CallManager to Route Calls 6-17 Using the Gatekeeper to Route Calls 6-19 Cisco CallManager Configuration 6-22 Gatekeeper Configuration 6-27 Gatekeeper Selection and Redundancy 6-28 Configuring Dialing Restrictions 6-28 Bandwidth Consumption of Dialed Numbers 6-28 Cisco CallManager Cluster Considerations 6-30 DSP Resource Provisioning for Transcoding and Conferencing 6-30 Voice Messaging Considerations 6-32
vii
Contents
CHAPTER
Multisite WAN with Centralized Call Processing 7-1 Centralized Call Processing Model 7-1 Call Admission Control 7-3 Caveats for Locations-Based Call Admission Control 7-4 Dial Plan Considerations 7-5 Interlocation Calls 7-5 Intercluster Calls 7-6 Local PSTN Calls 7-6 Design Example 7-6 Cisco CallManager Cluster Considerations 7-8 DSP Resource Provisioning for Transcoding and Conferencing 7-10 Voice Messaging Considerations 7-12
CHAPTER
Quality of Service 8-1 Campus QoS Model 8-1 Traffic Classification 8-2 Interface Queuing 8-2 WAN QoS Model 8-4 WAN Provisioning 8-4 WAN QoS Tools 8-5 Traffic Prioritization 8-5 Link Efficiency Techniques 8-7 Traffic Shaping 8-9 Best Practices 8-10 Call Admission Control 8-11
viii
78-11103-03
Contents
CHAPTER
Catalyst DSP Provisioning 9-1 Understanding the Catalyst DSP Resources 9-2 Catalyst Conferencing Services 9-4 Conferencing Design Details 9-4 Conferencing Caveats 9-6 Catalyst MTP Transcoding Services 9-7 MTP Transcoding Design Details 9-7 IP-to-IP Packet Transcoding and Voice Compression 9-7 Voice Compression, IP-to-IP Packet Transcoding, and Conferencing 9-9 IP-to-IP Packet Transcoding Across Intercluster Trunks 9-10 MTP Transcoding Caveats 9-12 Catalyst 4000 Voice Services 9-13 Catalyst 6000 Voice Services 9-15
CHAPTER
10
Migrating to an IP Telephony Network 10-1 Network Models 10-1 PBX and Voice Messaging Interfaces and Protocols 10-2 Simple IP Network Migration Sequence 10-3 Reference Models for Migration Configurations 10-6 Detailed Discussion of Model A 10-7 Detailed Discussion of Model B 10-12 Detailed Discussion of Model C 10-15 Detailed Discussion of Model D 10-18 Cisco Digital PBX Adapter (DPA) 10-20 Understanding How the DPA 7630 Works 10-21 Why is the DPA 7630 Needed? 10-21
ix
Contents
Can I Just Use SMDI? 10-21 What If I Cannot Use SMDI? 10-22 Choosing an Integration Mode 10-22 Using the Simple Integration Mode 10-23 Using the Hybrid Integration Mode 10-24 Using the Multiple Integration Mode 10-25
11
CHAPTER
Network Management 11-1 Remote Serviceability for Cisco CallManager 11-1 SNMP Instrumentation on the Cisco CallManager Server 11-2 System Logging Components 11-3 Syslog Collector 11-4 Syslog Administrative Interface 11-6 CiscoWorks2000 Voice Management Features 11-8 Campus Manager 11-11 User Tracking 11-12 Trace Path Analysis 11-13 Resource Manager Essentials 11-15 Inventory Control and Reporting 11-15 System Logging Management 11-16 Syslog Message Filtering 11-18 Alarms 11-19
GLOSSARY
INDEX
78-11103-03
Preface
This preface describes the purpose, intended audience, organization, and conventions for the Cisco IP Telephony Network Design Guide.
Purpose
This document serves as an implementation guide for Cisco AVVID (Architecture for Voice, Video and Integrated Data) networks based on Cisco CallManager Release 3.0(5). With such a high level of industry interest regarding IP telephony, customers are aggressively pursuing Cisco solutions for both large and small networks. Solutions based on Cisco CallManager Release 3.0(5) allow Cisco to deliver large-scale IP telephony systems with many capabilities. However, it is important to ensure that these systems fit successfully within a set of boundaries. This document serves as a guide to all aspects of designing Cisco AVVID networks, and includes working configurations. The many new hardware and software capabilities in Cisco CallManager Release 3.0(5) are covered in detail in the various solutions and deployment models. Important components such as minimum Cisco IOS release requirements and recommended platforms are noted for each model. This document will be updated as the Cisco AVVID solution set grows with subsequent releases of Cisco CallManager.
xi
Preface Audience
Audience
This guide is intended for systems engineers and others responsible for designing Cisco AVVID networks based on Cisco CallManager Release 3.0(5).
Caution
The design guidelines in this document are based on the best currently available knowledge about the functionality and operation of the Cisco AVVID components. The information in this document is subject to change without notice.
Organization
Following are the chapters of this guide and the subjects they address: Chapter Chapter 1 Title Introduction Description Gives a high-level overview of each Cisco AVVID deployment model and defines the boundaries for these designs. Discusses issues to consider when preparing a LAN infrastructure for a Cisco AVVID solution. Discusses the concept, provisioning, and configuration of Cisco CallManager clusters. Discusses issues concerning the selection of gateways for connecting an IP telephony network to the PSTN or to legacy PBX and key systems. Discusses the architecture and operation of the Cisco CallManager dial plan and provides design recommendations for campus environments.
Chapter 5
Chapter 6
Multisite WAN with Distributed Provides design guidelines for multi-site WAN Call Processing systems using Cisco CallManager Release 3.0(5) for distributed call processing.
xii
78-11103-03
Preface Organization
Chapter Chapter 7
Title
Description
Multisite WAN with Centralized Provides design guidelines for multi-site WAN Call Processing systems using Cisco CallManager Release 3.0(5) for centralized call processing. Quality of Service Catalyst DSP Provisioning Addresses the QoS requirements for Cisco AVVID implementations over the enterprise WAN. Describes the Catalyst digital signal processor (DSP) resources and discusses how to provision these resources. Explains how an enterprise can migrate from a conventional PBX and its adjunct systems (principally voice messaging) to a Cisco AVVID network. Introduces features of CiscoWorks2000 and Remote Serviceability for Cisco CallManager that provide network management capabilities for Cisco AVVID networks.
Chapter 8 Chapter 9
Chapter 10
Chapter 11
Network Management
xiii
Revision History
The following revisions have been made to this document: Revision Date 12/08/00 11/22/00 Major Changes Since Previous Edition
Added Chapter 11 on network management. Revised gatekeeper information in Chapter 6. Revised document for Cisco CallManager Release 3.0(5). Updated details of campus infrastructure design in Chapter 2. Revised bandwidth requirements for inter-cluster calls in Chapter 3. Updated gateway information in Chapter 4. Added gatekeeper information to Chapter 5. Updated details of call admission control and gatekeepers in Chapter 6. Revised major portions of the Quality of Service (QoS) information in Chapter 8. Updated details of Catalyst DSP provisioning in Chapter 9. Removed the chapter on Cisco uOne from this book. This information will be covered in a separate document. Updated migration information in Chapter 10. Reformatted document to allow for online display. Updated details of cluster provisioning in Chapter 3. Updated details of Catalyst DSP provisioning in Chapter 9.
06/30/00
xiv
78-11103-03
Preface Conventions
Conventions
This document uses the following conventions: Convention boldface font italic font [ ] {x|y|z} [x|y|z] string Description Commands and keywords are in boldface. Arguments for which you supply values are in italics. Elements in square brackets are optional. Alternative keywords are grouped in braces and separated by vertical bars. Optional alternative keywords are grouped in brackets and separated by vertical bars. A nonquoted set of characters. Do not use quotation marks around the string or the string will include the quotation marks. font Terminal sessions and information the system displays are in screen font. Information you must enter is in boldface
screen
screen
boldface screen
font.
font italic screen font Arguments for which you supply values are in italic screen font. This pointer highlights an important line of text in an example. ^ The symbol ^ represents the key labeled Controlfor example, the key combination ^D in a screen display means hold down the Control key while you press the D key. Nonprinting characters, such as passwords, are in angle brackets.
< >
xv
Preface Conventions
Note
Means reader take note. Notes contain helpful suggestions or references to material not covered in the publication. Timesavers use the following conventions:
Timesaver
Means the described action saves time. You can save time by performing the action described in the paragraph. Tips use the following conventions:
Tips
Means the information contains useful tips. Cautions use the following conventions:
Caution
Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data. Warnings use the following conventions:
Warning
This warning symbol means danger. You are in a situation that could cause bodily injury. Before you work on any equipment, you must be aware of the hazards involved with electrical circuitry and familiar with standard practices for preventing accidents.
xvi
78-11103-03
Additional Information
This section contains references to documents that provide additional information on subjects covered in this guide.
hd_wp.htm
http://www.zdnet.com/zdtag/whitepaper/campuslan.pdf
Power protection:
http://www.apcc.com/go/machine/cisco/3a.cfm
0ug/ugsmtp.htm
xvii
Obtaining Documentation
The following sections provide sources for obtaining documentation from Cisco Systems.
Documentation CD-ROM
Cisco documentation and additional literature are available in a CD-ROM package, which ships with your product. The Documentation CD-ROM is updated monthly and may be more current than printed documentation. The CD-ROM package is available as a single unit or as an annual subscription.
Ordering Documentation
Cisco documentation is available in the following ways:
Registered Cisco Direct Customers can order Cisco Product documentation from the Networking Products MarketPlace: http://www.cisco.com/cgi-bin/order/order_root.pl
Registered Cisco.com users can order the Documentation CD-ROM through the online Subscription Store: http://www.cisco.com/go/subscription
Nonregistered Cisco.com users can order documentation through a local account representative by calling Cisco corporate headquarters (California, USA) at 408 526-7208 or, in North America, by calling 800 553-NETS(6387).
xviii
78-11103-03
Documentation Feedback
If you are reading Cisco product documentation on the World Wide Web, you can submit technical comments electronically. Click Feedback in the toolbar and select Documentation. After you complete the form, click Submit to send it to Cisco. You can e-mail your comments to [email protected]. To submit your comments by mail, for your convenience many documents contain a response card behind the front cover. Otherwise, you can mail your comments to the following address: Cisco Systems, Inc. Document Resource Connection 170 West Tasman Drive San Jose, CA 95134-9883 We appreciate your comments.
Cisco.com
Cisco.com is the foundation of a suite of interactive, networked services that provides immediate, open access to Cisco information and resources at anytime, from anywhere in the world. This highly integrated Internet application is a powerful, easy-to-use tool for doing business with Cisco. Cisco.com provides a broad range of features and services to help customers and partners streamline business processes and improve productivity. Through Cisco.com, you can find information about Cisco and our networking solutions, services, and programs. In addition, you can resolve technical issues with online
xix
technical support, download and test software packages, and order Cisco learning materials and merchandise. Valuable online skill assessment, training, and certification programs are also available. Customers and partners can self-register on Cisco.com to obtain additional personalized information and services. Registered users can order products, check on the status of an order, access technical support, and view benefits specific to their relationships with Cisco. To access Cisco.com, go to the following website: http://www.cisco.com
P3Your network performance is degraded. Network functionality is noticeably impaired, but most business operations continue. P4You need information or assistance on Cisco product capabilities, product installation, or basic product configuration.
In each of the above cases, use the Cisco TAC website to quickly find answers to your questions. To register for Cisco.com, go to the following website: http://www.cisco.com/register/
xx
78-11103-03
If you cannot resolve your technical issue by using the TAC online resources, Cisco.com registered users can open a case online by using the TAC Case Open tool at the following website: http://www.cisco.com/tac/caseopen
P1Your production network is down, causing a critical impact to business operations if service is not restored quickly. No workaround is available. P2Your production network is severely degraded, affecting significant aspects of your business operations. No workaround is available.
xxi
xxii
78-11103-03
C H A P T E R
Introduction
This chapter presents a high-level overview of several basic models that you can use in designing your IP telephony network. This overview provides some guidance with respect to when and why a particular design should be selected. Subsequent chapters delve into each network model in greater detail, beginning with the simplest model and building to increasingly complexity models. This chapter includes the following major sections:
General Design Models, page 1-1 Single-Site Model, page 1-3 Multiple Sites with Independent Call Processing, page 1-5 Multisite IP WAN with Distributed Call Processing, page 1-7 Multisite IP WAN with Centralized Call Processing, page 1-10
1-1
Introduction
Figure 1-1
Composite Model
Rest of world
IP IP
V IP IP
IP
1-2
40763
78-11103-03
Chapter 1
End-to-end IP telephony IP WAN as the primary voice path with the Public Switched Telephone Network (PSTN) as the secondary voice path between sites Lower total cost of ownership with greater flexibility Enabling of new applications
For IP telephony networks based on Cisco CallManager Release 3.0(5), there are four general design models that apply to the majority of implementations:
Single-Site Model, page 1-3 Multiple Sites with Independent Call Processing, page 1-5 Multisite IP WAN with Distributed Call Processing, page 1-7 Multisite IP WAN with Centralized Call Processing, page 1-10
The following sections summarize the design goals and implementation guidelines for each of these models.
Single-Site Model
Figure 1-2 illustrates the model for an IP telephony network within a single campus or site.
1-3
Introduction
Figure 1-2
Single-Site Model
Msg store
IP
IP
IP WAN
1-4
40764
78-11103-03
Chapter 1
Single Cisco CallManager or Cisco CallManager cluster. Maximum of 10,000 users per cluster. Maximum of eight servers in a Cisco CallManager cluster (four servers for primary call processing, two for backup call processing, one database publisher, and one TFTP server). Maximum of 2,500 users registered with a Cisco CallManager at any time. PSTN only for all external calls. Digital signal processor (DSP) resources for conferencing. Voice mail and unified messaging components. G.711 codec for all IP phone calls (80 kbps of IP bandwidth per call, uncompressed). To guarantee voice quality, use Cisco LAN switches with a minimum of two queues. See Chapter 2, Campus Infrastructure Considerations, for more details.
1-5
Introduction
Figure 1-3
IP IP
IP
V IP IP
PSTN
IP
IP IP
IP
40765
1-6
78-11103-03
Chapter 1
The model for independent multiple sites has the following design characteristics:
Cisco CallManager or Cisco CallManager cluster at each site to provide scalable call control. Maximum of 10,000 IP phones per cluster. No limit to number of clusters. Use of PSTN for networking multiple sites and for all external calls. DSP resources for conferencing at each site. Voice message or unified messaging components at each site. Voice compression not required.
1-7
Introduction
Figure 1-4
Site B
IP IP
IP
V IP IP
IP
Site A
IP IP
IP
40766
Site C
1-8
78-11103-03
Chapter 1
The multisite IP WAN with distributed call processing has the following design characteristics:
Cisco CallManager or Cisco CallManager cluster at each location (10,000 users maximum per site). Cisco CallManager clusters are confined to a single campus and may not span the WAN. IP WAN as the primary voice path between sites, with the PSTN as the secondary voice path. Transparent use of the PSTN if the IP WAN is unavailable. Cisco IOS gatekeeper for E.164 address resolution. Cisco IOS gatekeeper for admission control to the IP WAN. Maximum of 100 sites interconnected across the IP WAN using hub and spoke topologies. Compressed voice calls supported across the IP WAN. Single WAN codec supported. DSP resources for conferencing and WAN transcoding at each site. Voice mail and unified messaging components at each site. Minimum bandwidth requirement for voice and data traffic is 56 kbps. For voice, interactive video, and data, the minimum requirement is 768 kbps. In each case, the bandwidth allocated to voice, video, and data should not exceed 75% of the total capacity. Remote sites can use Cisco IOS as well as gateways based on the Skinny Gateway Protocol.
1-9
Introduction
Site B
IP
IP
Site A V Telecommuter IP
40767
1-10
78-11103-03
Chapter 1
The multisite IP WAN with centralized call processing has the following design characteristics:
Central site supports only one active Cisco CallManager. A cluster can contain a secondary and tertiary Cisco CallManager as long as all IP phones served by the cluster are registered to the same Cisco CallManager at any given time. This is called a centralized call processing cluster. Each centralized call processing cluster supports a maximum of 2500 users (no limit on number of remote sites). Multiple centralized call processing clusters of 2500 users at a central site can be interconnected using H.323. IP phones at remote sites do not have a local Cisco CallManager. The call admission control mechanism is based on bandwidth by location. See the Call Admission Control section on page 7-3. Compressed voice calls across the IP WAN are supported. Manual use of the PSTN is available if the IP WAN is fully subscribed for voice traffic (PSTN access code must be dialed after a busy signal). Dial backup is required for IP phone service across the WAN in case the IP WAN goes down. Voice mail, unified messaging, and DSP resource components are available at the central site only. Minimum bandwidth requirement for voice and data traffic is 56 kbps. For voice, interactive video, and data, the minimum requirement is 768 kbps. In each case, the bandwidth allocated to voice, video, and data should not exceed 75% of the total capacity. Remote sites can use Cisco IOS as well as gateways based on the Skinny Station Protocol. If using voice mail, each site must have unique internal dial plan number ranges. You cannot overlap internal dial plans among remote sites if voice mail is required. (For example, no two sites can share 1XXX.)
1-11
Introduction
1-12
78-11103-03
C H A P T E R
Overview, page 2-2 Power Protection Strategies, page 2-4 Network Infrastructure, page 2-5 High Availability, page 2-7 Physical Connectivity Options, page 2-9 Power to IP Phones, page 2-10 IP Addressing and Management, page 2-21 Quality of Service, page 2-28
2-1
Chapter 2 Overview
Overview
Cisco IP Telephony Solutions rely on the stable foundation of Cisco multiprotocol routers and Catalyst multilayer LAN switches, which are the building blocks in enterprise networks. Figure 2-1 illustrates a general model of a Cisco IP telephony network using these components.
2-2
78-11103-03
Chapter 2
Figure 2-1
Msg store
Msg store
LDAP Directory
IP
IP IP WAN
IP
IP
Catalyst backbone
PSTN
40768
2-3
Caution
Cisco strongly recommends that you provide some type of backup power for your IP telephony network. Cisco AVVID products do not ordinarily come with a backup power supply. Here are some common strategies for using UPS:
Back up the wiring closet switches and downstream data center using UPS. While this strategy ensures that power is maintained to the phones, wall powered devices such as PCs can still go down. Back up the whole building using UPS. This protects all devices and equipment from power failures. Protecting PCs in this fashion is useful because of the new breed of highly available data applications. Provide a separate generator for power (besides the feed from the utility company) and use it as backup. In this case you might still need to add UPS because it usually takes a few minutes for the generator to ramp up. The advantage of this strategy is that less battery time is needed for each UPS.
In addition, UPS can be configured with options such as Simple Network Management Protocol (SNMP) management, remote monitoring, alarm reporting, and so on.
Further Information
For more information on power protection, see the Additional Information section on page xvii.
2-4
78-11103-03
Chapter 2
Network Infrastructure
Building an end-to-end IP telephony system requires an IP infrastructure based on Layer 2 and Layer 3 switches and routers, with switched connections to the desktop. Network designers must ensure that the endpoints are connected using switched 10/100 Ethernet ports, as illustrated in Figure 2-2.
Caution
Cisco does not support using hubs for shared connectivity to the switches because they can interfere with correct operation of the IP telephony system.
2-5
Figure 2-2
Cisco IP Phones
IP IP IP
IP IP IP
Access Layer
Distribution Layer
Layer 3 Core
Server Farm
Cisco CallManagers
40776
Cisco IP Phones, which are connected to the switch port, also provide connectivity for an attached computer. The phone electronics, which include a three-port switch, preserve the switched connectivity model for the computer and ensure quality of service for both the IP phone and the downstream computer.
2-6
78-11103-03
Chapter 2
Note
The three-port switch has two external ports and one internal port. Figure 2-3 shows the two basic parts of the IP phonephone circuitry and switching electronicshoused in the same package. There are two switched connections available as RJ-45 jacks: one goes to the switch in the wiring closet using a straight-through cable, and the other connects a PC or workstation. Two additional non-Ethernet connectors can be used for attaching a headset and for debugging purposes.
Figure 2-3 Cisco IP Phone Internals
IP phone
IP
High Availability
The distributed architecture of a Cisco IP telephony solution provides the inherent availability that is a prerequisite for voice networking. Cisco IP telephony solutions are also inherently scalable, allowing seamless provisioning of additional capacity for infrastructure, services, and applications. In the world of converged networking, in contrast to the world of the PBX, availability is designed into a distributed system rather than into a box. Redundancy is available in the individual hardware components for services such
40779
2-7
as power and supervisor modules. Network redundancy, however, is achieved with a combination of hardware, software, and intelligent network design practices. Network redundancy is achieved at many levels (see Figure 2-2). Physical connections exist from the edge devices where IP phones and computers are attached to two spatially diverse aggregation devices. In the event that an aggregation device fails, or connectivity is lost for any reason (such as a broken fiber or a power outage), failover of traffic to the other device is possible. By provisioning clusters of Cisco CallManagers to provide resilient call control, other servers can pick up the load if any device within the cluster fails. Advanced Layer 3 protocols such as Hot Standby Router Protocol (HSRP) or fast converging routing protocols, such as Open Shortest Path First (OSPF) and Enhanced Interior Gateway Routing Protocol (EIGRP), can be used to provide optimum network layer convergence around failures. Advanced tools are also available for the MAC layer (Layer 2). Tunable spanning-tree parameters and the ability to supply a spanning tree per virtual LAN (VLAN) allow fast convergence. Value-added features such as uplink-fast and backbone-fast allow intelligently designed networks to further optimize network convergence. High availability of the underlying network plays a major role in ensuring a successful deployment. This translates into redundancy, resiliency, and fast convergence.
Further Information
For more information on high availability, see the Additional Information section on page xvii.
2-8
78-11103-03
Chapter 2
Single cable IP
IP 2 Multiple cables
IP
Soft phone
40780
The first option shown in Figure 2-4 is to connect the IP phone to the switch and to connect the data device (computer or workstation) to the switched Ethernet port on the IP phone, as described in the Network Infrastructure section on page 2-5. This is the most common connectivity option and aids in rapid deployment with minimal modifications to the existing environment. This arrangement has the advantage of using a single port on the switch to provide connectivity to both devices. Also, no changes to the cabling plant are required if the phone is line powered (see the Power to IP Phones section on page 2-10). The disadvantage is that, if the IP phone goes down, the computer also loses connectivity. The second option shown in Figure 2-4 is to connect the IP phone and the computer using different switch ports. Although this option doubles the switch port count for every user, it provides a level of redundancy for the user. If the phone goes down, the PC is not affected, and vice versa. Also, you can connect
2-9
the phone and PC to ports on different modules, thus achieving another layer of redundancy by providing protection for one of the devices if either module goes down. The third option shown in Figure 2-4 differs from the others in that the phone is not a hardware device, but is a JTAPI application running on a computer. This option, the Cisco IP SoftPhone, could be particularly useful in environments where the need for a separate handset is minimal.
Power to IP Phones
Cisco IP Phones support a variety of power options. This section discusses each of the three available power schemes:
Inline Power, page 2-10 External Patch Panel Power, page 2-17 Wall Power, page 2-20
Inline Power
The advantage of inline power is that it does not require a local power outlet. It also permits centralization of power management facilities. With the inline power method, pairs 2 and 3 (pins 1, 2, 3, and 6) of the four pairs in a Category 5 cable are used to transmit power (6.3W) from the switch. This method of supplying power is sometimes called phantom power because the power signals travel over the same two pairs used to transmit Ethernet signals. The power signals are completely transparent to the Ethernet signals and do not interfere with their operation.
2-10
78-11103-03
Chapter 2
The inline method of supplying power requires the new power-enabled line card for the switch. This mechanism is currently available in the following Cisco Catalyst systems:
Catalyst 6000 Family Switches with minimum Cisco CatOS Release 5.5 or later. Catalyst 4000 Family Switches (Catalyst 4006 with Power Entry Module and Auxiliary Power Shelf. Require minimum of two power supplies to power 240 ports.) Minimum Cisco CatOS Release 6.1 or higher. Catalyst 3524-PWR (standalone 24-port 10/100 two gigabit uplinks). Minimum Cisco IOS Release 12.0(5).XU or higher.
Figure 2-5) illustrates the new Catalyst 6000 power-enabled line card.
Figure 2-5 Catalyst 6000 Power-Enabled Line Card
Before the Catalyst switch applies power, it first tests for the presence of an IP phone. By first testing for the unique characteristics of the Cisco IP Phone and then applying power, using a low current limit and for a limited time, the Catalyst switch avoids damage to other types of 10/100 Ethernet terminating devices.
2-11
40773
The switch performs phone discovery by sending specific tones down the wire to the IP phone. In its unpowered state, the IP phone loops these tones back to the switch. When the switch receives this tone, it knows that the device connected is a Cisco IP Phone and it is safe to deliver power to the device. This behavior is exhibited only by Cisco IP Phones, so that other devices connected to the switch port are safe from receiving current. This hardware polling is done by the system at fixed intervals on a port-by-port basis until a LINK signal is seen or the system has been configured not to apply inline power to that port.
2.
When the switch finds an IP phone by using phone discovery, it applies power to the device. The Cisco IP Phone powers up, energizing the relay and removing the loopback (normally closed relay becomes open) between transmit and receive pairs. It also sends a LINK packet to the switch. From this point, the IP phone functions as a normal 10/100 Ethernet device. If the LINK packet is received within five seconds, the Catalyst switch concludes that the attached device is a Cisco IP Phone, and it maintains the power feed. Otherwise power is removed and the discovery process is restarted.
3.
Once the Cisco IP Phone is powered and responding, the phone discovery mechanism enters a steady state. If the phone is removed or the link is interrupted, the discovery mechanism starts again. The port is checked every five seconds for a LINK packet and, in its absence, the test tone is generated.
The advantage of this mechanism is that power is supplied to the phone by the switch just as it is in a traditional telephony environment. In some installations, it is entirely possible that only two pairs have been terminated out of the four available for the data run between the wiring closet and the desktop location. In such cases the inline power method can allow customers to deploy IP telephony by using the existing cable plant without any modification.
2-12
78-11103-03
Chapter 2
autoThe supervisor engine tells the port to supply power to the phone only if it has discovered the phone using the phone discovery mechanism, as described in the Establishing Power to the IP Phone section on page 2-12. This is the default behavior. offThe supervisor engine instructs the port not to apply power, even if it can and if it knows that there is a connected Cisco IP Phone device.
If the set port inlinepower command executes successfully, the system displays a message similar to
Inline power for port 7/1 set to auto
If the set port inlinepower command does not execute successfully, the system prints a message similar to
Failed to set the inline power for port 7/1
2-13
Note
The remainder of this chapter uses the Cisco CatOS command syntax. For native Cisco IOS commands, refer to the specific product documentation for the switches and line cards.
If the set inlinepower defaultallocation command does not execute successfully, the system displays the following error message:
Default port inline power should be in the range of 2000..12500 (mW)
2-14
78-11103-03
Chapter 2
Cisco IP Phone model 7960 consumes 6.3W. Depending upon the number of phones attached or planned, the system should be equipped with a 1300W power supply or the new power supply capable of delivering 2500W.
Note
The new power supply for the Cisco Catalyst 6000 family switches needs 220V to deliver 2500W of power. When powered with 110V, it delivers only 1300W. In addition, the power supply needs 20A regardless of whether it is plugged into 110V or 220V.
2-15
You can configure the system to send syslog messages that indicate any deviations from the norm. These messages include the following deviations:
Power status can also be displayed on a per-port basis using the show port status command. The command displays the following values:
OnPower is being supplied by the port. OffPower is not being supplied by the port. Power-denySystem does not have enough power, so the port does not supply power.
Dual Supervisors
When the system is using dual supervisors, power management per port and phone status are synchronized between the active and standby supervisor. This is done on an ongoing basis and is triggered with any change to the power allocation or phone status. The usefulness and functioning of the high availability features are unaffected by the use of inline power.
Power Protection
Cisco recommends that backup power be used for a higher degree of redundancy and availability. See the Power Protection Strategies section on page 2-4.
2-16
78-11103-03
Chapter 2
Table 2-1 shows the number of IP phones that can be supported with the 1050W, 1300W, and 2500W power-enabled line cards on a Cisco Catalyst 6509 with the Policy Feature Card (PFC).
Table 2-1 IP Phones Supported with Power-Enabled Line Cards
IP Phones Supported at 6.3W per Phone 60 IP phones 96 IP phones (2 modules) 240 IP phones (5 modules)
The patch panel has a 250W power supply and draws its power from a 110 VAC source. It can accommodate 48 ports and is capable of supplying power to each of the 48 ports at 6.3W per Cisco IP Phone model 7960. We recommend an uninterruptible power supply (UPS) for backup in the event of a power failure.
2-17
40774
As shown in Figure 2-7, the patch panel has two ports per connection: one port on the switch side and one port on the phone side.
Figure 2-7 Power Patch Panel Connectivity to Cisco IP Phone
2 pairs (4 wires)
47 48 47 48 4 pairs (8 wires)
40775
IP
IP
IP
IP
IP
This arrangement of applying power to the phone uses all four pairs in the Category 5 cable. Unlike the inline method, Ethernet pairs do not carry power signals. Rather, the remaining pairs of Category 5 cable are used for delivering power from the patch panel (see Figure 2-8).
2-18
78-11103-03
Chapter 2
Figure 2-8
Power patch panel port Switch port without inline power Pair 2 Pair 3 Category 5 cable AC Source Power Phone side RJ-45 Cisco IP phone Pair 1 Pair 4
40777
IP
As shown in Figure 2-8, pairs 2 and 3 from the switch are patched straight through to pairs 2 and 3 coming from the phone. Pairs 1 and 4 from the phone terminate at the patch panel (Ethernet does not use pairs 1 and 4) and power is applied across them to power the phone. The actual conductors used are pins 4 and 5 (pair 1) and pins 7 and 8 (pair 4) for power and ground return. This means that all four pairs in the Category 5 cable need to be terminated at the users desk and in the wiring closet. The Cisco power patch panel operates in discovery mode. In discovery mode, the patch panel tries to verify if the device connected to it is a Cisco IP Phone. It does this by using the phone discovery mechanism used in the inline power method, except that here the patch panel, rather than the switch, generates the test tone. Everything else about the process is identical to that described in the Establishing Power to the IP Phone section on page 2-12.
2-19
Wall Power
The last option is to power the Cisco IP Phone from a local transformer module plugged into a nearby outlet (maximum of 3 meters), as illustrated in Figure 2-9.
Figure 2-9 Wall Powered Cisco IP Phone
A combination of these power options can provide redundant power to the Cisco IP Phone. Internally, these three sources are combined through protection diodes, so that whatever combination is used, the phone shares the power.
Summary of Recommendations
You can purchase line cards that are capable of applying power to the IP phone. If you want to deploy IP phones with existing switches, you can either buy new line cards capable of applying power or use the external Cisco power patch panel to power the phones if powered line cards are not available for the switch. As a final option, you can use wall power to provide power to the IP phones.
2-20
40778
AC source
IP
78-11103-03
Chapter 2
Assigning IP Addresses Using Same Subnet as Data Devices Modifying the IP Addressing Plan Creating a Separate IP Subnet for IP Phones
You might want to provide IP addresses to the IP phones using the same subnet as data devices. This might be a straightforward solution in your situation. However, many sites have IP subnets with more than 50% of subnet addresses already allocated. If your network fits this description, this is not the best solution for your needs.
Modifying the IP Addressing Plan
You could assign addresses for IP phones out of the existing subnets, but you must renumber the IP addressing plan. This may not always be feasible.
Creating a Separate IP Subnet for IP Phones
You can put the IP phones on a separate IP subnet. The new subnet could be in a registered address space or in a private address space, such as network 10.0.0.0. Using this scheme, the PC would be on a subnet reserved for data devices and the phone would be on a subnet reserved for voice. Configuration on the IP phone can be minimized by having the phone learn as much information dynamically as possible. Therefore, when the IP phone powers up it should get its voice subnet automatically, then send a DHCP request on that subnet for an IP address. The automated mechanism by which the IP phone gets its voice subnet is provided through enhancements to the Cisco Discovery Protocol (CDP).
2-21
CDP Enhancements
Cisco Discovery Protocol (CDP) is a device discovery protocol that runs on all Cisco equipment. With CDP, each device sends periodic messages to a multicast address and in turn listens to the periodic messages sent by other devices. This allows devices on the network to discover one another and learn information such as protocols used, protocol addresses, native VLAN of interconnected ports, and so on. CDP is also used to send some Layer 2 and Layer 3 messages. Cisco IP Phones use CDP to interact with the switch so that the switch knows that an IP phone is connected to it. To provide this level of support, three new fields have been added to CDP:
Voice VLAN ID (VVID) for communicating the voice subnet to the IP phone Trigger field for soliciting a response from the connected device Power requirement field for getting the exact power requirement from the phone
VVID Field
A VLAN (Layer 2) maps to a subnet (Layer 3) as a broadcast domain, such that a VLAN is equivalent to a subnet. The VVID was introduced with release 5.5 of the Catalyst software. This is the voice VLAN that the switch assigns to the IP phone inside the CDP message. It allows the IP phone to get its VLAN ID automatically when it is plugged into the switch if a VLAN is configured for the phone (see the Voice VLAN Configuration section on page 2-24). If no VLAN is configured for the IP phone, the phone resides in the native VLAN (data subnet) of the switch.
Trigger Field
The trigger field is used to force a response from the connected device. Under normal circumstances, a device sends CDP update messages at a configured interval (default is one minute). If an IP phone is connected between CDP messages, it cannot receive its VVID. In this case, the IP phone issues a trigger in the CDP message it sends to the switch, forcing the switch to respond with a VVID.
2-22
78-11103-03
Chapter 2
PC VLAN = 3
40781
2-23
In the following example, the VVID is set to 222 for ports 2/1 through 2/3. When the phone powers up, the switch instructs it to register with VLAN 222.
Console> (enable) set port auxiliaryvlan 2/1-3 222 Auxiliaryvlan 222 configuration successful.
The following examples show how to display which ports are in which auxiliary VLAN:
Console> show port auxiliaryvlan 222 AuxiliaryVlan auxVlanStatus Mod/Ports ------------- ------------- --------222 222 1/2,2/1-3 Console> show port 2/1 Port AuxiliaryVlan AuxVlan-Status ----- ------------- -------------2.1 222 active
The following is an example of VVID configuration on Catalyst switches running Cisco IOS at the interface level (for example, Catalyst 3524-PWR and 2900XL):
interface FastEthernet0/1 switchport trunk encapsulation dot1q switchport trunk native vlan <PVID> switchport mode trunk switchport voice vlan <VVID> spanning-tree portfast switchport mode trust
2-24
78-11103-03
Chapter 2
The IP phone begins a CDP exchange with the switch. The phone issues a trigger CDP to force a response from the switch. That response contains the VVID for the phone. If the IP phone is configured to use DHCP (the default), it issues a DHCP request on the voice subnet it got from the switch. This is the recommended mode of operation. Static addressing can be used, but it prevents mobility. The IP phone gets a response from the DHCP server in the network. Along with the DHCP response, which provides the IP address to the telephone, it is also possible to supply the address of the TFTP server from which the phone gets its configuration. This is done by configuring option 150 on the DHCP server and specifying the address of the TFTP server; Cisco DHCP server supports this feature. Again, it is possible to specify the TFTP server address manually, but this would limit adds, moves, and changes, as well as remove some other benefits. The IP phone contacts the TFTP server and receives a list of addresses of Cisco CallManagers. Up to three Cisco CallManagers can be specified in the list. This provides redundancy in case the first Cisco CallManager in the list is not available. The IP phone now contacts the Cisco CallManager and registers itself, receiving in return a configuration file and runtime code necessary for the phone to operate. For each configuration, the IP phone receives a directory number (DN) from the Cisco CallManager to be used for calling that particular IP phone. The IP phone is ready to make and receive calls.
2.
3.
4.
5.
6.
Note
This process takes about 90 seconds. To speed it up, turn on portfast and turn off port channeling and trunking. This reduces the time to about 30 seconds.
2-25
171.68.249.100
171.68.249.100 IP 10.1.1.1
171.68.249.101 IP 10.1.1.1
40783
2-26
78-11103-03
Chapter 2
Figure 2-12 shows examples of preferred IP addressing for connecting IP phones, PCs, and Cisco IP SoftPhones.
Figure 2-12 Optional IP Addressing Plans
IP phone + PC on separate switch ports IP phone + PC on same switch ports Real IP addresses 171.68.249.101 IP phone + PC share the same device (Cisco IP Softphone)
IP
Real IP addresses
Continue to use existing addressing for data devices. Add IP phones with DHCP as the mechanism for getting addresses. Use a unique range of IP addresses (for example, RFC 1918). Use the auxiliary VLAN feature where possible. This requires a switch capable of handling 802.1Q with enhanced software.
40782
IP 171.68.249.100
Real IP addresses
2-27
Quality of Service
In a converged environment, all types of traffic travel over a single transport infrastructure. Yet all traffic types are not the same. Data is bursty, loss intolerant, and not latency sensitive. Voice, on the other hand, is nonbursty and has some tolerance to loss but is latency sensitive. The challenge is in providing the required level of service for each of these traffic types. Running both voice and data on a common network requires the proper quality of service (QoS) tools to ensure that the delay and loss parameters of voice traffic are satisfied. These tools are available as features in IP phones, switches, and routers. See Chapter 8, Quality of Service, for information on WAN QoS.
At Layer 2 using the three bits in the 802.1p field (referred to as class of service, or CoS), which is part of the 802.1Q tag. At Layer 3 using the three bits of the differentiated services code point (DSCP) field in the type of service (ToS) byte of the IP header.
Classification is the first step toward achieving quality of service. Ideally, this step should be done as close to the source as possible, usually at the access layer of the network.
2-28
78-11103-03
Chapter 2
Trust Boundaries
The concept of trust is an important and integral one to implementing QoS. Once the end devices have a set class of service (CoS) or type of service (ToS), the switch has the option of trusting them or not. If the switch trusts the settings, it does not need to do any reclassification; if it does not trust the settings, then it must perform reclassification for appropriate QoS. The notion of trusting or not trusting forms the basis for the trust boundary. Ideally, classification should be done as close to the source as possible. If the end device is capable of performing this function, then the trust boundary for the network is at the access layer in the wiring closet. If the device is not capable of performing this function, or the wiring closet switch does not trust the classification done by the end device, the trust boundary may shift. How this shift happens, depends on the capabilities of the switch in the wiring closet. If the switch can reclassify the packets, then the trust boundary remains in the wiring closet. If the switch cannot perform this function, then the task falls to other devices in the network going toward the backbone. In this case, the rule of thumb is to perform reclassification at the distribution layer. This means that the trust boundary has shifted to the distribution layer. It is more than likely that there is a high-end switch in the distribution layer with features to support this function. If possible, try to avoid performing this function in the core of the network. In summary, try to maintain the trust boundary in the wiring closet. If necessary, move it down to the distribution layer on a case-by-case basis, but avoid moving it down to the core of the network. This advice conforms with the general guidelines to keep the trust boundary as close to the source as possible.
Note
This discussion assumes a three-tier network model, which has proven to be a scalable architecture. If the network is small, and the logical functions of the distribution layer and core layer happen to be in the same device, then the trust boundary can reside in the core layer if it has to move from the wiring closet.
2-29
Tagged 802.1q
40769
IP Untagged 802.3
Because most PCs do not have an 802.1Q capable network interface card (NIC), they send the packets untagged. This means that the frames do not have a 802.1p field. Also, unless the applications running on the PC send packets with a specific CoS value, this field is zero. A special case is where the TCP/IP stack in the PC has been modified to send all packets with a ToS value other than zero. Typically this does not happen, and the ToS value is zero. Even if the PC is sending tagged frames with a specific CoS value, Cisco IP Phones can zero out this value before sending the frames to the switch. This is the default behavior and is illustrated in Figure 2-14. Frames coming from the phone have a CoS of 5 and frames coming from the PC have a CoS of 0. When the switch receives these frames, it can take into account these values for further processing based on its capabilities.
2-30
78-11103-03
Chapter 2
Example: set port qos 2/1 trust-ext untrusted IP CoS = 5 CoS = 5 CoS = 0 CoS = 7
40770
The switch uses its queues (available on a per-port basis) to buffer incoming frames before sending them to the switching engine. (It is important to remember that input queuing comes into play only when there is congestion.) The switch uses the CoS value(s) to put the frames in appropriate queues. The switch can also employ mechanisms such as weighted random early detection (WRED) to make intelligent drops within a queue (also known as congestion avoidance) and weighted round-robin (WRR) to provide more bandwidth to some queues than to others (also known as congestion management).
2-31
Note
All the values for WRED, WRR, and queue size are configurable. Cisco Catalyst 6000 family switches also support the notion of trusted and untrusted QoS on a per-port basis. This parameter is configured with the following command: set port qos mod/ports.. trust {untrusted | trust-cos | trust-ipprec | trust-dscp} This command allows you to configure the trust state as well as specify to trust CoS or ToS (trust-ipprec) or DSCP (trust-dscp), which is an emerging Layer 3 standard under the Differentiated Services working group of the Internet Engineering Task Force (IETF). So far, this discussion has centered around the case depicted in Figure 2-14, where voice traffic comes in as CoS 5 and PC traffic is zeroed out if there is any tag. There may be times, however, when it is desirable to trust the PC CoS (if sending tagged packets) or assign a value other than zero. This can be achieved on Catalyst switches as well. Figure 2-15 shows the case where the PC is trusted completely, and whatever CoS it presents is honored.
Figure 2-15 PC Is Trusted
Trusted
CoS = 7
40771
2-32
78-11103-03
Chapter 2
Figure 2-16 shows a different case in which the PC is not trusted completely, yet it gets a level of service higher than it would with CoS=0. This is achieved by extending a specific CoS value to the PC traffic.
Figure 2-16 PC Is Not Trusted but Gets a Non-Zero CoS
Example: set port qos 2/1 cos-ext 2 PC is untrusted. Phone ASIC rewrites CoS based on switch configuration (for Example Extended CoS = 2)
IP
CoS = 7
40772
Note
All of the previously discussed configurations can be used on any Catalyst switch that runs Cisco CatOS or native Cisco IOS software (for example, Catalyst 3524XL).
QoS Commands
Three commands are available for specifying classification and trust boundary:
set port qos mod/ports trust {untrusted | trust-cos | trust-ipprec | trust-dscp} Defines the trust boundary.
set port qos mod/ports {trust-ext | trust-cos} Extends the trust boundary to the PC.
set port qos mod/ports cos-ext value Sets a defined CoS to the traffic from the PC.
2-33
2-34
78-11103-03
Chapter 2
QoS ACLs can also include Layer 4 information for classifying individual applications. Cisco Catalyst 6000 family switches are also capable of policing traffic based on Layer 3 addresses and Layer 4 port numbers. For example, you can police individual HTTP flows to 1 Mbps and aggregate all HTTP flows to 25 Mbps. The following are important points in regard to QoS functionality on the Cisco Catalyst 6000 family switches:
By default, QoS is not enabled. Use set qos enable to enable QoS on the switch. By default, ports are not trusted. Use the following command to enable trust on a port: set port qos mod/ports.. trust {untrusted | trust-cos | trust-ipprec | trust-dscp}
QoS configurations can be applied on a per-port basis or on a per-VLAN basis. This works very well for IP telephony implementations where phones are on a separate VLAN, as described in the IP Addressing and Management section on page 2-21. By default, Cisco Catalyst 6000 family switches map CoS to ToS when the port is trusted or by using QoS ACLs.
Tips
If the trust boundary happens to be on a wiring closet switch that is not capable of reclassifying at Layer 3, you can shrink the trust boundary to the distribution layer where a Layer 3 capable device is more likely to be present.
2-35
Congestion Congestion Ability Reclassify Reclassify Avoidance Priority Multiple Management to Trust CoS ToS (WRED) Queue Queues (WRR) Yes No No Yes Yes Yes Yes Yes Yes Yes1 No No Yes Yes No No No No No Yes Yes No Yes Yes Yes No No No 2
Policing Yes No No No
Note
Currently the only Cisco LAN switches that support a minimum of two queues and that can guarantee voice quality are the Cisco Catalyst 8500, Catalyst 6XXX family, Catalyst 4XXX family, Catalyst 3500XL, and Catalyst 2900XL. Here are some summary recommendations for QoS implementation:
Create a trust boundary at the network edge in the wiring closet. Make ports trusted on the wiring closet switch where IP phones are attached. Reclassify ToS at the edge if devices cannot be trusted. Shrink the trust boundary to the distribution layer and reclassify ToS there if reclassification is not possible at the edge. Use a priority queue if possible for delay-sensitive traffic.
2-36
78-11103-03
Chapter 2
Use QoS ACLs for more granular classification of packets using Layer 4 information. Use policing if necessary to limit traffic for individual flows as well as aggregate flows. Have traffic going to the WAN edge classified at Layer 3 so that the router can use it for advanced WAN queuing mechanisms. Use a WAN edge router as the classifier for very small remote site networks where a Layer 3 capable switch is not available.
2-37
2-38
78-11103-03
C H A P T E R
Cluster Operation and Scalability Guidelines, page 3-1 Cisco CallManager Redundancy, page 3-6 Campus Clustering Guidelines, page 3-12 Intercluster Communication, page 3-14 Intracluster and Intercluster Feature Transparency, page 3-21
3-1
A dedicated database publisher and a dedicated TFTP server are recommended for large systems. For smaller systems, the function of database publisher and the TFTP server can be combined. Table 3-1 provides guidelines for scaling devices with Cisco CallManager clusters.
Table 3-1 Cisco CallManager Cluster Guidelines
Combined publisher / TFTP One primary Cisco CallManager One backup Cisco CallManager 2,500 Combined publisher / TFTP Two primary Cisco CallManagers One Backup Cisco CallManager 2,500 Database publisher TFTP server Four primary Cisco CallManagers Two backup Cisco CallManagers
5,000
10,000
The preceding recommendations provide an optimum solution. It is possible to reduce the amount of redundancy, and hence use fewer servers. For small systems the database publisher, TFTP server, and Cisco CallManager backup functions can be combined.
3-2
78-11103-03
Chapter 3
The maximum number of registered devices per Cisco CallManager is 5000 in the case of the MCS-7835, including a maximum of 2500 IP telephones, gateways, and Digital Signaling Processor (DSP) devices such as transcoding and conferencing resources. In the event of failure of one of the Cisco CallManagers within the cluster, the maximum number of registered devices remains 5000 per Cisco CallManager in the case of the MCS-7835.
Device Weights
Many types of devices can register with a Cisco CallManager. Each of these resourcesIP phones, voice mail ports, Telephony Application Programming Interface (TAPI) devices, Java Telephony API (JTAPI) devices, gateways, and DSP resources such as transcoding and conferencingcarries a different weight. Table 3-2 shows the weight for each of the resource types, based on the consumption of memory and CPU resources.
Table 3-2 Weights by Device Type
Device type IP phone Analog gateway ports T1 gateway E1 gateway Transcoding resource Software MTP Conference resource (hardware) Conference resource (software) CTI port (TAPI and JTAPI) Cisco SoftPhone Messaging (voice mail) Intercluster trunk
Weight per Session/ Session/DS0 Voice Channel per Device 1 3 3 3 3 3 3 3 20 20 3 3 1 Varies 24 30 Varies 48 Varies 48 1 1 Varies Varies
Cumulative Device Weight 1 3 per DS0 72 per T1 90 per E1 3 per session 1441 3 per session 144 1 20 20 3 per session 3 per session
1. When installed on the same server as Cisco CallManager, the maximum number of sessions is 48.
3-3
The total number of device units that a single Cisco CallManager can control depends on the server platform. Table 3-3 gives details of the maximum number of devices per platform.
Table 3-3 Maximum Number of Devices per Server Platform
Server Platform Characteristics MCS-7835-10001 PIII 1000MHz, 1G RAM MCS-7835 PIII 733MHz, 1G RAM MCS-7830 PIII 500MHz, 1G RAM MCS-7830 PIII 500MHz, 512M RAM MCS-7825-8001 PIII 800MHz, 512M RAM MCS-7822 PIII 550MHz, 512M RAM MCS-7820 PIII 500MHz, 512M RAM
Maximum Device Units per Server 5000 5000 3000 1000 1000 1000 1000
Maximum IP Phones per Server 2500 2500 1500 500 500 500 500
1. This server platform will not be available until first quarter of 2001.
The total number of IP phones that can register with a single Cisco CallManager is limited to 2500 on an MCS-7835, even if only IP phones are registered. To calculate the number of IP phones you can register with a Cisco CallManager, subtract the weighted value of non-IP phone resources from the maximum number of device units allowed for that platform. In the case of the MCS-7835, the maximum number of device units is 5000.
3-4
78-11103-03
Chapter 3
Intracluster Communication
There are two primary kinds of intracluster communications within a Cisco CallManager cluster (Figure 3-1). The first is a mechanism for distributing the database that contains all the device configuration information. The configuration database (Microsoft SQL 7.0) is stored on a publisher and replicated to the subscriber members of the cluster. Changes made on the publisher are communicated to the subscriber databases, ensuring that the configuration is consistent across the members of the cluster as well as facilitating spatial redundancy of the database. The second intra-cluster communication is the propagation and replication of run-time data such as registration of IP phones, gateways, and DSP resources. This information is shared across all members of a cluster and assures the optimum routing of calls between members of the cluster and associated gateways.
Figure 3-1 Intracluster Communications
SQL database
Publisher Subscriber
Subscriber
40784
Subscriber Subscriber
3-5
Primary
IP
Secondary
Tertiary
Each IP phone maintains active TCP sessions with its primary and secondary Cisco CallManagers. This configuration facilitates switchover in the event of failure of the primary Cisco CallManager. Upon restoration of the primary, the device reverts to its primary Cisco CallManager.
3-6
40986
78-11103-03
Chapter 3
Note
The sizes of clusters and redundancy groups are subject to change in future releases of Cisco CallManager. The following recommendations apply to the configuration of redundancy groups for Cisco CallManager Release 3.0(5):
In the configuration above, only a single Cisco CallManager redundancy group is required for servers B and C.
5000.
Server D is the backup Cisco CallManager for all registered devices.
In the configuration above, two Cisco CallManager redundancy groups are required for servers BD and CD.
5000.
Server E is the backup Cisco CallManager for IP phones 1 through 5000. Server F is the primary Cisco CallManager for IP phones 5001 through
7500.
3-7
10,000.
Server H is the backup Cisco CallManager for IP phones 5001 through
10,000. In the above configuration, four Cisco CallManager redundancy groups are required for servers CE, DE, FH and GH. Figure 3-3 illustrates this configuration. Triple redundancy is also possible in this case by configuring the redundancy groups as CEH, DEH, FHE and GHE.
Figure 3-3 Redundancy Groups for a Large System
Server E Server D Backup Cisco CallManager Primary Cisco CallManager Phones 1 to 5000 Phones 2500 to 5000
Redundancy groups Server F Primary Cisco CallManager Phones 5001 to 7500 Server H Server G Backup Cisco CallManager Primary Cisco CallManager Phones 5001 to 10,000 Phones 7501 to 10,000
Note
In the event of a Cisco CallManager failure, calls can be dropped and might need to be reestablished.
3-8
42657
78-11103-03
Chapter 3
RegionRequired only if multiple voice codecs are used within an enterprise. Date/time groupSpecifies date and time zone for a device. Cisco CallManager redundancy groupSpecifies a list of up to three Cisco CallManagers, which can be used for call processing in a prioritized list.
Figure 3-4 shows an example of a device pool configuration screen. The calling search space for auto-registration is relevant only if auto-registration of IP phones is enabled. This can be used, for example, to limit access of the PSTN to auto-registered devices. Auto-registration is a valuable tool for the initial provisioning of IP phones.
Figure 3-4 Device Pool Configuration Screen
3-9
40787
In Figure 3-4, a device pool called Branch 1 G.711 ADE is configured with the following characteristics:
It is assigned the region Branch 1 G.711. This region contains devices that are capable of communicating by means of G.711 only, such as a voice mail system or conference bridge. It is assigned to the appropriate date/time group. It is assigned the Cisco CallManager redundancy group ADE, where Cisco CallManager A is the primary, D is the secondary, and E is the tertiary.
A second device pool, called Branch 1 G.729 ADE, could be configured with the following characteristics:
It is assigned the region Branch 1 G.729. This region contains devices that are capable of communicating by means of both G.729 and G.711, such as IP phones. It is assigned to the appropriate date/time group. It is assigned the Cisco CallManager redundancy group ADE, where Cisco CallManager A is the primary, D is the secondary, and E is the tertiary.
The same Cisco CallManager group is used for both device pools. However, it is now possible to specify interregion communication codec requirements:
Intraregion communication uses G.711. Interregion communication uses G.729 across the WAN. All calls to the G.711 region use G.711. This is required, for example, when accessing an application that is G.711 only. This configuration is depicted in Figure 3-5.
3-10
78-11103-03
Chapter 3
Figure 3-5
The exact clustering modeland hence device pools usedis driven by the deployment model. The typical device pool configurations, however, have the following characteristics:
redundancy groups.
codec selection. Each cluster could have a G.711 and G.729 region per Cisco CallManager redundancy group.
Total device pools = regions x Cisco CallManager redundancy groups.
G.711 region and a G.729 region are required per location. This permits, for example, intrabranch calls to be placed as G.711 and interbranch calls to be placed as G.729.
Total device pools = number of sites x regions.
40788
3-11
Maximum of eight servers per cluster with Cisco CallManager release 3.0(5). Maximum of 10,000 total registered devices. Maximum of 2500 registered IP phones or 3000 devices per Cisco CallManager, including devices registered under failure conditions. Switched infrastructure to the desktop (shared media is not supported).
Within a switched campus infrastructure, you can generally assume that the bandwidth is adequate for voice applications. This bandwidth availability depends upon appropriate design and capacity planning within the campus in addition to the establishment of a trust boundary and the required queuing, as discussed in Chapter 2, Campus Infrastructure Considerations. There is no requirement for call admission control within a campus cluster. Cisco CallManager servers should be distributed within the campus to provide spatial redundancy and resiliency. Many metropolitan sites and campus buildings may have only a single conduit providing IP connectivity to other members of the cluster. In this case, if IP connectivity fails, local call processing must be maintained by means of a local server. Gateway resources for PSTN access should likewise be placed strategically to provide the highest possible availability. Figure 3-6 depicts a typical campus or metropolitan-area network (MAN) cluster deployment.
3-12
78-11103-03
Chapter 3
Figure 3-6
Transcoder
Conf
Transcoder
Conf
Transcoder
Conf
Transcoder
Conf
Transcoder
Conf
In Figure 3-6 a Cisco CallManager is placed at each of the five buildings or sites. This configuration ensures that, in the event of a failure, local call processing is possible at each site. In cases where diverse routing of fiber cable negates the requirement for a local Cisco CallManager, all call processing could be located in one or more data centers. Resources such as transcoding and the conferencing DSP are not shared resources and must be provisioned per Cisco CallManager. Once again, where fault tolerance is required, these resources require duplication, and spatial redundancy is recommended. This can be achieved by positioning these resources in strategically placed multi-layer switches.
40789
3-13
Intercluster Communication
The following sections discuss intercluster communications and address issues in cluster provisioning for isolated campus deployment, multisite WAN deployment with distributed call processing, and multisite WAN deployment with centralized call processing.
Cluster 3
H.323 H.323
Cluster 1 H.323
Cluster 2
40790
3-14
78-11103-03
Chapter 3
In Figure 3-7 the dotted lines represent the H.323 intercluster links, which are configured in pairs to provide redundancy in the event of loss of IP connectivity to any member of the cluster. If desired, you could configure these links as a full mesh. However, Cisco recommends limiting intercluster configuration to two peers. In the majority of situations, this is sufficient to provide adequate resiliency. For deployments where a gatekeeper is used, Cisco recommends a single H.323 connection per cluster. You can implement redundancy by using a Cisco CallManager redundancy group assigned to the gatekeeper. Unlike earlier releases of Cisco CallManager, release 3.0(5) does not require the use of an MTP to allow supplementary services for H.323 devices. Cisco CallManager 3.0(5) uses the empty capabilities set of H.323v2 to facilitate the opening and closing of logical channels between H.323 devices such as Cisco CallManager clusters and Cisco IOS gateways running Cisco IOS Release 12.0(7)T or greater.
3-15
Table 3-4
Bandwidth Configured on Bandwidth Required on WAN Links (LLQ/CBWFQ1) Gatekeeper With cRTP 24 kbps 60 kbps 120 kbps Without cRTP 40 kbps 100 kbps 200 kbps With cRTP 40 kbps 100 kbps 200 kbps
Without With cRTP cRTP 12 kbps 12 kbps 12 kbps 48 kbps 120 kbps 240 kbps
1. Low latency queuing/class based weighted fair queuing 2. Compressed Real-time Transport Protocol
Table 3-5
Bandwidth Required on WAN Links (LLQ/CBWFQ) 160 kbps 400 kbps 800 kbps
The use of gatekeepers provides both inbound and outbound call admission control. With Cisco CallManager Release 3.0(5), a maximum of 100 Cisco CallManagers can register with a gatekeeper. This method of call admission control is restricted to a single active gatekeeper per network. Redundancy can be achieved using the Hot Standby Routing Protocol (HSRP) between two gatekeepers. Gatekeeper call admission control is a policy-based scheme. It requires static configuration of available resources and is not aware of network topology. It is, therefore, necessary to restrict gatekeeper call admission control schemes to hub-and-spoke topologies with the redundant gatekeeper or gatekeepers (using HSRP) located at the hub. The WAN must be provisioned accordingly, and the voice priority queue must be dimensioned to support all admitted calls. Figure 3-8 illustrates this deployment model.
3-16
78-11103-03
Chapter 3
Figure 3-8
Site B
Gatekeeper(s)
IP IP
V IP IP
PSTN
IP
IP
IP IP
IP
40791
Site C
3-17
IP
Branch 1
IP
Branch 2
IP
Branch 3
IP
Branch n
In the scheme depicted in Figure 3-9, call processing is maintained only at the central site, and the devices at the branches are configured as belonging to a location. For example, branch 1 might have 12 IP phones, each configured to be in the location Branch 1. Cisco CallManager is then able to track the used and unused bandwidth per location, and admit or deny WAN calls accordingly. This scheme has been expanded with Cisco CallManager Release 3.0(5) to allow centralized call processing for as many as 2500 remote devices. To implement this type of solution with Cisco CallManager Release 3.0(5), a dedicated Cisco CallManager cluster is required with a single active Cisco CallManager to maintain call state and call admission control.
Note
In this type of centralized configuration, there is a maximum of 2500 users per cluster, regardless of the number of Cisco CallManagers in the cluster (1, 2, or 3 for redundancy purposes). In addition, only one Cisco CallManager in the centralized cluster can be active at a time.
3-18
40792
78-11103-03
Chapter 3
To ensure that only a single Cisco CallManager is active at a time, all devices should be assigned to a single Cisco CallManager redundancy group. This Cisco CallManager redundancy group consists of a prioritized list of up to three Cisco CallManagers. For a centralized call processing cluster, only a single Cisco CallManager redundancy group is recommended, and it should be the default group. In the example shown in Figure 3-10, the redundancy group consists of three Cisco CallManagers, with A as the primary, B the secondary, and C the tertiary Cisco CallManager.
Figure 3-10 Cisco CallManager Redundancy Group Configuration
A typical centralized call processing model might deploy only two Cisco CallManagers. In this case, Cisco recommends that the normally inactive (secondary) Cisco CallManager be the publisher. For a cluster of three Cisco CallManagers, we recommend a dedicated publisher (tertiary) with IP phones and gateways assigned to the primary and secondary Cisco CallManagers. Figure 3-11 depicts a hybrid deployment model in which a campus cluster is interconnected with two clusters that perform centralized call processing. This example shows that multiple centralized call processing clusters can be deployed and interconnected using H.323. Connectivity to the campus cluster is also achieved using H.323. If intercluster call admission control is required, a gatekeeper can be assigned.
3-19
40793
Figure 3-11 Centralized Call Processing Cluster Interconnected with Two Clusters
Cluster1 CM1
IP IP IP IP IP IP IP IP IP
Secondary
IP IP
H.323
Cluster X Location 2
Secondary
3-20
78-11103-03
Chapter 3
In addition, a cluster provides transparent support of user features across all devices in the cluster. This enables distributed IP telephony to span an entire campus or high-speed metropolitan-area network (MAN) with full features. Intercluster communication provided by H.323 permits a subset of the features to be extended between clusters. These features are currently available between clusters:
Basic call setup G.711 and G.729 calls Multiparty conference Call hold Call transfer Calling line ID
In addition, Call Park is available within a cluster but not between clusters.
3-21
3-22
78-11103-03
C H A P T E R
Gateway Selection
This chapter discusses issues concerning the selection of gateways for connecting an IP telephony network to the PSTN or legacy PBX and key systems. Choosing a gateway from some 20 candidatesranging from specialized, entry-level standalone voice gateways to the high-end, feature-rich integrated router and Catalyst gatewayscan be daunting. Although your particular VoIP implementation dictates specific gateway requirements, these are common required features:
Dual tone multifrequency (DTMF) relay capabilities Ability to handle clustered Cisco CallManager systems Supplementary services support
Any gateway selected for an enterprise network should be able to support these features. In addition, every implementation has its own site-specific feature requirements, which helps you eliminate options. This chapter includes these sections to address the required common and site-specific features:
Supported Protocols, page 4-2 DTMF Relay, page 4-3 Cisco CallManager Redundancy, page 4-5 Supplementary Services, page 4-7 Site-Specific Gateway Requirements, page 4-9
4-1
Gateway Selection
Supported Protocols
Using Cisco CallManager Release 3.0(5), three types of gateway protocols are supported:
Skinny Gateway Protocolused by the digital gateways, including the Cisco Access Digital Trunk Gateway DT-24+ and DE-30+, as well as the Cisco Catalyst 6000 Voice Gateway module. Media Gateway Control Protocol (MGCP)used by Cisco CallManager to control the new Cisco Voice Gateway 200 (VG200) standalone analog gateway. H.323used by the Cisco IOS integrated router gateways to communicate with Cisco CallManager.
Of these three types, only the Cisco IOS H.323 gateways can today provide full-featured routing capabilities as well as VoIP gateway functions. Both the gateways based on the Skinny Gateway Protocol and the VG200 MGCP gateway act as standalone, application-specific gateways. Table 4-1 shows which protocols are supported on each gateway. The following sections discuss how each of these protocols provides support for the three core gateway features.
Table 4-1 Cisco IP Telephony Gateways and Supported Protocols
Gateway VG200 DT-24+ and DE-30+ Catalyst 4000 WS-X4604-GWY gateway module
Skinny Gateway Protocol No Yes Yes, for conferencing and MTP transcoding services
Catalyst 6000 Yes WS-X6608-T1 and WS-X6608-E1 gateway modules Cisco 1750 Cisco 3810 V3 No No
Future
Yes Yes
No Future
4-2
78-11103-03
Chapter 4
Table 4-1
Gateway Cisco 2600 Cisco 3600 Cisco 7200 Cisco 7500 Cisco AS5300
Note
The VG200 supports only Foreign Exchange Station (FXS) and Foreign Exchange Office (FXO) interfaces in MGCP mode. A wider interface selection is offered when the VG200 is configured in H.323v2. While the Cisco AS5300 supports MGCP, it is currently incompatible with Cisco CallManager. Although the Cisco 3810, 2600, and 3600 products have MGCP for analog interfaces in Cisco IOS Release 12.1(3)T, they will not be supported by Cisco CallManager until a future release, when the MGCP administrative interface is expanded to incorporate larger numbers of analog interfaces.
DTMF Relay
DTMF uses specific pairs of frequencies within the voice band for signaling. Over a 64-kbps pulse code modulation (PCM) voice channel, these signals can be carried without difficulty. However, when using a low-bit-rate codec for voice compression, the potential exists for DTMF signal loss or distortion. Using an out-of-band signaling method for carrying DTMF tones across a VoIP infrastructure provides an elegant solution for these codec-induced symptoms.
4-3
Gateway Selection
Skinny Gateways
The Cisco Access Digital Trunk Gateway DT-24+, the Cisco Access Digital Trunk Gateway DE-30+, and the Catalyst 6000 gateway use the Skinny Gateway Protocol to carry DTMF signals out of band using the TCP port 2002. Out-of-band DTMF is the default gateway configuration mode.
Note
Due to memory limitations on the TI542 DSP used on the previous Cisco 3810 version, only the Cisco 3810 V3 with the new voice compression module supports H.245 DTMF relay.
MGCP Gateway
The VG200 communicates with Cisco CallManager using MGCP. MGCP uses the concept of packages. The VG200 loads the DTMF package upon startup. Once the out-of-band DTMF capabilities are configured in the Cisco CallManager MGCP gateway user interface, the VG200 sends symbols over the User Datagram Protocol (UDP) control channel to represent any DTMF tones it receives. Cisco CallManager interprets these symbols and passes on the DTMF signals, out of band, to the signaling endpoint. The global configuration command for DTMF relay on the VG200 is
mgcp dtmf-relay codec all mode out-of-band
4-4
78-11103-03
Chapter 4
You must enter additional configuration parameters in the Cisco CallManager MGCP gateway configuration interface.
Skinny Gateways
When they are booted, the Cisco Access Digital Trunk Gateway DT-24+, the Cisco Access Digital Trunk Gateway DE-30+, and the Catalyst 6000 digital gateway are provisioned with Cisco CallManager location information. When these gateways initialize, a list of Cisco CallManagers, referred to as a Cisco CallManager redundancy group, is downloaded to the gateways. This list is prioritized into a primary Cisco CallManager and secondary Cisco CallManager. In the event that the primary Cisco CallManager becomes unreachable, the gateway registers with the secondary Cisco CallManager.
4-5
Gateway Selection
The following example shows the configuration for H.323 gateway failover:
interface Loopback0 ip address 1.1.1.1 255.255.255.0 voip-gateway voip bind srcaddr 1.1.1.1 dial-peer voice 101 voip destination-pattern 1111 session target ipv4:10.1.1.101 preference 0 voice class h323 1 dial-peer voice 102 voip destination-pattern 1111 session target ipv4:10.1.1.102 preference 1 voice class h323 1 voice class h323 1 h225 timeout tcp establish 3
Note
To simplify troubleshooting and firewall configurations, Cisco recommends that you use the new voip-gateway voip bind srcaddr command for forcing H.323 always to use a specific source IP address in call setup. Without this command, the source address used in the setup might vary depending on protocol (RAS, H.225, H.245 or RTP).
MGCP Gateway
Adding MGCP to the VG200 and Cisco CallManager allows this standalone gateway to switch over to a secondary Cisco CallManager in the event communication is lost with the primary Cisco CallManager. Within the VG200 configuration file, the primary Cisco CallManager is identified using the call-agent hostname command, and a list of secondary Cisco CallManager systems is added using the ccm-manager redundant-host command. Keepalives with the actively associated Cisco CallManager are accomplished through the MGCP application-level keepalive mechanism, whereby the gateway sends an empty MGCP NTFY message to the Cisco CallManager and waits for an acknowledgement. Keepalive with the backup Cisco CallManager(s) is accomplished through the TCP keepalive mechanism (UDP will be used in a later version).
4-6
78-11103-03
Chapter 4
If the primary Cisco CallManager becomes available at a later time, the VG200 can revert to the original Cisco CallManager. This fallback can either occur immediately, after a configurable amount of time, or only when all connected sessions have been released. This behavior is enabled through the following VG200 global configuration commands: ccm-manager redundant-host {hostname1 | ipaddress1} [hostname2 | ipaddress2] [no] call-manager redundancy switchback [immediate | graceful | delay delay-time]
Supplementary Services
Supplementary services provide user functions such as hold, transfer, and conferencing. These are considered fundamental requirements of any voice installation. Any gateway evaluated for use in an Cisco AVVID network should provide native support for supplementary services without the use of a software media termination point (MTP).
Skinny Gateways
The Cisco Access Digital Trunk Gateway DT-24+ and DE-30+ products as well as the Catalyst 6000 series gateways all provide full supplementary service support. These gateways utilize the gateway-to-Cisco CallManager signaling channel and Skinny Gateway Protocol to exchange call control parameters. For more information, see the Additional Information section on page xvii.
4-7
Gateway Selection
IP phone 1 issues a transfer request to Cisco CallManager using the Skinny Station Protocol. Cisco CallManager translates this request into an H.323v2 CloseLogicalChannel request to the Cisco IOS gateway for the appropriate SessionID. The Cisco IOS gateway closes the RTP channel to IP phone 1.
3.
4-8
78-11103-03
Chapter 4
4.
Cisco CallManager issues a request to IP phone 2, using the Skinny Station Protocol, to set up an RTP connection to the Cisco IOS gateway. At the same time, Cisco CallManager issues an OpenLogicalChannel request to the Cisco IOS gateway with the new destination parameters, but using the same SessionID. After the Cisco IOS gateway acknowledges the request, an RTP voice bearer channel is set between IP phone 2 and the Cisco IOS gateway.
5.
MGCP Gateway
The VG200 provides full support for the hold, transfer, and conference features using MGCP. Because MGCP is fundamentally a master-slave protocol, with Cisco CallManager controlling all session intelligence, it can easily manipulate VG200 voice connections. If a Cisco AVVID endpoint needs to modify the session (for example, transfer the call to another Cisco AVVID endpoint), the endpoint would notify Cisco CallManager through the Skinny Station Protocol. Cisco CallManager would then inform the VG200, using the MGCP UDP control connection, to terminate the current RTP stream associated with the SessionID and start a new media session with the new endpoint information.
Is an analog or digital gateway required? What is the required capacity of the gateway? What type of connection is the gateway going to use (for example, FXO ground-start, E1-R2, network-side or user-side PRI)? What types of supplementary services are desired? Is voice compression a part of the design? If so, which types?
4-9
Gateway Selection
Is direct inward dialing (DID) required? DID is a private branch exchange (PBX) or Centrex feature that permits outside calls to be placed directly to a station line without use of an operator.
Is calling line ID (CLID) needed? CLID is a service available on digital telephone networks that tells the called party which number is calling. The central office equipment identifies the phone number of the caller, enabling information about the caller to be sent along with the call itself. CLID is synonymous with ANI (automatic number identification).
Is fax relay needed? What type of network management interface is preferred? To which country will the hardware be shipped? Is rack space available for all needed gateways, routers, and switches?
Although this feature list could be much longer, it provides a starting point to help narrow the possible choices. Once the features have been defined, a gateway selection can be made for configurations ranging from single-site enterprise systems of various sizes and complexities to multisite enterprise systems. These categories are defined in more depth in the following sections.
4-10
78-11103-03
Chapter 4
To help narrow the focus, the site-specific feature list can be compared to Table 4-2 and Table 4-3, which correlate analog and digital gateways with supported telephony features.
Table 4-2 Analog Gateways by Site-Specific Features
Gateway VG200 Cisco Access DT-24+ and Cisco Access DE-30+ Cisco 1750 Cisco 3810 V3 Cisco 2600 Cisco 3600 Cisco 7200 Cisco 7500 Cisco AS5300 Catalyst 4000 WS-X4604-GWY gateway module Catalyst 6000 WS-X6608-T1 and WS-X6608-E1 gateway modules
FXS Yes No
FXO Yes No
E & M1 No
Yes
No
No
No/Yes
1. PBX signaling method. E&M supervisory signaling uses separate paths for voice and signaling, instead of superimposing both voice and signaling on the same wire. The letters E&M are derived from the words ear and mouth, which represent the lead used to receive the signal and the lead used to send the signal, respectively.
Note
For a given feature, for example FXS or FXO, a specific minimum Cisco IOS version is required.
4-11
Gateway Selection
Table 4-3
Gateway VG200
Cisco Access DT-24+ and Cisco Access DE-30+ Cisco 1750 Cisco 3810 V3 Cisco 2600 Cisco 3600 Cisco 7200 Cisco 7500 Cisco AS5300
Yes
Yes
No
No
Yes
N/A Yes
Catalyst 4000 Yes WS-X4604-GWY gateway module Catalyst 6000 No WS-X6608-T1 and WS-X6608-E1 gateway modules
1. Channel-associated signaling 2. Primary Rate Interface 3. Basic Rate Interface 4. Direct inward dialing 5. Calling line ID
Future Future
No
No
Yes
Yes
No
No
Yes/Yes
6. For T1 CAS CLID, FG-D is required. FG-D is a trunk-side local access transport area (LATA) that provides call supervision to an interexchange carrier (IC), a uniform access code (10XXX), optional calling-party identification, recording of access charge billing details, and presubscription to a customer-specified IC. FG-D is also used for 800 inbound wide area telecommunications service (WATS) and travel card service, and it provides automatic number identification (ANI) for billing purposes.
4-12
78-11103-03
Chapter 4
Table 4-4 lists the gateways of each type along with the data interfaces, PSTN interfaces, and voice compression supported.
Table 4-4 Gateways with Supported Interfaces and Compression Types
Gateway Type
Skinny Gateway Protocol
Voice Compression G.711, G.723.1 G.711, G.723.1 G.711, G.729a G.711, G.729a
Catalyst 6000 10/100/1000 WS-X6624-FXS Ethernet Catalyst 6000 WS-X6608-T1 Catalyst 6000 WS-X6608-E1
MGCP
240
G.711, G.729a
VG200
4-13
Gateway Selection
Table 4-4
Gateway Type
H.323
Analog PSTN Data Interfaces Interfaces 10BaseT, T1/E1 serial 100BaseT 10/100BaseT, Token Ring, T1/E1 serial 10/100BaseT, Token Ring, T1/E1 serial, T1-OC3 ATM 10/100BaseT, Token Ring, T1/E1 serial, T1-OC3 ATM 10/100/1000 Ethernet 10/100BaseT, Token Ring, T1/E1 serial, T1-OC3 ATM, HSSI 4 4 4
Voice Compression G.711, G.729 G.711, G.729a, G.723.1 G.711, G.729a, G.723.1 G.711, G.729a, G.723.1
Cisco 3620
48/60
Cisco 3640
12
136/180
6 at FCS 24
48/60 288/360
Cisco 7200
288/360
4-14
78-11103-03
C H A P T E R
Cisco CallManager Dial Plan Architecture, page 5-1 Special Dial String Considerations, page 5-10 Configuring Dial Plan Groups and Calling Restrictions, page 5-14 Dial Plan Guidelines and Configuration, page 5-18 The Role of a Gatekeeper, page 5-21
5-1
allow for greater scalability, flexibility, and ease of use, while tighter integration of Cisco CallManager and Cisco IOS gateways allows for larger network deployments. The Cisco CallManager dial plan architecture is set up to handle two general types of calls.
Internal calls to Cisco IP phones registered to the Cisco CallManager cluster itself External calls through a PSTN gateway or to another Cisco CallManager cluster over the IP WAN
Figure 5-1 shows a network designed to handle these two types of calls. With a well-designed dial plan, voice calls preferentially use the IP WAN and are routed to the PSTN only if the IP WAN is down or unavailable. This routing is transparent to the user.
5-2
78-11103-03
Chapter 5
Dial Plan Architecture and Configuration Cisco CallManager Dial Plan Architecture
Figure 5-1
Gatekeeper(s) Site B
V IP IP
PSTN
IP IP
IP WAN IP
IP
40794
The dial plan for internal calls to IP phones registered with a Cisco CallManager cluster is fairly simple. On initial configuration, an IP phone is assigned a directory number (DN), which it maintains wherever it resides. Whenever the IP phone registers with the Cisco CallManager cluster, it effectively updates the Cisco CallManager cluster dynamically with its new IP address while maintaining its same directory number. The internal dial length (number of digits dialed) for internal calls is configurable.
5-3
Note
IP phones are not the only devices that can be accessed in this manner. Other devices that register with Cisco CallManager and maintain a directory number can include Cisco IP SoftPhones, analog phones, and fax machines attached to gateways that use MGCP or the Skinny Gateway Protocol. Configuring Cisco CallManager to handle external calls requires the use of a route pattern. In most cases, the route pattern is used for directing calls out to a PSTN gateway, but it is also used in the case of an IP WAN call to a remote Cisco CallManager. The Cisco CallManager Release 3.0 dial plan architecture is a three-tiered decision tree that allows multiple routes for a given dialed number, as well as digit manipulation based on the network requirements. Digit manipulation is the task of adding or subtracting digits from the original dialed number to accommodate user dialing habits or gateway needs. You can also configure capabilities such as trunk groups for gateway redundancy and a form of least-cost routing. As an example of alternate route selection, the path to a given dialed number typically takes the IP WAN as the first choice and the PSTN as the second choice if the IP WAN is down or has insufficient resources. The dial plan criteria for using an alternate route could be based on an indication by the call admission control mechanism that insufficient trunks are available on a gateway, meaning that the IP WAN cannot accept the call. Figure 5-2 illustrates the Cisco CallManager Release 3.0 dial plan architecture that supports alternate route selection. The elements in this architecture are described in the subsections that follow.
5-4
78-11103-03
Chapter 5
Dial Plan Architecture and Configuration Cisco CallManager Dial Plan Architecture
Figure 5-2
Dialed number
Digit manipulation
Route pattern Route list No Try 2nd choice 2nd No choice Try 3rd choice (if available) Route group Route groups point to devices
Digit manipulation on a per-route-group 1st basis choice Overrides the route pattern Route group
IP WAN
PSTN
Remote site
Device types put in route groups: * Gateways (H.323, MGCP, Skinny) * Remote Cisco CallManagers (Intercluster trunk)
40795
5-5
Route Pattern
The route pattern identifies a dialed number (E.164 numbers in North America) and uses the underlying route list and route group configurations to determine how to route the call. A route pattern can be entered as a specific number or, more commonly, a number range. Using a route pattern to represent a number range minimizes the number of entries required. When a route pattern matches a dialed number, the call is handed to the route list associated with the route pattern. Prior to handing the call to the route list, digit manipulation can occur if digits need to be added to or removed from the matched route pattern. The route list then decides which downstream route groups (trunk groups) should receive the call based on the ordered priority.
Note
The digit manipulation occurs in the route pattern for outbound calls only, before being sent to the route list plus route groups. Individual downstream route groups can have unique digit manipulations for the same route pattern. This is extremely useful where different routes to a given dialed number might require different manipulations. For example, users might be required to dial seven digits to reach a remote location that has a four-digit internal dial plan. Across the IP WAN the first three digits would have to be removed, so that the last four digits could be delivered to the remote Cisco CallManager in its native internal dial-string length. If the IP WAN were down or could not accept additional voice calls, the dialed seven digits would have to be prepended with the area code to reach the called party through the PSTN. A route pattern is associated with only one route list.
5-6
78-11103-03
Chapter 5
Dial Plan Architecture and Configuration Cisco CallManager Dial Plan Architecture
Route List
The term route point from previous releases of Cisco CallManager has been replaced by route list in Cisco CallManager Release 3.0, though the function remains much the same. A route list defines the way a call is routed. Route lists are configured to point to one or more route groups, which effectively serve the purpose of trunk groups. The route list sends a given call to a route group in a configured order of preference. For example, the primary route group might offer a lower cost for calls, while the secondary route groups would be used only if the primary is unavailable due to an all-trunks-busy condition or insufficient IP WAN resources.
Route Group
Route groups control specific devices such as gateways. Gateways can be based on the Skinny Gateway Protocol, MGCP, or H.323. Endpoints such as NetMeeting clients or remote Cisco CallManagers across the IP WAN are configured as H.323 gateways. The route group points to one or more devices and can select the devices for call routing based on preference. The route group can direct all calls to the primary device and then use the secondary devices when the primary is unavailable. This serves effectively as a trunk group. One or more route lists can point to the same route group. All devices in a given route group have the same characteristics, such as path and digit manipulation. Route groups have the ability to perform digit manipulation and can override route pattern digit manipulation (see the Route Pattern section on page 5-6).
5-7
Devices
All IP endpoints are viewed as devices, but only certain devices can be entered in a route group. Figure 5-3 illustrates the types of devices that can be in route groups.
Figure 5-3 Device Types to Which Route Groups Point
Route group
Skinny based MGCP based H.323 based Cisco Access Digital Trunk Gateway DT-24+ VG200 All Cisco IOS Catalyst 6000 gateways gateways Cisco Access Analog Trunk Gateway Cisco Access Analog Station Gateway
An H.323 gateway can be configured to be gatekeeper controlled. This means that, before a call is placed to an H.323 device, it must query the gatekeeper successfully. Only H.323 devices that are remote Cisco CallManagers should be configured as gatekeeper controlled. To select the codec used by calls to the device, place the device in a region that uses the desired type of codec. H.323 gateways can be shared by multiple clusters for inbound and outbound calls, whereas gateways based on MGCP or Skinny Gateway Protocol are dedicated to a single Cisco CallManager cluster.
5-8
40796
78-11103-03
Chapter 5
Dial Plan Architecture and Configuration Cisco CallManager Dial Plan Architecture
An important feature of the route pattern dial structure is that it is typically used when IP phone calls are destined to go to gateways or remote Cisco CallManagers using H.323. In these cases, alternate routes can be taken in the event the primary path to a destination is not available. This is the scheme described in Chapter 6, Multisite WAN with Distributed Call Processing, where all intersite calls take the IP WAN as the primary path and the PSTN as the secondary path. Calls between IP phones that reside on the same Cisco CallManager or Cisco CallManager cluster do not use the route pattern dial structure and, therefore, cannot use alternate routes if connectivity is down between them. If IP connectivity is lost between two IP phones, it is probably because one of the phones has lost connectivity to its Cisco CallManager. This can happen, for example, when using multisite WAN deployments with centralized call processing. In such cases there is no alternate routing between sites.
In this example, Cisco CallManager performs a longest match lookup using wildcards. If there is an IP phone with a matching directory number in the 1000-1999 range, Cisco CallManager sends the call to that phone. If there is no matching IP phone number in the 1000-1999 range, then there is a match on the 1XXX translation table, and the call is sent to extension 1111.
5-9
Digit translation can also be performed within the route pattern structure using called/calling party transformation, which performs the same digit translation functions for both incoming and outgoing calls. This means that within a route pattern, three types of digit manipulation can be performed on a called number:
In the following example, a route pattern of 2.XXXX is defined. The calling number is 1000, but the call needs to go to a PBX with a called party number of 444XXXX and a calling party number of 919392XXXX. The Cisco CallManager route pattern would be treated as follows:
Step 1 Step 2 Step 3
Apply the calling party transformation mask of 919392XXXX. This prefixes 91939 to the calling number. Discard the access code (2), leaving just XXXX. Prefix the digits 444.
An alternative way to accomplish steps 2 and 3 would be to use a called-party transformation mask of 444XXXX. It is important to keep in mind that the calling party transformation mask applies only to the calling numbers, while the other masks apply to the called numbers. Cisco CallManager first discards digits, then applies the transformation mask, and finally prefixes digits.
5-10
78-11103-03
Chapter 5
5-11
Figure 5-4
Calls Across the IP WAN with Different Digit Manipulation per Path
Gatekeeper(s)
V IP IP
PSTN
IP IP
IP WAN IP Primary voice path Strip 52 and deliver 6111 to remote Cisco CallManager
IP
40797
5-12
78-11103-03
Chapter 5
between a local seven-digit number and a local area code to determine when the dialing is complete. Otherwise, Cisco CallManager waits 10 seconds without detecting any digits before assuming the dialing is complete. Local PSTN gateway dial plan configuration is fairly simple. The gateways based on MGCP and the Skinny Gateway Protocol have all of their dial plan information configured in Cisco CallManager, while an H.323-based Cisco IOS gateway typically requires only a minimal number of dial peers. These dial peers are used by the gateway to direct all calls from Cisco CallManager to the PSTN. For an example of this type of dial plan, see the configuration in Figure 5-8. Outside of North America, dial strings often differ in length from one country to another. Multiple-length dial plans present a challenge in that Cisco CallManager does not know when dialing is complete unless you have a specific route pattern. Cisco CallManager by default waits 10 seconds without receiving any digits before assuming dialing is complete. The following two common options apply to configuring a route pattern for PSTN access outside of North America. The local PSTN access code, 0 (zero), is commonly used.
Option 1: Route Pattern = 0.!
0. !
Represents the local PSTN access code. Stands for any digit and any number of digits. This also means that Cisco CallManager must wait 10 seconds (the default) without receiving any digits before it assumes the dialing is complete and sends the call.
By reducing the idle digit wait timer (to 3 seconds, for example) in the Cisco CallManager service parameters, a call can be sent without having to wait the full 10 seconds. The risk of this practice, however, is that Cisco CallManager can prematurely determine that the dialing is finished if the user simply pauses in the midst of dialing.
5-13
0. !
Represents the local PSTN access code. Stands for any digit and any number of digits. This also means that Cisco CallManager must wait 10 seconds (the default) without receiving any digits before it assumes the dialing is complete and sends the call. Indicates that, when a user presses the # (pound) key, Cisco CallManager should assume dialing is complete and immediately send the call.
In this option, users are instructed to press the # key to terminate the dial string and immediately place the call. This requires some user education and changes to existing customer dialing habits. However, this is similar in nature to pressing the send button on a cell phone.
5-14
78-11103-03
Chapter 5
Dial Plan Architecture and Configuration Configuring Dial Plan Groups and Calling Restrictions
Partitions
A partition is a group of devices with similar reachability characteristics. Devices you can place in partitions are IP phones, directory numbers, and route patterns. Each partition name should be chosen to have some meaningful correlation to the group of users it represents. For example, for users located in Building D in San Jose, you could create a partition called SJ-D.
Subnet/ partition C
Figure 5-6 is a simple example of how partitions and calling search spaces can be used to provide dialing restrictions.
5-15
Figure 5-6
San Jose
V IP IP
PSTN
Partition assignment SJ-Users = All SJ IP phones SJ-PSTN = 9 route pattern Calling search space
IP
Headquarters
Unrestricted = SJ-Users, SJ-PSTN SJ-Only = SJ-Users IP phone calling search space assignment
40799
Staff - may dial anywhere Lobby phones - only can dial internal users
In Figure 5-6, staff employees have unrestricted dialing, whereas the lobby phones have the ability to dial people within the local site only. All IP phones are placed in the SJ-Users partition, and the route pattern 9 associated with the PSTN is placed in the SJ-PSTN partition. Two calling search spaces are created that denote two different dialing characteristics. A calling search space called Unrestricted is created that contains both SJ-Users and SJ-PSTN partitions. A
5-16
78-11103-03
Chapter 5
Dial Plan Architecture and Configuration Configuring Dial Plan Groups and Calling Restrictions
second calling search space called SJ-Only is created and contains only the SJ-Users. San Jose staff IP phones are assigned the Unrestricted calling search space, which means they are allowed to dial anywhere. The lobby phones are assigned the SJ-Only calling search space, which means they can dial only local phones within the local site. The partition and calling search space assignments used to configure the preceding example are shown in Table 5-1 and Table 5-2. Two partitions define the reachability characteristics for the given site, one for internal local site users and one for external calls. Devices and route patterns are placed in these partitions.
Table 5-1 Partition Assignments
Designated Devices Assigned to Partition All IP phones within San Jose All externally destined route patterns (local PSTN)
Table 5-2
Calling Party Search Space Partitions Unrestricted SJ-Only SJ-Users SJ-External SJ-Users
Assigned To Devices that can make internal and external calls Devices that can make internal calls only
This example represents perhaps the simplest configuration for the requirements of multisite WAN local call processing. A more ambitious dial plan could include the following considerations:
Intrasite calls only Intrasite and local emergency calls only Intra- and intersite calls only Intrasite, intersite, and local emergency calls only Intrasite, intersite, local emergency, and local PSTN calls only
5-17
Intrasite, intersite, local emergency, and national long-distance PSTN calls only Fully unrestricted dialing, including international numbers
Partitions and calling search spaces permit independent dial ranges on a partition basis. This means that extensions and access codes within different partitions can have overlapping numbers and yet function independently. The most common application of this is in a centralized call processing system where all sites and users share the same Cisco CallManager, yet each site can dial a 9 for local PSTN access. This is a new capability in Cisco CallManager Release 3.0. In prior releases, each remote site had to have its unique PSTN access code. The following conditions apply with regard to overlapping users and extensions at different sites with the centralized call processing system:
Overlapping internal dial plans at different sites are supported only if voice mail is not required. When Cisco CallManager sends a call to voice mail, it cannot determine for which partition (and therefore which voice mail user) the call is intended. For example, user 1111 at site A cannot be distinguished from user 1111 at site B when the call is sent to voice mail. Voice mail users must have unique IDs. If voice mail is not required, users that share extensions at different sites can be reached by the following means:
PSTNby dialing the local access code followed by the fully qualified
directory number.
IP WANby using translation tables, which can allow for prepending of
overlapping numbers with a unique steering code that is stripped off when the call is delivered to the destination partition.
5-18
78-11103-03
Chapter 5
Dial Plan Architecture and Configuration Dial Plan Guidelines and Configuration
For internal dialing: 5 digits For all long-distance calls: PSTN access code (9) and 1 + the 10-digit number For external, local calls: 9 plus the 7-digit number
This example also provides for gateway redundancy in the event of a gateway or trunk failure to the PSTN. The PSTN gateways are Cisco IOS gateways using H.323.
Figure 5-7 A Common Dial Plan for an Isolated Campus
1st choice
2nd choice
Gateway 2
Notice that the dial plan configuration in this model requires only a single route pattern. The 9.@ signifies that 9 is the local PSTN access code, and the @ signifies the North American dialing plan in this case. The route pattern 9.@ for
Cisco IP Telephony Network Design Guide 78-11103-03
40800
5-19
North American dialing includes 911 services. The route group is configured to discard the access code by digit manipulation. This strips the 9 off the string sent to the local PSTN gateway, which is a Cisco IOS gateway in this case. Cisco CallManager denotes any digits to the left of the dot (.) as the access code, so that when the discard access code feature is selected, it will strip off any digits to the left of the dot.
Note
In the example route group, two gateways are listed in order of preference. This is how gateway redundancy is achieved in the event of an all-trunks-busy condition or a gateway failure. Figure 5-8 shows the configuration required in each Cisco IOS PSTN gateway. The goal is to configure the Cisco IOS H.323 gateway with as few entries as possible. Ideally, all the dial plan configuration would occur in Cisco CallManager. While this is possible with gateways based on MGCP or the Skinny Gateway Protocol, the more prominent gateways available are H.323-based.
Figure 5-8 Cisco IOS PSTN Gateway Configuration
dial-peer voice 1 voip Dial peer for all incoming calls from codec g711ulaw PSTN to Cisco CallManagers dtmf-relay h245-alphanumeric IP address (must be G.711) destination-pattern 6.... session target ipv4:10.1.10.5 Cisco CallManagers ! IP address dial-peer voice 2 pots destination-pattern...... Dial peer for all 7-digit port 1/0:1 outgoing PSTN numbers ! dial-peer voice 3 pots destination-pattern 1....... Dial peer for all 10-digit prefix 1 outgoing PSTN numbers port 1/0:1 ! dial-peer voice 4 pots destination-pattern 911 Dial peer for 911 services prefix 911 port 1/0:1
40801
5-20
78-11103-03
Chapter 5
This configuration assumes that 1+10 digit dialing would be required for long-distance calls to the PSTN, and 7-digit dialing would be required for local PSTN calling. Although the scope of the 9.@ route pattern includes emergency 911 services, the Cisco IOS H.323 gateway still requires a dial peer for 911. Various dial peers can be added for 411 and 611 services, which are included in the scope of the 9.@ route pattern as well. As noted earlier in the Outbound Calls Through the PSTN section on page 5-12, local area codes should be configured specifically with a route pattern and should not require a 1.
5-21
Figure 5-9
Cisco 3600
Cisco 3600
If the WAN is unavailable in this scenario, the call cannot go through as dialed. No automatic fallback is available because, once Cisco CallManager 1XXX is informed that the call cannot be placed, no further mechanism exists for intelligent digit manipulation. (For example, Cisco CallManager cannot determine what area code and prefix to append to the originally dialed digits.) At that point, the originating subscriber must attempt to establish the call via an alternative route such as the PSTN. If you wanted to simplify the dial plan and also provide fallback to the PSTN in this scenario, use 10-digit dialing (or adhere to the national dial plan). For example, under the North American Numbering Plan (NANP), a route pattern of XXXXXXXXXX would direct calls to the gatekeeper (Anonymous Calls Device) for address resolution. If the gatekeeper does not allow the call to go over the WAN, then Cisco CallManager can add the prefix 91 to the dialed digits to reroute the call through the PSTN.
5-22
49596
78-11103-03
C H A P T E R
Distributed Call Processing Model, page 6-1 Call Admission Control, page 6-3 Dial Plan Considerations, page 6-15 Cisco CallManager Cluster Considerations, page 6-30 DSP Resource Provisioning for Transcoding and Conferencing, page 6-30 Voice Messaging Considerations, page 6-32
6-1
Figure 6-1
Directory
IP
Headquarters
Branch Offices
In Cisco CallManager Release 3.0(1), the initial distributed call processing model can support up to 10 sites networked across the IP WAN. In Cisco CallManager Release 3.0(5), support for distributed call processing is expanded to 100 sites.
6-2
78-11103-03
Chapter 6
Voice calls between sites can use the IP WAN as the primary path and the PSTN as the secondary path in the event the IP WAN is down or has insufficient resources to handle additional calls. Whether calls use the IP WAN or the PSTN can be transparent to both the calling party and the called party. The primary advantage of this deployment model is that, by using local call processing, it provides the same level of features and capabilities whether the IP WAN is available or not. Each site can have from one to eight Cisco CallManager servers in a cluster, based on the number of users. This is the predominant deployment model for sites with greater than 50 users, and each site can support up to 10,000 users. In addition, there is no loss of service if the IP WAN is down.
Prioritizing one traffic type over another Protecting real-time traffic such as voice or video from oversubscribing the network bandwidth
The first task is effectively handled by quality of service (QoS), which is discussed in Chapter 8, Quality of Service. The second task is accomplished by call admission control mechanisms. The need for call admission control in IP telephony networks is amplified greatly by the fact that all IP phones have an open IP path to the WAN, whereas toll bypass networks, in contrast, can limit the number of physical trunks eligible to initiate calls across the WAN. Figure 6-2 illustrates why call admission control is needed.
6-3
Figure 6-2
WAN bandwidth can only support 2 calls. What happens when 3rd call attempted?
IP
Call #1 Call #2
IP
IP
VoIP data network Call #3 causes poor quality for all calls
IP
IP
IP
For distributed call processing systems, you can implement call admission control with an H.323 gatekeeper. In this design, Cisco CallManager registers with the Cisco IOS gatekeeper, also known as Multimedia Conference Manager (MCM), as a Voice over IP (VoIP) gateway and queries it each time it wants to make an IP WAN call. The Cisco IOS gatekeeper associates each Cisco CallManager with a zone that has specific bandwidth limitations. Thus the Cisco IOS gatekeeper can limit the maximum amount of bandwidth consumed by IP WAN voice calls in or out of a zone. In brief, when Cisco CallManager wants to place an IP WAN call, it first requests permission from the gatekeeper. If the gatekeeper grants permission, the call is placed across the IP WAN. If the gatekeeper denies the request, Cisco CallManager places the call across the secondary path, the PSTN. This is effectively a call accounting method of providing admission control, in which the gatekeeper simply keeps track of the bandwidth the IP WAN calls consume. The maximum bandwidth setting for a zone should take into account the limitation that voice traffic should not consume more than 75% of the WAN link. Figure 6-3 illustrates the process used by this call admission control mechanism.
Note
In this scheme, IP phones are not mobile between sites. Should an IP phone register across the WAN, call admission control would not operate as designed.
6-4
40803
78-11103-03
Chapter 6
Figure 6-3
Gatekeeper(s)
V PSTN V IP
IP IP
In multisite WAN deployments, the goal is to have dynamic call routing that enables voice traffic between sites to use the IP WAN as the primary path and the PSTN as the secondary path if the IP WAN is down or has insufficient resources to handle additional voice calls. Figure 6-4 illustrates this type of dynamic call routing.
6-5
Figure 6-4
Regional Center
IP IP
IP IP
X
Telecommuter
IP
49080
IP
In this model, it is important to be able to detect when the IP WAN is down or when there are insufficient resources for the IP WAN to handle additional calls, so that calls are sent across the PSTN only when necessary. This type of dynamic routing reduces calling costs and is the benefit that call admission control brings
Cisco IP Telephony Network Design Guide
6-6
78-11103-03
Chapter 6
to this solution. In this case, the dial plan is tightly coupled with the gatekeeper call admission control mechanism because it is the dial plan that ultimately decides when to place a call across the IP WAN and what to do if the gatekeeper rejects the call. Dial plan issues are addressed in the Dial Plan Considerations section on page 6-15. As mentioned before, you can use an H.323 gatekeeper to achieve call admission control by limiting the number of calls allowed in or out of specified zones. This effectively limits the amount of bandwidth per site because each site can be associated with a particular zone. This is the model that Cisco Call Manager uses with a gatekeeper to perform call admission control in hub-and-spoke topologies. In addition to call admission control, a second very important function performed by the gatekeeper is address resolution. At any given site, Cisco CallManager knows about the extension range it controls and is able to route calls to those extensions. For anything outside its range, Cisco CallManager can go to a gatekeeper, which returns the IP address of another Cisco CallManager to which it should direct the call. This is possible because each Cisco CallManager (or one Cisco CallManager from a cluster) registers with the gatekeeper that is statically configured with the address range maintained by that particular cluster. This address resolution feature greatly simplifies the dial plan in a multisite distributed call processing environment. The Dial Plan Considerations section on page 6-15 contains a more detailed discussion of address resolution. In summary, the capabilities of Cisco CallManager for call admission control and E.164 address resolution are:
Support for up to 100 sites in a multisite distributed call processing environment. Gatekeeper capability for address resolution of intercluster calls, which results in a simplified dial plan. Cisco CallManager requests 128 kbps of bandwidth for G.711 calls and 20 kbps for G.729 calls. Compressed Real-time Transport Protocol (cRTP) is not factored into the bandwidth calculations for the call Admission Request (ARQ).
6-7
Operational Model
There are two parts to configuring the gatekeeper method of call admission control:
Gatekeeper configuration. This is where the network administrator configures a Cisco IOS Multimedia Conference Manager (MCM) that acts as the gatekeeper. Recommended platforms are Cisco 2600, 3600, or 7200 routers with Cisco IOS Release 12.1(3)T or higher. Selection of a gatekeeper platform depends on the number of registrations and the calls per second. As a rough guide, you can use the platforms performance figures in Table 6-1.
Cisco CallManager configuration. Each Cisco CallManager or Cisco CallManager cluster must register with the gatekeeper as a single VoIP gateway.
Gatekeeper Platform Performance Numbers
Table 6-1
Gateway Platform Cisco 2600 Cisco 3620 Cisco 3640 Cisco 3660 Cisco 7200/NPE300
6-8
78-11103-03
Chapter 6
Gatekeeper Configuration
The following gatekeeper configuration defines four zones. Each zone contains a cluster with two Cisco CallManagers (except zone SJC1, which contains three Cisco CallManagers) that could possibly register as the gateway.
! Enter gateway configuration mode. gatekeeper ! Define each zone that this gatekeeper administers. zone local LHR cisco.com zone local HKG cisco.com zone local SJC1 cisco.com zone local SJC2 cisco.com ! Define which gateways are allowed to register. Remember to include ! all Cisco CallManagers in the Cisco CallManager group. zone subnet LHR 172.26.18.2/32 enable zone subnet LHR 172.26.18.3/32 enable ! Deny all other possible hosts. no zone subnet LHR 0.0.0.0/0 enable zone subnet HKG 172.26.19.2/32 enable zone subnet HKG 172.26.19.3/32 enable no zone subnet HKG 0.0.0.0/0 enable zone subnet SJC1 172.26.17.2/32 enable zone subnet SJC1 172.26.17.3/32 enable zone subnet SJC1 172.26.17.4/32 enable no zone subnet SJC1 0.0.0.0/0 enable zone subnet SJC2 172.26.17.130/32 enable zone subnet SJC2 172.26.17.131/32 enable no zone subnet SJC2 0.0.0.0/0 enable ! Configure zone bw zone bw zone bw zone bw ! Define zone zone zone zone the bandwidth for each zone. LHR 512 HKG 512 SJC1 2048 SJC2 2048
the E.164 address range for each zone. prefix SJC1 1... prefix SJC2 2... prefix LHR 3... prefix HKG 4...
6-9
6-10
78-11103-03
Chapter 6
IP WAN IP WAN
PSTN IP
49082
Zone 1
For purposes of failover and backup, more than one Cisco CallManager from a cluster can register with the gatekeeper. You can assign the gatekeeper to a Cisco CallManager group to define which Cisco CallManager in the group is the primary and which are backups. If the primary Cisco CallManager fails to communicate with the gatekeeper, the gatekeeper removes its registration and establishes communication with the secondary Cisco CallManager in the group. Once the gatekeeper receives an RRQ from a Cisco CallManager, it issues a Registration Confirm (RCF) and adds that Cisco CallManager to its list of registered devices. The gatekeeper knows about all the Cisco CallManagers that
6-11
have registered with it. Also, by way of Cisco IOS configuration, the gatekeeper knows which Cisco CallManager belongs to what zone, and the amount of bandwidth associated with each zone. To verify that a particular Cisco CallManager has registered with the gatekeeper, use the following Cisco IOS show command:
show gatekeeper endpoint
F ---- --
Once Cisco CallManager has registered, it always checks with the gatekeeper before making an outbound call or accepting an inbound call. Cisco CallManager performs this check by issuing an Admission Request (ARQ) to the gatekeeper, as shown in Figure 6-7. As part of the ARQ, Cisco CallManager also requests a specific amount of bandwidth, depending upon the type of codec used for the call. It requests 128 kbps if the call uses a G.711 codec or 20 kbps if the call uses a G.729 codec.
6-12
78-11103-03
Chapter 6
Figure 6-7
1) Cisco CallManager sends its E.164 address in ARQ. 2) Cisco CallManager uses returned IP address in ACF to target remote Cisco CallManager. 3) Cisco CallManager requests proper bandwidth in ARQ. PSTN
IP WAN
The gatekeeper then checks its configuration to determine the amount of bandwidth available in the zone to which this particular Cisco CallManager is assigned. It also checks the number of calls already in progress to or from that zone. If bandwidth is available, the gateway issues an Admission Confirm (ACF) that allows Cisco CallManager to complete the call. If bandwidth is not available, the gatekeeper issues an Admission Reject (ARJ), which prevents call completion and causes the caller to receive a busy tone. As illustrated in Figure 6-8, the local Cisco CallManager performs the following actions when it receives an incoming call from a remote Cisco CallManager through the gatekeeper:
It uses the E.164 address from the incoming H.225 setup information to search its route patterns for a match. A matching route pattern enables the local Cisco CallManager to determine whether the incoming call is from a valid device and the amount of bandwidth (type of codec) needed for the incoming call. It sends an ARQ to the gatekeeper to request the required bandwidth before accepting the incoming call.
49083
Zone 1
6-13
Figure 6-8
1) Local Cisco CallManager identifies remote Cisco CallManager by E.164 address in H255 setup information of incoming call. Local Cisco CallManager uses its route patterns to verify validity of calling device and to determine amount of bandwidth needed to complete the call. 2) Local Cisco CallManager sends ARQ to gatekeeper, requesting the required amount of bandwidth. 3) Gatekeeper confirms admission fo the incoming call. 2 ARQ 3 ACF Site 2
PSTN IP Zone 2
49084
6-14
78-11103-03
Chapter 6
The gatekeeper must be the Cisco IOS MCM. Recommended platforms are the Cisco 2600, 3600, or 7200 with Cisco IOS Release 12.1(3)T or greater. When using two gatekeepers in a redundant fashion and the primary one fails, the second gatekeeper becomes the primary with no knowledge of existing calls. This poses the possibility that poor quality could result if the new primary gatekeeper allows too many new calls in addition to existing calls of which it is unaware. This is a short-term situation that resolves when existing calls are terminated. Mobility of devices between sites is not possible unless a new number is assigned to the device to ensure that it uses the local Cisco CallManager for call processing.
Cisco CallManager dial plan model (see Figure 6-9) Gatekeeper dial plan model (see Figure 6-10) Hybrid dial plan model
The Cisco CallManager dial plan model requires every Cisco CallManager cluster to have an intercluster trunk and a route pattern to each of the other clusters. The administrative overhead grows exponentially as the number of clusters increases. In this model, the gatekeeper provides only call admission control and not dial plan resolution. This model closely resembles the standard model used today in traditional PBXs. The gatekeeper dial plan model, even in the hybrid form, greatly reduces configuration and administration overhead. In this model, each Cisco CallManager has only one intercluster trunk, known as the
Cisco IP Telephony Network Design Guide 78-11103-03
6-15
Anonymous Device. This device can be thought of as a point-to-multipoint trunk, which removes the necessity for the meshed point-to-point trunks in the Cisco CallManager dial plan model. The Anonymous Device uses the gatekeeper to route calls to the correct Cisco CallManager cluster. If there is no requirement for automatic overflow or failover to the PSTN, then the dial plan in each cluster could be simplified to only two route patterns: one for intercluster calls and one for PSTN access. In this model, you configure the dial plan in the gatekeeper, thus providing a central point of administration. As new clusters are added, you update only the gatekeeper instead of every Cisco CallManager. In summary, the three dial plan models provide the following features and capabilities:
Cisco CallManager dial plan model (See the Using Cisco CallManager to Route Calls section on page 6-17.)
Automatic overflow and failover to the PSTN, using the gatekeeper only
cluster.
Requires two routes for each Cisco CallManager destination, one for the
Cisco CallManager.
Gatekeeper dial plan model (See the Using the Gatekeeper to Route Calls section on page 6-19.)
Manual overflow and failover to the PSTN, using the gatekeeper for call
6-16
78-11103-03
Chapter 6
cluster.
Requires only two route patterns, one for intercluster calls to all locations
Note
This section deals only with intersite IP WAN calls that are intended to traverse the IP WAN as the first choice and use the PSTN as the second choice. See the Outbound Calls Through the PSTN section on page 5-12 for POTS-only calls. The goal of this dial plan is to dial the San Jose location using only seven digits, where calls take the IP WAN as the first choice and the PSTN as the second choice. Thus, users in Philadelphia can dial San Jose users at (408) 526-XXXX by simply dialing 526XXXX. This configuration begins at the route pattern. A route pattern is entered as 52.6XXXX with an assigned route list as SJ. The location of the dot (.) signifies that all digits to the left comprise the access code for this route pattern. Also, no digit manipulation is selected or required because each route group needs to invoke its own unique manipulation. Figure 6-9 depicts the route pattern configuration for 52.6XXXX.
6-17
Figure 6-9
V PSTN V IP
IP IP
IP IP IP WAN IP Primary voice path Strip 1408 and Deliver 61111 to Remote CallManager
Route pattern 52.6XXXX Route list SJ 1st choice discard access code 52 H.323 device gatekeeper controlled
Philadelphia
6-18
40807
IP WAN
PSTN
78-11103-03
Chapter 6
As shown in Figure 6-9, the route list contains two route groups, SJ-IPWAN and PHL-PSTN, listed in order of priority. The SJ-IPWAN route group is listed first (highest priority) and points to the San Jose Cisco CallManager. The digit manipulation specified in route pattern SJ-IPWAN discards the access code (52). This ensures that, when the call is sent across the IP WAN, five digits are delivered to the remote Cisco CallManager because that is what it requires for its internal dial length. The H.323 device associated with the remote Cisco CallManager must be configured to be gatekeeper controlled to ensure that the gatekeeper is consulted before attempting the call across the IP WAN. If the call is rejected by the gatekeeper, the route list uses the next route group, PHL-PSTN. This route group is configured to prepend 1408 to the dialed number to ensure that the call transparently reaches the other end.
6-19
Using this enhanced gatekeeper registration process, we can deploy the Cisco AVVID solution shown in Figure 6-10 with a minimum of configuration.
Figure 6-10 Using Gatekeepers to Route Intercluster Calls
London (LHR)
IP WAN IP IP IP
IP
IP
50941
6-20
78-11103-03
Chapter 6
The following table lists the configuration parameters for the configuration shown in Figure 6-10. Cisco CallManager IP Addresses 172.26.17.2 172.26.17.3 172.26.17.4 172.26.17.130 172.26.17.131 172.26.18.2 172.26.18.3 172.26.19.2 172.26.19.3 Directory Number Range 1000 to 1999 Bandwidth Available to This Site 2048 kbps
Site (Zone) Name San Jose Cluster 1 (SJC1) San Jose Cluster 2 (SJC2) London (LHR) Hong Kong (HKG)
6-21
The next step is to define a device pool and to associate it with the new region, as illustrated in Figure 6-12.
6-22
78-11103-03
Chapter 6
Next, you must define the gatekeeper, making sure to associate it with the correct device pool and to enable Anonymous Calls, as illustrated in Figure 6-13.
6-23
During registration with the gatekeeper, Cisco CallManager registers itself as a VoIP gateway with a technology prefix for voice. To configure the voice technology prefix on the Cisco CallManager server, select Service > Service Parameters and update the Cisco CallManager service parameter GateKeeperSupportedPrefix as illustrated in Figure 6-14.
Note
By default, the GateKeeperSupportedPrefix parameter is hidden. To make it visible, enter the parameter name and other values exactly as shown in Figure 6-14; then, click Update.
6-24
78-11103-03
Chapter 6
Only one route pattern is required for intercluster calls, and you can configure it as illustrated in Figure 6-15.
6-25
Note
The simplified dial plan in this example provides no automatic fallback or overflow to the PSTN. This capability would require a route group for each destination, as in previous releases of Cisco CallManager. You can add manual access to the PSTN in the standard way. This example shows that the addition of a new cluster requires no configuration on the existing Cisco CallManagers, only on the gatekeeper and the new Cisco CallManager.
6-26
78-11103-03
Chapter 6
Gatekeeper Configuration
The gatekeeper configuration requires you to enter the zones, each Cisco CallManager that will register with that zone, the zone prefix (directory number ranges), bandwidth allowed for call admission, and the technology prefix for voice. Because Cisco CallManager does not indicate the gatekeeper zone with which it wishes to register, you must explicitly specify the IP address of the Cisco CallManager in a single zone and then disable registration of all other IP address ranges. For example
zone subnet LHR 172.26.18.2/32 enable zone subnet LHR 172.26.18.3/32 enable no zone subnet LHR 0.0.0.0/0 enable
Cisco CallManager registers with the gatekeeper using its IP address as the H.323 ID. To specify the directory number range for a Cisco CallManager cluster, you must statically configure it on the gatekeeper because currently this information cannot be added during registration. For example
! LHR CallManager cluster has DNs in the range 3000 3999 zone prefix LHR 3...
The maximum number of calls that can be placed into and out of a zone depends on the codec used for each call. In Cisco CallManager Release 3.0(5), G.711 and G.729 request 128 kbps and 20 kbps, respectively. This mechanism allows enforcement of call admission control, which maintains QoS. For example
zone bw LHR 512
Finally, you must specify the technology prefix used for the Cisco CallManagers. Within the gatekeeper, you must also specify this as the default technology for any E.164 addresses that do not have a technology prefix. There is no need to specify each Cisco CallManager statically because the cluster registers the technology prefix and the fact that it is a VoIP gateway. For example
gw-type-prefix 1#* default-technology
6-27
6-28
78-11103-03
Chapter 6
Figure 6-16 illustrates the use of regions for distributed call processing environments, where often only two regions need be assigned.
Note
Just one WAN region is associated with all H.323 devices across the IP WAN because of the single codec restriction. In future releases of Cisco CallManager, multiple WAN regions may be supported.
Figure 6-16 Use of Regions for Distributed Call Processing
Devices All users at site A H.323 device for site B CM H.323 device for site C CM
Site B
V IP IP WAN IP
IP
40808
Site C
6-29
Each Cisco CallManager cluster can support 10,000 users. No more than 2500 users can be registered on any given Cisco CallManager, even under failure conditions. Only a single Cisco CallManager within a cluster registers with the Cisco IOS gatekeeper at one time.
Caller 555-1212 in region B dials voice mail in region A. Cisco CallManager B sees that the destination is region A, LBR codec. Cisco CallManager A sees an LBR incoming call for a G.711-only device. The media stream is directed to the terminating side DSP farm.
6-30
78-11103-03
Chapter 6
Multisite WAN with Distributed Call Processing DSP Resource Provisioning for Transcoding and Conferencing
Call setup to Cisco CallManager A or 666-1212 Set up RTP stream to Cisco CallManager DSP farm
IP
IP
Router/GW IP WAN
Router/GW
G.711 only Region A Intraregion A=G.711 G.729 Interregion A to B Compresses call leg G.711 call leg MTP Transcoding = resources Region B Intraregion B=G.711
Interregion B to A G.729
40809
The number of allocated resources is based upon the requirements for transcoding to voice mail as well as transcoding to G.711 for other applications such as conferencing. These numbers are calculated based upon the ratio of users to voice mail ports and the volume of conference calls placed. In an environment where all devices cannot support all codec types, you should configure dedicated transcoding between clusters. To perform this configuration, select Device > Gatekeeper in Cisco CallManager Administration and enable the Media Termination Point Required checkbox. If you do not perform this
6-31
configuration step, Cisco CallManager cannot automatically select the proper transcoder, and the RTP stream will not complete transmission if the codecs are mismatched.
Voice/e-mail
Voice/e-mail
Directory
Directory
IP
MTP Conf Cisco uOne application server(s) MTP Conf MTP Conf E B
IP
A IP
IP D C IP
IP
6-32
40810
78-11103-03
C H A P T E R
Centralized Call Processing Model, page 7-1 Call Admission Control, page 7-3 Dial Plan Considerations, page 7-5 Cisco CallManager Cluster Considerations, page 7-8 DSP Resource Provisioning for Transcoding and Conferencing, page 7-10 Voice Messaging Considerations, page 7-12
7-1
Figure 7-1
IP
PSTN
V IP IP IP IP IP IP WAN V IP
In Figure 7-1 the Cisco CallManager cluster is located at the central site. Because all IP phones within this cluster must register with a single Cisco CallManager, this solution can scale to 2500 users per cluster. Multiple clusters can be installed at the aggregation site to further scale the solution, and these clusters can be interconnected using H.323. The primary advantage of this model is the ability to centralize call processing. This reduces the equipment required at the remote branch, while eliminating the administration of multiple PBXs or key systems, which would have traditionally been used. Figure 7-1 shows that the IP WAN is backed up by an Integrated Services Digital Network (ISDN) connection, which can provide a redundant IP WAN path for call processing. This scheme is particularly attractive for small branch offices of less than 20 people and for telecommuters. Life-line services can be provided by dedicated POTS lines or cellular phones.
7-2
40811
78-11103-03
Chapter 7
The centralized Cisco CallManager keeps track of the current amount of bandwidth consumed by interlocation voice calls from a given location. If a new call across the IP WAN tries to exceed the configured setting, a busy signal is issued to the caller as well as a configurable visual display, such as All Trunks Busy, on devices with this capability. If the caller gets a busy signal, the caller must hang up the phone and dial the access code for that locations PSTN gateway to facilitate an outgoing call. Unlike previous versions of Cisco CallManager, each location in Cisco CallManager Release 3.0 can use a common access code for its local PSTN gateway. This is discussed in more detail in the Dial Plan Considerations section on page 7-5. In addition, Cisco CallManager Release 3.0 is no longer
7-3
40812
restricted to using gateways based on Skinny Gateway Protocol. You can now use Cisco IOS gateways based on H.323 or MGCP for media stream termination, and use of Media Termination Point (MTP) is no longer required. Table 7-1 details the common branch gateways and minimum Cisco IOS releases.
Table 7-1 Cisco IOS Minimum Releases for IOS Gateway Platforms
In addition, bandwidth configured for a given location must be equal to or less than the configured queue for voice on the wide area links. The preferred method of queuing is low latency queuing, which is covered in more detail in the Chapter 8, Quality of Service.
Moving devices between locations is not possible because Cisco CallManager keeps track of the bandwidth for the specified location, not the physical location, of the device. Cisco CallManager Release 3.0(5) installations with centralized call processing are limited to hub-and-spoke topologies. Where more than one circuit or virtual circuit exists to a spoke location, the bandwidth should be set according to the dedicated resources allocated on the smaller link. The Cisco IOS gatekeeper can provide admission control for calls between Cisco CallManagers only. The gatekeeper cannot provide admission control between a Cisco CallManager and a remote Cisco IOS gateway. An example would be if a Cisco CallManager at one site wanted to call another site where there is an Cisco IOS gateway connected to a PBX. The Cisco CallManager
7-4
78-11103-03
Chapter 7
does not use E.164 addresses in the admission request (ARQ) when it queries the gatekeeper for admission. This restriction may change in future releases of Cisco CallManager.
Intracluster calls between IP phones within the cluster. Intercluster calls between Cisco CallManager clusters. PSTN calls through a local gateway at each site.
In this section, generalized design guidelines are provided for each of these cases.
Note
Where location-based call admission control is used, automatic alternate routing through the PSTN is not possible. Instead, the calling party hears a busy tone and, on devices with a display, sees an out-of-bandwidth message.
Interlocation Calls
Interlocation calls are generally made between IP phones and other devices such as fax machines and analog phones connected to gateway devices based on Media Gateway Control Protocol (MGCP) or the Skinny Gateway Protocol. As within a cluster, all devices register with a single Cisco CallManager so that the availability of all devices is known. When a call is attempted, the outcome is one of the following:
The call succeeds. A busy tone is issued due to the remote device being active. A busy tone is issued due to insufficient WAN resources. A configurable message is also displayed on the device.
No configuration of a dial plan is required for intracluster calls in the majority of cases.
7-5
Intercluster Calls
Intercluster calls are made using H.323 and can use alternative routing, including routing calls to the PSTN. Between clusters connected over a WAN, a gatekeeper is required for call admission control. The issues with intercluster calls are covered in greater detail in Chapter 6, Multisite WAN with Distributed Call Processing. See also Figure 3-11.
Design Example
In the network depicted in Figure 7-3, the desired operation is to permit all users to call each other within the cluster and also to permit a subset of the users to make PSTN calls. The text following Figure 7-3 explains how to achieve this.
7-6
78-11103-03
Chapter 7
Figure 7-3
IP
PSTN
V IP IP IP IP IP IP WAN V IP
In the case of Figure 7-3, the partitions detailed in Table 7-2 would be configured to allow users to have access to either all intracluster locations or all intracluster locations and a local gateway.
Table 7-2 Required Partitions for Intracuster and Local Gateway Access
Partition Name
Cluster-X Users Cluster-X Hub PSTN Access Cluster-X Branch 1 PSTN Access Cluster-X Branch 2 PSTN Access Cluster-X Branch 3 PSTN Access
All IP phones within the cluster PSTN gateway(s) at hub location PSTN gateway at Branch 1 PSTN gateway at Branch 2 PSTN gateway at Branch 3
Cisco IP Telephony Network Design Guide
40811
78-11103-03
7-7
The calling party search spaces in Table 7-3 would then need to be defined. These calling search spaces would allow users to be assigned the ability to dial either numbers within the cluster only or all numbers within the cluster as well as PSTN calls through the local gateway.
Table 7-3 Calling Search Space and Partition Assignments
Partitions
Assigned To
Cluster-X Internal Only Cluster-X Hub Unrestricted Cluster-X Branch 1 Unrestricted Cluster-X Branch 2 Unrestricted Cluster-X Branch 3 Unrestricted
Devices that can make only internal calls Internal calls and PSTN calls through hub location gateways
Cluster-X Users Internal calls and PSTN calls Cluster-X Branch 1 PSTN Access through Branch 1 gateway Cluster-X Users Internal calls and PSTN calls Cluster-X Branch 2 PSTN Access through Branch 2 gateway Cluster-X Users Internal calls and PSTN calls Cluster-X Branch 3 PSTN Access through Branch 3 gateway
This example presents one of the simplest configurations for multisite WAN local call processing. The dial plan would consist essentially of a single pattern for PSTN calls, typically a 9. Gateway selection would depend entirely upon the partition and calling search space of the calling device, as detailed above. Additional considerations, which would require a more ambitious dial plan, are listed in the Calling Search Space section on page 5-15.
A single primary Cisco CallManager per cluster A maximum of 2500 IP phones per cluster A maximum of three Cisco CallManagers per Cisco CallManager cluster Hub-and-spoke topologies only
7-8
78-11103-03
Chapter 7
Multisite WAN with Centralized Call Processing Cisco CallManager Cluster Considerations
With WAN Cisco CallManager clusters, all active devices are required to register with a single Cisco CallManager. This allows the Cisco CallManager to maintain call state for all calls and thereby ensure that the specified bandwidth to a location is not exceeded. Figure 7-4 shows devices registered to a single Cisco CallManager.
Figure 7-4 Registration to a Single Cisco CallManager in a Cluster
Where more than 2500 remote devices are required, multiple WAN clusters can be configured and interconnected using H.323. For a more detailed discussion, see Chapter 3, Cisco CallManager Clusters. In this model, a single Cisco CallManager redundancy group should be configured, and it should be the default Cisco CallManager redundancy group. All devices would then be assigned to this group to ensure that they all are registered to the same Cisco CallManager.
7-9
Trans Conf
IP IP Cluster X Location 2
The number of allocated resources is based upon the requirements for transcoding to voice mail and transcoding to G.711 for other applications such as conferencing. These numbers are calculated based upon the ratio of users to voice mail ports and the volume of conference calls placed. In cases where the placement of resources per Cisco CallManager is deemed cost prohibitive, the resources could be statically moved within the WAN cluster in the event of failure of the primary Cisco CallManager. Figure 7-6 shows a centralized transcoding resource providing conversion from G.729a or G.723.1 to G.711 when a call that was initially placed at G.729a or G.723.1 rolls to voice mail, which is only a G.711 application.
7-10
40815
78-11103-03
Chapter 7
Multisite WAN with Centralized Call Processing DSP Resource Provisioning for Transcoding and Conferencing
Figure 7-6
IP Router/gateway IP WAN IP Router/gateway IP Trans Compressed call leg G.711 call leg IP
40816
Conferencing poses another example of an application that uses G.711 only. Consequently, if the party wanting to make a conference call can traverse the WAN using only a low-bit-rate codec, the call must be transcoded to G.711 before the conference is initiated. See Figure 7-7.
Figure 7-7 Call Flow for a Centrally Transcoded Call with Conferencing
IP
Conf
40817
In the scenario shown in Figure 7-7, the call from the branch traverses the WAN using G.729a but must be transcoded to G.711 before being added to the conference resource.
7-11
IP IP
Cluster X Location 1
IP
IP
Cluster X Location 2
40818
In Figure 7-8, there are five application servers at the hub location, and they can provide voice mail for up to 2500 remote users. The DSP resources are required to transcode from G.729 to G.711 in the event that a low bit rate codec is used between locations and the application is G.711 only.
7-12
78-11103-03
C H A P T E R
Quality of Service
This chapter addresses the Quality of Service (QoS) requirements for implementations of IP telephone solutions over an enterprise network. By applying the prerequisite tools, you can achieve excellent quality voice, video, and data transmissions over an IP infrastructure, irrespective of media and even at low data rates. For more detailed information on designing Quality of Service networks for AVVID deployments, please see the Cisco AVVID QoS Design Guide at http://www.cisco.com/univercd/cc/td/doc/product/voice/ip_tele/index.htm This chapter includes the following major sections:
Campus QoS Model, page 8-1 WAN QoS Model, page 8-4
8-1
Quality of Service
Campus QoS really involves two separate areas of configuration, which are discussed in the following sections:
Traffic Classification
Classifying or marking traffic as close to the edge of the network as possible has always been an integral part of the Cisco network design architecture. Traffic classification is an entrance criterion for access into the various queuing schemes used within the campus switches and WAN interfaces. When connecting an IP phone using a single cable model, the phone becomes the edge of the managed network. As such, the IP phone can and should classify traffic flows. Table 8-1 lists the AVVID traffic classification guidelines.
Table 8-1 Traffic Classification Guidelines for AVVID Networks
Interface Queuing
To guarantee voice quality, it is a design requirement to enable QoS within the campus infrastructure. By enabling QoS on campus switches, you can configure all voice traffic to use separate queues, thus virtually eliminating the possibility of dropped voice packets when an interface buffer fills instantaneously. Although network management tools may show that the campus network is not congested, QoS tools are still required to guarantee voice quality. Todays network management tools show only the average congestion over a sample time span. While useful, this average does not show the congestion peaks on a campus interface. Transmit interface buffers within a campus tend to congest absolutely
Cisco IP Telephony Network Design Guide
8-2
78-11103-03
Chapter 8
in small, finite intervals as a result of the bursty nature of network traffic. When this occurs, any packets destined for that transmit interface are dropped. The only way to prevent dropped voice traffic is to configure multiple queues on campus switches. Table 8-2 lists the Cisco Ethernet switches that support enhanced queuing services.
Table 8-2 Queuing Services Supported by Cisco Switches
Campus Switching Element Catalyst 6000 Catalyst 8500 Catalyst 4000 Catalyst 3500
Queue Admission Configurable Configurable in CoS pairs Configurable in CoS pairs Not configurable. CoS 0-3 = Queue1 CoS 0-3 = Queue2 Not configurable. CoS 0-3 = Queue1 CoS 0-3 = Queue2 Not configurable. CoS 5 = Queue0 (PQ). All other CoS values = Queues 1-3.
2Q1T
PQ
1P3Q1T
RR with a PQ timer
8-3
Quality of Service
Cisco 2600 IP
Branch offices
Cisco 3600
WAN Provisioning
Before voice and video can be placed on a network, it is necessary to ensure that adequate bandwidth exists for all required applications. To begin, the minimum bandwidth requirements for each major application (for example, the voice media streams, video streams, voice control protocols, and all data traffic) should be summed. This sum represents the minimum bandwidth requirement for any given link, and it should consume no more than 75% of the total bandwidth available on that link. This 75% rule assumes that some bandwidth is required for overhead traffic such as routing and Layer 2 keepalives, as well as for additional applications such as e-mail, HTTP traffic, and other data traffic that is not so easily measured. See Figure 8-2.
8-4
40819
78-11103-03
Chapter 8
Figure 8-2
Bandwidth Provisioning BW = (Min BW for Voice + Min BW for video + Min BW for Data) /0.75
Voice
Video
Voice Ctrl
SNA
Data
Routing etc.
Traffic Prioritization
In choosing from among the many available prioritization schemes, the major factors to consider include the type of traffic being put on the network and the wide area media to be traversed. For multiservice traffic over an IP WAN, Cisco recommends low-latency queuing for low-speed links. This allows up to 64 traffic classes with the ability to specify, for example, priority queuing behavior for voice and interactive video, a minimum bandwidth for Systems Network Architecture (SNA) data and market data feeds, and weighted fair queuing to other traffic types.
8-5
Quality of Service
Voice is placed into a queue with priority queuing capabilities and is allocated a bandwidth of 48 kbps. The entrance criterion to this queue should be the differentiated services code point (DSCP) value of EF, or IP precedence value of 5. Traffic in excess of 48 kbps would be dropped if the interface becomes congested. Therefore, an admission control mechanism must be used to ensure that this value is not exceeded. Video conferencing traffic is placed into a queue with priority queuing capabilities and is allocated a bandwidth of 384 kbps. The entrance criterion to this queue should be a DSCP value of AF41, or IP precedence value of 4. Traffic in excess of 384 kbps would be dropped if the interface becomes congested. It is therefore imperative, as in the case of voice, to use an admission control mechanism to ensure that this value is not exceeded.
Note
One-way video traffic, such as IP/TV, should use a class-based weighted fair queuing scheme because the delay tolerances are much higher.
As the WAN links become congested, it is possible to completely starve the voice control signaling protocols, thereby eliminating the ability of the IP phones to complete calls across the IP WAN. Voice control protocol traffic, such as H.323 and the Skinny Client Control Protocol, requires its own class-based weighted fair queue with a minimum configurable bandwidth equal to a DSCP value of AF31, which correlates to an IP precedence value of 3. SNA traffic is placed into a queue that has a specified bandwidth of 56 kbps. Queueing operation within this class is first-in-first-out (FIFO) with a minimum allocated bandwidth of 56 kbps. Traffic in this class that exceeds 56 kbps is placed in the default queue. The entrance criterion to this queue could be TCP port numbers, Layer 3 address, IP precedence, or a DSCP. All remaining traffic can be placed in a default queue. If a bandwidth is specified, the queuing operation would be FIFO. Alternatively, by specifying the keyword fair, the operation would be weighted fair queuing (WFQ).
8-6
78-11103-03
Chapter 8
Figure 8-3
3 3 4 4 4 0 0 0 0
TX Ring
0 4 3 2 1 1 Packets out
The following points must be taken into account when configuring low-latency queuing (LLQ):
The minimum system software for leased lines and Asynchronous Transfer Mode (ATM) is Cisco IOS Release 12.1(2)T. The minimum system software for Frame Relay is Cisco IOS Release 12.1(2)T.
Table 8-3 gives the minimum bandwidth requirements for voice, video, and data networks using Cisco CallManager Release 3.0(5). Note that these values are minimum, and any network should be engineered with adequate capacity.
Table 8-3 Minimum Bandwidth Requirements with Cisco CallManager 3.0(5)
8-7
Quality of Service
schemes, such as G.729, can squeeze a 64-kbps call down to an 8-kbps payload. Cisco gateways and IP phones support a range of codecs that can enhance efficiency on these low-speed links. The link efficiency can be further increased by using compressed RTP (cRTP), which compresses a 40-byte IP + UDP + RTP header to approximately two to four bytes. In addition, voice activity detection (VAD) takes advantage of the fact that, in most conversations, only a single party is talking at a time. VAD recovers this empty time and allows data to use the bandwidth.
Note
cRTP is currently supported only for leased lines and Frame Relay media. Cisco IOS Release 12.1(2)T, which greatly enhances performance, is the recommended system software for cRTP. For low-speed links (less than 768 kbps), it is necessary to use techniques that provide link fragmentation and interleaving (LFI). This places bounds on jitter by preventing voice traffic from being delayed behind large data frames. The three techniques that exist for this purpose are Multilink PPP (MLP) for point-to-point serial links, FRF.12 for Frame Relay, and MLP over ATM for ATM connections (available in Cisco IOS Release 12.1(5)T). Figure 8-4 depicts the general operation of LFI.
Figure 8-4 Link Fragmentation and Interleaving (LFI) Operation
Before
Voice
Data
Data
Voice
Data
8-8
78-11103-03
40822
Chapter 8
Traffic Shaping
Traffic shaping is required for multiple access, non-broadcast media such as ATM and Frame Relay, where the physical access speed varies between two endpoints. Traffic shaping technology accommodates mismatched access speeds. In the case of Frame Relay with FRF.12, traffic shaping also allows delay variation, or jitter, to be bounded appropriately. For ATM, data rates are such that fragmentation is typically not required. Figure 8-5 demonstrates traffic shaping with Frame Relay and ATM.
Figure 8-5 Traffic Shaping with Frame Relay and ATM
T1
40823
8-9
Quality of Service
Best Practices
Table 8-4 shows the minimum recommended software release for enterprise voice implemented over the WAN and includes recommended parameters for QoS tools. The currently recommended Cisco IOS versions will change with future releases.
Table 8-4 Recommended Cisco IOS and QoS Tools
Minimum Cisco IOS Data Link Type Release Serial Lines 12.0(7)T
Classification
DSCP = EF for voice; LLQ with DSCP = AF41 for CBWFQ video; DSCP = AF31 for voice control traffic; other classes of traffic have a unique classification. DSCP = EF for voice; LLQ with DSCP = AF41 for CBWFQ video; DSCP = AF31 for voice control traffic; other classes of traffic have a unique classification. DSCP = EF for voice; LLQ with DSCP = AF41 for CBWFQ video; DSCP = AF31 for voice control traffic; other classes of traffic have a unique classification. DSCP = EF for voice; LLQ with DSCP = AF41 for CBWFQ video; DSCP = AF31 for voice control traffic; other classes of traffic have a unique classification.
Frame Relay
12.1(2)T
FRF.12
ATM
12.1(5)T
12.1(5)T
Shape traffic to MLP over guaranteed ATM and Frame Relay portion of bandwidth on slowest link.
8-10
78-11103-03
Chapter 8
WAN bandwidth can only support n calls. What happens when n + 1 calls attempted?
Call #n + 1 causes poor quality for all calls Call #1 Call #2 VoIP data network Call #n + 1
There are two schemes for providing call admission control for voice calls over the WAN:
Gatekeeper call admission controlsee the Call Admission Control section on page 6-3 Locations call admission controlsee the Call Admission Control section on page 7-3.
8-11
Quality of Service
8-12
78-11103-03
C H A P T E R
Understanding the Catalyst DSP Resources, page 9-2 Catalyst Conferencing Services, page 9-4 Catalyst MTP Transcoding Services, page 9-7 Catalyst 4000 Voice Services, page 9-13 Catalyst 6000 Voice Services, page 9-15
9-1
9-2
78-11103-03
Chapter 9
Table 9-1
96 calls
24 conference participants Maximum of 4 conferences of 6 participants each 32 conferencing participants per physical port Maximum conference size of 6 participants 256 conference participants per module
WS-6608-T1
G.711 or G.723
The following capacities also apply to simultaneous transcoding and conferencing: G.723 to G.711
WS-6608-E1
31 MTP transcoding sessions per physical port 248 sessions per module
G.729
G.729 to G.711
24 conferencing participants per physical port Maximum conference size of 6 participants 192 conference participants per module
24 MTP transcoding sessions per physical port 192 sessions per module
9-3
Support for a maximum of 6 participants per conference call. The Catalyst 4000 WS-X4604-GWY module supports 24 conference participants per module. The Catalyst 4000 WS-X4604-GWY module supports conferencing for G.711 voice streams only. Transcoding can be used to convert G.729a or G.723.1 to G.711 for conference calls. The Catalyst 6000 WS-X6608-T1 or WS-X6608-E1 modules support 32 G.711 or G.723 conference participants per physical port (256 per module) or 24 G.729 conference participants per physical port (192 per module). The Catalyst 6000 WS-X6608-T1 or WS-X6608-E1 modules can support both uncompressed and compressed VoIP conference calls. Each Cisco CallManager must have its own conference and MTP transcoding resources, because the DSP resources can register with only one Cisco CallManager at a time. Cisco CallManagers cannot share DSP resources.
The Catalyst 4000 module, the WS-X4604-GWY, can support up to four simultaneous conference calls of six callers each. The Catalyst 6000 T1 or E1 PSTN gateway module, the WS-X6608, also has the ability to support conferencing. After the WS-X6608 has been added as a T1 or E1 Cisco AVVID gateway, it can be configured, on a per-port basis, for conferencing services. The Catalyst 6000 conferencing module supports up to six callers per conference call
9-4
78-11103-03
Chapter 9
with a maximum of 32 simultaneous G.711 or G.723 conference callers per configured logical port. This results in a maximum of 256 conference participants per module with G.711 or G.723 calls. See Table 9-1 for a summary of conference call densities for each module. Both the WS-X4604-GWY and WS-X6608-T1 (or WS-X6608-E1) modules use Skinny Station Protocol to communicate with Cisco CallManager when providing conferencing or transcoding services. The Catalyst 6000 voice conferencing solution can support both compressed and uncompressed conference attendees. On the Catalyst 4000, only G.711, or uncompressed, calls can be joined to a conference call. When the conferencing service registers with Cisco CallManager, using Skinny Station Protocol, it announces that only G.711 voice calls can be connected. If any compressed calls request to be joined to a conference call, Cisco CallManager connects them to a transcoding port first, to convert the compressed voice call to G.711. Once the G.711 connections are associated with a particular conferencing session (maximum of six participants per conference call), the call is converted to a TDM stream and passed to the summing logic, which combines the streams. Unlike the WS-X6608-x1, which can mix all conference call participants, the Catalyst 4000 WS-X4604-GWY module sums only the three dominant speakers. The WS-X4604-GWY dynamically adjusts for the dominant speakers and determines dominance primarily by voice volume, not including any background noise. You should also observe the following recommendations when configuring conferencing services:
When provisioning an enterprise with conference ports, first determine how many callers will attempt to join the conference calls from a compressed Cisco CallManager region. Once you know the number of compressed callers, you can accurately provision the MTP transcoding resources. Conference bridges cannot register with more than one Cisco CallManager at a time, and Cisco CallManagers cannot share DSP resources. Therefore, you must configure separate conferencing modules for each Cisco CallManager in the cluster.
9-5
Figure 9-1
PSTN
IP
Router/gateway
IP
Conf
Conferencing Caveats
The following caveats apply to Catalyst conferencing services:
The Catalyst 4000 conferencing services support G.711 connections only, unless an MTP transcoding service is used. On the Catalyst 6000, conferencing services cannot cross port boundaries. Each Cisco CallManager must have its own conferencing resource configured.
Conference calls across an IP WAN are addressed in the next section, Catalyst MTP Transcoding Services.
9-6
78-11103-03
40827
MTP Conf
Chapter 9
Provision MTP transcoding resources appropriately for the number of IP WAN callers to G.711 endpoints. The Catalyst 4000 WS-X4604-GWY module supports 16 transcoding sessions per module. The Catalyst 6000 WS-X6608-T1 or WS-X6608-E1 modules support 31 G.723 or G.711 transcoding sessions per physical port (248 per module) or 24 G.729 to G.711 transcoding sessions per physical port (192 per module). Transcoding is supported only in low bit rate to high bit rate (G.729a or G.723.1 to G.711), or vice versa, configurations. Each Cisco CallManager must have its own MTP transcoding resources.
9-7
functionality has been added to two of the new modules for the Catalyst 4000 and Catalyst 6000. A packet-to-packet gateway is a device with DSPs that has the job of transcoding between voice streams using different compression algorithms. That is, when a user on an IP phone at a remote location calls a user at the central location, Cisco CallManager instructs the remote IP phone to use compressed voice, or G.729a, only for the WAN call. However, if the called party at the central site is unavailable, the call potentially rolls to an application that supports G.711 only. In this case, a packet-to-packet gateway transcodes the G.729a voice stream to G.711 to leave a message with the voice messaging server. See Figure 9-2.
Figure 9-2 IP-to-IP Packet Gateway Transcoding for the WAN with Centralized Call Processing
Site 1
Cisco Voice mail server CallManager
Site 2 x2111 IP
x1112 G.729a voice stream G.711 voice stream Skinny Station Protocol MTP = MTP transcoding DSP farm
x2112
9-8
40828
IP
IP
78-11103-03
Chapter 9
Catalyst 4000
One DSP channel to convert the IP WAN G.729a voice call into G.711 Three conferencing DSP channels to convert the G.711 streams into
Catalyst 6000
Three conferencing DSP channels are used. On the Catalyst 6000, all
voice streams will be sent to single logical conferencing port where all transcoding and summing takes place.
9-9
Figure 9-3
IP IP WAN IP IP IP
VSM
Transcoding
9-10
78-11103-03
Chapter 9
Figure 9-4
DSP
IP DSP
DSP
Conference DSP's
DSP
DSP DSP
43753
9-11
If transcoding is required between Cisco CallManager clusters, the H.323 Intercluster trunk must be configured with an MTP resource. All calls between Cisco CallManager clusters will go through MTPs. Outbound Intercluster calls will use an MTP/Transcoding resource from the Cisco CallManager from which the call originates. Inbound Intercluster call will use the MTP/Resource from the Cisco CallManager terminating the inbound Intercluster trunk. Additional DSP MTP/Transcoding resources should be allocated to Cisco CallManagers terminating H.323 Intercluster trunks
Catalyst MTP transcoding service only support LBR codec-to-G.711 conversion, and vice versa. There is no support for LBR-to-LBR codec conversion. On the Catalyst 6000, transcoding services cannot cross port boundaries. Each Cisco CallManager must have its own MTP transcoding resource configured. If transcoding is required between Cisco CallManager clusters, the H.323 Intercluster trunk must be configured with an MTP resource. All calls between Cisco CallManager clusters will go through the MTPs. If all n MTP transcoding sessions are utilized, and an n + 1 connection is attempted, the next call will be completed without using the MTP transcoding resource. If this call attempted to use the software MTP function to provide supplementary services, the call would connect, but any attempt to use supplementary services would fail and could result in call disconnection. If the call attempted to use the transcoding features, the call would connect directly, but no audio would be heard.
See Table 9-1 for a list of transcoding capabilities for each module.
9-12
78-11103-03
Chapter 9
PSTN gateway: 96 channels of G.711 voice and Conferencing: 24 channels of G.711 conferencing and MTP transcoding: 16 channels of LBR-G.711 transcoding
Figure 9-5 shows a physical representation of the Catalyst 4000 voice gateway module in gateway mode.
9-13
Figure 9-5
SIMM DSP Resources DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP DSP TDM switch Future modules TDM bus VIC VIC VIC G.711 PSTN gateway (96 calls) PSTN MTP transcoding (16 sessions) Conferencing services (24 participants)
40825
Gateway mode is the default configuration. In future releases of the Catalyst 4000 module, you will be able to change the conferencing-to-transcoding ratios from the CLI. The following configuration notes apply to the Catalyst 4000 module:
The WS-X4604-GWY uses a Cisco IOS interface for initial device configuration. All additional configuration for voice features takes place in Cisco CallManager. For all PSTN gateway functions, the Catalyst 4000 module uses H.323v2 and is configured identically to a Cisco IOS Gateway. From the Cisco CallManager configuration screen, simply add the Catalyst 4000 gateway as an H.323 gateway. The WS-X4604-GWY can operate as a PSTN gateway (toll bypass mode) as well as a hardware-based transcoder or conference bridge (gateway mode).
9-14
78-11103-03
Chapter 9
To configure this module as a DSP farm (gateway mode), enter one or both of the following CLI commands:
voicecard conference voicecard transcode
The WS-X4604-GWY requires its own local IP address, in addition to the IP address for Cisco CallManager. It is also good practice to specify a loopback IP address for the local Signaling Connection Control Part (SCCP). A primary, secondary, and tertiary Cisco CallManager can be defined for both the conferencing services and MTP transcoding services.
Note
9-15
Whether acting as a PSTN gateway, a conferencing resource, or an MTP transcoding resource, each port on the module requires its own IP address. The port can be configured to have either a static IP address or an IP address provided by DHCP. If a static IP is entered, a TFTP server address must also be added because the ports actually get all configuration information from the downloaded TFTP configuration file. Once configured through the Cisco CallManager interface, each port can support one of the following configurations:
PSTN gateway mode: 24 sessions on the WS-6608-T1 module; 30 sessions on the WS-6608-E1 Conferencing mode: 32 conferencing sessions for G.711 or G.723; 24 conferencing sessions for G.729 MTP mode: 31 MTP transcoding sessions for G.723 to G.711; 24 MTP transcoding sessions for G.729 to G.711
Figure 9-6 shows one possible configuration of the Catalyst 6000 voice gateway module. In this diagram, the module has two of its eight ports configured in PSTN gateway mode, three ports in conferencing mode, and three ports in MTP transcoding mode.
Figure 9-6
PSTN T1/E1 G.711 gateway PSTN T1/E1 G.711 gateway
PSTN
9-16
40826
Conferencing services
Conferencing services
Conferencing services
78-11103-03
C H A P T E R
10
Network Models, page 10-1 PBX and Voice Messaging Interfaces and Protocols, page 10-2 Simple IP Network Migration Sequence, page 10-3 Reference Models for Migration Configurations, page 10-6
Network Models
Conventional voice networks to be migrated to IP networks contain, at a minimum, a single PBX and often several PBXs, which can be geographically dispersed. A network of PBXs can use a specialized, proprietary networking protocol to provide features across the different PBXs. If voice messaging is a part of the voice network, the voice messaging systems are connected to the PBX using a protocol and hardware interface. If there are several voice messaging systems in the network, they might be networked to appear to the user as a single messaging system. Generally the protocols used to connect to and network between voice messaging systems are proprietary. See Figure 10-1.
10-1
Proprietary voice mail networking Voice mail system Networked voice mail Voice mail system
Legacy PBX
10-2
78-11103-03
40834
Chapter 10
Table 10-1 Interfaces and Protocols for PBX and Voice Mail System Networking
PBX to Voice Mail Interfaces SMDI, analog Digital set emulation Proprietary, X.25/C-LAN
Voice Mail to Voice Mail Networking AMIS-A1 Octelnet AUDIX Digital Networking AMIS-A Meridian Mail Networking VPIM AMIS-A
Nortel
Proprietary (IVMS)
Siemens
PRI, CorNet, DPNSS, QSIG PRI, ABC, QSIG PRI, CCIS, QSIG
BRI with proprietary extensions unknown Proprietary Message Center Interface (MCI)
Alcatel NEC
While conventional voice networks use proprietary, closed protocols internally, they can be connected to IP networks only through open protocols. This would also be the case when networking equipment from different vendors. PRI (or QSIG) between PBXs, analog Simplified Message Desk Interface (SMDI) between PBXs and voice mail systems, and Audio Messaging Interchange Specification (AMIS) between voice systems are the most powerful interfaces available.
10-3
Figure 10-3 shows the migration phase, with users moving in blocks from PBX to IP network.
Figure 10-3 Migration Phase
40835
PSTN
IP
PSTN
40836
Figure 10-4 shows the network when migration is completed and the PBX is retired.
10-4
78-11103-03
Chapter 10
IP LAN IP
IP
Usually the transition from a conventional voice network to an IP network is made in stages, as follows:
Step 1
Pilot stagethe IP network is introduced, and a very limited number of users are given IP service. In this initial deployment, which often will include the telecom or IT group, users sometimes retain their conventional phones side-by-side with IP phones. Usually, however, they move immediately onto the new system. When the pilot trial is stable and satisfactory for a number of weeks, it can be expanded. User block migrationa block of users is moved (usually over a weekend) from the conventional voice network to the IP network. The block can be chosen as a geographical group, a group sharing a block of directory numbers (DNs), or a community of interest, such as the purchasing department. Further user block migrationthe number of users moved in a block is determined by the maximum number of users the telecom staff can move over a weekend, and the number of weekends the telecom department is prepared to work. In general, migration should be completed as quickly as possible.
Step 2
Step 3
Of course, there are many other considerations when planning a migration, such as whether users will keep their DNs or be assigned new ones, user training, billing systems, special features, fallback plans, and more.
Cisco IP Telephony Network Design Guide 78-11103-03
40837
PSTN
10-5
Model C
CallManager V
V IP IP
Voice mail
Model B
Voice mail
CallManager V IP IP
40834
10-6
78-11103-03
Chapter 10
Model A is the simplest; it is concerned only with PBX services and does not address voice messaging. Model B includes a voice messaging system behind the PBX and assumes that the voice mail system does not offer an open interface for connection to an IP network. Therefore, all voice mail traffic from the IP network must travel through the PBX. Model C includes a voice messaging system that can connect to an IP network, providing a stronger feature set for IP users. Model D introduces unified IP messaging at the same time as IP telephony, replacing a conventional PBX and voice mail combination.
IP LAN V IP
IP
PSTN Migration
40839
10-7
Should the trunk connections remain on the PBX until the end of the migration, or should some trunks be moved to the IP network along with users? What type of connection should be used between the PBX and the IP network?
Table 10-2 shows the feature set supported by each type of connection.
Table 10-2 Connection Types and Feature Sets Supported
Connection Type FXO/FXS E&M/R2 BRI/PRI QSIG Digital set emulation PBX WAN protocol
Both-Ways Relative Origination Cost No Yes Yes Yes Yes Yes Tiny Small Medium to Large Large Medium Large
The following points briefly explain the importance of the features in Table 10-2:
Calling number, in addition to being displayed on the called phone, can be used for billing and voice mail purposes. Called number is important if the receiving switch is going to route the call directly to a phone, rather than terminating first at an attendant. The called number is also used for voice mail. Calling name is displayed on the called phone. Diversion reason (busy, ring-no-answer) can be used by voice mail systems to play different greetings.
10-8
78-11103-03
Chapter 10
MWI on/off can instruct the receiving switch to illuminate the message waiting indicator on a phone when the user has a new message. Without this capability on the link, MWI cannot be available on the switch remote from the voice messaging system. Both-ways origination refers to the capability to initiate and answer a call on the same trunk. This would normally be desirable for traffic purposes to avoid the need for more trunk connections.
Note
QSIG is not available in Cisco CallManager Release 3.0(5). PRI provides the best feature set currently available. Table 10-2 indicates which elements are normally passed across the trunk interface. Different PBXs, however, might not use the information to implement all available features for a given trunk type. Table 10-3 provides an approximate guide to feature availability when using PRI.
Feature Transfer Conference Calling name display Called name display Call pickup groups Music on hold Camp-on features Operator services
IP-PBX Yes (on originators system) Yes (on originators system) Yes (can depend on PBX configuration) Yes No No No (no music when Cisco AVVID puts the call on hold) No No (unless a separate Cisco AVVID attendant is configured)
If calls originate on one system, are passed to the other and then forwarded back, two channels are used on the PRI and remain in use (tromboned) until the call is torn down or released. The implication for traffic engineering in a T1 environment is that only 11 such calls could use the entire PRI link.
Cisco IP Telephony Network Design Guide 78-11103-03
10-9
If the trunks remain on the PBX, so that billing can be done at one point, it can be difficult to identify IP-originated calls by calling number. The following configuration steps are required for the type A system:
Step 1
Add PRI gateway in Cisco CallManager and configure. Add PBX PRI card and cable to IP network, and configure PRI on PBX. Add Cisco CallManager route group to steer outgoing calls to the PRI trunk.
Step 2
Delete phone in PBX. Modify PBX trunk routes to steer user calls to the IP network. Add user phones in Cisco CallManager.
Step 3
Delete trunks and routes from the PBX database. Add trunk groups on the PBX to steer outgoing calls to the IP network. Configure IP gateway hardware and software. Move trunk connections to IP network. Configure trunk groups and routes in Cisco CallManager. Configure Call Detail Recording (CDR) for the IP network.
This configuration scenario assumes that users retain the same DNs after the migration and that trunks are moved after the users have migrated. Otherwise, it would be possible to preconfigure the IP phones and to allow users to have two working phones on their desks throughout the migration period. However, most users with Direct Inward Dialing (DID) service want to keep their original DN.
10-10
78-11103-03
Chapter 10
The following list summarizes the cost of the type A system: Hardware
Software
The following list summarizes the pros and cons of the type A system: Pros
Cons
Without QSIG, display set users in particular will notice a lack of feature support on IP-PBX calls. Billing is difficult to reconcile across the two systems.
10-11
IP PSTN
40840
Migration
The considerations for telephony features in model B are the same as for model A, but the introduction of voice messaging brings a number of extra considerations. In general, voice messaging systems provide call answering and call retrieval services. They also command the PBX to switch message waiting indicators on and off and can provide outcalling services where users can transfer themselves out of a voice mailbox to another phone. (This feature is also a function for automated attendant functions, which are often built into voice messaging systems.)
10-12
78-11103-03
Chapter 10
There are three important requirements for IP telephony applications in model B networks:
When a party calls an IP phone and the call is forwarded to voice mail, the caller should hear the IP users greeting for call answering. This can be a problem because, if the PBX sees the call from the IP network as a trunk call, it might not preserve the original called number on the call. In this case, the caller would hear the general greeting (for example, Welcome to Cisco). When IP users press their message key, they should be prompted for their password. That is, the voice messaging system should be passed the information to associate the call with a users calling number to identify the right mailbox. The MWI on the IP phone should be switched on and off to reflect the state of the users voice mailbox.
In general, none of these three features can be achieved in a simple type B system, where the link between the IP network and the PBX is PRI, and the configuration sequence for a type A system is used. However, by using a more complex configuration change on the PBX, the first two features can be achieved. This model B implementation essentially requires configuring a phantom telephone user on the PBX. For ease of maintenance, it is convenient to choose a block of DNs that relate to the IP users DN. For example, for IP DNs 32XX, create equivalent PBX phantom users of 52XX. The phantom phone is permanently forwarded to voice messaging. On the IP network, the phone is configured to forward to the phantom DN for voice messaging, with a speed-dial key on the phone to dial the phantom DN. This key can be labeled for voice messaging (except on the Cisco IP Phone 7960). Now, both call answering and message retrieval calls go straight to the users voice mailbox. There are drawbacks with this workaround. It requires extra administration and user effort, and the IP users voice mailbox must have a different number from the DN of the phone. Also, on some PBXs, it is necessary to configure real line cards for the phantom phones. Perhaps it would be easier to administer if the users PBX DN were retained on the PBX as the phantom DN during migration, and the user could be assigned a new DN on the IP network. The original DID (DDI) could be retained if the trunks are switched to the IP network and an incoming digit translation is used. However, this would perpetuate a situation in which the users DN, DID (DDI), and voice mailbox number do not match.
10-13
It is not possible for the voice messaging system to select the proper greeting (busy, no answer, or all calls) for IP users because that information is not sent across the PRI to the PBX. It is also not possible for MWI information to traverse the PRI from the PBX to the IP network. The message indication feature would, therefore, not be available to IP users in a type B system. The following configuration steps for the type B system include the workaround just described:
Step 1 Step 2 Step 3
Configure PRI linksame as for type A system. Migrate each usersame as for type A system. Configure the phantom DN on the PBX.
a. b. c.
Add the phone to the PBX and forward to voice mail. Configure speed-dial key on IP phone. Modify the IP trunk routes to send forwarded calls to PBX.
Step 4
The following list summarizes the cost of the type B system: Hardware
Software
10-14
78-11103-03
Chapter 10
The following list summarizes the pros and cons of the type B system: Pros
Cons
IP users get access to voice messaging as they migrate from the PBX. Relatively inexpensive to implement
Same voice feature shortfall as type A systems No MWI support for IP users Workaround entails administration complexity and possibly PBX hardware.
SMDI
IP V LAN IP
IP PSTN
40841
Migration
The considerations for telephony features for model C are the same as for model A.
Cisco IP Telephony Network Design Guide 78-11103-03
10-15
For voice messaging, model C fixes the drawbacks of model B. Because the voice messaging system deals with the PBX and the IP network as separate systems, calls that reach the IP network can be forwarded directly into voice messaging without being routed back through the PBX. This should allow all normal call answering and message retrieval functions. In addition, since the voice messaging system is connected to the IP network directly with SMDI, the voice messaging system can send MWI on or off messages to the IP network for appropriate control of the indicators on the IP phones. For this model to work, the voice messaging system must meet two qualifications. First, it must be able to support two PBXs simultaneously in its database and associate each mailbox with the correct PBX so that it can send MWI information on the correct link. Second, it must be possible to connect the IP network physically to the voice messaging system while maintaining the existing link to the PBX. Not all voice messaging systems can support this type of integration, and customers should therefore check with their voice mail vendor before proceeding with this type of scenario. The following configuration steps are required for the type C system:
Step 1 Step 2 Step 3 Step 4
Configure PRI linksame as for type A system. Migrate each usersame as for type A system. Migrate each user in voice mailchange the mailbox to reference the link to the IP network rather than the PBX. Move PSTN trunks from PBX to IP networksame as for type A system.
10-16
78-11103-03
Chapter 10
The following list summarizes the cost of the type C system: Hardware
Software
PRI gateway for IP network PRI card on PBX Analog gateways for IP network for voice messaging Analog cards on voice messaging system SMDI interface on voice messaging system
The following list summarizes the pros and cons of the type C system: Pros
Cons
IP users can maintain access to voice messaging as they migrate from the PBX. Relatively inexpensive to implement
Same voice feature shortfall as type A systems More complex administration of voice messaging system than the type B system, but simpler administration of the PBX Ideally, DID (DDI) trunks would be moved from PBX to IP network to follow the users. Otherwise, some features might be lost.
10-17
IP PSTN
40842
Migration
The considerations for telephony features for model D are the same as for model A. For voice messaging, IP users are on the Cisco uOne system, while the PBX users remain on the voice messaging system. When a PBX user is moved to the IP network, the voice mailbox is deleted from the voice messaging system, and a new one is added on Cisco uOne. Because there is no linking between Cisco uOne and the voice messaging system, the two user groups are separate and cannot interact in voice messaging. For instance, if a voice messaging user has a distribution list, IP users cannot be included on it. Similarly, the reply to sender function does not work between the two groups, nor do a number of other features. If the voice messaging system is to be replaced by Cisco uOne, however, this situation is only temporary.
10-18
78-11103-03
Chapter 10
Audio Messaging Interchange Specification Analog (AMIS-A) networking of voice messaging systems is planned for a future release of Cisco uOne. When it is available, if both Cisco uOne and the voice messaging system are configured for networking, it will be possible to provide basic voice mail messaging functionality across the systems (provided the voice messaging system supports AMIS-A). The following configuration steps are required for the type D system:
Step 1 Step 2 Step 3
Configure PRI linksame as for type A system. Migrate each usersame as for type A system. Migrate each user in voice mail.
a. b.
Step 4
The following list summarizes the cost of the type D system: Hardware
Software
10-19
The following list summarizes the pros and cons of the type D system: Pros
Cons
IP users get access to voice messaging as they migrate from the PBX. Relatively inexpensive to implement
Same voice feature shortfall as type A systems No voice mail interaction between voice messaging and Cisco uOne Ideally, DID (DDI) trunks would be moved from PBX to IP network to follow the users. Otherwise, some features might be lost.
Cisco CallManager Octel 200 and 300 voice messaging systems (using APIC integration) Octel 250 and 350 voice messaging systems (using FLT-A/PIC-A integration) Lucent Definity G3 PBX systems
The following sections provide you with an overview of the DPA 7630 and its interactions with the other components in traditional and IP telephony networks:
Understanding How the DPA 7630 Works, page 10-21 Choosing an Integration Mode, page 10-22
10-20
78-11103-03
Chapter 10
It must have sufficient database capacity to support two PBX systems simultaneously and to associate each mailbox with the correct PBX in order to send MWI information on the correct link. It must be possible to physically connect the IP network to the voice messaging system while maintaining the existing physical link to the PBX. It must support analog integration. SMDI is primarily an analog technology.
10-21
SimpleUsed to integrate Cisco CallManager with existing Octel voice mail systems. In this solution, you are not using a Lucent PBX system, or you are choosing not to integrate it with your IP telephony system. See the Using the Simple Integration Mode section on page 10-23. HybridUsed to integrate Cisco CallManager with existing Octel voice mail systems and Lucent PBX systems. See the Using the Hybrid Integration Mode section on page 10-24. MultipleUsed to integrate the systems in larger networks using a combination of simple and hybrid scenarios, which requires multiple DPA 7630 systems. See the Using the Multiple Integration Mode section on page 10-25.
10-22
78-11103-03
Chapter 10
IP
Cisco CallManager
49099
10-23
IP telephony network
Legacy PBX
10-24
49087
IP
IP
IP
78-11103-03
Chapter 10
Cisco CallManager
IP (Skinny)
V
Gateway
IP telephony network
Legacy PBX
10-25
49088
IP
IP
IP
You might add multiple DPA 7630 systems to your network if you are using the DPA 7630 to capacity, and you need the following capability:
More than eight MWI ports to the Lucent system. If you need more MWI ports to the Lucent system, add an additional DPA 7630 in hybrid mode. However, you cannot use all 24 ports for Lucent MWIs. You must configure the DPA 7630 by following the guidelines for the hybrid integration, using up to eight ports.
More than eight ports for call processing between the Cisco CallManager and Octel systems. If you need more than eight ports for handling calls between Cisco CallManager and the Octel systems, add another DPA 7630 in simple mode. This would provide another full 24 ports dedicated to call processing between the two systems.
Alternatively, you might also use an additional DPA 7630 to achieve a higher level of fault tolerance. In this situation, you can use two DPA 7630 devices in parallel, sharing the MWI lines between the two units. If one unit fails, the Octel would use only the lines that were still operational, allowing voice mail to function normally.
10-26
78-11103-03
C H A P T E R
11
Network Management
This chapter introduces two network management tools available for Cisco AVVID enterprise deployment models:
Remote Serviceability for Cisco CallManager, page 11-1 CiscoWorks2000 Voice Management Features, page 11-8
This chapter contains a brief overview of network management and the CiscoWorks2000 system architecture, including its capability to manage Cisco AVVID components in enterprise networks.
Network discovery and topology maps Inventory control and configuration management of networked nodes Report generation, system logging, and analysis of the respective data
Cisco CallManager Remote Serviceability and CiscoWorks2000 provide the above capabilities, as well as other mechanisms, which enable visibility into the health and availability of the Cisco AVVID network. Considerable management features have been added, starting with Cisco CallManager Release 3.0, to permit visibility into the operation and reporting capability of a Cisco AVVID network.
11-1
Network Management
Table 11-1 lists the features that have been provided for network management applications to export data and, particularly for CiscoWorks2000, to provide reporting, proactive management, debugging, and other capabilities.
Table 11-1 Remote Serviceability Features for Cisco CallManager
Feature Simple Network Management Protocol (SNMP) Instrumentation Call Detail Record (CDR) Logging
Description Two Management Information Bases (MIBs) have been added to Cisco CallManager to permit a network management system to extract appropriate information. Call Detail Record is used for accounting, debugging, and path analysis.
Cisco Discovery Cisco Discovery Protocol support for Protocol (CDP) Support Cisco CallManager server advertisement and (CDP MIB) discovery via a network management system such as CiscoWorks2000. This is the tell side of CDP via SNMP enablement. System Logging Components Cisco Syslog Collector for message filtering, collection, and repository to a Syslog server.
11-2
78-11103-03
Chapter 11
Two Management Information Bases (MIBs) were introduced in Cisco CallManager Release 3.0 to permit the export of data as well as to support server advertisement and discovery. Both MIBs are extension agents and are independent of each other to facilitate future applications and functionality:
CISCO-CCM-MIB This MIB exports data from the Cisco CallManager database and other data sources. Examples of the exported data include Cisco CallManager group tables, region tables, time zone group tables, device pool tables, phone detail tables, gateway information tables and status traps, CDR host log table, performance counters, and so on.
CISCO-CDP-MIB This MIB uses Cisco Discovery Protocol (CDP) to enable CiscoWorks2000 to discover the Cisco CallManager server and to retrieve information from variables such as the interface table, deviceID, and so on. This is a limited implementation of the MIB and is essentially a subset of the CDP MIB related to advertisement (that is, the tell side of the MIB). More detailed information on the CDP MIB is available on Cisco Connection Online (CCO) at
http://www.cisco.com/univercd/cc/td/doc/product/fhubs/fh300mib/mibcdp.htm
11-3
Network Management
event traces. Cisco CallManager and CiscoWorks2000 provide this functionality for unified message logging, display, and management. The following are the two main components to the system logging mechanism:
Syslog Collector, which resides on Cisco CallManager Syslog Receiver (The CiscoWorks2000 server can also function as a receiver, as described in the Syslog Administrative Interface section on page 11-6.)
Syslog Collector
A Syslog Analyzer Collector (SAC) program runs as a Windows NT service on the Cisco CallManager server or any processing node in the network. The SAC program uses a configuration (.ini) file to set the environment variables such as the CiscoWorks2000 hostname and other parameters. This configuration file, SAenvProperties.ini, and its directory path are specified in the Windows NT registry, and the Cisco CallManager installation program sets their values. During startup time, the SAC tries to check in with the CiscoWorks2000 server to get some configuration and message filter information using a Common Object Request Broker Architecture (CORBA) method call. Then, it sends an initialization message that consists of the SAC hostname, the name of the syslog file, and other information for CiscoWorks2000 to keep track of it. During normal operation, SAC reads messages from User Datagram Protocol (UDP) port 514. When it receives new messages, SAC processes the messages (for example, by performing filtering and time zone conversions) and then sends them to the CiscoWorks2000 server for storage and analysis. SAC also sends a status or statistic message periodically to the CiscoWorks2000 server. Figure 11-1 illustrates the interoperability of CiscoWorks2000 and Cisco CallManager.
11-4
78-11103-03
Chapter 11
Figure 11-1 Syslog Architecture for the Interoperability of Cisco CallManager and CiscoWorks2000
CiscoWorks 2000
Syslog Receiver
CORBA
Syslog Collector
Application UDP
SAenvProperties.ini
Database
Syslog.log
Application
Report
Syslog Daemon
UDP
During installation of Cisco CallManager, the installation program normally prompts you to enter CiscoWorks2000 server information (for example, hostname or IP address). You can skip this step during installation and add the information later by modifying the contents of the file SAenvProperties.ini, located in \Program Files\Cisco\Bin. Set the SAC_SERVER and BINDNAME to the CiscoWorks2000 server. The contents of the SAenvProperties.ini file are as follows:
FILE= /var/log/syslog_info SAC_PORT = 514 SAC_SERVER=<your_server_hostname .your_domain> SAC_SERVER_PORT = 42342 VERSION = 1.1 BINDNAME =<your_server_hostname>::SaReceiver DEBUG_LEVEL=4 SA_APP_NAME=SyslogAnalyser
11-5
Network Management
11-6
78-11103-03
Chapter 11
Options also exist to enable the debug trace messages and to configure the Syslog server name. You should enable the debug trace message option only when there is little activity in the system. This method avoids putting excessive traffic on the network and lessens the burden on the system. You can send the debug trace messages to the Windows 2000 EventLog, to a local file, to the Syslog server, or to all three. Enter the Syslog server name only when using a syslog daemon other than the CiscoWorks2000 SAC as the Syslog server. Otherwise, leave the Syslog server name blank, and it will default to the local host name.
11-7
Network Management
11-8
78-11103-03
Chapter 11
Each application suite in the common web-based interface takes advantage of a common database. CiscoWorks2000 can run on either Windows NT or a Sun Solaris platform. Table 11-2 describes the respective components needed to complete the product suite for Cisco AVVID network management.
Table 11-2 Components of CiscoWorks2000 Product Suite
CiscoWorks2000 Components Common Management Framework Release 1.1.1 (CD-ROM One, edition 3)
Description and Function Serves as baseline web application for all components, single GUI manager for other CiscoWorks2000 components, and central database. This component is part of the LAN Management Solution (LMS) bundle. Provides various functionality such as discovery and topology map, central point for host management (console), user tracking, and path analysis. Maintains the managed device inventory, configuration management, and system logging repository and analysis.
Campus Manager Release 3.0.1 P1 (included with Voice update) Resource Manager Essentials Release 3.2 (included with Voice update)
As mentioned, the CiscoWorks2000 architecture consists of a Common Management Framework (CMF) with a web-based desktop as a single point of management. An additional component, the asynchronous network interface (ANI), provides data collection services using Simple Network Management Protocol (SNMP), Cisco Discovery Protocol (CDP), and Interim Local Management Interface (ILMI) tables. Figure 11-4 illustrates this architecture.
11-9
Network Management
Desktop
Discovery of the network occurs when you provide a seed device, preferably a router or a switch, through which the ANI can discover the network by reading its neighbors CDP cache tables and SNMP variables, and can build a network topology map accordingly. The CMF also provides granular security, process control, and device information retrieval via SNMP. It uses CDP and the Cisco CallManager Management Information Bases to discover the Cisco CallManagers on the network and to retrieve and store their appropriate data tables.
11-10
78-11103-03
Chapter 11
Campus Manager
The ANI discovery process added the support for voice components of the Cisco AVVID network in Common Management Framework (CMF) Release 1.1.1. This CMF release supports the following voice devices and functions:
Cisco CallManager Cisco CallManager Release 3.0 (and later) contains the CDP driver, and it supports partial CDP MIB and SNMP. This is the tell side of CDP, so it is always an edge device, and it displays as a Cisco CallManager icon in the topology map.
Cisco IOS voice gateways The voice gateways are discovered in the same way as regular routers.
Cisco IP Phones (models 7960, 7940, and 7910) Cisco IP Phones contain the tell side of the CDP driver, but they do not support SNMP.
VLAN management This feature provides tools for graphical VLAN configuration and logical topology mapping.
End-station mobility and tracking This feature provides tools for mobile user and dynamic VLAN tracking and configuration.
Trace path analysis This feature traces Layer 2 and Layer 3 paths between two devices or end stations using IP address or directory number.
Because there are usually many Cisco IP Phones installed on a network, the ANI must handle the discovery of Cisco IP Phones separately to avoid overcrowding the network topology map. For this reason, CMF Release 1.1.1 ignores the CDP cache entries of the Cisco IP Phones in the neighboring switches and does not create any device objects for them; hence, daisy-chained IP phones are not discovered. The Cisco IP Phones are treated as end user devices and are discovered through User Tracking discovery, as described in the next section.
11-11
Network Management
User Tracking
User Tracking (UT), a service module of the Campus Manager and ANI, specifically discovers end user nodes such as systems, Cisco CallManager hosts, Cisco IP Phones, and non-CDP systems as well. User Tracking performs an initial discovery of all hosts in the topology map and a subsequent discovery to maintain the user tracking table. You can specify a time limit for this subsequent discovery, and the default is 1 hour. The initial UT discovery performs the following steps to generate a phone table:
1.
UT reads the Content Addressable Memory (CAM) and Address Resolution Protocol (ARP) table of the switches and routers that have already been discovered by ANI and recorded in the topology map. Based on information from CAM and ARP queries, UT generates an end-user table with device and port information. If the end user is a Cisco IP Phone, UT performs the following steps:
It reads the phone entry from the CCM hosts, using the management
2.
Figure 11-5.
For older models of Cisco IP Phones (Cisco IP Phone models 12 SP+ and
30 VIP), UT uses the CCM-MIB to query Cisco CallManager, and it builds the phone table based on the device and port information gathered from the initial discovery.
Note
For non-Cisco IP phones, query is made to Cisco CallManager via SNMP, and the returned information is cross-referenced with information obtained from standard queries made to switches to get MAC addresses and switch ports (query of CAM table) and from queries made to routers to map IP addresses to MAC addresses (query of ARP cache).
11-12
78-11103-03
Chapter 11
11-13
Network Management
Figure 11-6 shows an example trace path analysis, with Layer 2 and Layer 3 devices displayed.
Figure 11-6 Example Trace Path Analysis
Details of CDRs returned for matched criteria. Specify calling or called number, or time period for voice traces. Search performed on CDRs and all Cisco CallManagers.
11-14
49980
78-11103-03
Chapter 11
11-15
Network Management
Count of devices connected to and disconnected from the Cisco CallManager host. Cisco CallManager hosts known to a particular Cisco CallManager System information via the sysDescr and sysObjectID.
RME also supports report of Multi-Service Port Report (MSP). Essentially, RME evaluates, and the MSP report displays, all the managed Catalyst 4000 and 6000 switches that have inline power modules installed as well as their available ports for IP phone deployment.
Any devices that support MIB II SNMP variables can be added to the device list of the CiscoWorks2000 configuration, and they are considered as managed devices. The Syslog messages from these managed devices are collected in the
Cisco IP Telephony Network Design Guide
11-16
49981
78-11103-03
Chapter 11
Syslog Standard Report. On the other hand, the Syslog messages from the unmanaged devices all go to the Unexpected Device Report. Figure 11-8 shows the administrative user interface for the Standard Report.
Figure 11-8 Standard Report in CiscoWorks2000
You can also use the administrative interface of CiscoWorks2000 to define custom reports such as user URL, automated action, and message filters (as shown in Figure 11-9). These features of the Syslog Analyzer and the administrative interface were updated in RME Release 3.1 to support Cisco CallManager and its suite of voice applications.
11-17
Network Management
In the Syslog Analyzer Collector (SAC) process, before the message is sent to the network In the CiscoWorks2000 server, where the administrator can define a custom report
Note
If you set the Syslog filters on the CiscoWorks2000 server, all defined Syslog messages are sent to the server, thus creating erroneous network traffic. Cisco recommends that you use the SAC to create filters prior to sending them to a Syslog server. The filtering mechanism allows you to define filters that are based on the source, the facility code, the subfacility codes, severity levels, mnemonic codes, or patterns in the message. Figure 11-9 shows an example of defining a message filter in the CiscoWorks2000 administrative interface.
11-18
78-11103-03
Chapter 11
Alarms
The Syslog Analyzer in CiscoWorks2000 has a web-based administrative interface to define an automatic action for a set of events or Syslog messages from particular devices. In future releases of CiscoWorks2000, this feature will be enhanced further to generate alarms or traps. Currently, the Syslog Analyzer can be used for event notification via either writing to a log file or generating an e-mail message. Cisco recommends that you configure the appropriate e-mail destination, whether that be to some e-mail receiver that can generate a page or to some Network Operation Center (NOC) alert e-mail alias. From an operational perspective, there would be a clear advantage to having event notification e-mails sent to an e-mail capable pager or cellular phone.
11-19
Network Management
11-20
78-11103-03
L O S S A R Y
AB
ACF ACL ADPCM AMIS-A ANI ARQ ASIC AVVID BRI
admission confirm access control list adaptive differential pulse code modulation Audio Messaging Interchange Specification Analog automatic number identification admission request application-specific integrated circuit See Cisco AVVID. Basic Rate Interface. See also PRI.
C
CAC CAS CBWFQ CDP CIR
call admission control channel associated signaling class based weighted fair queuing Cisco Discovery Protocol committed information rate
Glossary
Cisco Architecture for Voice, Video, and Integrated Data calling line ID central office coder-decoder class of service customer premises equipment. compressed Real-time Transport Protocol
D
DDI DHCP DID DN DNIS DSCP DSP DTMF
direct dial inward Dynamic Host Configuration Protocol direct inward dial directory number dialed number identification service differentiated services code point digital signal processor dual tone multifrequency
EF
E1
Wide-area digital transmission scheme. E1 is the European equivalent of a T1 line. recEive and transMit (or Ear and Mouth)
E&M
78-11103-03
Glossary
Enhanced Interior Gateway Routing Protocol forward-busy first-in, first-out forward-no-answer foreign exchange office foreign exchange station
GH
GK GW H.323 RAS HSRP
gatekeeper gateway Registration, Admission, and Status Hot Standby Routing Protocol
IL
IETF IMAP ISDN ITU-T IVR JTAPI LBR
Internet Engineering Task Force Internet Message Access Protocol Integrated Services Digital Network Telecommunication standardization sector of ITU integrated voice response Java Telephony API. See also TAPI. low bit rate
Glossary
liquid crystal display Lightweight Directory Access Protocol link fragmentation and interleaving low latency queuing
M
MCM MCS MGCP MIME MLPPP MTP MWI
Multimedia Conference Manager media convergence server Media Gateway Control Protocol Multipurpose Internet Mail Extension Multilink Point-to-Point Protocol media termination point message waiting indicator
NQ
NIC OSPF PBX PCM PFC PGP
network interface card Open Shortest Path First Private Branch Exchange pulse code modulation Policy Feature Card Pretty Good Privacy
78-11103-03
Glossary
plain old telephone service priority queueing Primary Rate Interface public switched telephone network port VLAN ID quality of service
R
RAS route list RRQ RSVP RTP
Registration, Admission, and Status protocol Replaces route point in CallManager 3.0. registration request Resource Reservation Protocol Real-time Transport Protocol
S
SA/DA Skinny Station Protocol SMDI SMTP SNMP
sending address/destination address A Cisco protocol using low bandwidth messages that communicate between IP devices and the Cisco CallManager. Simplified Message Desk Interface (or Station Message Desk Interface) Simple Mail Transfer Protocol Simple Network Management Protocol
Glossary
TU
TAPI TDM TFTP ToS UPS
Telephony Application Programming Interface. See also JTAPI. time division multiplexing Trivial File Transfer Protocol type of service uninterruptible power supply
V
VAD VIC VLAN VoIP VPIM VVID
voice activity detection voice interface card virtual LAN voice over IP voice profile for Internet messaging voice VLAN ID
WZ
WRED WRR
78-11103-03
I
for QoS 8-11 gatekeeper 3-15, 6-8, 6-15 additional information xvii addresses 2-21, 2-26 admission control 3-15, 3-18, 6-3 for centralized call processing 7-3 for QoS 8-11 gatekeeper 3-15, 6-8, 6-15 locations 3-18, 7-4 alarms 11-19 ANI 11-8 assistance with Cisco products xix locations 3-18, 7-4
N D E X
Call Detail Record (CDR) 11-1 called party transformation 5-9 calling party transformation 5-9 calling search space 5-14, 5-15 campus infrastructure 2-1 Campus Manager 11-11 Catalyst switches 9-1 4000 family 9-13 6000 family 2-34, 9-15 conferencing services 9-4 transcoding services 9-7 CDP 2-22, 11-1 CDR 11-1 centralized call processing 1-10, 3-18, 7-1 Cisco.com xix Cisco CallManager clusters 3-1 Cisco Discovery Protocol (CDP) 2-22, 11-1 CiscoWorks2000 11-1, 11-8, 11-13 Asynchronous Network Interface (ANI) 11-8 Campus Manager 11-11 Common Management Framework (CMF) 11-8
B
bandwidth in distributed systems 6-28 per call 3-15 provisioning for WAN 8-4 best practices for QoS 8-10
C
call admission control 3-15, 3-18, 6-3 for centralized call processing 7-3
Index
Resource Manager Essentials (RME) 11-15 User Tracking (UT) 11-12 class of service (CoS) 2-28 clusters 3-1 communication between 3-14 communication within 3-5 for centralized systems 7-8 guidelines 3-12 in distributed systems 6-30 provisioning 3-14 size of 3-1 with centralized call processing 3-18 with distributed call processing 3-15 CMF 11-8 comments on this guide xix Common Object Request Broker Architecture (CORBA) 11-4 communication between clusters 3-14 within a cluster 3-5 composite model 1-1 compression of voice stream 9-7 conferencing 9-4 connections IP phone 2-9 PC 2-9 to the network 2-25 consumption of resources 3-3 conventions used in this guide xv
D
database publisher 3-1, 3-5 subscriber 3-5 default power allocation 2-14 design goals 1-1 device pools 3-9 devices in route group 5-8 pools 3-9 sessions 3-3 weight of 3-1, 3-3 device weights 3-1, 3-3 DHCP 2-21 dial plan 5-1 calling search space 5-14 for centralized systems 7-5 for distributed systems 6-15 guidelines 5-18 individual site 5-19 multiple sites 5-21 partitions 5-14 restrictions 6-28 dial string 5-10 Digital PBX Adapter (DPA) 10-20
78-11103-03
Index
digital signal processor (DSP) 9-1 digit translation 5-9 distributed call processing 1-7, 3-15, 6-1 documentation CD-ROM xviii obtaining xviii ordering from Cisco xviii World Wide Web xviii your feedback xix DPA 7630 10-20 described 10-20 integration modes 10-22 DSP 9-1 for centralized systems 7-10 for distributed systems 6-30 DTMF Relay gateway support 4-3 supported in IOS H.323 gateways 4-4 supported in MGCP gateways 4-4 supported in Skinny gateways 4-4 dual supervisors 2-16 Dynamic Host Configuration Protocol (DHCP) 2-21
F
features required for gateway selection 4-1 feature transparency 3-21
G
gatekeeper 3-15, 6-8, 6-15, 6-19 gateways 4-1 list of 4-2 required features 4-1 site requirements 4-9 supported protocols 4-2 supported site requirements 4-11 goals 1-1 groups for redundancy 3-6
H
H.323 used in VoIP gateways 4-2 help with Cisco products xix high availability 2-7
E
error messages for inline power 2-16 Ethernet 2-5 external patch panel 2-17
I
independent call processing 1-5 infrastructure 2-1 inline power 2-10 integration modes 10-22
Index
intercluster communication 3-14 interface queuing 8-2 intracluster communication 3-5 IP addresses 2-21, 2-26 IP phones 2-25 addresses 2-21, 2-26 external power supply 2-17 internals 2-5 power consumption 2-15 power to 2-10 wall power 2-20 IP telephony design goals 1-1 network models 1-3
MIB 11-2 migration to IP telephony network 10-1 MTP 9-7 multisite 1-5 with centralized call processing 1-10, 7-1 with distributed call processing 1-7, 6-1 with independent call processing 1-5
N
network design 1-1 composite model 1-1 infrastructure 2-5 models 1-1 multiple sites with centralized call processing 1-10
L
LAN infrastructure 2-1 legacy systems 10-1 link efficiency techniques 8-7 locations 3-18, 7-4
multiple sites with distributed call processing 1-7 multiple sites with independent call processing 1-5 single site 1-3 topology 1-1 network management 11-1 notational conventions xv
M
Management Information Base (MIB) 11-2 mask for digit translation 5-9 Media Gateway Control Protocol (MGCP) 4-2 media termination point (MTP) 9-7 MGCP 4-2
O
off-net route pattern 5-12 on-net route pattern 5-11
78-11103-03
Index
P
partitions 5-14, 5-15 PBX migration 10-1 physical connections 2-9 power consumption 2-15 default allocation 2-14 error messages 2-16 external patch panel 2-17 for IP phones 2-10 from Catalyst module 2-10 inline 2-10 ports 2-17 protection 2-4, 2-16 recommendations 2-20 status 2-14 uninterruptible supply 2-4 wall outlet 2-20 protection for power 2-4 protocols CDP 2-22 DHCP 2-21 for PBX and voice messaging 10-2 H.323 4-2 Media Gateway Control Protocol 4-2 Skinny Gateway Protocol 4-2 supported in VoIP gateways 4-2
Q
QoS 2-28, 2-33, 8-1 quality of service (QoS) 2-28 queuing 8-2
R
redundancy 2-7, 3-6 supported in IOS H.323 gateways 4-5 supported in MGCP gateway 4-6 supported in Skinny gateways 4-5 support for gateways 4-5 Remote Serviceability 11-1 reports for network management 11-16 resource consumption 3-3 restrictions on dialing 6-28 revision history xiv RME 11-15 route group 5-1, 5-7 route list 5-1, 5-7 route pattern 5-1, 5-6 off-net 5-12 on-net 5-11 routing calls through a gatekeeper 6-19
Index
S
SAC 11-4 SAenvProperties.ini file 11-4 servers per cluster 1-5 TFTP 3-1 service class 2-28 quality 2-28 type 2-28 sessions 3-3 Simple Network Management Protocol (SNMP) 11-2 Simplified Message Desk Interface (SMDI) 10-21 single site 1-3 site requirements for gateway selection 4-9 Skinny Gateway Protocol 4-2 SMDI 10-21 SNMP 11-2 subscriber of the database 3-5 supplementary services 4-7 supported in IOS H.323 gateways 4-8 supported in MGCP gateways 4-9 supported in Skinny gateways 4-7 support for in gateways 4-7 Syslog administrative interface 11-6 alarms 11-19
Analyzer Collector (SAC) 11-4 Collector 11-1, 11-4 components 11-3 log management 11-16 message filtering 11-18 Receiver 11-3 reports 11-16
T
TAC xix, xx technical assistance xix TFTP server 3-1 tools for QoS 8-5 ToS 2-28 trace path analysis 11-13 traffic classification 2-28, 2-30, 2-34, 8-2 prioritization 8-5 shaping 8-9 transcoding 9-7 transformation of digits 5-9 translation of digits 5-9 transparency of features 3-21 trust boundaries 2-29 type of service (ToS) 2-28
78-11103-03
Index
U
UDP 11-4 uninterrruptible power supply (UPS) 2-4 UPS 2-4 User Datagram Protocol (UDP) 11-4 User Tracking (UT) 11-12 UT 11-12
V
VLAN 2-22, 2-23, 2-24 voice compression 9-7 voice messaging for centralized systems 7-12 for distributed systems 6-32 migration to IP network 10-1 Voice VLAN ID (VVID) 2-22 VVID 2-22
W
wall power 2-20 WAN bandwidth provisioning 8-4 multisite with centralized call processing 7-1 multisite with distributed call processing 6-1 QoS 8-1
Index
78-11103-03