![]() |
Using QoS Policy Manager 2.1
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring QoS for IP Telephony
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsConfiguring QoS for IP TelephonyUnderstanding QoS for IP Telephony
Working with the QPM IP Telephony Templates QPM IP Telephony Template Reference IP Phone Ports
SoftPhone Ports CallManager and Voice Gateway Ready Ports Uplink Ports (from Access to Distribution or Core) Downlink Ports (from Distribution or Core to Access Layer Catalyst 6000) Downlink Ports (from Distribution or Core to Access Layer Catalyst 3500 or Catalyst 4000) Interface from Distribution or Core Switch to WAN Router Per Device Scheduling Point-to-Point WAN Interfaces Frame Relay WAN Interfaces ATM WAN Links Interface from Branch Office Router to Layer 2 Switch Configuring QoS for IP TelephonyQPM includes a predefined database for IP telephony QoS. These topics describe how to configure QoS for IP telephony in an AVVID (Architecture for voice, video, and integrated data) network using the QPM templates:
Understanding QoS for IP TelephonyIn order to support an AVVID network, you need to maintain end-to-end Quality of Service for IP telephony traffic. Voice quality is directly affected by packet loss, packet delay and delay variation. Packet loss causes voice clippings and skips. Packet delay can cause either voice quality degradation due to the end-to-end voice latency, or packet loss if the delay is variable. Because network congestion can occur at any time in any portion of the networkcampus, branch office, or WANyou must ensure end-to-end network quality for voice traffic. End-to-end QoS configuration improves voice quality on AVVID networks by decreasing dropped voice packets during times of network congestion and by minimizing both the fixed and variable delays encountered in a given voice connection. Figure 9-1 shows a typical IP telephony network model. Figure 9-1: IP Telephony Network Model
Table 9-1 lists the network points that require QoS configuration for IP telephony. Table 9-1: Network Points Requiring QoS Configuration
QPM supports the QoS methods required to configure IP telephony QoS for:
To simplify the tasks of configuring QoS for IP telephony throughout the enterprise, QPM includes templates that contain predefined policies for each point in the IP telephony network. Related TopicsWorking with the QPM IP Telephony TemplatesThe following topics describe the IP Telephony templates and how to use them: Understanding the QPM IP Telephony TemplatesQPM IP Telephony templates allow you to easily implement the end-to-end Quality of Service (QoS) that is required for successful deployment of IP telephony in an enterprise environment. QPM includes a special database that contains a template for each network point that needs QoS configuration for IP telephony, as shown in Figure 9-1. Each template is a predefined device group with a set of QoS properties and policies for all points in the network that need QoS for IP telephony. To implement QoS for IP Telephony, you only need to add devices to the database, then add the appropriate interfaces to the device groups, and deploy the database. Table 9-2 provides a summary of the templates included in the IP telephony database. Table 9-2: IP Telephony QoS Database Templates
Using the QPM IP Telephony TemplatesThis section describes how to configure QoS for IP telephony using the QPM templates:
Create a New IP Telephony DatabaseYou create a new IP telephony database from the predefined IP Telephony Template database that is included with QPM. After you open the QPM IP Telephony database, you must save it with a new name because it is read-only. ProcedureStep 1 The IP_TELEPHONY_TEMPLATE database is displayed in the Tree View of the Policy Manager window. Step 2 Choose File>Save As. The Save Database dialog box opens. Step 3 Enter a name in the Database Name field. Enter a description in the Database Description field. Click OK. Add Devices and Interfaces to IP Telephony DatabaseYou must add or import all the devices and interfaces that require QoS configuration for IP telephony.
For information about adding and importing devices, see the following topics: Add Interfaces to Device GroupsAfter you have added the devices and interfaces to the IP telephony database, you add interfaces to the appropriate predefined device groups. See Table 9-2 for a summary of the device groups in the IP telephony database. For details of the policies and properties in each device group, see QPM IP Telephony Template Reference. For details about how to add interfaces to a device group, see the Procedure. Campus Configuration
Remote Site Configuration
WAN Configuration
ProcedureStep 1 Select the device group to which you want to add interfaces. Step 2 Choose Devices>Device Group>Add/Remove Members. The Add/Remove Members dialog box opens. Step 3 Select the interfaces you want to add from the Available Interfaces list, and click >>. The selected interfaces are added to the Group Members list. Step 4 Click OK. Deploy the Database from the Distribution ManagerAfter you have added all the required interfaces to the relevant device groups, you can deploy the IP telephony database from the Distribution Manager.
ProcedureStep 1 To open the Distribution Manager from the Policy Manager, choose Tools>Distribution Manager. Step 2 Distribute the policies. See "Distributing Policies to Network Devices" for more information. QPM IP Telephony Template ReferenceThe QPM IP telephony templates are based on the Cisco IP Telephony QoS Design Guide. This template reference describes the QoS properties and policies in each of the templates. In general, the CLI commands generated by the templates on deployment are compliant with those defined in the QoS Design Guide. You can preview the CLI commands that will be generated on deployment, using the Devices>View Commands menu option in the Distribution Manager. See Viewing the Configuration Commands for a Device for details. The template reference is organized according to the network points that require QoS configuration for IP telephony:
IP Phone PortsWhen connected by a single cable, the IP phone is the edge of the managed network. An integral part of the Cisco network design architecture has always been the classification, or coloring, of traffic as close to the edge of the network as possible. As such, the IP phone can and should classify traffic flows. By default, Cisco IP phones mark all VoIP traffic with CoS=5 and DSCP=46. However, it is critical to make sure that the PC connected to the access port of the IP phone is not also classifying traffic. The recommended method for ensuring this is to extend the trust boundary of the Ethernet switch to the IP phone and not beyond, meaning the IP phone will re-classify all traffic coming from the PC with CoS=0. The switch port is set to trust the CoS value and copy it to the DSCP field according to the CoS to DSCP mapping table. To overcome a configuration limitation on the line card ASIC, the switch port is also configured to trust the IP phones. VLAN-based QoS configuration is used to trust all CoS classification on the IP phone ports in the voice VLAN. The VLAN-based configuration is deployed to all ports in the VLAN that have been added to QPM. Acc6000=>IP-PhonesThis template is for IP phone ports on Catalyst 6000 switches with CatOS 5.5 and higher. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
AccDist6K-VoiceVLANThis template is for the voice VLAN on Catalyst 6000 switches with CatOS 5.5 and higher. This template is required to configure specific policies because the QoS style on the IP phone ports is set to VLAN based, which means that only the VLAN-based policies (not the individual port's policies) will be deployed to the ports on the VLAN. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Acc3500=>IP-PhonesThis template is for IP phone ports on Catalyst 3500XL and 2900XL switches with IOS 12.0E and higher. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
SoftPhone PortsThe Cisco SoftPhone application marks voice traffic only at the Layer 3 IP header. This means that the access switch to which it is connected must be Layer 3 aware in order to prioritize voice traffic before the first uplink to the distribution layer. This limits the choice of wiring closet switches with multiple queues to the Catalyst 6000 with a PFC installed. Acc6000=>SoftPhonesThis template is for SoftPhone ports on Catalyst 6000 switches with CatOS 5.5 and higher, and with a PFC installed. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
CallManager and Voice Gateway Ready PortsIn networks with high traffic loads, timely transmission of control traffic is critical to ensure a positive user experience with VoIP, for example, maintaining Delay to Dial-Tone (DTT) time at acceptable levels. When a Cisco IP Phone goes off hook, it uses Skinny Station Protocol to communicate with Cisco CallManager. Cisco CallManager then instructs the Cisco IP Phone to play dial-tone. If this Skinny Client Protocol management and control traffic is dropped or delayed within the network, the user experience is adversely affected. This same logic applies to all signaling traffic for gateways and phones. To ensure that this control and management traffic is marked as important (but not as important as the actual RTP stream), Access Control Lists (ACLs) are used to classify these streams on Catalyst 6000 switches that are enabled for Layer 3 and Layer 4. Acc6000=>VoIPControlThis template is for CallManager and Voice Gateway ready ports on Catalyst 6000 switches with CatOS 5.5 and higher. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Uplink Ports (from Access to Distribution or Core)After QoS configuration of the access interfaces, QoS must be configured throughout the LAN. These templates are for uplink ports on a Catalyst 6000 access switch to the distribution or core switch. Acc6000_GE=>DistThis template is for access ports on a Catalyst 6000 with CatOS 5.5 and higher, and with a PFC installed. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Downlink Ports (from Distribution or Core to Access Layer Catalyst 6000)These templates are for downlink ports on a Catalyst 6000 distribution or core switch to the access layer Catalyst 6000 switch with a PFC installed. Because classification is set on the access switch, a switch can trust traffic from a neighboring switch. The level of trust depends on the neighboring switch's capabilities. For switches with layer 3 capabilities, trust layer 3 is sufficient. Dist=>Acc6K-PFCThis template is for distribution or core switch ports on a Catalyst 6000 with CatOS 5.5 and higher, and with a PFC installed. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Dist(IOS)=>6K-PFCThis template is for distribution or core switch ports on a Catalyst 6000 with Supervisor IOS 12.1(6)E. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Downlink Ports (from Distribution or Core to Access Layer Catalyst 3500 or Catalyst 4000)These templates are for downlink ports on a Catalyst 6000 distribution or core switch to Layer 2 QoS-aware access switches, such as Catalyst 3500 or Catalyst 4000. Because classification is set on the access switch, a switch can trust traffic from a neighboring switch. The level of trust depends on the neighboring switch's capabilities. For switches with layer 2 capabilities, trust of layer 2 is required with the addition of layer 3 and 4 classification statements. Dist=>AccNon6KPFCThis template is for distribution or core switch ports on a Catalyst 6000 with CatOS 5.5 and higher, and with a PFC installed. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Dist(IOS)=>Non6KPFCThis template is for distribution or core switch ports on a Catalyst 6000 with Supervisor IOS 12.1(6)E. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Dist(IOS)-VoiceVLANThis template is for the voice VLAN on Catalyst switches with Supervisor IOS 12.1(6)E. This template is required to configure specific policies because the QoS style on the ports is set to VLAN based. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Interface from Distribution or Core Switch to WAN RouterThese templates are for the interfaces from the distribution and core switches to the WAN router. Dist=>RouterWANThis template is for the ethernet interfaces to the WAN router from a Catalyst 6000 with CatOS 5.5 or higher. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Dist_GE=>RouterWANThis template is for the gigabit ethernet interfaces to the WAN router from a Catalyst 6000 with CatOS 5.5 or higher. The following device group properties are configured for this template:
The following QoS policies are configured for this template:
Dist(IOS)=>RouterWANThe following device group properties are configured for this template:
The following QoS policies are configured for this template:
Per Device SchedulingCatalyst 6000The following QoS properties are set for the Catalyst 6000:
Catalyst 6000 with Supervisor IOSThe following QoS properties are set for the Catalyst 6000 with Supervisor IOS.
Point-to-Point WAN InterfacesLink speed in the WAN is much slower than in the LAN, therefore QoS configuration for WAN links is most important to prevent delay. The templates for Point-to-Point (PPP) and Multilink PPP (MLP) WAN interfaces use the following QoS techniques:
WAN-MLP-Slow(<=768k)This template is for low-speed Multilink PPP (MLP) WAN links (<= 768kbs) running IOS 12.1(3)T and later. The following QoS properties are set:
The following QoS policies are configured for this template:
WAN-MLP-High(>768k)This template is for high-speed Multilink PPP (MLP) WAN links (> 768kbs) running IOS 12.1(3)T and later. It uses the same QoS techniques as in the low-speed point-to-point template, but without LFI. The following QoS properties are set:
The following QoS policies are configured for this template:
WAN-PPP-High(>768k)This template is for high-speed PPP WAN links without Multilink (> 768kbs) running IOS 12.1(3)T and later. It uses the same configuration as for the WAN-MLP-High(>768k) template except for the interface type, which is defined as propPointToPointSerial. Frame Relay WAN InterfacesThe templates for Frame Relay WAN interfaces use the following QoS techniques:
WAN-FR-InterfaceThis template is for a main, Frame Relay interface that has DLCI interfaces for voice traffic, running IOS 12.1(3)T and later. (There are separate templates for the DLCI subinterfaces.) The following QoS properties are set:
Low-Speed Frame Relay LinksThis set of templates is for low-speed Frame Relay subinterfaces. The QoS configuration for these subinterfaces use FRTS with CIR, and because a different configuration is required for each speed, there are five templates: WAN-FR-64K-DLCI, WAN-FR-128K-DLCI, WAN-FR-256K-DLCI, WAN-FR-512K-DLCI and WAN-FR-768K-DLCI. When you use these templates, you should also use the WAN-FR-Interface described in WAN-FR-Interface for the main interfaces. The following information is for the WAN-FR-256K-DLCI template. The following QoS properties are set:
The following QoS policies are configured for this template:
WAN-FR-1.5M-DLCIThis template is for high-speed (> 768kbs) Frame Relay subinterfaces running IOS 12.1(3)T and later. It uses the same QoS techniques as in the low-speed Frame Relay templates, but without FRF. When you use this template, you should also use the WAN-FR-Interface described in WAN-FR-Interface for the main interfaces. The following QoS properties are set:
The following QoS policies are configured for this template:
ATM WAN LinksThis template implements QoS over ATM using one PVC with CBWFQ and LLQ. WAN-ATM-VirtualTemplThis template implements QoS over ATM using a virtual template. The following QoS properties are set:
The following QoS policies are configured for this template:
Interface from Branch Office Router to Layer 2 SwitchThe traditional branch office design for up to 100 users consists of a branch router and an Ethernet switch. The router handles all IP routing and WAN connectivity. RouterWAN=>Non6KPFCThis template is for the interfaces on a router running IOS 12.2 or higher, to a layer 2 switch. The following QoS properties are set:
The following QoS policies are configured for this template:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|