Juniper JUNOSE 11.1.X - QUALITY OF SERVICE CONFIGURATION GUIDE 3-21-2010, JUNOSe 11.1.X Configuration Manual

JUNOSe Software for E Series Broadband Services Routers
Quality of Service Configuration Guide
Release 11.1.x
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
www.juniper.net
Published: 2010-03-21
Juniper Networks, the Juniper Networks logo, JUNOS, NetScreen, ScreenOS, and Steel-Belted Radius are registered trademarks of Juniper Networks, Inc. in the United States and other countries. JUNOSe is a trademark of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice.
Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are owned by or licensed to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312, 6,429,706, 6,459,579, 6,493,347, 6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.
JUNOSe Software for E Series Broadband Services Routers Quality of Service Configuration Guide
Release 11.1.x Copyright © 2010, Juniper Networks, Inc. All rights reserved. Printed in USA.
Writing: Krupa Chandrashekar, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons, Poornima Goswami, Chander Aima Editing: Benjamin Mann Illustration: Nathaniel Woodward Cover Design: Edmonds Design
Revision History April 2010FRS JUNOSe 11.1.x
The information in this document is current as of the date listed in the revision history.
YEAR 2000 NOTICE
Juniper Networks hardware and software products are Year 2000 compliant. The JUNOS Software has no known time-related limitations through the year
2038. However, the NTP application is known to have some difficulty in the year 2036.
ii
END USER LICENSE AGREEMENT
READ THIS END USER LICENSE AGREEMENT (AGREEMENT) BEFORE DOWNLOADING, INSTALLING, OR USING THE SOFTWARE. BY DOWNLOADING, INSTALLING, OR USING THE SOFTWARE OR OTHERWISE EXPRESSING YOUR AGREEMENT TO THE TERMS CONTAINED HEREIN, YOU (AS CUSTOMER OR IF YOU ARE NOT THE CUSTOMER, AS A REPRESENTATIVE/AGENT AUTHORIZED TO BIND THE CUSTOMER) CONSENT TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT OR CANNOT AGREE TO THE TERMS CONTAINED HEREIN, THEN (A) DO NOT DOWNLOAD, INSTALL, OR USE THE SOFTWARE, AND (B) YOU MAY CONTACT JUNIPER NETWORKS REGARDING LICENSE TERMS.
1. The Parties. The parties to this Agreement are (i) Juniper Networks, Inc. (if the Customers principal office is located in the Americas) or Juniper Networks (Cayman) Limited (if the Customers principal office is located outside the Americas) (such applicable entity being referred to herein as Juniper), and (ii) the person or organization that originally purchased from Juniper or an authorized Juniper reseller the applicable license(s) for use of the Software (Customer) (collectively, the Parties).
2. The Software. In this Agreement, Software means the program modules and features of the Juniper or Juniper-supplied software, for which Customer has paid the applicable license or support fees to Juniper or an authorized Juniper reseller, or which was embedded by Juniper in equipment which Customer purchased from Juniper or an authorized Juniper reseller. Software also includes updates, upgrades and new releases of such software. Embedded Software means Software which Juniper has embedded in or loaded onto the Juniper equipment and any updates, upgrades, additions or replacements which are subsequently embedded in or loaded onto the equipment.
3. License Grant. Subject to payment of the applicable fees and the limitations and restrictions set forth herein, Juniper grants to Customer a non-exclusive and non-transferable license, without right to sublicense, to use the Software, in executable form only, subject to the following use restrictions:
a. Customer shall use Embedded Software solely as embedded in, and for execution on, Juniper equipment originally purchased by Customer from Juniper or an authorized Juniper reseller.
b. Customer shall use the Software on a single hardware chassis having a single processing unit, or as many chassis or processing units for which Customer has paid the applicable license fees; provided, however, with respect to the Steel-Belted Radius or Odyssey Access Client software only, Customer shall use such Software on a single computer containing a single physical random access memory space and containing any number of processors. Use of the Steel-Belted Radius or IMS AAA software on multiple computers or virtual machines (e.g., Solaris zones) requires multiple licenses, regardless of whether such computers or virtualizations are physically contained on a single chassis.
c. Product purchase documents, paper or electronic user documentation, and/or the particular licenses purchased by Customer may specify limits to Customers use of the Software. Such limits may restrict use to a maximum number of seats, registered endpoints, concurrent users, sessions, calls, connections, subscribers, clusters, nodes, realms, devices, links, ports or transactions, or require the purchase of separate licenses to use particular features, functionalities, services, applications, operations, or capabilities, or provide throughput, performance, configuration, bandwidth, interface, processing, temporal, or geographical limits. In addition, such limits may restrict the use of the Software to managing certain kinds of networks or require the Software to be used only in conjunction with other specific Software. Customers use of the Software shall be subject to all such limitations and purchase of all applicable licenses.
d. For any trial copy of the Software, Customers right to use the Software expires 30 days after download, installation or use of the Software. Customer may operate the Software after the 30-day trial period only if Customer pays for a license to do so. Customer may not extend or create an additional trial period by re-installing the Software after the 30-day trial period.
e. The Global Enterprise Edition of the Steel-Belted Radius software may be used by Customer only to manage access to Customers enterprise network. Specifically, service provider customers are expressly prohibited from using the Global Enterprise Edition of the Steel-Belted Radius software to support any commercial network access services.
The foregoing license is not transferable or assignable by Customer. No license is granted herein to any user who did not originally purchase the applicable license(s) for the Software from Juniper or an authorized Juniper reseller.
4. Use Prohibitions. Notwithstanding the foregoing, the license provided herein does not permit the Customer to, and Customer agrees not to and shall not: (a) modify, unbundle, reverse engineer, or create derivative works based on the Software; (b) make unauthorized copies of the Software (except as necessary for backup purposes); (c) rent, sell, transfer, or grant any rights in and to any copy of the Software, in any form, to any third party; (d) remove any proprietary notices, labels, or marks on or in any copy of the Software or any product in which the Software is embedded; (e) distribute any copy of the Software to any third party, including as may be embedded in Juniper equipment sold in the secondhand market; (f) use any locked or key-restricted feature, function, service, application, operation, or capability without first purchasing the applicable license(s) and obtaining a valid key from Juniper, even if such feature, function, service, application, operation, or capability is enabled without a key; (g) distribute any key for the Software provided by Juniper to any third party; (h) use the Software in any manner that extends or is broader than the uses purchased by Customer from Juniper or an authorized Juniper reseller; (i) use Embedded Software on non-Juniper equipment; (j) use Embedded Software (or make it available for use) on Juniper equipment that the Customer did not originally purchase from Juniper or an authorized Juniper reseller; (k) disclose the results of testing or benchmarking of the Software to any third party without the prior written consent of Juniper; or (l) use the Software in any manner other than as expressly provided herein.
5. Audit. Customer shall maintain accurate records as necessary to verify compliance with this Agreement. Upon request by Juniper, Customer shall furnish such records to Juniper and certify its compliance with this Agreement.
iii
6. Confidentiality. The Parties agree that aspects of the Software and associated documentation are the confidential property of Juniper. As such, Customer shall exercise all reasonable commercial efforts to maintain the Software and associated documentation in confidence, which at a minimum includes restricting access to the Software to Customer employees and contractors having a need to use the Software for Customers internal business purposes.
7. Ownership. Juniper and Junipers licensors, respectively, retain ownership of all right, title, and interest (including copyright) in and to the Software, associated documentation, and all copies of the Software. Nothing in this Agreement constitutes a transfer or conveyance of any right, title, or interest in the Software or associated documentation, or a sale of the Software, associated documentation, or copies of the Software.
8. Warranty, Limitation of Liability, Disclaimer of Warranty. The warranty applicable to the Software shall be as set forth in the warranty statement that accompanies the Software (the Warranty Statement). Nothing in this Agreement shall give rise to any obligation to support the Software. Support services may be purchased separately. Any such support shall be governed by a separate, written support services agreement. TO THE MAXIMUM EXTENT PERMITTED BY LAW, JUNIPER SHALL NOT BE LIABLE FOR ANY LOST PROFITS, LOSS OF DATA, OR COSTS OR PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, THE SOFTWARE, OR ANY JUNIPER OR JUNIPER-SUPPLIED SOFTWARE. IN NO EVENT SHALL JUNIPER BE LIABLE FOR DAMAGES ARISING FROM UNAUTHORIZED OR IMPROPER USE OF ANY JUNIPER OR JUNIPER-SUPPLIED SOFTWARE. EXCEPT AS EXPRESSLY PROVIDED IN THE WARRANTY STATEMENT TO THE EXTENT PERMITTED BY LAW, JUNIPER DISCLAIMS ANY AND ALL WARRANTIES IN AND TO THE SOFTWARE (WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE), INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT DOES JUNIPER WARRANT THAT THE SOFTWARE, OR ANY EQUIPMENT OR NETWORK RUNNING THE SOFTWARE, WILL OPERATE WITHOUT ERROR OR INTERRUPTION, OR WILL BE FREE OF VULNERABILITY TO INTRUSION OR ATTACK. In no event shall Junipers or its suppliers or licensors liability to Customer, whether in contract, tort (including negligence), breach of warranty, or otherwise, exceed the price paid by Customer for the Software that gave rise to the claim, or if the Software is embedded in another Juniper product, the price paid by Customer for such other product. Customer acknowledges and agrees that Juniper has set its prices and entered into this Agreement in reliance upon the disclaimers of warranty and the limitations of liability set forth herein, that the same reflect an allocation of risk between the Parties (including the risk that a contract remedy may fail of its essential purpose and cause consequential loss), and that the same form an essential basis of the bargain between the Parties.
9. Termination. Any breach of this Agreement or failure by Customer to pay any applicable fees due shall result in automatic termination of the license granted herein. Upon such termination, Customer shall destroy or return to Juniper all copies of the Software and related documentation in Customers possession or control.
10. Taxes. All license fees payable under this agreement are exclusive of tax. Customer shall be responsible for paying Taxes arising from the purchase of the license, or importation or use of the Software. If applicable, valid exemption documentation for each taxing jurisdiction shall be provided to Juniper prior to invoicing, and Customer shall promptly notify Juniper if their exemption is revoked or modified. All payments made by Customer shall be net of any applicable withholding tax. Customer will provide reasonable assistance to Juniper in connection with such withholding taxes by promptly: providing Juniper with valid tax receipts and other required documentation showing Customers payment of any withholding taxes; completing appropriate applications that would reduce the amount of withholding tax to be paid; and notifying and assisting Juniper in any audit or tax proceeding related to transactions hereunder. Customer shall comply with all applicable tax laws and regulations, and Customer will promptly pay or reimburse Juniper for all costs and damages related to any liability incurred by Juniper as a result of Customers non-compliance or delay with its responsibilities herein. Customers obligations under this Section shall survive termination or expiration of this Agreement.
11. Export. Customer agrees to comply with all applicable export laws and restrictions and regulations of any United States and any applicable foreign agency or authority, and not to export or re-export the Software or any direct product thereof in violation of any such restrictions, laws or regulations, or without all necessary approvals. Customer shall be liable for any such violations. The version of the Software supplied to Customer may contain encryption or other capabilities restricting Customers ability to export the Software without an export license.
12. Commercial Computer Software. The Software is commercial computer software and is provided with restricted rights. Use, duplication, or disclosure by the United States government is subject to restrictions set forth in this Agreement and as provided in DFARS 227.7201 through 227.7202-4, FAR 12.212, FAR 27.405(b)(2), FAR 52.227-19, or FAR 52.227-14(ALT III) as applicable.
13. Interface Information. To the extent required by applicable law, and at Customer's written request, Juniper shall provide Customer with the interface information needed to achieve interoperability between the Software and another independently created program, on payment of applicable fee, if any. Customer shall observe strict obligations of confidentiality with respect to such information and shall use such information in compliance with any applicable terms and conditions upon which Juniper makes such information available.
14. Third Party Software. Any licensor of Juniper whose software is embedded in the Software and any supplier of Juniper whose products or technology are embedded in (or services are accessed by) the Software shall be a third party beneficiary with respect to this Agreement, and such licensor or vendor shall have the right to enforce this Agreement in its own name as if it were Juniper. In addition, certain third party software may be provided with the Software and is subject to the accompanying license(s), if any, of its respective owner(s). To the extent portions of the Software are distributed under and subject to open source licenses obligating Juniper to make the source code for such portions publicly available (such as the GNU General Public License (GPL) or the GNU Library General Public License (LGPL)), Juniper will make such source code portions (including Juniper modifications, as appropriate) available upon request for a period of up to three years from the date of distribution. Such request can be made in writing to Juniper Networks, Inc., 1194
N. Mathilda Ave., Sunnyvale, CA 94089, ATTN: General Counsel. You may obtain a copy of the GPL at http://www.gnu.org/licenses/gpl.html, and a copy of the LGPL at http://www.gnu.org/licenses/lgpl.html.
15. Miscellaneous. This Agreement shall be governed by the laws of the State of California without reference to its conflicts of laws principles. The provisions of the U.N. Convention for the International Sale of Goods shall not apply to this Agreement. For any disputes arising under this Agreement, the Parties hereby consent to the personal and exclusive jurisdiction of, and venue in, the state and federal courts within Santa Clara County, California. This Agreement constitutes the entire and sole agreement between Juniper and the Customer with respect to the Software, and supersedes all prior and contemporaneous
iv
agreements relating to the Software, whether oral or written (including any inconsistent terms contained in a purchase order), except that the terms of a separate written agreement executed by an authorized Juniper representative and Customer shall govern to the extent such terms are inconsistent or conflict with terms contained herein. No modification to this Agreement nor any waiver of any rights hereunder shall be effective unless expressly assented to in writing by the party to be charged. If any portion of this Agreement is held invalid, the Parties agree that such invalidity shall not affect the validity of the remainder of this Agreement. This Agreement and associated documentation has been written in the English language, and the Parties agree that the English version will govern. (For Canada: Les parties aux présentés confirment leur volonté que cette convention de même que tous les documents y compris tout avis qui s'y rattaché, soient redigés en langue anglaise. (Translation: The parties confirm that this Agreement and all related documentation is and will be in the English language)).
v
vi
Abbreviated Table of Contents
About the Documentation xxix
Part 1 QoS on the E Series Router
Chapter 1 Quality of Service Overview 3
Part 2 Classifying, Queuing, and Dropping Traffic
Chapter 2 Defining Service Levels with Traffic Classes and Traffic-Class Groups 13
Chapter 3 Configuring Queue Profiles for Buffer Management 17
Chapter 4 Configuring Dropping Behavior with RED and WRED 25
Chapter 5 Gathering Statistics for Rates and Events in the Queue 37
Part 3 Scheduling and Shaping Traffic
Chapter 6 QoS Scheduler Hierarchy Overview 45
Chapter 7 Configuring Rates and Weights in the Scheduler Hierarchy 51
Chapter 8 Configuring Strict-Priority Scheduling 59
Chapter 9 Shared Shaping Overview 71
Chapter 10 Configuring Simple Shared Shaping of Traffic 79
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm 89
Chapter 12 Configuring Compound Shared Shaping of Traffic 99
Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping 107
Chapter 14 Monitoring a QoS Scheduler Hierarchy 123
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with
QoS Profiles
Chapter 15 QoS Profile Overview 127
Chapter 16 Configuring and Attaching QoS Profiles to an Interface 131
Chapter 17 Configuring Shadow Nodes for Queue Management 149
Chapter 18 Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles 155
Part 5 Interface Solutions for QoS
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM 159
Chapter 20 Configuring QoS for Gigabit Ethernet Interfaces and VLAN Subinterfaces 177
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups 183
Abbreviated Table of Contents vii
JUNOSe 11.1.x Quality of Service Configuration Guide
Chapter 22 Configuring QoS for L2TP Sessions 197
Chapter 23 Configuring Interface Sets for QoS 207
Part 6 Managing Queuing and Scheduling with QoS Parameters
Chapter 24 QoS Parameter Overview 225
Chapter 25 Configuring a QoS Parameter 229
Chapter 26 Configuring Hierarchical QoS Parameters 261
Chapter 27 Configuring IP Multicast Bandwidth Adjustment with QoS Parameters 269
Chapter 28 Configuring the Shaping Mode for Ethernet with QoS Parameters 281
Chapter 29 Configuring Byte Adjustment for Shaping Rates with QoS Parameters 293
Chapter 30 Configuring the Downstream Rate Using QoS Parameters 301
Part 7 Monitoring and Troubleshooting QoS
Chapter 31 Monitoring QoS on E Series Routers 313
Chapter 32 Troubleshooting QoS 357
Part 8 Index
Index 361
viii
Table of Contents
About the Documentation xxix
E Series and JUNOSe Documentation and Release Notes ............................xxix
Audience ....................................................................................................xxix
E Series and JUNOSe Text and Syntax Conventions ....................................xxix
Obtaining Documentation ..........................................................................xxxi
Documentation Feedback ...........................................................................xxxi
Requesting Technical Support .....................................................................xxxi
Self-Help Online Tools and Resources .................................................xxxii
Opening a Case with JTAC ...................................................................xxxii
Part 1 QoS on the E Series Router
Chapter 1 Quality of Service Overview 3
QoS on the E Series Router Overview ..............................................................3
QoS Audience ..................................................................................................4
QoS Platform Considerations ..........................................................................4
Interface Specifiers ...................................................................................5
QoS Terms ......................................................................................................5
QoS Features ...................................................................................................7
Configuring QoS on the E Series Router ..........................................................8
QoS References ...............................................................................................9
Part 2 Classifying, Queuing, and Dropping Traffic
Chapter 2 Defining Service Levels with Traffic Classes and Traffic-Class
Groups 13
Traffic Class and Traffic-Class Groups Overview ............................................13
Configuring Traffic Classes That Define Service Levels ..................................14
Configuring Traffic-Class Groups That Define Service Levels ..........................15
Monitoring Traffic Classes and Traffic-Class Groups for Defined Levels of
Best-Effort Forwarding ............................................................................13
Traffic-Class Groups Overview ................................................................14
Service ....................................................................................................16
Table of Contents ix
JUNOSe 11.1.x Quality of Service Configuration Guide
Chapter 3 Configuring Queue Profiles for Buffer Management 17
Queuing and Buffer Management Overview ..................................................17
Static Oversubscription ...........................................................................18
Dynamic Oversubscription .....................................................................18
Color-Based Thresholding .......................................................................18
Memory Requirements for Queue and Buffers ..............................................19
Guidelines for Managing Queue Thresholds ...................................................19
Guidelines for Configuring a Maximum Threshold ..................................19
Guidelines for Configuring a Minimum Threshold ...................................20
Guidelines for Managing Buffers ....................................................................20
Guidelines for Managing Buffer Starvation ..............................................21
Configuring Queue Profiles to Manage Buffers and Thresholds ......................22
Monitoring Queues and Buffers .....................................................................24
Chapter 4 Configuring Dropping Behavior with RED and WRED 25
Dropping Behavior Overview ........................................................................25
RED and WRED Overview .............................................................................26
Configuring RED ............................................................................................27
Example: Configuring Average Queue Length for RED ..................................28
Example: Configuring Dropping Thresholds for RED .....................................29
Example: Configuring Color-Blind RED ..........................................................29
Configuring WRED ........................................................................................31
Example: Configuring Different Treatment of Colored Packets for WRED .....33
Example: Defining Different Drop Behavior for Each Traffic Class for
WRED .....................................................................................................33
Example: Configuring WRED and Dynamic Queue Thresholds .....................34
Monitoring RED and WRED ..........................................................................36
Chapter 5 Gathering Statistics for Rates and Events in the Queue 37
QoS Statistics Overview .................................................................................37
Rate Statistics .........................................................................................38
Event Statistics ........................................................................................38
Bulk Statistics Support for QoS Statistics .................................................38
Configuring Statistic Profiles for QoS .............................................................39
Configuring Rate Statistics .............................................................................39
Configuring Event Statistics ...........................................................................40
Clearing QoS Statistics on the Egress Queue ..................................................41
Clearing QoS Statistics on the Fabric Queue ..................................................42
Monitoring QoS Statistics for Rates and Events .............................................42
x Table of Contents
Table of Contents
Part 3 Scheduling and Shaping Traffic
Chapter 6 QoS Scheduler Hierarchy Overview 45
Scheduler Hierarchy Overview ......................................................................45
Shaping Rates, Assured Rates, and Relative Weights in a Scheduler
Hierarchy .........................................................................................46
Configuring a Scheduler Hierarchy ................................................................47
Configuring a Scheduler Profile for a Scheduler Node or Queue ....................48
Using Expressions for Bandwidth and Burst Values in a Scheduler Profile .....48
Chapter 7 Configuring Rates and Weights in the Scheduler Hierarchy 51
Rate Shaping and Port Shaping Overview .....................................................51
Configuring Rate Shaping for a Scheduler Node or Queue .............................52
Configuring Port Shaping ..............................................................................53
Static and Hierarchical Assured Rate Overview .............................................54
Configuring an Assured Rate for a Scheduler Node or Queue ........................55
Configuring a Static Assured Rate ...........................................................55
Configuring a Hierarchical Assured Rate .................................................56
Changing the Assured Rate to an HRR Weight ........................................56
Configuring the HRR Weight for a Scheduler Node or Queue ........................57
Chapter 8 Configuring Strict-Priority Scheduling 59
Strict-Priority and Relative Strict-Priority Scheduling Overview .....................59
Relative Strict-Priority Scheduling Overview ...........................................60
Comparison of True Strict Priority with Relative Strict Priority
Scheduling ..............................................................................................61
Schedulers and True Strict Priority ..........................................................61
Schedulers and Relative Strict Priority ....................................................62
Relative Strict Priority on ATM Modules ..................................................63
Oversubscribing ATM Ports ..............................................................64
Minimizing Latency on the SAR Scheduler .......................................64
HRR Scheduler Behavior and Strict-Priority Scheduling ...........................64
Zero-Weight Queues .........................................................................64
Setting the Burst Size in a Shaping Rate ...........................................65
Special Shaping Rate for Nonstrict Queues .......................................65
Configuring Strict-Priority Scheduling ............................................................66
Configuring Relative Strict-Priority Scheduling for Aggregate Shaping
Rates .......................................................................................................68
Chapter 9 Shared Shaping Overview 71
Shared Shaping Overview .............................................................................71
Shared Shaper Terms ....................................................................................72
How Shared Shaping Works ..........................................................................72
Active Constituents for Shared Shaping ..................................................73
Table of Contents xi
JUNOSe 11.1.x Quality of Service Configuration Guide
Guidelines for Configuring Simple and Compound Shared Shaping ...............74
Shared Shaping and Individual Shaping ..................................................74
Shared Shaping and Best-Effort Queues and Nodes ................................74
ATM and Shared Shaping ........................................................................75
Sharing Bandwidth with the SAR ......................................................75
Shared Shaping and Low-CDV Mode ................................................75
Logical Interface Traffic Carried in Other Queues ....................................76
Traffic Starvation and Shared Shaping ....................................................76
Oversubscription and Shared Shaping ....................................................77
Burst Size and Shared Shaping ................................................................77
Chapter 10 Configuring Simple Shared Shaping of Traffic 79
Simple Shared Shaping Overview ..................................................................79
Bandwidth Allocation for Simple Shared Shaping ...................................79
Simple Shared Shaping on the Best-Effort Scheduler Node .....................79
Simple Shared Shaping for Triple-Play Networks ....................................80
Configuring Simple Shared Shaping ..............................................................81
Example: Simple Shared Shaping for ATM VCs .............................................83
Example: Simple Shared Shaping for ATM VPs ..............................................85
Example: Simple Shared Shaping for Ethernet ..............................................86
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm 89
Simple Shared Shaping Algorithm Overview .................................................89
Simple Shared Shaper Algorithm Calculations .........................................90
Variables of the Simple Shared Shaper Algorithm ..........................................91
Guidelines for Controlling the Simple Shared Shaper Algorithm ....................93
Configuring Simple Shared Shaper Algorithm Variables ................................93
Sample Process for Controlling the Simple Shared Shaper Algorithm ............95
Chapter 12 Configuring Compound Shared Shaping of Traffic 99
Compound Shared Shaping Overview ...........................................................99
Supported Hardware for Compound Shared Shaping ..............................99
Bandwidth Allocation for Compound Shared Shaping ...........................100
Configuring Compound Shared Shaping ......................................................100
Example: Compound Shared Shaping for ATM VCs .....................................102
Example: Compound Shared Shaping for ATM VPs .....................................104
xii Table of Contents
Chapter 13 Configuring Implicit and Explicit Constituent Selection for
Shaping 107
Constituent Selection for Shared Shaping Overview ....................................107
Types of Shared Shaper Constituents ....................................................108
Implicit Constituent Selection Overview ......................................................109
Implicit Bandwidth Allocation for Compound Shared Shaping ..............111
Weighted Compound Shared Shaping Example ..............................113
Configuring Implicit Constituents for Simple or Compound Shared
Shaping .................................................................................................114
Explicit Constituent Selection Overview ......................................................115
Explicit Shared Shaping Example ..........................................................116
Explicit Weighted Compound Shared Shaping Example .......................117
Configuring Explicit Constituents for Simple or Compound Shared
Shaping .................................................................................................120
Table of Contents
Chapter 14 Monitoring a QoS Scheduler Hierarchy 123
Monitoring QoS Scheduling and Shaping .....................................................123
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with
QoS Profiles
Chapter 15 QoS Profile Overview 127
QoS Profile Overview ..................................................................................127
Managing System Resources for Nodes and Queues ....................................127
Scaling Subscribers on the TFA ASIC with QoS ............................................128
Chapter 16 Configuring and Attaching QoS Profiles to an Interface 131
Supported Interface Types for QoS Profiles .................................................131
Configuring a QoS Profile ............................................................................132
Attaching a QoS Profile to an Interface ........................................................134
Attaching a QoS Profile to a Base Interface ...........................................134
Attaching a QoS Profile to an ATM VP ...................................................134
Attaching a QoS Profile to an S-VLAN ...................................................135
Attaching a QoS Profile to a Port Type ..................................................135
Munged QoS Profile Overview .....................................................................136
Sample Munged QoS Profile Process .....................................................137
Example: Port-Type QoS Profile Attachment ...............................................139
Example: QoS Profile Attachment to Port ....................................................141
Example: Diffserv Configuration with Multiple Traffic-Class Groups ............143
Table of Contents xiii
JUNOSe 11.1.x Quality of Service Configuration Guide
Chapter 17 Configuring Shadow Nodes for Queue Management 149
Shadow Node Overview ..............................................................................149
Shadow Nodes and Scheduler Behavior .......................................................150
Managing System Resources for Shadow Nodes ..........................................151
Configuring Shadow Nodes .........................................................................152
Example: Shadow Nodes over VLAN and IP Queues ....................................153
Example: Shadow Nodes on the Same Traffic-Class Group ..........................154
Example: Shadow Nodes on Different Traffic-Class Groups .........................154
Chapter 18 Monitoring a Scheduler Hierarchy on an Interface with QoS
Profiles 155
Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles ...........155
Part 5 Interface Solutions for QoS
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM 159
ATM Integrated Scheduler Overview ...........................................................159
Backpressure and the Integrated Scheduler ..........................................160
VP Shaping ...........................................................................................161
Integrating the HRR Scheduler and SAR Scheduler ......................................161
Per-Packet Queuing on the SAR Scheduler Overview ..................................163
Operational QoS Shaping Mode for ATM Interfaces Overview ..............164
ERX7xx Models, ERX14xx Models, and the ERX310 Router ...........164
E120 Router and E320 Router ........................................................165
Guidelines for Configuring QoS over ATM ...................................................166
Configuring Default Integrated Mode for ATM Interface ..............................168
Configuring Low-Latency Mode for Per-Port Queuing on ATM Interfaces ....169
Configuring Low-CDV Mode for Per-Port Queuing on ATM Interfaces ..........171
Configuring the QoS Shaping Mode for ATM Interfaces ...............................174
Disabling Per-Port Queuing on ATM Interfaces ............................................175
Monitoring QoS Configurations for ATM ......................................................175
Chapter 20 Configuring QoS for Gigabit Ethernet Interfaces and VLAN
Subinterfaces 177
Providing QoS for Ethernet Overview ..........................................................177
QoS Shaping Mode for Ethernet Interfaces Overview ..................................178
Configuring the QoS Shaping Mode for Ethernet Interfaces .........................179
Creating a QoS Interface Hierarchy for Bulk-Configured VLAN Subinterfaces
Monitoring QoS Configurations for Ethernet ................................................182
xiv Table of Contents
with RADIUS .........................................................................................180
Table of Contents
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups 183
QoS for 802.3ad Link Aggregation Interfaces Overview ..............................183
Types of Load Balancing .......................................................................183
Munged QoS Profiles and Load Balancing .............................................184
802.3ad Link Aggregation and QoS Parameters ....................................184
QoS and Ethernet Link Redundancy .....................................................185
Active Link Failure and QoS ...........................................................185
Administratively Disabling a Link and QoS .....................................185
Adding a New Link to the LAG and QoS .........................................185
Hashed Load Balancing for 802.3ad Link Aggregation Groups Overview .....186
Sample Scheduler Hierarchy for Hashed Load Balancing ......................186
Subscriber Load Balancing for 802.3ad Link Aggregation Groups
Overview ..............................................................................................186
S-VLANs and Subscriber Load Balancing ...............................................187
PPPoE over VLANs and Subscriber Load Balancing ...............................187
PPPoE over Ethernet (No VLANs) and Subscriber Load Balancing .........187
MPLS over LAG and Subscriber Load Balancing ....................................187
Sample Scheduler Hierarchy for Subscriber Load Balancing ..................188
Subscriber Allocation in 802.3ad Link Aggregation Groups ...................189
Guidelines for Configuring QoS over 802.3ad Link Aggregation Groups ......190
Configuring the Scheduler Hierarchy for Hashed Load Balancing in 802.3ad
Link Aggregation Groups .......................................................................191
Enabling Default Subscriber Load Balancing for 802.3ad Link Aggregation
Groups ..................................................................................................191
Configuring the Scheduler Hierarchy for Subscriber Load Balancing in 802.3ad
Link Aggregation Groups .......................................................................192
Configuring Load Rebalancing for 802.3ad Link Aggregation Groups ..........193
Configuring Load–Rebalancing Parameters ...........................................193
Configuring the System to Dynamically Rebalance the LAG ..................195
Monitoring QoS Configurations for 802.3ad Link Aggregation Groups .........195
Chapter 22 Configuring QoS for L2TP Sessions 197
Providing QoS for L2TP Overview ...............................................................197
Sample Scheduler Hierarchies for L2TP .......................................................197
Configuring QoS for an L2TP Session ..........................................................199
Configuring QoS for Tunnel-Server Ports for L2TP LNS Sessions .................202
QoS and L2TP TX Speed AVP 24 Overview .................................................203
Monitoring QoS Configurations for L2TP .....................................................204
Configuring QoS for an L2TP LNS Session .............................................200
Configuring QoS for an L2TP LAC Session ............................................201
Logical Interfaces and Shared-Shaping Rates ........................................203
Shaping Mode .......................................................................................204
Table of Contents xv
JUNOSe 11.1.x Quality of Service Configuration Guide
Chapter 23 Configuring Interface Sets for QoS 207
Interface Sets for QoS Overview ..................................................................207
Interface Set Terms ...............................................................................207
Architecture of Interface Sets for QoS .........................................................208
Interface Set Parents and Types ............................................................209
Sample Interface Columns and Scheduler Hierarchies ..........................209
Scheduling and Shaping Interface Sets ..................................................210
Configuring Interface Sets for Scheduling and Queuing ...............................211
Configuring Interface Supersets for QoS ......................................................212
Configuring an Interface Superset .........................................................212
Restricting an Interface Superset to an S-VLAN ID or an ATM VP ..........212
Configuring Interface Sets for QoS ..............................................................213
Configuring an Interface Set .................................................................213
Deleting an Interface Set from an Interface Superset ............................213
Adding Member Interfaces to an Interface Set .............................................214
Adding Interfaces to an Interface Set with the CLI ................................214
Adding Interfaces to an Interface Set with RADIUS ...............................215
Changing and Deleting Interface Members in an Interface Set ..............215
Changing Interface Members with Upper-Layer Protocols in an Interface
Set ..................................................................................................215
Creating a QoS Parameter on an Interface Superset or Interface Set ...........216
Configuring a QoS Parameter Definition for an Interface Superset or an
Interface Set ...................................................................................216
Creating a QoS Parameter Instance for an Interface Superset ...............217
Creating a QoS Parameter Instance for an Interface Set ........................217
Attaching a QoS Profile to an Interface Superset or an Interface Set ............218
Configuring a QoS Profile for an Interface Superset or an Interface
Set ..................................................................................................218
Attaching a QoS Profile to an Interface Superset ...................................218
Attaching a QoS Profile to an Interface Set ...........................................219
Deleting an Interface Superset or an Interface Set .......................................219
Deleting an Interface Superset ..............................................................219
Deleting an Interface Set .......................................................................220
Example: Configuring Interface Sets for 802.3ad Link Aggregation
Groups ..................................................................................................220
Part 6 Managing Queuing and Scheduling with QoS Parameters
Chapter 24 QoS Parameter Overview 225
QoS Parameter Overview ............................................................................225
QoS Parameter Audience ............................................................................225
QoS Parameter Terms .................................................................................226
xvi Table of Contents
Table of Contents
Relationship Among QoS Parameters, Scheduler Profiles, and QoS
Profiles .................................................................................................227
QoS Administrator Tasks ......................................................................227
QoS Client Tasks ...................................................................................228
Chapter 25 Configuring a QoS Parameter 229
Parameter Definition Attributes for QoS Administrators Overview ..............229
Naming Guidelines for QoS Parameters ................................................230
Interface Types and QoS Parameters ....................................................231
Controlled-Interface Types .............................................................231
Instance-Interface Types ................................................................232
Subscriber-Interface Types .............................................................233
Range of QoS Parameters .....................................................................234
Applications and QoS Parameters .........................................................235
Scheduler Profiles and Parameter Expressions for QoS Administrators .......235
Referencing a Parameter Definition in a Scheduler Profile ....................235
Removing or Modifying a Scheduler Profile ....................................236
Using Expressions for QoS Parameters .................................................236
Operators and Precedence .............................................................236
Specifying a Range in Expressions .................................................237
Configuring a Basic Parameter Definition for QoS Administrators ...............238
Parameter Instances for QoS Clients Overview ...........................................240
Global QoS Parameter Instance Overview .............................................240
QoS Parameters for Interfaces Overview ..............................................241
Creating Parameter Instances ......................................................................242
Creating a Global Parameter Instance ...................................................242
Creating a Parameter Instance for an Interface .....................................242
Creating a Parameter Instance for an ATM VP ......................................242
Creating a Parameter Instance for an S-VLAN .......................................243
Example: QoS Parameter Configuration for Controlling Subscriber
Bandwidth ............................................................................................243
Procedure for QoS Administrators ........................................................245
Procedure for QoS Clients .....................................................................250
Monitoring the Subscriber Configuration ..............................................252
Complete Configuration Example .........................................................256
QoS Administrator Configuration ...................................................256
QoS Client Configuration ................................................................258
Chapter 26 Configuring Hierarchical QoS Parameters 261
Hierarchical QoS Parameters Overview .......................................................261
Guidelines for Configuring Hierarchical Parameters ....................................261
Configuring a Parameter Definition to Calculate Hierarchical Instances ......262
Example: QoS Parameter Configuration for Hierarchical Parameters ..........263
Procedure for QoS Administrators ........................................................264
Procedure for QoS Clients .....................................................................265
Monitoring Hierarchical QoS Parameters ..............................................266
Table of Contents xvii
JUNOSe 11.1.x Quality of Service Configuration Guide
Complete Configuration Example .........................................................267
QoS Administrator Configuration ...................................................267
QoS Client Configuration ................................................................267
Chapter 27 Configuring IP Multicast Bandwidth Adjustment with QoS
Parameters 269
IP Multicast Bandwidth Adjustment for QoS Overview ................................269
Guidelines for Configuring IP Multicast Adjustment for QoS ........................271
Configuring a Parameter Definition for IP Multicast Bandwidth
Adjustment ...........................................................................................271
Example: QoS Parameter Configuration for IP Multicast Bandwidth
Adjustment ...........................................................................................273
Monitoring the Configuration ................................................................276
Complete Configuration Example .........................................................279
Chapter 28 Configuring the Shaping Mode for Ethernet with QoS Parameters 281
Cell Shaping Mode Using QoS Parameters Overview ...................................281
Overriding the QoS Shaping Mode ........................................................281
Module Types and Capabilities for QoS Cell Mode Application ..............282
Cell Tax Adjustment Using QoS Cell Mode ............................................282
Relationship with QoS Downstream Rate Application ...........................283
Guidelines for Configuring the Cell Shaping Mode with QoS Parameters .....283
Configuring a Parameter Definition to Shape Ethernet Traffic Using Cell
Mode ....................................................................................................284
Example: QoS Parameter Configuration for QoS Cell Mode and Byte
Adjustment for Cell Shaping ..................................................................286
Complete Configuration Example .........................................................290
Chapter 29 Configuring Byte Adjustment for Shaping Rates with QoS
Parameters 293
Byte Adjustment for ADSL and VDSL Traffic Overview ................................293
Byte Adjustment for Cell Shaping of ADSL Traffic Overview .................293
Calculation and Example of Byte Adjustment for Cell Shaping .......294
Byte Adjustment for Frame Shaping of VDSL Traffic Overview .............295
System Calculation for Byte Adjustment of ADSL and VDSL Traffic ......295
Guidelines for Configuring Byte Adjustment of Cell and Frame Shaping Rates
Using QoS Parameters ..........................................................................296
Configuring a Parameter Definition to Adjust Cell Shaping Rates for ADSL
Traffic ...................................................................................................297
Configuring a Parameter Definition to Adjust Frame Shaping Rates for VDSL
Traffic ...................................................................................................299
xviii Table of Contents
Table of Contents
Chapter 30 Configuring the Downstream Rate Using QoS Parameters 301
QoS Downstream Rate Application Overview ..............................................301
Downstream Rate and the Shaping Mode .............................................301
QoS Adaptive Mode and Downstream Rate ..........................................302
Obtaining Downstream Rates from a DSL Forum VSA ..........................302
Guidelines for Configuring QoS Downstream Rate ......................................303
Configuring a Parameter Definition for QoS Downstream Rate ...................303
Example: QoS Parameter Configuration for QoS Downstream Rate ............305
Complete Configuration Example .........................................................309
Part 7 Monitoring and Troubleshooting QoS
Chapter 31 Monitoring QoS on E Series Routers 313
Monitoring Service Levels with Traffic Classes .............................................314
Monitoring Service Levels with Traffic-Class Groups ....................................315
Monitoring Queue Thresholds .....................................................................316
Monitoring Queue Profiles ...........................................................................319
Monitoring Drop Profiles for RED and WRED ..............................................320
Monitoring the QoS Scheduler Hierarchy .....................................................322
Monitoring the Configuration of Scheduler Profiles .....................................327
Monitoring Shared Shapers .........................................................................329
Monitoring Shared Shaper Algorithm Variables ...........................................330
Monitoring Forwarding and Drop Events on the Egress Queue ...................331
Monitoring Forwarding and Drop Rates on the Egress Queue .....................333
Monitoring Queue Statistics for the Fabric ...................................................337
Monitoring the Configuration of Statistics Profiles .......................................338
Monitoring the QoS Profiles Attached to an Interface ..................................339
Monitoring the Configuration of QoS Port-Type Profiles ..............................340
Monitoring the Configuration of QoS Profiles ..............................................341
Monitoring the QoS Configuration of ATM Interfaces ..................................343
Monitoring the QoS Configuration of IP Interfaces ......................................345
Monitoring the QoS Configuration of Fast Ethernet, Gigabit Ethernet, and
10-Gigabit Ethernet Interfaces ...............................................................347
Monitoring the QoS Configuration of IEEE 802.3ad Link Aggregation Group
Bundles .................................................................................................349
Monitoring the Configuration of QoS Interface Sets .....................................350
Monitoring the Configuration of QoS Interface Supersets ............................351
Monitoring the AAA Downstream Rate for QoS ...........................................352
Monitoring QoS Parameter Instances ..........................................................352
Monitoring QoS Parameter Definitions ........................................................355
Table of Contents xix
JUNOSe 11.1.x Quality of Service Configuration Guide
Chapter 32 Troubleshooting QoS 357
Troubleshooting Memory and Processor Use for Egress Queue Rate Statistics
and Events ............................................................................................357
Part 8 Index
Index ...........................................................................................................361
xx Table of Contents
List of Figures
Part 1 QoS on the E Series Router
Chapter 1 Quality of Service Overview 3
Figure 1: Traffic Flow Through an E Series Router ...........................................4
Part 2 Classifying, Queuing, and Dropping Traffic
Chapter 4 Configuring Dropping Behavior with RED and WRED 25
Figure 2: Packets Dropped as Queue Length Increases ..................................27
Figure 3: Color-Blind RED Drop Profile with Colorless Queue Profile .............30
Figure 4: Color-Blind RED Drop Profile with Color-Sensitive Queue
Profile .....................................................................................................30
Figure 5: Different Treatment of Colored Packets ..........................................33
Figure 6: Defining Different Drop Behavior for Each Queue ..........................34
Figure 7: WRED and Dynamic Queue Thresholding ......................................36
Part 3 Scheduling and Shaping Traffic
Chapter 6 QoS Scheduler Hierarchy Overview 45
Figure 8: QoS Scheduler Hierarchy ................................................................46
Chapter 7 Configuring Rates and Weights in the Scheduler Hierarchy 51
Figure 9: Port Shaping on an Ethernet Module ..............................................52
Figure 10: Hierarchical Assured Rate .............................................................55
Chapter 8 Configuring Strict-Priority Scheduling 59
Figure 11: Sample Strict-Priority Scheduling Hierarchy ..................................60
Figure 12: True Strict-Priority Configuration ..................................................62
Figure 13: Relative Strict-Priority Configuration .............................................63
Figure 14: Tuning Latency on Strict-Priority Queues ......................................66
Figure 15: Sample Strict-Priority Scheduling Hierarchy ..................................67
Figure 16: Sample Relative Strict-Priority Scheduler Hierarchy ......................69
Chapter 9 Shared Shaping Overview 71
Figure 17: Implicit Constituent Selection for Compound Shared Shaper: Mixed
Interface Types .......................................................................................76
Chapter 10 Configuring Simple Shared Shaping of Traffic 79
Figure 18: Simple Shared Shaping over ATM .................................................80
Figure 19: Simple Shared Shaping over Ethernet ...........................................81
Figure 20: VP Shared Shaping .......................................................................85
Figure 21: Hierarchical Simple Shared Shaping over Ethernet .......................86
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm 89
Figure 22: Simple Shared Shaper Behavior Without Algorithm Controls ........89
List of Figures xxi
JUNOSe 11.1.x Quality of Service Configuration Guide
Figure 23: Less Conservative Simple Shared Shaper Behavior .......................90
Figure 24: More Liberal Simple Shared Shaper Behavior ...............................90
Figure 25: Dynamic Rate When Video Flow Starts ........................................96
Figure 26: Dynamic Rate When Video Flow Stops .........................................97
Chapter 12 Configuring Compound Shared Shaping of Traffic 99
Figure 27: VC Compound Shared Shaping Example ....................................102
Figure 28: VP Compound Shared Shaping Example ....................................105
Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping 107
Figure 29: Implicit Constituent Selection for Compound Shared Shaper at
Best-Effort Node ....................................................................................110
Figure 30: Implicit Constituent Selection for Compound Shared Shaper at
Best-Effort Queue ..................................................................................111
Figure 31: Weighted Shared Shaping ...........................................................113
Figure 32: Implicit Constituent Selection for Compound Shared Shaper: Mixed
Interface Types .....................................................................................114
Figure 33: Explicit Constituent Selection .....................................................117
Figure 34: Case 1: Explicit Constituent Selection with Weighted
Constituents ..........................................................................................118
Figure 35: Case 2: Explicit Constituent Selection with Weighted
Constituents ..........................................................................................119
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with
QoS Profiles
Chapter 16 Configuring and Attaching QoS Profiles to an Interface 131
Figure 36: Munged Profile Example .............................................................138
Figure 37: Attaching QoS Profiles to ATM Subinterfaces ..............................139
Figure 38: Attaching QoS Profile to ATM Interface and Subinterface ...........142
Figure 39: Diffserv Configuration with Multiple Traffic-Class Groups ...........146
Figure 40: Diffserv Configuration Without Traffic-Class Groups ...................147
Chapter 17 Configuring Shadow Nodes for Queue Management 149
Figure 41: Phantom Nodes ..........................................................................150
Figure 42: Shadow Nodes ............................................................................151
Part 5 Interface Solutions for QoS
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM 159
Figure 43: Integrated ATM Scheduler ..........................................................161
Figure 44: Default Integrated Mode .............................................................168
Figure 45: Low-Latency Mode ......................................................................170
Figure 46: Low-CDV Mode (per-VP CDVT) ...................................................172
Figure 47: Low-CDV Mode (per-VC CDVT) ...................................................172
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups 183
Figure 48: 802.3ad Link Aggregation Scheduler Hierarchy ..........................186
Figure 49: Subscriber LoadBalanced Scheduler Hierarchy for Port 0 ...........188
Figure 50: Subscriber LoadBalanced Scheduler Hierarchy for Port 1 ...........189
Figure 51: Subscriber Allocation and Load Balancing ..................................189
Chapter 22 Configuring QoS for L2TP Sessions 197
xxii List of Figures
List of Figures
Figure 52: LNS (Non-MLPPP) Scheduler Hierarchy .......................................198
Figure 53: LNS (MLPPP) QoS Scheduler Hierarchy .......................................198
Figure 54: LAC over Ethernet (Without VLANs) Scheduler Hierarchy ...........198
Figure 55: LAC over Ethernet (With LANs) Scheduler Hierarchy ..................199
Figure 56: LAC over ATM ............................................................................199
Chapter 23 Configuring Interface Sets for QoS 207
Figure 57: VLAN Interface Column with Interface Sets ................................210
Figure 58: Scheduler Hierarchy with Nodes at Interface Set and Superset ....210
Part 6 Managing Queuing and Scheduling with QoS Parameters
Chapter 24 QoS Parameter Overview 225
Figure 59: Relationship of Parameter Definitions, Scheduler Profiles, and
QoS Profiles ..........................................................................................227
Chapter 25 Configuring a QoS Parameter 229
Figure 60: Physical Network Topology ........................................................244
Figure 61: QoS Scheduler Hierarchy ............................................................244
Chapter 26 Configuring Hierarchical QoS Parameters 261
Figure 62: Hierarchical Parameters Scheduler Hierarchy .............................264
Chapter 27 Configuring IP Multicast Bandwidth Adjustment with QoS Parameters 269
Figure 63: Scheduler Hierarchy with QoS Adjustment for IP Multicast .........274
Chapter 28 Configuring the Shaping Mode for Ethernet with QoS Parameters 281
Figure 64: Byte Adjustment for VC1 and VC2 ..............................................286
Chapter 29 Configuring Byte Adjustment for Shaping Rates with QoS Parameters 293
Figure 65: Byte Adjustment Calculation for Ethernet and ATM
Encapsulations ......................................................................................294
List of Figures xxiii
JUNOSe 11.1.x Quality of Service Configuration Guide
xxiv List of Figures
List of Tables
About the Documentation xxix
Table 1: Notice Icons ...................................................................................xxx
Table 2: Text and Syntax Conventions ........................................................xxx
Part 1 QoS on the E Series Router
Chapter 1 Quality of Service Overview 3
Table 3: QoS Terminology ...............................................................................5
Table 4: QoS Features .....................................................................................7
Part 2 Classifying, Queuing, and Dropping Traffic
Chapter 3 Configuring Queue Profiles for Buffer Management 17
Table 5: Egress Memory and Region Size on ASIC Line Modules ...................19
Part 3 Scheduling and Shaping Traffic
Chapter 9 Shared Shaping Overview 71
Table 6: Shared Shaper Terminology Used in This Chapter ...........................72
Table 7: Comparison of Simple and Compound Shared Shaping ...................73
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm 89
Table 8: Guidelines for Configuring Simple Shared Shaper Algorithm
Variables .................................................................................................93
Table 9: Rising Edge Sample When Video Flow Starts ...................................95
Table 10: Data When Video Flow Stops .........................................................96
Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping 107
Table 11: Comparison of Implicit and Explicit Shared Shaping ....................108
Table 12: Bandwidth Allocation for Case 1 Explicit Constituents .................118
Table 13: Bandwidth Allocation for Case 2 Explicit Constituents .................119
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with
QoS Profiles
Chapter 16 Configuring and Attaching QoS Profiles to an Interface 131
Table 14: Interface Types and Supported Commands .................................131
Chapter 17 Configuring Shadow Nodes for Queue Management 149
Table 15: Shadow Node Consumption of Node and Queue Resources .........152
List of Tables xxv
JUNOSe 11.1.x Quality of Service Configuration Guide
Part 5 Interface Solutions for QoS
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM 159
Table 16: qos-mode-port Commands ..........................................................162
Table 17: Operational Shaping Modes for ERX7xx Models, ERX14xx Models,
and the ERX310 Router ........................................................................165
Table 18: Operational Shaping Modes for the E120 Router and E320
Router ...................................................................................................166
Chapter 20 Configuring QoS for Gigabit Ethernet Interfaces and VLAN Subinterfaces 177
Table 19: Operational Shaping Modes .........................................................178
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups 183
Table 20: Load Balancing Algorithm Parameters .........................................193
Chapter 23 Configuring Interface Sets for QoS 207
Table 21: Interface Set Terms ......................................................................208
Part 6 Managing Queuing and Scheduling with QoS Parameters
Chapter 24 QoS Parameter Overview 225
Table 22: QoS Parameter Terminology Used in This Chapter ......................226
Chapter 25 Configuring a QoS Parameter 229
Table 23: Attributes in Parameter Definitions ..............................................229
Table 24: Sample Parameter Names ...........................................................230
Table 25: Valid and Invalid Parameter Names .............................................231
Table 26: Operators for Parameter Expressions ..........................................237
Chapter 28 Configuring the Shaping Mode for Ethernet with QoS Parameters 281
Table 27: Supported Interfaces for qos-shaping-mode and qos-cell-mode
Commands ...........................................................................................282
Table 28: Byte Adjustment for Subscribers VC1 and VC2 ............................286
Chapter 29 Configuring Byte Adjustment for Shaping Rates with QoS Parameters 293
Table 29: Header Lengths for Ethernet Encapsulation .................................294
Table 30: Header Lengths for ATM Encapsulation .......................................295
Table 31: Byte Adjustment Values for Frame and Cell Shaping Modes ........296
Chapter 30 Configuring the Downstream Rate Using QoS Parameters 301
Table 32: Access Loop Types and Resultant Shaping Mode .........................302
Table 33: Shaping Rate and Shaping Mode ..................................................306
Part 7 Monitoring and Troubleshooting QoS
Chapter 31 Monitoring QoS on E Series Routers 313
Table 34: show traffic-class Output Fields ...................................................314
Table 35: show traffic-class-group Output Fields .........................................315
Table 36: show qos queue-thresholds Output Fields ....................................319
Table 37: show queue-profile Output Fields .................................................320
Table 38: show drop-profile Output Fields ...................................................321
Table 39: show qos scheduler-hierarchy Output Fields ................................327
Table 40: show scheduler-profile Output Fields ...........................................328
Table 41: show qos shared-shaper Output Fields .........................................330
Table 42: show qos shared-shaper-control Output Fields .............................331
xxvi List of Tables
List of Tables
Table 43: show egress-queue events Output Fields ......................................332
Table 44: show egress-queue rates Output Fields ........................................335
Table 45: show fabric-queue Output Fields ..................................................337
Table 46: show statistics-profile Output Fields .............................................338
Table 47: show qos interface-hierarchy Output Fields .................................339
Table 48: show qos-profile Output Fields .....................................................342
Table 49: show interfaces atm Output Fields ...............................................344
Table 50: show ip interface Output Fields ...................................................346
Table 51: show interfaces Output Fields ......................................................348
Table 52: show interfaces lag members Output Fields .................................349
Table 53: show qos-interface-set Output Fields ...........................................350
Table 54: show qos-interface-superset Output Fields ...................................351
Table 55: show aaa qos downstream-rate Output Fields ..............................352
Table 56: show qos-parameter Output Fields ..............................................354
Table 57: show qos-parameter-define Output Fields ....................................355
List of Tables xxvii
JUNOSe 11.1.x Quality of Service Configuration Guide
xxviii List of Tables
About the Documentation
E Series and JUNOSe Documentation and Release Notes on page xxix
Audience on page xxix
E Series and JUNOSe Text and Syntax Conventions on page xxix
Obtaining Documentation on page xxxi
Documentation Feedback on page xxxi
Requesting Technical Support on page xxxi
E Series and JUNOSe Documentation and Release Notes
For a list of related JUNOSe documentation, see
http://www.juniper.net/techpubs/software/index.html .
If the information in the latest release notes differs from the information in the documentation, follow the JUNOSe Release Notes.
To obtain the most current version of all Juniper Networks® technical documentation, see the product documentation page on the Juniper Networks website at
http://www.juniper.net/techpubs/.
Audience
This guide is intended for experienced system and network specialists working with Juniper Networks E Series Broadband Services Routers in an Internet access environment.
E Series and JUNOSe Text and Syntax Conventions
Table 1 on page xxx defines notice icons used in this documentation.
E Series and JUNOSe Documentation and Release Notes xxix
JUNOSe 11.1.x Quality of Service Configuration Guide
Table 1: Notice Icons
Table 2 on page xxx defines text and syntax conventions that we use throughout the E Series and JUNOSe documentation.
DescriptionMeaningIcon
Indicates important features or instructions.Informational note
Indicates a situation that might result in loss of data or hardware damage.Caution
Alerts you to the risk of personal injury or death.Warning
Alerts you to the risk of personal injury from a laser.Laser warning
Table 2: Text and Syntax Conventions
Represents commands and keywords in text.Bold text like this
Bold text like this
Fixed-width text like this
Represents text that the user must type.
Represents information as displayed on your terminals screen.
Italic text like this
Emphasizes words.
Identifies variables.
Identifies chapter, appendix, and book
names.
Plus sign (+) linking key names
keys simultaneously.
Syntax Conventions in the Command Reference Guide
ExamplesDescriptionConvention
Issue the clock source command.
Specify the keyword exp-msg.
host1(config)#traffic class low-loss1
host1#show ip ospf 2
Routing Process OSPF 2 with Router ID 5.5.0.250 Router is an Area Border Router (ABR)
There are two levels of access: user and
privileged.
clusterId, ipAddress.
Appendix A, System Specifications
Press Ctrl + b.Indicates that you must press two or more
terminal lengthRepresents keywords.Plain text like this
| (pipe symbol)
xxx E Series and JUNOSe Text and Syntax Conventions
mask, accessListNameRepresents variables.Italic text like this
diagnostic | lineRepresents a choice to select one keyword or variable to the left or to the right of this symbol. (The keyword or variable can be either optional or required.)
Loading...
+ 368 hidden pages