7750 sr os quality of service guide 10 - nokia networks sr os quality of service guide page 7 table...

866
7750 SR OS Quality of Service Guide Software Version: 7750 SR OS 10.0.R4 July 2012 Document Part Number: 93-0077-09-02 *93-0077-09-02*

Upload: phamanh

Post on 30-May-2018

230 views

Category:

Documents


0 download

TRANSCRIPT

  • 7750 SR OSQuality of Service Guide

    Software Version: 7750 SR OS 10.0.R4July 2012Document Part Number: 93-0077-09-02

    *93-0077-09-02*

  • This document is protected by copyright. Except as specifically permitted herein, no portion of the provided information can be reproduced in any form, or by any means, without prior written permission from Alcatel-Lucent.Alcatel, Lucent, Alcatel-Lucent and the Alcatel-Lucent logo are trademarks of Alcatel-Lucent. All other trademarks are the property of their respective owners.The information presented is subject to change without notice.Alcatel-Lucent assumes no responsibility for inaccuracies contained herein.

    Copyright 2012 Alcatel-Lucent. All rights reserved.

  • Table of Contents

    Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

    Getting StartedAlcatel-Lucent 7750 SR-Series Services Configuration Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22

    QoS PoliciesQoS Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

    QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26Service and Network QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30Network QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33Network Queue QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33Queue Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36Service Ingress QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46Service Egress QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54Named Pool Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55Slope Policy Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65Forwarding Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73High-Priority Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74Assured Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75Best-Effort Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76Shared Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76ATM Traffic Descriptor Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76

    QoS Policy Entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77Frequently Used QoS Terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78

    Configuration Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82

    Network QoS PoliciesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84

    Network Ingress Tunnel QoS Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85For Tunnel Terminated IP Routing Decisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85

    Normal QoS Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85Tunnel Termination QoS Override Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86Enabling and Disabling Tunnel Termination QoS Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86

    DSCP Marking CPU Generated Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87Default DSCP Mapping Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88

    Basic Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89Create a Network QoS Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89

    Applying Network Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91Default Network Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92

    Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97Remove a Policy from the QoS Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98Copying and Overwriting Network Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98

    7750 SR OS Quality of Service Guide Page 3

  • Table of Contents

    Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100Resource Allocation for Network QoS policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101

    Network QoS Policy Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103

    Network Queue QoS PoliciesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146

    Network Queue Parent Scheduler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146Basic Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147

    Create a Network Queue QoS Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147Applying Network Queue Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151

    MDAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151Ethernet Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152SONET/SDH Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153

    Default Network Queue Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .154Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160

    Deleting QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160Remove a Policy from the QoS Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160Copying and Overwriting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166

    Network Queue QoS Policy Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167

    Service Egress and Ingress QoS PoliciesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .198

    Egress SAP Forwarding Class and Forwarding Profile Overrides . . . . . . . . . . . . . . . . . . . . . . . . . . .199SAP Egress QoS Policy Modifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199Hardware Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199

    DEI Egress Remarking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .200DEI in IEEE 802.1ad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .200DEI in IEEE 802.1ah . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201IEEE 802.1ad Use Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .202IEEE 802.1ah Use Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203Egress FC-Based Remarking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203Implementation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204

    Default Service Egress and Egress Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206SAP Egress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206Default SAP Ingress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207Create Service Egress and Ingress QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .208Service Egress QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210Service Ingress QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212VID Filters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .220

    Arbitrary Bit Matching of VID Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222QoS and VID Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222Port Group Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .223Applying Service Ingress and Egress Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .224

    Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227

    Remove a QoS Policy from Service SAP(s). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227Copying and Overwriting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .229Remove a Policy from the QoS Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .230

    Page 4 7750 SR OS Quality of Service Guide

  • Table of Contents

    Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .230Service SAP QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .231

    Queue Sharing and RedirectionQueue Sharing and Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .374

    Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .374Queue Group Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .376

    Access SAP Queue Group Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .376Network Port Queue Groups for IP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .377

    Queue Group Templates and Port Queue Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .378Queue Group Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .378Port Queue Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .379

    Access SAP Forwarding Class Based Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .380Ingress and Egress SAP Forwarding Class Redirection Association Rules. . . . . . . . . . . . . . . . . .381

    Network IP Interface Forwarding Class-Based Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .385Egress Network Forwarding Class Redirection Association Rules . . . . . . . . . . . . . . . . . . . . . . . .385Egress Network IP Interface Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .387

    Queue Group Behavior on LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .388Queue Group Queue Instantiation Per Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .388Per Link Queue Group Queue Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .388Adding a Queue Group to an Existing LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .388Removing a Queue Group from a LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .388Adding a Port to a LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .389

    Basic Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .390Configuring an Ingress Queue Group Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .390Configuring an Egress Queue Group Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391Applying an Ingress Queue Group to a SAP Ingress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . .392Applying an Egress Queue Group to a SAP Egress Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .393Configuring a Queue Group on an Ethernet Access Ingress Port . . . . . . . . . . . . . . . . . . . . . . . . .394Configuring Overrides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .396Configuring a Queue Group on an Ethernet Access Egress Port . . . . . . . . . . . . . . . . . . . . . . . . .397Configuring a Queue Group on an Network Egress Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .398Configuring a Queue Group on a Router Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399Specifying QoS Policies on Service SAPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .400

    QoS Queue Group Template Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .401

    QoS Scheduler PoliciesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .468

    Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .468Egress Port-Based Schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .468

    Service/Subscriber Egress Port Bandwidth Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .470Service or Subscriber Scheduler Child to Port Scheduler Parent . . . . . . . . . . . . . . . . . . . . . . . . .472Frame and Packet-Based Bandwidth Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .476Queue Parental Association Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .478Service or Subscriber-Level Scheduler Parental Association Scope . . . . . . . . . . . . . . . . . . . . . . .478Network Queue Parent Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .479Foster Parent Behavior for Orphaned Queues and Schedulers. . . . . . . . . . . . . . . . . . . . . . . . . . .480

    Frame-Based Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .481Operational Modifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .481

    7750 SR OS Quality of Service Guide Page 5

  • Table of Contents

    Existing Egress Port Based Virtual Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .482Queue Behavior Modifications for Frame Based Accounting. . . . . . . . . . . . . . . . . . . . . . . . . . . . .482Virtual Scheduler Rate and Queue Rate Parameter Interpretation . . . . . . . . . . . . . . . . . . . . . . . .482

    Configuring Port Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .484Port Scheduler Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .484Special Orphan Queue and Scheduler Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .484Packet to Frame Bandwidth Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .485Aggregate Rate Limits for Directly Attached Queues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .486SAP Egress QoS Policy Queue Parenting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .486Network Queue QoS Policy Queue Parenting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .486Egress Port Scheduler Overrides. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .487Applying a Port Scheduler Policy to a Virtual Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .487Applying Aggregate Rate Limit to a VPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .489Weighted Scheduler Group in a Port Scheduler Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .489

    Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .491Create a QoS Scheduler Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .491Applying Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .493Creating a QoS Port Scheduler Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .497

    Configuring Port Parent Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .498Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .500

    Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .500Removing a QoS Policy from a Customer Multi-Service Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . .500Removing a QoS Policy from SAP(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .501Removing a Policy from the QoS Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .501

    Copying and Overwriting Scheduler Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .503Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .505

    QoS Scheduler Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .507

    Slope QoS PoliciesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .558

    Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .559Create a Slope QoS Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .559Applying Slope Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .561

    Default Slope Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .562Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .563Copying and Overwriting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .565Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .567

    Slope QoS Policy Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .569

    Shared-Queue QoS PoliciesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .582

    Multipoint Shared Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .582Ingress Queuing Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .582Ingress Service Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .583

    Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .589Modifying the Default Shared-Queue Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .589

    Applying Shared-Queue Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .590Default Shared Queue Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .594

    Shared-Queue QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .599

    Page 6 7750 SR OS Quality of Service Guide

  • Table of Contents

    Advanced QoS PoliciesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .614

    Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .615Create an Advanced QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .615Applying Advanced Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .617

    Default Advanced Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .618Deleting QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .619Copying and Overwriting Advanced Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .620Editing Advanced Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .620

    Advanced QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .621

    QoS ATM Traffic Descriptor ProfilesOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .638

    ATM Traffic Descriptor Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .638ATM Traffic Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .638QoS Model for ATM-Based Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .638ATM Service Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .639ATM Traffic Descriptors and QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .640Policing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .640Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .640ATM Queuing and Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .642Congestion Avoidance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .642

    Basic Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .643Create an ATM-TD-Profile QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .643Applying ATM-TD-Profile Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .644

    Default ATM-TD-Profile Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .646Service Management Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .647

    Removing a Profile from the QoS Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .647Copying and Overwriting Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .647Editing QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .648

    ATM QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .649Operational Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .652

    Named PoolsOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .668

    Named Pool Mode for IOM3-XP Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .671Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .672

    Create a Named Pool QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .672Named pool Configuration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .672Allocation Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .674

    Named Pools QoS Policy Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .677

    High Scale Ethernet MDA CapabilitiesHSMDA QoS Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .710

    Queue Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .711Port-Based Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .711Dual Pass Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .716Egress Intermediate Destination Secondary Shapers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .716Packet and Octet Counting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .719

    7750 SR OS Quality of Service Guide Page 7

  • Table of Contents

    Above CIR Discard with PIR Bypass. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .721HSMDA Ingress Queue Policing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .721

    HSMDA Buffer Utilization Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .723HSMDA Buffer Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .723Identifying Queue Groups as Provisioned or System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .723Provisioned and System Port Class Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .724Aggregate Pools for Type and Class Separation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .725Use of Aggregate Control Buffer Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .726HSMDA Buffer Pool Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .728Port Class Pool Sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .730HSMDA Available Buffer Register Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .730

    HSMDA Queue Congestion and Buffer Utilization Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .731Maximum HSMDA Queue Depth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .732Control Plane HSMDA RED Slope Policy Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .732HSMDA Slope Policy MBS Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .733HSMDA Slope Policy Slope Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .733HSMDA Slope Shutdown Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .737Ingress Packet Mapping to HSMDA RED Slope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .737Egress Packet Mapping to HSMDA RED Slope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .737HSMDA Queue Congestion or Pool Congestion Discard Stats . . . . . . . . . . . . . . . . . . . . . . . . . . .739

    Egress Queue CIR Based Dot1P Remarking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .740SAP Ingress and SAP Egress QoS Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .741

    SAP Ingress QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .741SAP Egress QoS Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .742

    Subscriber Queuing Differences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .743HSMDA Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .744

    HSMDA LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .744Billing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .744Resource Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .745HSMDA Queue Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .745

    Scheduling Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .746Scheduling Class Weighted Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .746Scheduler Strict Priority Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .746Strict Priority Level PIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .747Scheduler Maximum Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .747HSMDA Scheduler Policy Overrides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .747Orphan Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .747Default HSMDA Scheduling Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .748

    Basic HSMDA Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .749HSMDA Pool Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .749HSMDA Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .750HSMDA Slope Policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .751

    Applying HSMDA Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .752HSMDA Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .753

    QoS in MC-MLPPPOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .786Basic Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .791

    Configuring MC-MLPPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .792

    Page 8 7750 SR OS Quality of Service Guide

  • Table of Contents

    QoS in MLFR and FRF.12 Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .793QoS in MLFR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .793QoS in FRF.12 End-to-End Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .795

    MLPPP Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .797

    Class Fair Hierarchical Policing (CFHP)Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .804Parent Policer Priority and Unfair Sensitive Discard Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .806CFHP Ingress and Egress Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .808Post-CFHP Queuing and Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .809

    Ingress CFHP Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .809Egress CFHP Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .811

    Policer to Local Queue Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .811Egress Subscriber CFHP Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .812

    Subscriber Destination String Queue Group Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .812SAP Default Destination String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .814

    CFHP Policer Control Policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .815Policer Control Policy Root Arbiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .815Tier 1 and Tier 2 Explicit Arbiters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .816Explicit Arbiter Rate Limits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .816

    CFHP Child Policer Definition and Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .817Policer Enabled SAP QoS Policy Applicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .818Child Policer Parent Association. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .819Profile Capped Policers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .820Policer Interaction with Initial Profile, Discard Eligibility, and Ingress Priority . . . . . . . . . . . . . . . . . . . . . .822

    Ingress Undefined Initial Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .823Ingress Explicitly In-Profile State Packet Handling without Profile-Capped Mode. . . . . . . . . . . . . . .824Ingress Explicitly In-Profile State Packet Handling with Profile-Capped Mode . . . . . . . . . . . . . . . . .824Ingress Explicit Out-of-Profile State Packet Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .824Egress Explicit Profile Reclassification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .827Egress Policer CIR Packet Handling without Profile Capped Mode . . . . . . . . . . . . . . . . . . . . . . . . . .827Egress Policer CIR Packet Handling with Profile Capped Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . .827Ingress Child Policer Stat-Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .829Egress Child Policer Stat-Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .832

    Profile Preferred Mode Root Policers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .841Interaction Between Profile Preferred and Profile Capped Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . .842

    Standards and Protocol Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .843

    Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .849

    7750 SR OS Quality of Service Guide Page 9

  • Table of Contents

    Page 10 7750 SR OS Quality of Service Guide

  • List of Tables

    Getting StartedTable 1: Configuration Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22

    QoS PoliciesTable 2: QoS Policy Types and Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28Table 3: Default Network QoS Policy Egress Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32Table 4: Default Network QoS Policy DSCP to Forwarding Class Mappings . . . . . . . . . . . . . . . . . . . . . .32Table 5: Default Network Queue Policy Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34Table 6: Supported Hardware Rates and CIR/PIR Values for Non-Channelized MDAs. . . . . . . . . . . . . .40Table 7: Supported Hardware Rates and CIR/PIR Values for Deep Channel MDAs . . . . . . . . . . . . . . . .41Table 8: Port Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42Table 9: Forwarding Class and Enqueuing Priority Classification Hierarchy Based on Rule Type. . . . . .48Table 10: Forwarding Class Classification Based on Rule Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50Table 11: Service Ingress QoS Policy IP Match Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52Table 12: Service Ingress QoS Policy MAC Match Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52Table 13: MAC Match Ethernet Frame Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52Table 14: MAC Match Criteria Frame Type Dependencies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53Table 15: Default Service Ingress Policy ID 1 Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53Table 16: Default Service Egress Policy ID 1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55Table 17: TAF Impact on Shared Buffer Average Utilization Calculation . . . . . . . . . . . . . . . . . . . . . . . . . .61Table 18: Default Slope Policy Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63Table 19: Default Slope Policy Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64Table 20: Supported Scheduler Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67Table 21: Forwarding Class Scheduler Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69Table 22: Forwarding Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74

    Network QoS PoliciesTable 23: Network Policy Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92Table 24: Default DSCP Names to DSCP Value Mapping Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118Table 25: Default Class Selector Code Points to DSCP Value Mapping Table . . . . . . . . . . . . . . . . . . . .118Table 26: Show QoS Network Table Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134Table 27: Show QoS Network Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138

    Network Queue QoS PoliciesTable 28: Network Queue Policy Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .154Table 29: cbs forwarding class defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .188Table 30: High-prio-only forwarding class defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189Table 31: Network Queue Labels and Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195

    Service Egress and Ingress QoS PoliciesTable 32: Classification to and (Re-)Marking from PHB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204Table 33: SAP Egress Policy Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206Table 34: SAP Ingress Policy Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207Table 35: Out-remark command effect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288Table 36: IP Protocol Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302

    7950 XRS OS Quality of Service Guide Page 11

  • List of Tables

    Table 37: Default FC HSMDA Queue ID Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307Table 38: Ingress HSMDA Queue Mapping Behavior Based on Forwarding Type . . . . . . . . . . . . . . . . . 307

    QoS Scheduler PoliciesTable 39: Show QoS Scheduler-Policy Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528Table 40: Show QoS Schedule-Hierarchy Port Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534Table 41: Show QoS Scheduler-Hierarchy SAP Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538Table 42: Show QoS Scheduler-Hierarchy Subscriber Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . 545Table 43: Show QoS Scheduler-Stats Customer Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548Table 44: Show QoS Scheduler-Stats SAP Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550Table 45: Show QoS Scheduler-Stats Subscriber Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .552

    Slope QoS PoliciesTable 46: Slope Policy Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562Table 47: Show QoS Slope Policy Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579

    Shared-Queue QoS PoliciesTable 48: Shared Queue Policy Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594Table 49: Show QoS Shared Queue Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611

    Advanced QoS PoliciesTable 50: Advanced Policy Parameter Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618

    QoS ATM Traffic Descriptor ProfilesTable 51: ATM Traffic Descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640Table 52: ATM-TD-Profile Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646Table 53: Show Port ATM PVC VPI/VCI Detail Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663

    High Scale Ethernet MDA CapabilitiesTable 54: Default Policy Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .728Table 55: Class Pool Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729Table 56: HSMDA Inverse Slope Fixed Point Binary Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734Table 57: HSMDA Scheduling Policy Default Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748Table 58: Root Pool ID Class Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757Table 59: Pool Weight Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759Table 60: HSMDA Default Slope Policy Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766

    QoS in MC-MLPPPTable 61: Default Packet Forwarding Class to MLPPP Class Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . 786Table 62: Packet Forwarding Class to MLPPP Class Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786Table 63: MLPPP Class Queue Threshold Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 787Table 64: MLPPP Class Queue Scheduling Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788Table 65: MLPPP Ingress QoS Profile: Reassembly Timers (msec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789Table 66: Default FR Class Queue Threshold Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793Table 67: Default FR Class Queue Scheduling Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 794Table 68: Default FR Ingress QoS Profile: Reassembly Timers (msec). . . . . . . . . . . . . . . . . . . . . . . . . . 795

    Class Fair Hierarchical Policing (CFHP)Table 69: Effect of Profile-Capped Mode on CIR Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821

    Page 12 7950 XRS OS Quality of Service Guide

  • LIST OF FIGURES

    QoS PoliciesFigure 1: 7750 SR Traffic Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30Figure 2: Traffic Queuing Model for 3 Queues and 3 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48Figure 3: Example Configuration Carriers Carrier Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50Figure 4: RED Slope Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60Figure 5: Virtual Scheduler Internal Bandwidth Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66Figure 6: Hierarchical Scheduler and Queue Association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70Figure 7: Scheduler Policy on SAP and Scheduler Hierarchy Creation . . . . . . . . . . . . . . . . . . . . . . . . . .71Figure 8: Scheduler Policy on Customer Site and Scheduler Hierarchy Creation . . . . . . . . . . . . . . . . . .72

    Service Egress and Ingress QoS PoliciesFigure 9: DE Bit in the 802.1ad S-TAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .200Figure 10: DE Aware PBB Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203Figure 11: DEI Processing Ingress into the PE1 SAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204Figure 12: VID Filtering Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .221Figure 13: Port Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .223

    QoS Scheduler PoliciesFigure 14: Port Level Virtual Scheduler Bandwidth Allocation Based on Priority and CIR . . . . . . . . . . . .471Figure 15: Two Scheduler Policy Model for Access Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .472Figure 16: Schedulers on SAP or Multi-Service Site Receive Bandwidth From Port Priority Levels . . . .473Figure 17: Direct Service or Subscriber Association to Port Scheduler Model . . . . . . . . . . . . . . . . . . . . .475Figure 18: Port Bandwidth Distribution for Service and Port Scheduler Hierarchies . . . . . . . . . . . . . . . .477Figure 19: Port Bandwidth Distribution for Direct Queue to Port Scheduler Hierarchy . . . . . . . . . . . . . .477Figure 20: Bandwidth Distribution on Network Port with Port-Based Scheduling . . . . . . . . . . . . . . . . . . .479Figure 21: Applying a Port Scheduler Policy to a VPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .488

    Shared-Queue QoS PoliciesFigure 22: Unicast Service Queue Mapping to Multiple Destination Based Hardware Queues . . . . . . . .583Figure 23: Unicast Service Queuing With Shared Queuing Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . .585Figure 24: Multipoint Queue Behavior with Shared Queuing Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . .586Figure 25: Multipoint Shared Queuing Using First Pass Unicast Queues . . . . . . . . . . . . . . . . . . . . . . . .588

    QoS ATM Traffic Descriptor ProfilesFigure 26: Hierarchical Scheduling for ATM-Based Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .638

    High Scale Ethernet MDA CapabilitiesFigure 27: HSMDA Queue Mapping to Scheduler Class Service Lists . . . . . . . . . . . . . . . . . . . . . . . . . .712Figure 28: Scheduler Class Mapping to Strict Level or Weighted Group Example . . . . . . . . . . . . . . . . .713Figure 29: Scheduler Weighted Group Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .714Figure 30: Scheduler Class and Weighed Group Scheduling Priority Mapping Example . . . . . . . . . . . .715Figure 31: HSMDA Egress Queue Group and Secondary Destination Shaper Behavior . . . . . . . . . . . .718Figure 32: Queue Group ID Mapping Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .724Figure 33: Port Class Buffer Pools Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .724Figure 34: Aggregate Control Buffer Pools Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .725

    7750 SR OS Quality of Service Guide Page 13

  • List of Figures

    Figure 35: Buffer Pool Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727Figure 36: High and Low RED Slopes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733

    QoS in MC-MLPPPFigure 37: MLPPP Class Queue Thresholds for In-Profile and Out-of-Profile Packets . . . . . . . . . . . . . . 787Figure 38: MLPPP Class Queue Scheduling Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788Figure 39: FR Class Queue Thresholds for In-Profile and Out-of-Profile Packets . . . . . . . . . . . . . . . . . . 794Figure 40: FR Class Queue Scheduling for an MLFR Bundle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 794Figure 41: DLC Egress Channel Queue Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .796

    Class Fair Hierarchical Policing (CFHP)Figure 42: Policer Bucket Rate and Packet Flow Interaction with Bucket Depth . . . . . . . . . . . . . . . . . . . 807Figure 43: Parent Policer Bucket and Priority Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807Figure 44: Ingress Policer Multipoint Packet Output Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 810Figure 45: Ingress Policer Threshold Determination and Output Behavior . . . . . . . . . . . . . . . . . . . . . . . 826Figure 46: Egress Policer Threshold Determination and Output Behavior . . . . . . . . . . . . . . . . . . . . . . . 828

    Page 14 7750 SR OS Quality of Service Guide

  • Preface

    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 document 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

    This manual is intended for network administrators who are responsible for configuring the routers. It is assumed that the network administrators have an understanding of networking principles and configurations. Protocols, standards, and services described in this manual include the following:

    CLI concepts Quality of Service (QoS) policies and profiles

    7750 SR OS Quality of Service Guide Page 15

  • Preface

    List of Technical Publications

    7750 SR OS Basic System Configuration GuideThis guide describes basic system configurations and operations.

    7750 SR OS System Management GuideThis guide describes system security and access configurations as well as event logging and accounting logs.

    7750 SR OS Interface Configuration Guide 7750 SR OS Router Configuration Guide

    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.

    7750 SR OS Routing Protocols GuideThis guide provides an overview of routing concepts and provides configuration examples for RIP, OSPF, IS-IS, BGP, and route policies.

    7750 SR OS MPLS GuideThis guide describes how to configure Multiprotocol Label Switching (MPLS) and Label Distribution Protocol (LDP).

    7750 SR OS Services GuideThis guide describes how to configure service parameters such as service distribution points (SDPs), customer information, and user services.

    7750 SR OAM and Diagnostic Guide This guide describes how to configure features such as service mirroring and Operations,

    Administration and Management (OAM) tools. 7750 SR OS Triple Play Guide

    This guide describes Triple Play services and support provided by the 7750 SR and presents examples to configure and implement various protocols and services.

    7750 SR OS Quality of Service GuideThis guide describes how to configure Quality of Service (QoS) policy management.

    OS Multi-Service ISA GuideThis guide describes services provided by integrated service adapters such as Application Assurance, IPSec, ad insertion (ADI) and Network Address Translation (NAT).

    Page 16 7750 SR OS Quality of Service Guide

  • Preface

    Technical Support

    If you purchased a service agreement for your 7750 SR-Series 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, contact your welcome center.

    Web: http://www1.alcatel-lucent.com/comps/pages/carrier_support.jhtml

    7750 SR OS Quality of Service Guide Page 17

  • Preface

    Page 18 7750 SR OS Quality of Service Guide

  • Getting Started

    In This Chapter

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

    7750 SR OS Quality of Service Guide Page 19

  • Alcatel-Lucent 7750 SR-Series Services Configuration Pro-cess

    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 81

    Network queue Network Queue QoS Policies on page 147

    SAP ingress/SAP egress Service Egress and Ingress QoS Policies on page 199

    Scheduler QoS Scheduler Policies on page 469

    Slope Slope QoS Policies on page 559

    Shared queue Shared-Queue QoS Policies on page 583

    ATM traffic descriptor QoS ATM Traffic Descriptor Profiles on page 639

    Named pools Named Pools on page 669

    Named pools Named Pools on page 669

    HSMDA High Scale Ethernet MDA Capabilities on page 711

    CFHP Class Fair Hierarchical Policing (CFHP) on page 805

    Reference List of IEEE, IETF, and other proprietary entities

    Standards and Protocol Support on page 651

    Page 20 7750 SR OS Quality of Service Guide

  • QoS Policies

    In This Chapter

    This chapter provides information about Quality of Service (QoS) policy management.

    Topics in this chapter include:

    QoS Overview on page 23 Service and Network QoS Policies on page 28

    Network QoS Policies on page 29 Network Queue QoS Policies on page 31 Service Ingress QoS Policies on page 44 Service Egress QoS Policies on page 51 Queue Parameters on page 34

    Named Pool Policies on page 52 QoS Policies on page 24 Scheduler Policies on page 63

    Virtual Hierarchical Scheduling on page 65 Single Tier Scheduling on page 66 Hierarchical Scheduler Policies on page 68

    Forwarding Classes on page 71 High-Priority Classes on page 72 Assured Classes on page 73 Best-Effort Classes on page 74 Shared Queues on page 74

    ATM Traffic Descriptor Profiles on page 74

    7750 SR OS Quality of Service Guide Page 21

  • QoS Policy Entities on page 75 Configuration Notes on page 80

    Page 22 7750 SR OS Quality of Service Guide

  • 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 routers service model, a service is provisioned on the provider-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 7450 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-Effort. The forwarding classes are discussed in more detail in Forwarding Classes on page 71.

    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. Slope policies define default buffer allocations and WRED slope definitions. Scheduler policies determine how queues are scheduled.

    7750 SR OS Quality of Service Guide Page 23

  • QoS Policies

    Router QoS policies are applied on service ingress, service egress and network interfaces and define:

    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

    The router has 8K ingress and 8K egress queues per Flexible Fast Path complex which services a single MDA.

    There are several types of QoS policies:

    Service ingress Service egress Network (for ingress and egress) Network queue (for ingress and egress) ATM traffic descriptor profile Scheduler Shared queue 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 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.

    Page 24 7750 SR OS Quality of Service Guide

  • 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 channels 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.

    7750 SR OS Quality of Service Guide Page 25

  • 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.

    44

    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.

    51

    Network Router interface Packets are marked using QoS policies on edge devices. Invoking a QoS policy on a network port allows for the pack-ets that match the policy criteria to be remarked. Used for classification/marking of MPLS packets. At ingress, defines MPLS LSP-EXP to FC mapping and 12

    meters used by FCs. At egress, defines FC to MPLS LSP-EXP marking.

    29

    Network Ports Used for classification/marking of IP packets. At ingress, defines DSCP or Dot1p to FC mapping and 8

    meters. At egress, defines FC to DSCP or Dot1p marking or both.

    Network Queue

    MDA network ingress

    Defines forwarding class mappings to network queues and queue characteristics for the queues.

    31

    Slope MDAsPorts

    Enables or disables the high-slope, low-slope, and non-TCP parameters within the egress or ingress pool.

    61

    Scheduler Customer multi-service siteService 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. Three tiers of virtual schedulers are supported.

    63

    Shared Queue SAP ingress Shared-queues can be implemented to mitigate the queue consumption on an MDA.

    74

    Page 26 7750 SR OS Quality of Service Guide

  • ATM Traffic Descriptor Profile

    SAP ingress Defines the expected rates and characteristics of traffic. Specified traffic parameters are used for policing ATM cells and for selecting the service category for the per-VC queue.

    74

    ATM Traffic Descriptor Profile

    SAP egress Specified traffic parameters are used for scheduling and shaping ATM cells and for selecting the service category for the per-VC queue.

    74

    Table 2: QoS Policy Types and Descriptions (Continued)

    Policy Type Applied at Description Page

    7750 SR OS Quality of Service Guide Page 27

  • 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 (Figure 1).

    Figure 1: 7750 SR Traffic Types

    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

    Access Network

    Network Egress

    Network Ingress

    Service Ingress

    Service Egress

    Switch Fabric

    Page 28 7750 SR OS 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.

    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.

    7750 SR OS Quality of Service Guide Page 29

  • 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 3: Default Network QoS Policy Egress Marking

    FC-ID FC Name FC Label DiffServ Name

    Egress DSCP Marking Egress LSP EXP Marking

    In-Profile Name

    Out-of-Profile Name

    In-Profile Out-of-Profile

    7 Network Control

    nc NC2 nc2111000 - 56

    nc2111000 - 56

    111 - 7 111 - 7

    6 High-1 h1 NC1 nc1110000 - 48

    nc1110000 - 48

    110 - 6 110 - 6

    5 Expedited ef EF ef101110 - 46

    ef101110 - 46

    101 - 5 101 - 5

    4 High-2 h2 AF4 af41100010 - 34

    af42100100 - 36

    100 - 4 100 - 4

    3 Low-1 l1 AF2 af21010010 - 18

    af22010100 - 20

    011 - 3 010 - 2

    2 Assured af AF1 af11001010 - 10

    af12001100 - 12

    011 - 3 010 - 2

    1 Low-2 l2 CS1 cs1001000 - 8

    cs1001000 - 8

    001 - 1 001 - 1

    0 Best Effort be BE be000000 - 0

    be000000 - 0

    000 - 0 000 - 0

    Table 4: Default Network QoS Policy DSCP to Forwarding Class Mappings

    Ingress DSCP Forwarding Class

    dscp-name dscp-value(binary - decimal)

    FC ID Name Label Profile State

    Defaulta 0 Best-Effort be Out

    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

    Page 30 7750 SR OS Quality of Service Guide

  • 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, channels and on ingress on MDAs. 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.

    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

    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

    7750 SR OS Quality of Service Guide Page 31

  • 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 PIR = 100% CIR = 10% MBS = 25% CBS = 3% High-Prio-Only = 10%

    High-1 (h1) Queue 7 PIR = 100% CIR = 10% MBS = 25% CBS = 3% High-Prio-Only = 10%

    Expedited (ef) Queue 6 PIR = 100% CIR = 100% MBS = 50% CBS = 2% High-Prio-Only = 10%

    High-2 (h2) Queue 5 PIR = 100% CIR = 100% MBS = 50% CBS = 21% 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 = 21% High-Prio-Only = 10%

    Page 32 7750 SR OS Quality of Service Guide

  • Low-2 (l2) Queue 2 PIR = 100% CIR = 25% MBS = 50% CBS = 3% High-Prio-Only = 10%

    Best-Effort (be) Queue 1 PIR = 100% CIR = 0% MBS = 50% CBS = 3% High-Prio-Only = 10%

    Table 5: Default Network Queue Policy Definition (Continued)

    Forwarding Class Queue Definition (Continued)

    7750 SR OS Quality of Service Guide Page 33

  • Queue Parameters

    This section describes the queue parameters provisioned on access and queues for QoS.

    The queue parameters are:

    Queue ID on page 34 Unicast or Multipoint Queue on page 34 Queue Hardware Scheduler on page 34 Committed Information Rate on page 36 Peak Information Rate on page 37 Adaptation Rule on page 38 Committed Burst Size on page 41 Maximum Burst Size on page 41 High-Priority Only Buffers on page 41 Packet Markings on page 42 Queue-Types on page 43

    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.

    Unicast or Multipoint Queue

    Currently, only VPLS services utilize multipoint ingress queues although IES services use multipoint ingress queues for multicast traffic alone when PIM is enabled on the service interface.

    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-

    Page 34 7750 SR OS Quality of Service Guide

  • 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.

    The expedited hardware schedulers are used to enforce expedited access to internal switch fabric destinations.

    7750 SR OS Quality of Service Guide Page 35

  • Committed Information Rate

    The committed information rate (CIR) for a queue performs two distinct functions:

    1. Profile marking service ingress queues Service ingress queues mark packets in-profile or out-of-profile based on the queue's CIR. For each packet in a service ingress queue, the CIR is checked with the current transmission rate of the queue. If the current rate is at or below the CIR threshold, the transmitted packet is internally marked in-profile. If the current rate is above the threshold, the transmitted packet is internally marked out-of-profile.

    2. Scheduler queue priority metric The scheduler serving a group of service ingress or egress queues prioritizes individual queues based on their current CIR and PIR states. Queues oper-ating below their CIR are always served before those queues operating at or above their CIR. Queue scheduling is discussed in Virtual Hierarchical Scheduling on page 65.

    All router queues support the concept of in-profile and out-of-profile. The network QoS policy applied at network egress determines how or if the profile state is marked in packets transmitted into the service core network. If the profile state is marked in the service core packets, out-of-profile packets are preferentially dropped over in-profile packets at congestion points in the core.

    1. When defining the CIR for a queue, the value specified is the administrative CIR for the queue.The router has a number of native rates in hardware that it uses to determine the oper-ational CIR for the queue. The user has some control over how the administrative CIR is con-verted to an operational CIR should the hardware not support the exact CIR and PIR combination specified. The interpretation of the administrative CIR is discussed below in Adaptation Rule on page 38

    Although the router is flexible in how the CIR can be configured, there are conventional ranges for the CIR based on the forwarding class of a queue. A service ingress queue associated with the high-priority class normally has the CIR threshold equal to the PIR rate although the router allows the CIR to be provisioned to any rate below the PIR should this behavior be required. If the service egress queue is associated with a best-effort class, the CIR threshold is normally set to zero; again the setting of this parameter is flexible.

    The CIR for a service queue is provisioned on ingress and egress service queues within service ingress QoS policies and service egress QoS policies, respectively.

    The CIR for network queues are defined within network queue policies based on the forwarding class. The CIR for the queues for the forwarding class are defined as a percentage of the network interface bandwidth.

    Page 36 7750 SR OS Quality of Service Guide

  • Peak Information Rate

    The peak information rate (PIR) defines the maximum rate at which packets are allowed to exit the queue. It does not specify the maximum rate at which packets may enter the queue; this is governed by the queue's ability to absorb bursts and is defined by its maximum burst size (MBS).

    The actual transmission rate of a service queue depends on more than just its PIR. Each queue is competing for transmission bandwidth with other queues. Each queue's PIR, CIR and the relative importance of the scheduler serving the queue all combine to affect a queue's ability to transmit packets as discussed in Single Tier Scheduling on page 66.

    The PIR is provisioned on ingress and egress service queues within service ingress QoS policies and service egress QoS policies, respectively.

    The PIR for network queues are defined within network queue policies based on the forwarding class. The PIR for the queues for the forwarding class are defined as a percentage of the network interface bandwidth.

    When defining the PIR for a queue, the value specified is the administrative PIR for the queue.The router has a number of native rates in hardware that it uses to determine the operational PIR for the queue. The user has some control over how the administrative PIR is converted to an operational PIR should the hardware not support the exact CIR and PIR values specified. The interpretation of the administrative PIR is discussed below in Adaptation Rule on page 38

    7750 SR OS Quality of Service Guide Page 37

  • Adaptation Rule

    The adaptation rule provides the QoS provisioning system with the ability to adapt specific CIR and PIR defined administrative rates to the underlying capabilities of the hardware the queue will be created on to derive the operational rates. The administrative CIR and PIR rates are translated to actual operational rates enforced by the hardware queue. The rule provides a constraint used when the exact rate is not available due to hardware implementation trade-offs.

    For the CIR and PIR parameters individually, the system will attempt to find the best operational rate depending on the defined constraint. The supported constraints are:

    Minimum Find the hardware supported rate that is equal to or higher than the specified rate.

    Maximum Find the hardware supported rate that is equal to or lesser than the specified rate.

    Closest Find the hardware supported rate that is closest to the specified rate.

    Depending on the hardware upon which the queue is provisioned, the actual operational CIR and PIR settings used by the queue will be dependant on the method the hardware uses to implement and represent the mechanisms that enforce the CIR and PIR rates.

    The adaptation rule always assumes that the PIR (shaping parameter) on the queue is the most important rate. When multiple available hardware rates exist for a given CIR and PIR rate pair, the PIR constraint is always evaluated before the CIR.

    The router 20 Gbps Input/Output Module (IOM) uses a rate step value to define the granularity for both the CIR and PIR rates The adaptation rule controls the method the system uses to choose the rate step based on the administrative rates defined by the rate command. The supported CIR and PIR values ranges and increments are summarized in Table 6.

    The MDA hardware rate-step values are listed in Table 6 for all MDAs (except deep channel MDAs).

    Table 6: Supported Hardware Rates and CIR/PIR Values for Non-Channelized MDAs

    Hardware Rate Steps Rate Range (Rate Step x 0 to Rate Step x 127 and max)a

    0.5Gb/sec 0 to 64Gb/sec and

    100Mb/sec 0 to 12.7Gb/sec and

    50Mb/sec 0 to 6.4Gb/sec and

    10Mb/sec 0 to 1.3Gb/sec and

    5Mb/sec 0 to 635Mb/sec and

    5Mb/sec 0 to 640 MB/sec and

    Page 38 7750 SR OS Quality of Service Guide

  • The MDA hardware rate-step values are listed below for deep channel MDAs (m1-choc12-sfp, m4-choc3-sfp, and m4-chds3). The table shows supported hardware rates and CIR/PIR values for ingress traffic from all MDAs/CMAs and egress traffic for all CMAs and deep channel MDAs.

    1Mb/sec 0 to 127Mb/sec and

    500Kb/sec 0 to 64Mb/sec and

    100Kb/sec 0 to 12.7Mb/sec and

    50Kb/sec 0 to 6.4Mb/sec and

    10Kb/sec 0 to 1.2Mb/sec and

    8Kb/sec 0 to 1Mb/sec and

    1Kb/sec 0 to 127Kb/sec and

    a. 0 is unavailable for PIR

    Table 7: Supported Hardware Rates and CIR/PIR Values for Deep Channel MDAs

    Hardware Rate Steps

    Rate Range (Rate Step x 0 to Rate Step x 127 and max)a

    0.5Gb/sec 0 to 64Gb/sec and 100Mb/sec 0 to 12.7Gb/sec and 10Mb/sec 0 to 1.3Gb/sec and (0 unavailable for PIR)2Mb/sec 0 to 254Mb/sec and (0 unavailable for PIR)1Mb/sec 0 to 127Mb/sec and 512Kb/sec