Alcatel-Lucent 7950 Quality Of Service Manual

QUALITY OF SERVICE GUIDE
Alcatel-Lucent 7950
EXTENSIBLE ROUTING SYSTEM | RELEASE 13.0.R1
QUALITY OF SERVICE GUIDE
Alcatel-Lucent – Proprietary & Confidential Contains proprietary/trade secret information which is the property of Alcatel-Lucent. Not to be made available to, or copied or used by anyone who is not an employee of Alcatel-Lucent except when there is a valid non­disclosure agreement in place which covers such information and contains appropriate non-disclosure and limited use obligations. Copyright 2015 © Alcatel-Lucent. All rights reserved.
All specifications, procedures, and information in this document are subject to change and revision at any time without notice. The information contained herein is believed to be accurate as of the date of publication. Alcatel­Lucent provides no warranty, express or implied, regarding its contents. Users are fully responsible for application or use of the documentation.
Alcatel, Lucent, Alcatel-Lucent and the Alcatel-Lucent logo are trademarks of Alcatel-Lucent. All other trademarks are the property of their respective owners.
Copyright 2015 Alcatel-Lucent. All rights reserved.
Disclaimers
Alcatel-Lucent products are intended for commercial uses. Without the appropriate network design engin eering, they must not be sold, licensed or otherwise distributed for use in any hazardous environments requiring fail-safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life-support machines, or weapons systems, in which the failure of products could lead directly to death, personal injury, or severe physical or environmental damage. The customer hereby agrees that the use, sale, license or other distribution of the products for any such application without the prior written consent of Alcatel-Lucent, shall be at the customer's sole risk. The customer hereby agrees to defend and hold Alcatel-Lucent harmless from any claims for loss, cost, damage, expense or liability that may arise out of or in connection with the use, sale, license or other distribution of the products in such applications.
This document may contain information regarding the use and installation of non-Alcatel-Lucent products. Please note that this information is provided as a courtesy to assist you. While Alcatel-Lucent tries to ensure that this information accurately reflects information provided by the supplier, please refer to the materials provided with any non-Alcatel-Lucent product and contact the supplier for confirmation. Alcatel-Lucent assumes no responsibility or liability for incorrect or incomplete information provided about non-Alcatel-Lucent products.
However, this does not constitute a representation or warranty. The warranties provided for Alcatel-Lucent products, if any, are set forth in contractual documentation entered into by Alcatel-Lucent and its customers.
This document was originally written in English. If there is any conflict or inconsistency between the English version and any other version of a document, the English version shall prevail.

Table of Contents

Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
List of Technical Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Getting Started
In This Chapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Alcatel-Lucent Services Configuration Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
QoS Policies
In This Chapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
QoS Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Service and Network QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Network QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Network Queue QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Queue Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Service Ingress QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Egress Forwarding Class Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Service Egress QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Policy Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
Forwarding Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
High-Priority Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Assured Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Best-Effort Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
QoS Policy Entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Frequently Used QoS Terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
Configuration Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
Network QoS Policies
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
Normal QoS Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
DSCP Marking CPU Generated Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
Default DSCP Mapping Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Basic Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Create a Network QoS Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Default Network Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Remove a Policy from the QoS Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Copying and Overwriting Network Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
7950 XRS Quality of Service Guide Page 3
Table of Contents
Network Queue QoS Policies
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
Basic Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
Create a Network Queue QoS Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
Applying Network Queue Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
Ethernet Ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
Default Network Queue Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Network Ingress IP Match Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
Network Ingress IPv6 Match Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
Deleting QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
Copying and Overwriting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94
Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
Network Queue QoS Policy Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
Network QoS Policy Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Service Egress and Ingress QoS Policies
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132
Egress SAP Forwarding Class and Forwarding Profile Overrides . . . . . . . . . . . . . . . . . . . . . . . . . . .133
SAP Egress QoS Policy Modifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133
Hardware Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133
DEI Egress Remarking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
DEI in IEEE 802.1ad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
DEI in IEEE 802.1ah . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
IEEE 802.1ad Use Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
IEEE 802.1ah Use Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Egress FC-Based Remarking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Implementation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 39
Default Service Egress and Egress Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
SAP Egress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
Default SAP Ingress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
Create Service Egress and Ingress QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
Service Egress QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
Service Ingress QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149
Applying Service Ingress and Egress Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158
Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
Remove a QoS Policy from Service SAP(s). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
Copying and Overwriting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160
Remove a Policy from the QoS Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Queue Depth Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Service SAP QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Page 4 7950 XRS Quality of Service Guide
T able of Contents
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Queue Sharing and Redirection
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .305
Queue Sharing and Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .306
Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .306
Queue Group Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307
Access SAP Queue Group Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307
Network Port Queue Groups for IP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
Pseudowire Shaping for Layer 2 and Layer 3 Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
QoS on Ingress Bindings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311
Queue Group Templates and Port Queue Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .313
Queue Group Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .313
Port Queue Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .313
Forwarding Plane Queue Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315
Redirection Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
Access SAP Forwarding Class Based Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .317
Ingress and Egress SAP Forwarding Class Redirection Association Rules. . . . . . . . . . . . . . . . . .320
Access Queue Group Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 24
Network IP Interface Forwarding Class-Based Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .325
Egress Network Forwarding Class Redirection Association Rules . . . . . . . . . . . . . . . . . . . . . . . .325
Egress Network IP Interface Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .327
Separate Ingress IPv4 and IPv6 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .327
Ingress PW Shaping Using Spoke-SDP Forwarding Class-Based Redirection . . . . . . . . . . . . . . .328
Egress PW Shaping using Spoke-SDP Forwarding Class-Based Redirection . . . . . . . . . . . . . . .333
Ingress Per SAP Statistics with Ingress Queue Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .338
Ingress and Egress PW Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .340
Queue Group Behavior on LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .341
Queue Group Queue Instantiation Per Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .341
Per Link Queue Group Queue Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .341
Adding a Queue Group to an Existing LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .341
Removing a Queue Group from a LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .341
Adding a Port to a LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .342
Basic Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .344
Configuring an Ingress Queue Group Template. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .344
Configuring Egress Queue Group Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .345
Applying Ingress Queue Group to SAP Ingress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .346
Applying Egress Queue Group to SAP Egress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .347
SAP-based Egress Queue Re-direction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .348
Configuring Queue Group on Ethernet Access Ingress Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . .350
Configuring Overrides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .352
Configuring Queue Group on Ethernet Access Egress Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
Configuring Queue Group for Network Egress Traffic on Port. . . . . . . . . . . . . . . . . . . . . . . . . . . .354
Configuring Queue Group for Network Ingress Traffic on Forwarding Plane. . . . . . . . . . . . . . . . .355
Using Queue Groups to Police Ingress/Egress Traffic on Network Interface. . . . . . . . . . . . . . . . .356
Configuring Ingress/Egress PW Shaping Using Spoke-SDP Forwarding Class-Based
Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .358
Specifying QoS Policies on Service SAPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .361
QoS Queue Group Template Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .363
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .363
7950 XRS Quality of Service Guide Page 5
Table of Contents
Shared-Queue QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .429
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .429
Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .429
QoS Scheduler Policies
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .441
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .442
Scheduler Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .442
Egress Port-Based Schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .442
Service/ Egress Port Bandwidth Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .444
Service or Scheduler Child to Port Scheduler Parent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .446
Frame and Packet-Based Bandwidth Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .450
Queue Parental Association Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .452
Service or-Level Scheduler Parental Association Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .452
Network Queue Parent Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .453
Foster Parent Behavior for Orphaned Queues and Schedulers. . . . . . . . . . . . . . . . . . . . . . . . . . .454
Frame-Based Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455
Operational Modifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455
Existing Egress Port Based Virtual Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .456
Queue Behavior Modifications for Frame Based Accounting. . . . . . . . . . . . . . . . . . . . . . . . . . . . .456
Virtual Scheduler Rate and Queue Rate Parameter Interpretation . . . . . . . . . . . . . . . . . . . . . . . .456
Virtual Scheduling Unused Bandwidth Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .458
Default Unused Bandwidth Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .458
Limit Unused Bandwidth. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 58
Configuring Port Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 61
Port Scheduler Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461
Special Orphan Queue and Scheduler Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461
Packet to Frame Bandwidth Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461
Aggregate Rate Limits for Directly Attached Queues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
SAP Egress QoS Policy Queue Parenting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
Network Queue QoS Policy Queue Parenting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
Egress Port Scheduler Overrides. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .464
Weighted Scheduler Group in a Port Scheduler Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .464
Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .465
Create a QoS Scheduler Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .465
Applying Scheduler Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .467
Creating a QoS Port Scheduler Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .469
Configuring Port Parent Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .470
Configuring Distributed LAG Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .472
Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .484
Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .484
Removing a QoS Policy from a Customer Multi-Service Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . .484
Removing a QoS Policy from SAP(s). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .485
Removing a Policy from the QoS Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .485
Copying and Overwriting Scheduler Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .486
Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .488
QoS Scheduler Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .489
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .489
Page 6 7950 XRS Quality of Service Guide
T able of Contents
Slope QoS Policies
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .521
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .522
Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .523
Create a Slope QoS Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .523
Applying Slope Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .525
Default Slope Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .526
Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .527
Copying and Overwriting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .529
Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .531
Slope QoS Policy Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .533
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .533
Advanced QoS Policies
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .545
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .546
Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .547
Create an Advanced QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .547
Applying Advanced Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .548
Default Advanced Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .549
Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .550
Copying and Overwriting Advanced Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .551
Editing Advanced Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .551
Advanced QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .553
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .553
Class Fair Hierarchical Policing (CFHP)
In This Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .569
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .570
Parent Policer Priority and Unfair Sensitive Discard Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .572
CFHP Ingress and Egress Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .574
Post-CFHP Queuing and Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .575
Ingress CFHP Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .575
Egress CFHP Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .576
CFHP Policer Control Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .577
Policer Control Policy Root Arbiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .577
Tier 1 and Tier 2 Explicit Arbiters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .578
Explicit Arbiter Rate Limits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .578
CFHP Child Policer Definition and Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .579
Policer Enabled SAP QoS Policy Applicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .580
Child Policer Parent Association. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .581
Profile Capped Policers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .582
Policer Interaction with Initial Profile, Discard Eligibility, and Ingress Priority. . . . . . . . . . . . . . . . . . . . . .584
Ingress ‘Undefined’ Initial Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .585
Ingress Explicitly ‘In-Profile’ State Packet Handling without Profile-Capped Mode. . . . . . . . . . . . . . .586
Ingress Explicitly ‘In-Profile’ State Packet Handling with Profile-Capped Mode . . . . . . . . . . . . . . . . .586
Ingress Explicit ‘Out-of-Profile’ State Packet Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .586
Egress Explicit Profile Reclassification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .589
Preserving Out of Profile State at Egress Policer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .589
Egress Policer CIR Packet Handling without Profile Capped Mode . . . . . . . . . . . . . . . . . . . . . . . . . .589
7950 XRS Quality of Service Guide Page 7
Table of Contents
Egress Policer CIR Packet Handling with Profile Capped Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . .589
Ingress Child Policer Stat-Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .592
Egress Child Policer Stat-Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .595
Profile Preferred Mode Root Policers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .596
Interaction Between Profile Preferred and Profile Capped Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . .597
Class Fair Hierarchical Policing (CFHP) Policy
Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .599
Command Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .599
Standards and Protocol Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .603
Page 8 7950 XRS Quality of Service Guide

List of Tables

Table 1: Configuration Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
QoS Policies
Table 2: QoS Policy Types and Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Table 3: Default Network QoS Policy Egress Marking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Table 4: Default Network QoS Policy DSCP to Forwarding Class Mappings . . . . . . . . . . . . . . . . . . . . . . . . .26
Table 5: Default Network Queue Policy Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Table 6: Forwarding Class and Enqueuing Priority Classification Hierarchy Based on Rule Type . . . . . . . . .40
Table 7: Service Ingress QoS Policy IP Match Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Table 8: Service Ingress QoS Policy MAC Match Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Table 9: MAC Match Ethernet Frame Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Table 10: MAC Match Criteria Frame Type Dependencies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Table 11: Default Service Ingress Policy ID 1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Table 12: TAF Impact on Shared Buffer Average Utilization Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Table 13: Default Slope Policy Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Table 14: Default Slope Policy Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
Table 15: Supported Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Table 16: Forwarding Class Scheduler Mapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Table 17: Forwarding Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
Network QoS Policies
Table 18: Network Policy Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Network Queue QoS Policies
Table 19: Network Queue Labels and Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
Table 20: Show QoS Network Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
Service Egress and Ingress QoS Policies
Table 21: Classification to and (Re-)Marking from PHB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
Table 22: SAP Egress Policy Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
Table 23: SAP Ingress Policy Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
Table 24: Out-remark command effect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .221
Table 25: IP Protocol Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .236
Table 26: Default FC HSMDA Queue ID Mappings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .240
Table 27: Ingress HSMDA Queue Mapping Behavior Based on Forwarding Type . . . . . . . . . . . . . . . . . . . .240
Queue Sharing and Redirection
Table 28: Show QoS Shared Queue Output Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .440
QoS Scheduler Policies
Table 29: Show QoS Scheduler-Policy Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .509
Table 30: Show QoS Schedule-Hierarchy Port Output Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .512
Table 31: Show QoS Scheduler-Hierarchy SAP Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .513
Table 32: Show QoS Scheduler-Stats Customer Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .514
7950 XRS Quality of Service Guide Page 9
List of Tables
Table 33: Show QoS Scheduler-Stats SAP Output Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .514
Slope QoS Policies
Table 34: Slope Policy Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .526
Table 35: Show QoS Slope Policy Output Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .543
Advanced QoS Policies
Table 36: Advanced Policy Parameter Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .549
Class Fair Hierarchical Policing (CFHP)
Table 37: Effect of Profile-Capped Mode on CIR Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 83
Page 10 7950 XRS Quality of Service Guide

List of Figures

QoS Policies
Figure 1: Traffic Queuing Model for 3 Queues and 3 Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
Figure 2: Egress Forwarding CLass Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Figure 3: RED Slope Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Figure 4: Virtual Scheduler Internal Bandwidth Allocation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Figure 5: Hierarchical Scheduler and Queue Association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Figure 6: Scheduler Policy on SAP and Scheduler Hierarchy Creation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Figure 7: Scheduler Policy on Customer Site and Scheduler Hierarchy Creation. . . . . . . . . . . . . . . . . . . . . .62
Network QoS Policies
Network Queue QoS Policies
Service Egress and Ingress QoS Policies
Figure 8: DE Bit in the 802.1ad S-TAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
Figure 9: DE Aware 802.1ad Access Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
Figure 10: DE Aware PBB Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Figure 11: DEI Processing Ingress into the PE1 SAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
Figure 12: Egress SAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .148
Figure 13: Ingress Criteria Classification Directly to Policer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
Queue Sharing and Redirection
Figure 14: Ingress QoS Control on VPRN Bindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311
QoS Scheduler Policies
Figure 15: Port Level Virtual Scheduler Bandwidth Allocation Based on Priority and CIR . . . . . . . . . . . . . .445
Figure 16: Two Scheduler Policy Model for Access Ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .446
Figure 17: Schedulers on SAP or Multi-Service Site Receive Bandwidth From Port Priority Levels. . . . . . .447
Figure 18: Direct Service or Association to Port Scheduler Model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .449
Figure 19: Port Bandwidth Distribution for Service and Port Scheduler Hierarchies. . . . . . . . . . . . . . . . . . .451
Figure 20: Port Bandwidth Distribution for Direct Queue to Port Scheduler Hierarchy . . . . . . . . . . . . . . . . .451
Figure 21: Bandwidth Distribution on Network Port with Port-Based Scheduling . . . . . . . . . . . . . . . . . . . . .453
Figure 22: Limit Unused Bandwidth Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460
Figure 23: Resulting Bandwidth Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460
Slope QoS Policies
Advanced QoS Policies
Class Fair Hierarchical Policing (CFHP)
Figure 24: Policer Bucket Rate and Packet Flow Interaction with Bucket Depth. . . . . . . . . . . . . . . . . . . . . .573
Figure 25: Parent Policer Bucket and Priority Thresholds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .573
Figure 26: Ingress Policer Threshold Determination and Output Behavior . . . . . . . . . . . . . . . . . . . . . . . . . .588
Figure 27: Egress Policer Threshold Determination and Output Behavior . . . . . . . . . . . . . . . . . . . . . . . . . .591
7950 XRS Quality of Service Guide Page 11
List of Figures
Page 12 7950 XRS Quality of Service Guide

About This Guide

This guide describes the Quality of Service (QoS) provided by the routers and presents examples to configure and implement various protocols and services.
This guide is organized into functional chapters and provides concepts and descriptions of the implementation flow, as well as Command Line Interface (CLI) syntax and command usage.

Audience

Preface

This guide is intended for network administrators who are responsible for configuring the routers. It is assumed that the network administrators have an understanding of network i ng principles and configurations. Concepts described in this guide include the following:
•CLI concepts
Quality of Service (QoS) policies and profiles
7950 XRS Quality of Service Guide Page 13
Preface

List of Technical Publications

The documentation set is composed of the following guides:
• This guide describes basic system configurations and operations.
• This guide describes system security and access configurations as well as event logging
and accounting logs.
• This guide describes logical IP routing interfaces and associated attributes such as an IP
address, as well as IP and MAC-based filtering, and VRRP and Cflowd.
• This guide provides an overview of routing concepts and provides configuration examples
for RIP, OSPF, IS-IS, BGP, and route policies.
Services Overview Guide This guide describes how to configure service parameters such as service distribution points (SDPs), customer information, and user services.
Layer 2 Services and EVPN Guide This guide describes Virtual Leased Lines (VLL), Virtual Private LAN Service (VPLS), Provider Backbone Bridging (PBB), and Ethernet VPN (EVPN).
Layer 3 Services Guide This guide describes Internet Enhanced Services (IES) and Virtual Private Routed Network (VPRN) services.
Versatile Service Module Guide This guide describes how to configure service parameters for the Versatile Service Module (VSM).
• This guide describes how to configure features such as service mirroring and Operations,
Administration and Management (OAM) tools.
• This guide describes how to configure Quality of Service (QoS) policy management.
Page 14 7950 XRS Quality of Service Guide

Technical Support

If you purchased a service agreement for your router and related products from a distributor or authorized reseller, contact the technical support staff for that distributor or reseller for assistance. If you purchased an Alcatel-Lucent service agreement, follow this link to contact an Alcatel­Lucent support representative and to access product manuals and documentation updates:
Preface
http://support.alcatel-lucent.com
7950 XRS Quality of Service Guide Page 15
Preface
Page 16 7950 XRS Quality of Service Guide

In This Chapter

This chapter provides process flow information to configure Quality of Service (QoS) policies and provision services.

Getting Started

7950 XRS Quality of Service Guide Page 17
In This Chapter

Alcatel-Lucent Services Configuration Process

Table 1 lists the tasks necessary to configure and apply QoS policies. This guide is presented in an
overall logical configuration flow . Each section describes a software area and provides CLI syntax and command usage to configure parameters for a functional area.
Table 1: Configuration Process
Area Task Chapter
Policy configuration Configuring QoS Policies
• Network Network QoS Policies on page 73
• Network queue Network Queue QoS Policies on page 83
• SAP ingress Service Egress and Ingress QoS Policies on page 131
• Slope Slope QoS Policies on page 521
Reference • List of IEEE, IETF, and
other proprietary entities
Note: In SR OS 12.0.R4 any function that displays an IPv6 address or prefix changes to reflect rules described in RFC 5952, A Recommendation for IPv6 Address Text Representation. Specifically, hexadecimal letters in IPv6 addresses are now represented in lowercase, and the correct compression of all leading zeros is displayed. This changes visible display output compared to previous SR OS releases. Previous SR OS behavior can cause issues with operator scripts that use standard IPv6 address expressions and with libraries that have standard IPv6 parsing as per RFC 5952 rules. See the section on IPv6 Addresses in the Router Configuration Guide for more information.
Standards and Protocol Support on page 651
Page 18 7950 XRS Quality of Service Guide

In This Chapter

QoS Policies
This chapter provides information about Quality of Service (QoS) policy management.
Topics in this chapter include:
QoS Overview on page 20
Service and Network QoS Policies on page 24
Network QoS Policies on page 25Network Queue QoS Policies on page 27Service Ingress QoS Policies on page 38Service Egress QoS Policies on page 44Queue Parameters on page 30
QoS Policies on page 21
Scheduler Policies on page 54
QoS Policy Entities on page 67
Configuration Notes on page 72
7950 XRS Quality of Service Guide Page 19
In This Chapter

QoS Overview

Routers are designed with Quality of Service (QoS) mechanisms on both ingress and egress to support multiple customers and multiple services per physical interface. The router has an extensive and flexible capabilities to classify, police, shape and mark traffic.
In the Alcatel-Lucent service router’ s service mo del, a service is provis ioned on the pro vider -edge (PE) equipment. Service data is encapsulated and then sent in a service tunnel to the far-end Alcatel-Lucent service router where the service data is delivered.
The operational theory of a service tunnel is that the encapsulation of the data between the two Alcatel Lucent service routers (such as the 7950 XRS, 7750 SR, 7710 SR, 7750 SR MG and 745 0 ESS) appear like a Layer 2 path to the service data although it is really traversing an IP or IP/ MPLS core. The tunnel from one edge device to the other edge device is provisioned with an encapsulation and the services are mapped to the tunnel that most appropriately supports the service needs.
The router supports eight forwarding classes internally named: Network-Control, High-1, Expedited, High-2, Low-1, Assured, Low-2 and Best-Ef fort. The forwarding classes are discussed in more detail in Forwarding Classes on page 64.
Router use QoS policies to control how QoS is handled at distinct points in the service delivery model within the device. There are different types of QoS policies that cater to the different QoS needs at each point in the service delivery model. QoS policies are defined in a global context in the router and only take effect when the policy is applied to a relevant entity.
QoS policies are uniquely identified with a policy ID number or name. Policy ID 1 or Policy ID “default” is reserved for the default policy which is used if no policy is explicitly applied.
The QoS policies within the router can be divided into three main types:
QoS policies are used for classification, defining and queuing attributes and marking.
Scheduler policies determine how queues are scheduled.
Page 20 7950 XRS Quality of Service Guide

QoS Policies

Service ingress, service egress, and network QoS policies are defined with a scope of either template or exclusive. T emplate policies can be applied to multiple SAPs or IP interfaces, whereas, exclusive policies can only be applied to a single entity.
On most systems, the number of configurable SAP ingress and egress QOS policies per system is larger than the maximum number that can be applied per FP. The tools dump system-resources output displays the actual number of policies applied on a given FP (noting that the default SAP ingress policy is always applied once for internal use). The show qos sap-ingress and show qos sap-egress commands can be used to show the number of polices configured.
One service ingress QoS policy and one service egress QoS policy can be applied to a specific SAP. One network QoS policy can be applied to a specific IP interface. A network QoS policy defines both ingress and egress behavior.
Router QoS policies are applied on service ingress, service egress, and network interfaces and define:
QoS Policies
Classification rules for how traffic is mapped to queues
The number of forwarding class queues
The queue parameters used for policing, shaping, and buffer allocation
QoS marking/interpretation
There are several types of QoS policies:
Service ingress
Service egress
Network (for ingress and egress)
Network queue (for ingress and egress)
•Slope
Service ingress QoS policies are applied to the customer-facing Service Access Points (SAPs) and map traffic to forwarding class queues on ingress. The mapping of traffic to queues can be based on combinations of customer QoS marking (IEEE 802.1p bits, DSCP, and TOS precedence), IP and MAC criteria. The characteristics of the forwarding class queues are defined within the policy as to the number of forwarding class queues for unicast traffic and the queue characteristics. There can be up to eight (8) unicast forwarding class queues in the policy; one for each forwarding class. A service ingress QoS policy also defines up to three (3) queues per forwarding class to be used for multipoint traffic for multipoint services. In the case of the VPLS, four types of forwarding are supported (which is not to be confused with forwarding classes); unicast, multicast, broadcast, and
7950 XRS Quality of Service Guide Page 21
QoS Policies
unknown. Multicast, broadcast, and unknown types are flooded to all destinations within the service while the unicast forwarding type is handled in a point-to-point fashion within the service.
Service egress QoS policies are applied to SAPs and map forwarding classes to service egress queues for a service. Up to 8 queues per service can be defined for the 8 forwarding classes. A service egress QoS policy also defines how to remark the forwarding class to IEEE 802.1p bits in the customer traffic.
Network QoS policies are applied to IP interfaces. On ingress, the policy applied to an IP interface maps incoming DSCP and EXP values to forwarding class and profile state for the traffic received from the core network. On egress, the policy maps forwarding class and profile state to DSCP and EXP values for traffic to be transmitted into the core network.
Network queue policies are applied on egress to network ports and on ingress to MDAs. The policies define the forwarding class queue characteristics for these entities.
Service ingress, service egress, and network QoS policies are defined with a scope of either template or exclusive. Template policies can be applied to multiple SAPs or IP interfaces whereas exclusive policies can only be applied to a single entity.
One service ingress QoS policy and one service egress QoS policy can be applied to a specific SAP. One network QoS policy can be applied to a specific IP interface. A network QoS policy defines both ingress and egress behavior.
If no QoS policy is explicitly applied to a SAP or IP interface, a default QoS policy is applied.
Page 22 7950 XRS Quality of Service Guide
QoS Policies
A summary of the major functions performed by the QoS policies is listed in Table 2.
Table 2: QoS Policy Types and Descriptions
Policy Type Applied at… Description Page
Service Ingress SAP ingress • Defines up to 32 forwarding class queues and queue parame-
ters for traffic classification.
• Defines up to 31 multipoint service queues for broadcast, multicast and destination unknown traffic in multipoint ser­vices.
• Defines match criteria to map flows to the queues based on combinations of customer QoS (IEEE 802.1p bits, DSCP, TOS Precedence), IP criteria or MAC criteria.
Service Egress SAP egress • Defines up to 8 forwarding class queues and queue parame-
ters for traffic classification.
• Maps one or more forwarding classes to the queues.
Network Router interface • Packets are marked using QoS policies on edge devices.
Used for classification/marking of MPLS packets.
• At ingress, defines MPLS LSP-EXP to FC mapping.
• At egress, defines FC to MPLS LSP-EXP marking.
• Used for classification/marking of IP packets.
• At ingress, defines DSCP or Dot1p to FC mapping.
• At egress, defines FC to DSCP or Dot1p marking or both.
Network Queue
Network ingress • Defines forwarding class mappings to network queues and
queue characteristics for the queues.
38
44
25
27
Slope Ports • Enables or disables the high-slope, low-slope, and non-TCP
52
parameters within the egress or ingress pool.
Scheduler Customer multi-
service site Service SAP
• Defines the hierarchy and parameters for each scheduler.
• Defined in the context of a tier which is used to place the scheduler within the hierarchy.
54
• Three tiers of virtual schedulers are supported.
7950 XRS Quality of Service Guide Page 23
QoS Policies
Service and Network QoS Policies
The QoS mechanisms within the routers are specialized for the type of traffic on the interface. For customer interfaces, there is service ingress and egress traffic, and for network core interfaces, there is network ingress and network egress traffic ().
The router uses QoS policies applied to a SAP for a service or to an network port to define the queuing, queue attributes, and QoS marking/interpretation.
The router supports four types of service and network QoS policies:
Service ingress QoS policies
Service egress QoS policies
Network QoS policies
Network Queue QoS policies
Page 24 7950 XRS Quality of Service Guide
Network QoS Policies
Network QoS policies define egress QoS marking and ingress QoS interpretation for traffic on core network IP interfaces. The router automatically creates egress queues for each of the forwarding classes on network IP interfaces.
A network QoS policy defines both the ingress and egress handling of QoS on the IP interface. The following functions are defined.
Ingress
Defines DSCP name mappings to a forwarding classes.Defines LSP EXP value mappings to forwarding classes.
•Egress
Defines the forwarding class to DSCP value markings.Defines forwarding class to LSP EXP value markings.Enables/disables remarking of QoS.
QoS Policies
The required elements to be defined in a network QoS policy are:
A unique network QoS policy ID.
Egress forwarding class to DSCP value mappings for each forwarding class.
Egress forwarding class to LSP EXP value mappings for each forwarding class.
Enabling/disabling of egress QoS remarking.
A default ingress forwarding class and in-profile/out-of-profile state.
Optional network QoS policy elements include:
DSCP name to forwarding class and profile state mappings for all DSCP values received.
LSP EXP value to forwarding class and profile state mappings for all EXP values received.
Network policy ID 1 is reserved as the default network QoS policy. The default policy cannot be deleted or changed.
The default network QoS policy is applied to all network interfaces which do not have another network QoS policy explicitly assigned.
7950 XRS Quality of Service Guide Page 25
QoS Policies
Table 3: Default Network QoS Policy Egress Marking
FC-ID FC Name FC Label DiffServ
Name
In-Profile
7Network
Control
nc NC2 nc2
111000 - 56
6 High-1 h1 NC1 nc1
110000 - 48
5 Expedited ef EF ef
101110 - 46ef101110 - 46
4High-2 h2 AF4 af41
100010 - 34
3 Low-1 l1 AF2 af21
010010 - 18
2 Assured af AF1 af11
001010 - 10
1Low-2 l2 CS1 cs1
001000 - 8
Egress DSCP Marking Egress LSP EXP
Marking
Name
Out-of-
Profile
Name
nc2
In-Profile Out-of-
Profile
111 - 7 111 - 7
111000 - 56 nc1
110 - 6 110 - 6
110000 - 48
101 - 5 101 - 5
af42
100 - 4 100 - 4
100100 - 36 af22
011 - 3 010 - 2
010100 - 20 af12
011 - 3 010 - 2
001100 - 12 cs1
001 - 1 001 - 1
001000 - 8
0 Best Effort be BE be
000000 - 0
For network ingress, Table 4 and Table 5 list the default mapping of DSCP name and LSP EXP values to forwarding class and profile state for the default network QoS policy.
Table 4: Default Network QoS Policy DSCP to Forwarding Class Mappings
Ingress DSCP Forwarding Class
dscp-name dscp-value
(binary - decimal)
Default
a
ef 101110 - 46 5 Expedited ef In nc1 110000 - 48 6 High-1 h1 In nc2 111000 - 56 7 Network Control nc In af11 001010 - 10 2 Assured af In
be
000 - 0 000 - 0
000000 - 0
FC ID Name Label Profile
State
0 Best-Effort be Out
Page 26 7950 XRS Quality of Service Guide
QoS Policies
Table 4: Default Network QoS Policy DSCP to Forwarding Class Mappings (Continued)
Ingress DSCP Forwarding Class
dscp-name dscp-value
(binary - decimal)
FC ID Name Label Profile
State
af12 001100 - 12 2 Assured af Out af13 001110 - 14 2 Assured af Out af21 010010 - 18 3 Low-1 l1 In af22 010100 - 20 3 Low-1 l1 Out af23 010110 - 22 3 Low-1 l1 Out af31 011010 - 26 3 Low-1 l1 In af32 011100 - 28 3 Low-1 l1 Out af33 011110 - 30 3 Low-1 l1 Out af41 100010 - 34 4 High-2 h2 In af42 100100 - 36 4 High-2 h2 Out af43 100110 - 38 4 High-2 h2 Out
Network Queue QoS Policies
Network queue policies define the network forwarding class queue characteristics. Network queue policies are applied on egress on core network ports and on ingress on . Network queue policies can be configured to use as many queues as needed This means that the number of queues can vary. Not all policies will use eight queues like the default network queue policy.
The queue characteristics that can be configured on a per-forwarding class basis are:
Committed Buffer Size (CBS) as a percentage of the buffer pool
Maximum Buffer Size (MBS) as a percentage of the buffer pool
High Priority Only Buffers as a percentage of MBS
Peak Information Rate (PIR) as a percentage of egress port bandwidth
Committed Information Rate (CIR) as a percentage of egress port bandwidth
Network queue policies are identified with a unique policy name which conforms to the standard router alphanumeric naming conventions.
7950 XRS Quality of Service Guide Page 27
QoS Policies
The system default network queue policy is named default and cannot be edited or deleted.
Table 5 describes the default network queue policy definition.
Table 5: Default Network Queue Policy Definition
Forwarding Class Queue Definition
Network-Control (nc) Queue 8
High-1 (h1) Queue 7
Expedited (ef) Queue 6
High-2 (h2) Queue 5
• PIR = 100%
•CIR = 10%
•MBS = 25%
• CBS = 3%
• High-Prio-Only = 10%
• PIR = 100%
•CIR = 10%
•MBS = 25%
• CBS = 3%
• High-Prio-Only = 10%
• PIR = 100%
• CIR = 100%
•MBS = 50%
• CBS = 10%
• High-Prio-Only = 10%
• PIR = 100%
• CIR = 100%
•MBS = 50%
• CBS = 10%
• High-Prio-Only = 10%
Low-1 (l1 Queue 4
• PIR = 100%
•CIR = 25%
•MBS = 25%
• CBS = 3%
• High-Prio-Only = 10%
Assured (af) Queue 3
• PIR = 100%
•CIR = 25%
•MBS = 50%
• CBS = 10%
• High-Prio-Only = 10%
Page 28 7950 XRS Quality of Service Guide
Table 5: Default Network Queue Policy Definition (Continued)
Forwarding Class Queue Definition (Continued)
QoS Policies
Low-2 (l2) Queue 2
Best-Effort (be) Queue 1
• PIR = 100%
•CIR = 25%
•MBS = 50%
• CBS = 3%
• High-Prio-Only = 10%
• PIR = 100%
•CIR = 0%
•MBS = 50%
• CBS = 1%
• High-Prio-Only = 10%
7950 XRS Quality of Service Guide Page 29
QoS Policies
Queue Parameters
This section describes the queue parameters provisioned on access and queues for QoS. The queue parameters are:
Queue ID on page 30
Queue Hardware Scheduler on page 30
Committed Information Rate on page 31
Peak Information Rate on page 32
Adaptation Rule on page 33
Committed Burst Size on page 35
Maximum Burst Size on page 35
High-Priority Only Buffers on page 35
Packet Markings on page 36
Queue-Types on page 37
Queue ID
The queue ID is used to uniquely identify the queue. The queue ID is only unique within the context of the QoS policy within which the queue is defined.
Queue Hardware Scheduler
The hardware scheduler for a queue dictates how it will be scheduled relative to other queues at the hardware level. When a queue is defined in a service ingress or service egress QoS policy, it is possible to explicitly define the hardware scheduler to use for the queue when it is applied to a SAP.
Being able to define a hardware scheduler is important as a single queue allows support for multiple forwarding classes. The default behavior is to automatically choose the expedited or non­expedited nature of the queue based on the forwarding classes mapped to it. As long as all forwarding classes mapped to the queue are expedited (nc, ef, h1 or h2), the queue will be treated as an expedited queue by the hardware schedulers. When any non-expedited forwarding classes are mapped to the queue (be, af, l1 or l2), the queue will be treated as best effort by the hardware schedulers.
Page 30 7950 XRS Quality of Service Guide
Loading...
+ 582 hidden pages