QoS: Child Service Policy for Priority Class

Similar documents
QoS: Child Service Policy for Priority Class

QoS Child Service Policy for Priority Class

EVC Quality of Service

EVC Quality of Service

EVC Quality of Service

Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images

Configurable Queue Depth

Packet Classification Using the Frame Relay DLCI Number

BGP Policy Accounting Output Interface Accounting

Logging to Local Nonvolatile Storage (ATA Disk)

Classifying Network Traffic

QoS: Classification, Policing, and Marking on LAC Configuration Guide, Cisco IOS Release 12.4T

Encrypted Vendor-Specific Attributes

Applying QoS Features Using the MQC

PPPoE Client DDR Idle-Timer

Modular QoS CLI Three-Level Hierarchical Policer

Classifying Network Traffic

Configuring the Physical Subscriber Line for RADIUS Access and Accounting

QoS Tunnel Marking for GRE Tunnels

Multi-Level Priority Queues

Frame Relay Queueing and Fragmentation at the Interface

QoS: Per-Session Shaping and Queuing on LNS

Prioritizing Services

QoS: Color-Aware Policer

Using Multilink PPP over Frame Relay

WRED-Explicit Congestion Notification

Using NetFlow Sampling to Select the Network Traffic to Track

MPLS LDP Autoconfiguration

IGMP Static Group Range Support

CPU Thresholding Notification

Ethernet Overhead Accounting

QoS: Regulating Packet Flow Configuration Guide, Cisco IOS Release 15S

Defining QoS for Multiple Policy Levels

Port-Level Shaping and Minimum Bandwidth Guarantee

Providing Connectivity Using ATM Routed Bridge Encapsulation over PVCs

Sun RPC ALG Support for Firewall and NAT

Providing Connectivity Using ATM Routed Bridge Encapsulation over PVCs

ATM Hierarchical Shaping ATM VC into VP Shaping, page 1

Configuring Class-Based RTP and TCP Header Compression

Classifying and Marking MPLS EXP

Configuring RADIUS-Based Policing

RADIUS Route Download

Using Multilink PPP over ATM Links

Contextual Configuration Diff Utility

BGP Event-Based VPN Import

Configuring TCP Header Compression

Netflow v9 for IPv6. Finding Feature Information. Prerequisites for Netflow v9 for IPv6. Information About Netflow v9 for IPv6

Nested Class Map Support for Zone-Based Policy Firewall

Regulating Packet Flow on a Per-Interface Basis Using Generic Traffic Shaping

To use DNS, you must have a DNS name server on your network.

QoS: Time-Based Thresholds for WRED and Queue Limit

Local Template-Based ATM PVC Provisioning

QoS: Match on ATM CLP

Multicast Subsecond Convergence

Configuring Priority Queueing

QoS: Hierarchical Queueing Framework Configuration Guide, Cisco IOS Release 15M&T

RADIUS Packet of Disconnect

802.1P CoS Bit Set for PPP and PPPoE Control Frames

AToM Graceful Restart

IP Source Tracker. Finding Feature Information. Restrictions for IP Source Tracker. Last Updated: January 18, 2012

Configuring Data Export for Flexible NetFlow with Flow Exporters

RSVP Interface-Based Receiver Proxy

Using NetFlow Filtering or Sampling to Select the Network Traffic to Track

Configuring Data Export for Flexible NetFlow with Flow Exporters

Implementing Multicast Service Reflection

Multicast Subsecond Convergence

Port-Shaper and LLQ in the Presence of EFPs

Using Cisco Discovery Protocol

MPLS VPN--Show Running VRF

Configuring Cisco IOS IP SLAs DNS Operations

Configuring IP Multicast over Unidirectional Links

QoS Packet-Matching Statistics Configuration

QoS: Policing and Shaping Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series)

Per-Session QoS. Finding Feature Information

Configuring Weighted Fair Queueing

Low Latency Queueing with Priority Percentage Support

RSVP Support for RTP Header Compression, Phase 1

Byte-Based Weighted Random Early Detection

Using Flexible NetFlow Top N Talkers to Analyze Network Traffic

Configuring Scalable Hub-and-Spoke MPLS VPNs

QoS Group Match and Set for Classification and Marking

Flexible Packet Matching XML Configuration

Per-Flow Admission. Finding Feature Information. Prerequisites for Per-Flow Admission

BECN and FECN Marking for Frame Relay over MPLS

Configuring an Intermediate IP Multicast Helper Between Broadcast-Only Networks

SIP RFC 2782 Compliance with DNS SRV Queries

Expires Timer Reset on Receiving or Sending SIP 183 Message

Flexible Packet Matching XML Configuration

Configuring Template ACLs

BGP Next Hop Unchanged

Marking Network Traffic

Object Groups for ACLs

MQC Hierarchical Queuing with 3 Level Scheduler

Flexible NetFlow Full Flow support

Implementing Traffic Filters for IPv6 Security

Logging to Local Nonvolatile Storage (ATA Disk)

Multicast only Fast Re-Route

Per-Flow Admission. Finding Feature Information. Prerequisites for Per-Flow Admission

Configuring RTP Header Compression

Configuring System MTU

Transcription:

QoS: Child Service Policy for Priority Class First Published: November, 2006 Last Updated: March 2, 2009 The QoS: Child Service Policy for Priority Class feature allows you to configure a child service policy with nonqueueing-based features and attach the child policy to a class. Finding Feature Information For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, Feature Information for QoS: Child Service Policy for Priority Class section on page 11. Use Cisco Feature Navigator to find information about platform support and Cisco IOS XE Software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required. Contents Prerequisites for QoS Child Service Policy for Priority Class, page 2 Restrictions for QoS Child Service Policy for Priority Class, page 2 Information About QoS Child Service Policy for Priority Class, page 2 How to Configure a Child Policy Under a Parent Priority Class, page 3 Configuration Examples for Configuring a Child Policy Under a Priority Class, page 7 Additional References, page 9 Feature Information for QoS: Child Service Policy for Priority Class, page 11 Americas Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA

Prerequisites for QoS Child Service Policy for Priority Class QoS: Child Service Policy for Priority Class Prerequisites for QoS Child Service Policy for Priority Class Traffic classes must be configured using the class-map command. Restrictions for QoS Child Service Policy for Priority Class The child policy that you attach to a class must be based on nonqueueing features. For example, if you attempt to do any of the following, an error message displays: Attach queueing-based child policy You cannot attach a child service policy that is based on queueing features to a class. For example, you cannot attach a bandwidth-based child policy to a class with configured. Add queueing features to child policy You cannot add queueing features (such as bandwidth) to a child policy that is already attached to a parent class with configured. Add to parent class If a queueing-based child policy is already attached to a non- class of a parent policy, you cannot then configure the command for the parent class. Information About QoS Child Service Policy for Priority Class To configure QoS child service policies for a class, you should understand the following concepts: QoS Child Service Policy for Priority Class Feature Functionality, page 2 Priority Class of a Parent Policy, page 2 Hierarchical Policies, page 3 QoS Child Service Policy for Priority Class Feature Functionality The QoS Child Service Policy for Priority Class feature allows you to configure a child service policy with nonqueueing-based features and attach the child policy to a class. In a three-level hierarchical policy, the class to which you attach the child policy must be in the middle-level policy. In a two-level hierarchical policy (nested policy), the class to which you attach the child policy is in the parent policy. Previously, you could not attach a child service policy to a class even if the child policy contained nonqueueing-based commands. If you attempted to do so, an error message similar to the following displayed: Please remove before attaching a child policy. Priority Class of a Parent Policy A parent policy contains traffic classes with various queueing and nonqueueing features enabled on the classes. You can give to a traffic class by configuring the command under the class. The router processes the packets belonging to the class before processing non classes. 2

QoS: Child Service Policy for Priority Class How to Configure a Child Policy Under a Parent Priority Class Hierarchical Policies A hierarchical policy is a quality of service (QoS) model that enables you to specify QoS behavior at multiple levels of hierarchy. Depending on the type of hierarchical policy that you configure, you can use hierarchical policies to: Specify multiple policy maps to shape multiple queues together. Apply specific policy map actions on the aggregate traffic. Apply class-specific policy map actions. Restrict the maximum bandwidth of a virtual circuit (VC) while allowing policing and marking of traffic classes within the VC. All hierarchical policy types consist of a top-level parent policy and one or more child policies. The service-policy command is used to apply a policy to another policy, and a policy to an interface or subinterface. How to Configure a Child Policy Under a Parent Priority Class To configure a child policy under a parent class, perform the following configuration tasks: Configuring a Child Policy Under a Priority Class, page 3 Attaching a Hierarchical Service Policy to a Subinterface, page 5 Configuring a Child Policy Under a Priority Class SUMMARY STEPS To configure a child policy under a class, complete the following steps. 1. enable 2. configure terminal 3. policy-map policy-map-name 4. class class-map-name 5. police [cir] bps [bc] burst-normal [be] burst-excess [conform-action action] [exceed-action action] [violate-action action] 6. exit 7. exit 8. policy-map policy-map-name 9. class class-map-name 10. 11. service-policy policy-map-name 12. end 3

How to Configure a Child Policy Under a Parent Priority Class QoS: Child Service Policy for Priority Class DETAILED STEPS Step 1 Step 2 Command or Action enable Router> enable configure terminal Purpose Enables privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Step 4 Step 5 Step 6 Router# configure terminal policy-map policy-map-name Router(config)# policy-map Business class class-map-name Router(config-pmap)# class video police [cir] bps [Bc] burst-normal [be] burst-excess [conform-action action] [exceed-action action] [violate-action action] Router(config-pmap-c)# police 4000000 2000 5000 conform-action transmit exceed-action set-dscp-transmit 5 exit Creates or modifies the child policy and enters policy-map configuration mode. Enter the name of the child policy map. The name can be a maximum of 40 alphanumeric characters. Assigns the traffic class you specify to the policy map, and enters policy-map class configuration mode. Enter the name of the previously configured class map. Configures traffic policing on the basis of the arguments and keywords specified, as described below: cir is the committed information rate. bps specifies the average rate in bits per second (bps). bc is the normal or committed burst (bc) size used by the first token bucket for policing. burst-normal specifies the committed burst size in bytes. be is the excess burst (be) size used by the second token bucket for policing. burst-excess specifies the excess burst in bytes. conform-action action specifies the action to take on packets that conform to the rate limit. exceed-action action specifies the action to take on packets that exceed the rate limit, but not the peak information rate (PIR). violate-action action specifies the action to take on packets that continuously exceed the PIR limit. Exits policy-map class configuration mode. Step 7 Router(config-pmap-c)# exit exit Exits policy-map configuration mode. Router(config-pmap)# exit 4

QoS: Child Service Policy for Priority Class How to Configure a Child Policy Under a Parent Priority Class Step 8 Step 9 Step 10 Command or Action policy-map policy-map-name Router(config-pmap)# policy-map Premium class class-map-name Router(config-pmap)# class Gold Purpose Creates or modifies the top-level parent policy (nested policy), or the middle-level policy (three-level hierarchical policy). Enter the name of the parent policy map or the middle-level policy map. The name can be a maximum of 40 alphanumeric characters. Assigns the traffic class you specify to the policy map. and enters policy-map class configuration mode. Enter the name of the previously configured class map. Assigns to the traffic class. Step 11 Step 12 Router(config-pmap-c)# service-policy policy-map-name Router(config-pmap-c)# service-policy Business end Router(config-pmap-c)# end Applies a child policy to the parent or middle-level class. Enter the name of the previously configured child policy map. Note For three-level hierarchical policies, after applying the child policy to the middle-level class, you must then apply the middle-level policy to the parent policy. (Optional) Exits policy-map class configuration mode and returns to privileged EXEC mode. Attaching a Hierarchical Service Policy to a Subinterface Restrictions SUMMARY STEPS To attach a a hierarchical service policy to a subinterface, complete the following steps. Ingress queueing is not supported. Any service policy (policy map) in which a queueing mechanism has been configured must be attached to the subinterface using the output keyword of the service-policy command. For ATM interfaces, policy maps on the interface or subinterface are not supported. For ATM interfaces, service policies must be attached to the virtual circuit (VC). 1. enable 2. configure terminal 3. interface type slot/module/port.subinterface [point-to-point] 5

How to Configure a Child Policy Under a Parent Priority Class QoS: Child Service Policy for Priority Class 4. service-policy {input output} policy-map-name 5. end DETAILED STEPS Step 1 Step 2 Command or Action enable Router> enable configure terminal Purpose Enables privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Step 4 Step 5 Router# configure terminal interface type slot/module/port.subinterface [point-to-point] Router(config)# interface atm 1/0/2.1 service-policy {input output} policy-map-name Router(config-subif)# service-policy input Premium end Router(config-subif)# end Configures or modifies a subinterface, and enters subinterface configuration mode. Note the following about the keywords and arguments: type is the interface type (for example, ATM). slot/module/port is the slot, module, and port number of the interface card (for example, 1/0/0)..subinterface is the number of the subinterface (for example,.1) Note For ATM interfaces you must attach the service policy to the VC. Applies an hierarchical policy to the subinterface (or VC for ATM interfaces) Enter the name of the parent policy map. Note The input keyword indicates to apply the features in the policy map to inbound packets. The output keyword indicates to apply the features in the policy map to outbound packets. Note Policy maps in which a queueing feature has been configured must be attached using the output keyword. You cannot use the input keyword. (Optional) Exits subinterface configuration mode and returns to privileged EXEC mode. 6

QoS: Child Service Policy for Priority Class Configuration Examples for Configuring a Child Policy Under a Priority Class Configuration Examples for Configuring a Child Policy Under a Priority Class This section provides the following configuration examples: Configuring a Police-Based Child Policy Under a Priority Class: Example, page 7 Attaching a Bandwidth-Based Child Policy to a Priority Class Invalid Configuration: Example, page 7 Attaching Bandwidth to a Child Policy Attached to a Priority Class Invalid Configuration: Example, page 8 Attaching Priority to a Parent Policy with a Queueing-Based Child Policy Invalid Configuration: Example, page 8 Configuring a Police-Based Child Policy Under a Priority Class: Example The following example configuration shows how to configure a child policy with policing enabled and attach it to a class of a parent policy. police 10000 service-policy Child Attaching a Bandwidth-Based Child Policy to a Priority Class Invalid Configuration: Example As shown in the following example configuration, the router does not allow you to attach a bandwidth-based child policy to a class of a parent policy. This is an invalid configuration. bandwidth 100 service-policy Child Please remove before attaching a child policy. show policy-map bandwidth 100 7

Configuration Examples for Configuring a Child Policy Under a Priority Class QoS: Child Service Policy for Priority Class Attaching Bandwidth to a Child Policy Attached to a Priority Class Invalid Configuration: Example As shown in the following example configuration, the router does not allow you to add the bandwidth command to a child policy that is already attached to a class of a parent policy. This is an invalid configuration. police cir 10000 bc 1500 conform-action transmit exceed-action drop service-policy Child bandwidth 10 Cannot configure bandwidth in child policy with in parent show policy-map police cir 10000 bc 1500 conform-action transmit exceed-action drop service-policy Child Attaching Priority to a Parent Policy with a Queueing-Based Child Policy Invalid Configuration: Example As shown in the following example configuration, the router does not allow you to assign to a class of a parent policy when a queueing-based child policy is already attached to the parent class. This is an invalid configuration. bandwidth 10 police cir 10000 bc 1500 conform-action transmit exceed-action drop service-policy Child Cannot configure in parent policy with queueing-related child policy. show policy-map 8

QoS: Child Service Policy for Priority Class Additional References bandwidth 10 police cir 10000 bc 1500 conform-action transmit exceed-action drop service-policy Child Additional References The following sections provide references related to the QoS: Child Service Policy for Priority Class feature. Related Documents Related Topic QoS commands: complete command syntax, command modes, command history, defaults, usage guidelines, and examples Hierarchical policies and policy maps Traffic shaping and traffic policing Document Title Cisco IOS Quality of Service Solutions Command Reference Applying QoS Features Using the MQC module Policing and Shaping Overview module Standards Standard No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. Title MIBs MIB No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified. MIBs Link To locate and download MIBs for selected platforms, Cisco IOS XE Software releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs RFCs RFC No new or modified RFCs are supported, and support for existing RFCs has not been modified. Title 9

Additional References QoS: Child Service Policy for Priority Class Technical Assistance Description The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Link http://www.cisco.com/techsupport 10

QoS: Child Service Policy for Priority Class Feature Information for QoS: Child Service Policy for Priority Class Feature Information for QoS: Child Service Policy for Priority Class Table 1 lists the release history for this feature. Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS XE Software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required. Note Table 1 lists only the Cisco IOS XE Software release that introduced support for a given feature in a given Cisco IOS XE Software release train. Unless noted otherwise, subsequent releases of that Cisco IOS XE Software release train also support that feature. Table 1 Feature Information for QoS: Child Service Policy for Priority Class Feature Name Releases Feature Information QoS: Child Service Policy for Priority Class Cisco IOS XE Release 2.1 This feature was introduced on Cisco ASR 1000 Series Routers. The following sections provide information about this feature: Information About QoS Child Service Policy for Priority Class, page 2 How to Configure a Child Policy Under a Parent Priority Class, page 3 Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. 2006 2009 Cisco Systems, Inc. All rights reserved. 11

Feature Information for QoS: Child Service Policy for Priority Class QoS: Child Service Policy for Priority Class 12