Juniper JUNOSE 11.3 Configuration manual

Category
Software
Type
Configuration manual
JunosE™ Software
for E Series Broadband
Services Routers
Quality of Service Configuration Guide
Release
11.3.x
Published: 2010-09-22
Copyright © 2010, Juniper Networks, Inc.
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United
States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks 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.3.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, Namrata
Mehta
Editing: Benjamin Mann
Illustration: Nathaniel Woodward
Cover Design: Edmonds Design
Revision History
October 2010—FRS JunosE 11.3.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 OS has no known time-related limitations through
the year 2038. However, the NTP application is known to have some difficulty in the year 2036.
Copyright © 2010, Juniper Networks, Inc.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 Customer’s 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 Customer’s 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.
Customer’s 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, Customer’s 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 Customer’s
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
iiiCopyright © 2010, Juniper Networks, Inc.
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.
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 Customer’s internal business purposes.
7. Ownership. Juniper and Juniper’s 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,ORFORANYSPECIAL,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 Juniper’s 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 Customer’s 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
Customer’s 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 Customer’s non-compliance or delay with its responsibilities herein. Customer’s 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 Customer’s ability to export the Software without
an export license.
Copyright © 2010, Juniper Networks, Inc.iv
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 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)).
vCopyright © 2010, Juniper Networks, Inc.
Copyright © 2010, Juniper Networks, Inc.vi
Abbreviated Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Chapter 9 Shared Shaping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Chapter 10 Configuring Simple Shared Shaping of Traffic . . . . . . . . . . . . . . . . . . . . . . . . 75
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm . . . . . . . . . 85
Chapter 12 Configuring Compound Shared Shaping of Traffic . . . . . . . . . . . . . . . . . . . . 95
Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping . . . . 103
Chapter 14 Monitoring a QoS Scheduler Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with QoS
Profiles
Chapter 15 QoS Profile Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Chapter 16 Configuring and Attaching QoS Profiles to an Interface . . . . . . . . . . . . . . . . 125
Chapter 17 Configuring Shadow Nodes for Queue Management . . . . . . . . . . . . . . . . . . 141
Chapter 18 Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles . . . . 147
Part 5 Interface Solutions for QoS
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM . . . . . . . . . . . 151
Chapter 20 Configuring QoS for Gigabit Ethernet Interfaces and VLAN
Subinterfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups . . . . . . . . . . . . . . . . 175
viiCopyright © 2010, Juniper Networks, Inc.
Chapter 22 Configuring QoS for L2TP Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Chapter 23 Configuring Interface Sets for QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Part 6 Managing Queuing and Scheduling with QoS Parameters
Chapter 24 QoS Parameter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Chapter 25 Configuring a QoS Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Chapter 26 Configuring Hierarchical QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Chapter 27 Configuring IP Multicast Bandwidth Adjustment with QoS Parameters . . 253
Chapter 28 Configuring the Shaping Mode for Ethernet with QoS Parameters . . . . . 265
Chapter 29 Configuring Byte Adjustment for Shaping Rates with QoS Parameters . . 275
Chapter 30 Configuring the Downstream Rate Using QoS Parameters . . . . . . . . . . . . 283
Part 7 Monitoring and Troubleshooting QoS
Chapter 31 Monitoring QoS on E Series Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Chapter 32 Troubleshooting QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Part 8 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Copyright © 2010, Juniper Networks, Inc.viii
JunosE 11.3.x Quality of Service Configuration Guide
Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
E Series and JunosE Documentation and Release Notes . . . . . . . . . . . . . . . . . . xxvii
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
E Series and JunosE Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . xxvii
Obtaining Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
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
Best-Effort Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Traffic-Class Groups Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
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
Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Chapter 3 Configuring Queue Profiles for Buffer Management . . . . . . . . . . . . . . . . . . . . 17
Queuing and Buffer Management Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Static Oversubscription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Dynamic Oversubscription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
ixCopyright © 2010, Juniper Networks, Inc.
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 . . . . . . . . . . . . . . . . . . . . . . . 28
Example: Configuring Color-Blind RED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Configuring WRED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Example: Configuring Different Treatment of Colored Packets for WRED . . . . . . . 32
Example: Defining Different Drop Behavior for Each Traffic Class for WRED . . . . 32
Example: Configuring WRED and Dynamic Queue Thresholds . . . . . . . . . . . . . . . 33
Monitoring RED and WRED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
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
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
Copyright © 2010, Juniper Networks, Inc.x
JunosE 11.3.x Quality of Service Configuration Guide
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Static and Hierarchical Assured Rate Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Configuring an Assured Rate for a Scheduler Node or Queue . . . . . . . . . . . . . . . . 54
Configuring a Static Assured Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Configuring a Hierarchical Assured Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Changing the Assured Rate to an HRR Weight . . . . . . . . . . . . . . . . . . . . . . . . 55
Configuring the HRR Weight for a Scheduler Node or Queue . . . . . . . . . . . . . . . . 56
Chapter 8 Configuring Strict-Priority Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Strict-Priority and Relative Strict-Priority Scheduling Overview . . . . . . . . . . . . . . 57
Relative Strict-Priority Scheduling Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Comparison of True Strict Priority with Relative Strict Priority Scheduling . . . . . . 59
Schedulers and True Strict Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Schedulers and Relative Strict Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Relative Strict Priority on ATM Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Oversubscribing ATM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Minimizing Latency on the SAR Scheduler . . . . . . . . . . . . . . . . . . . . . . . . 61
HRR Scheduler Behavior and Strict-Priority Scheduling . . . . . . . . . . . . . . . . . 61
Zero-Weight Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Setting the Burst Size in a Shaping Rate . . . . . . . . . . . . . . . . . . . . . . . . . 62
Special Shaping Rate for Nonstrict Queues . . . . . . . . . . . . . . . . . . . . . . . 62
Configuring Strict-Priority Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Configuring Relative Strict-Priority Scheduling for Aggregate Shaping Rates . . . . 65
Chapter 9 Shared Shaping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Shared Shaping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Shared Shaper Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
How Shared Shaping Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Active Constituents for Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Guidelines for Configuring Simple and Compound Shared Shaping . . . . . . . . . . . 70
Shared Shaping and Individual Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Shared Shaping and Best-Effort Queues and Nodes . . . . . . . . . . . . . . . . . . . 70
ATM and Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Sharing Bandwidth with the SAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Shared Shaping and Low-CDV Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Logical Interface Traffic Carried in Other Queues . . . . . . . . . . . . . . . . . . . . . . 72
Traffic Starvation and Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Oversubscription and Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Burst Size and Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Chapter 10 Configuring Simple Shared Shaping of Traffic . . . . . . . . . . . . . . . . . . . . . . . . 75
Simple Shared Shaping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Bandwidth Allocation for Simple Shared Shaping . . . . . . . . . . . . . . . . . . . . . 75
Simple Shared Shaping on the Best-Effort Scheduler Node . . . . . . . . . . . . . 75
xiCopyright © 2010, Juniper Networks, Inc.
Table of Contents
Simple Shared Shaping for Triple-Play Networks . . . . . . . . . . . . . . . . . . . . . . 76
Configuring Simple Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Example: Simple Shared Shaping for ATM VCs . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Example: Simple Shared Shaping for ATM VPs . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Example: Simple Shared Shaping for Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm . . . . . . . . . 85
Simple Shared Shaping Algorithm Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Simple Shared Shaper Algorithm Calculations . . . . . . . . . . . . . . . . . . . . . . . . 86
Variables of the Simple Shared Shaper Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 87
Guidelines for Controlling the Simple Shared Shaper Algorithm . . . . . . . . . . . . . 88
Configuring Simple Shared Shaper Algorithm Variables . . . . . . . . . . . . . . . . . . . . 89
Sample Process for Controlling the Simple Shared Shaper Algorithm . . . . . . . . . 90
Chapter 12 Configuring Compound Shared Shaping of Traffic . . . . . . . . . . . . . . . . . . . . 95
Compound Shared Shaping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Supported Hardware for Compound Shared Shaping . . . . . . . . . . . . . . . . . . 95
Bandwidth Allocation for Compound Shared Shaping . . . . . . . . . . . . . . . . . . 96
Configuring Compound Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Example: Compound Shared Shaping for ATM VCs . . . . . . . . . . . . . . . . . . . . . . . . 98
Example: Compound Shared Shaping for ATM VPs . . . . . . . . . . . . . . . . . . . . . . . 100
Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping . . . . 103
Constituent Selection for Shared Shaping Overview . . . . . . . . . . . . . . . . . . . . . . 103
Types of Shared Shaper Constituents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Implicit Constituent Selection Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Implicit Bandwidth Allocation for Compound Shared Shaping . . . . . . . . . . . 107
Weighted Compound Shared Shaping Example . . . . . . . . . . . . . . . . . . 109
Configuring Implicit Constituents for Simple or Compound Shared Shaping . . . 110
Explicit Constituent Selection Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Explicit Shared Shaping Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Explicit Weighted Compound Shared Shaping Example . . . . . . . . . . . . . . . . 112
Configuring Explicit Constituents for Simple or Compound Shared Shaping . . . . 115
Chapter 14 Monitoring a QoS Scheduler Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Monitoring QoS Scheduling and Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with QoS
Profiles
Chapter 15 QoS Profile Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
QoS Profile Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Managing System Resources for Nodes and Queues . . . . . . . . . . . . . . . . . . . . . . . 121
Scaling Subscribers on the TFA ASIC with QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Chapter 16 Configuring and Attaching QoS Profiles to an Interface . . . . . . . . . . . . . . . . 125
Supported Interface Types for QoS Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Configuring a QoS Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Attaching a QoS Profile to an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Attaching a QoS Profile to a Base Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Attaching a QoS Profile to an ATM VP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Copyright © 2010, Juniper Networks, Inc.xii
JunosE 11.3.x Quality of Service Configuration Guide
Attaching a QoS Profile to an S-VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Attaching a QoS Profile to a Port Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Munged QoS Profile Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Sample Munged QoS Profile Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Example: Port-Type QoS Profile Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Example: QoS Profile Attachment to Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Example: Diffserv Configuration with Multiple Traffic-Class Groups . . . . . . . . . . 137
Chapter 17 Configuring Shadow Nodes for Queue Management . . . . . . . . . . . . . . . . . . 141
Shadow Node Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Shadow Nodes and Scheduler Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Managing System Resources for Shadow Nodes . . . . . . . . . . . . . . . . . . . . . . . . . 143
Configuring Shadow Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Example: Shadow Nodes over VLAN and IP Queues . . . . . . . . . . . . . . . . . . . . . . 145
Example: Shadow Nodes on the Same Traffic-Class Group . . . . . . . . . . . . . . . . 146
Example: Shadow Nodes on Different Traffic-Class Groups . . . . . . . . . . . . . . . . 146
Chapter 18 Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles . . . . 147
Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles . . . . . . . . . . 147
Part 5 Interface Solutions for QoS
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM . . . . . . . . . . . 151
ATM Integrated Scheduler Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Backpressure and the Integrated Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . 152
VP Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Integrating the HRR Scheduler and SAR Scheduler . . . . . . . . . . . . . . . . . . . . . . . 154
Per-Packet Queuing on the SAR Scheduler Overview . . . . . . . . . . . . . . . . . . . . . . 155
Operational QoS Shaping Mode for ATM Interfaces Overview . . . . . . . . . . . 156
ERX7xx Models, ERX14xx Models, and the ERX310 Router . . . . . . . . . . 156
E120 Router and E320 Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Guidelines for Configuring QoS over ATM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Configuring Default Integrated Mode for ATM Interface . . . . . . . . . . . . . . . . . . . . 160
Configuring Low-Latency Mode for Per-Port Queuing on ATM Interfaces . . . . . . 161
Configuring Low-CDV Mode for Per-Port Queuing on ATM Interfaces . . . . . . . . . 163
Configuring the QoS Shaping Mode for ATM Interfaces . . . . . . . . . . . . . . . . . . . . 166
Disabling Per-Port Queuing on ATM Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Monitoring QoS Configurations for ATM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Chapter 20 Configuring QoS for Gigabit Ethernet Interfaces and VLAN
Subinterfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Providing QoS for Ethernet Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
QoS Shaping Mode for Ethernet Interfaces Overview . . . . . . . . . . . . . . . . . . . . . . 170
Configuring the QoS Shaping Mode for Ethernet Interfaces . . . . . . . . . . . . . . . . . 171
Creating a QoS Interface Hierarchy for Bulk-Configured VLAN Subinterfaces
with RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Monitoring QoS Configurations for Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
xiiiCopyright © 2010, Juniper Networks, Inc.
Table of Contents
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups . . . . . . . . . . . . . . . . 175
QoS for 802.3ad Link Aggregation Interfaces Overview . . . . . . . . . . . . . . . . . . . . 175
Types of Load Balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Munged QoS Profiles and Load Balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
802.3ad Link Aggregation and QoS Parameters . . . . . . . . . . . . . . . . . . . . . . 176
QoS and Ethernet Link Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Active Link Failure and QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Administratively Disabling a Link and QoS . . . . . . . . . . . . . . . . . . . . . . . . 177
Adding a New Link to the LAG and QoS . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Hashed Load Balancing for 802.3ad Link Aggregation Groups Overview . . . . . . . 177
Sample Scheduler Hierarchy for Hashed Load Balancing . . . . . . . . . . . . . . . 178
Subscriber Load Balancing for 802.3ad Link Aggregation Groups Overview . . . . 178
S-VLANs and Subscriber Load Balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
PPPoE over VLANs and Subscriber Load Balancing . . . . . . . . . . . . . . . . . . . 179
PPPoE over Ethernet (No VLANs) and Subscriber Load Balancing . . . . . . . 179
MPLS over LAG and Subscriber Load Balancing . . . . . . . . . . . . . . . . . . . . . . 179
Sample Scheduler Hierarchy for Subscriber Load Balancing . . . . . . . . . . . . . 179
Subscriber Allocation in 802.3ad Link Aggregation Groups . . . . . . . . . . . . . 180
Guidelines for Configuring QoS over 802.3ad Link Aggregation Groups . . . . . . . . 181
Configuring the Scheduler Hierarchy for Hashed Load Balancing in 802.3ad Link
Aggregation Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Enabling Default Subscriber Load Balancing for 802.3ad Link Aggregation
Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Configuring the Scheduler Hierarchy for Subscriber Load Balancing in 802.3ad
Link Aggregation Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Configuring Load Rebalancing for 802.3ad Link Aggregation Groups . . . . . . . . . 184
Configuring Load–Rebalancing Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 184
Configuring the System to Dynamically Rebalance the LAG . . . . . . . . . . . . . 185
Monitoring QoS Configurations for 802.3ad Link Aggregation Groups . . . . . . . . 186
Chapter 22 Configuring QoS for L2TP Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Providing QoS for L2TP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Sample Scheduler Hierarchies for L2TP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Configuring QoS for an L2TP Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Configuring QoS for an L2TP LNS Session . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Configuring QoS for an L2TP LAC Session . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Configuring QoS for Tunnel-Server Ports for L2TP LNS Sessions . . . . . . . . . . . . 192
QoS and L2TP TX Speed AVP 24 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Logical Interfaces and Shared-Shaping Rates . . . . . . . . . . . . . . . . . . . . . . . . 193
Shaping Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Monitoring QoS Configurations for L2TP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Chapter 23 Configuring Interface Sets for QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Interface Sets for QoS Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Interface Set Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Architecture of Interface Sets for QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Interface Set Parents and Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Sample Interface Columns and Scheduler Hierarchies . . . . . . . . . . . . . . . . . 197
Copyright © 2010, Juniper Networks, Inc.xiv
JunosE 11.3.x Quality of Service Configuration Guide
Scheduling and Shaping Interface Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Configuring Interface Sets for Scheduling and Queuing . . . . . . . . . . . . . . . . . . . . 199
Configuring Interface Supersets for QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Configuring an Interface Superset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Restricting an Interface Superset to an S-VLAN ID or an ATM VP . . . . . . . . 200
Configuring Interface Sets for QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Configuring an Interface Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Deleting an Interface Set from an Interface Superset . . . . . . . . . . . . . . . . . . 201
Adding Member Interfaces to an Interface Set . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Adding Interfaces to an Interface Set with the CLI . . . . . . . . . . . . . . . . . . . . 202
Adding Interfaces to an Interface Set with RADIUS . . . . . . . . . . . . . . . . . . . 202
Changing and Deleting Interface Members in an Interface Set . . . . . . . . . . 203
Changing Interface Members with Upper-Layer Protocols in an Interface
Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Creating a QoS Parameter on an Interface Superset or Interface Set . . . . . . . . . 204
Configuring a QoS Parameter Definition for an Interface Superset or an
Interface Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Creating a QoS Parameter Instance for an Interface Superset . . . . . . . . . . . 204
Creating a QoS Parameter Instance for an Interface Set . . . . . . . . . . . . . . . 205
Attaching a QoS Profile to an Interface Superset or an Interface Set . . . . . . . . . 205
Configuring a QoS Profile for an Interface Superset or an Interface Set . . . 205
Attaching a QoS Profile to an Interface Superset . . . . . . . . . . . . . . . . . . . . . 206
Attaching a QoS Profile to an Interface Set . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Deleting an Interface Superset or an Interface Set . . . . . . . . . . . . . . . . . . . . . . . . 207
Deleting an Interface Superset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Deleting an Interface Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Example: Configuring Interface Sets for 802.3ad Link Aggregation Groups . . . . 208
Part 6 Managing Queuing and Scheduling with QoS Parameters
Chapter 24 QoS Parameter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
QoS Parameter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
QoS Parameter Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
QoS Parameter Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Relationship Among QoS Parameters, Scheduler Profiles, and QoS Profiles . . . 213
QoS Administrator Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
QoS Client Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Chapter 25 Configuring a QoS Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Parameter Definition Attributes for QoS Administrators Overview . . . . . . . . . . . 215
Naming Guidelines for QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Interface Types and QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Controlled-Interface Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Instance-Interface Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Subscriber-Interface Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Range of QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
xvCopyright © 2010, Juniper Networks, Inc.
Table of Contents
Applications and QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Scheduler Profiles and Parameter Expressions for QoS Administrators . . . . . . . 221
Referencing a Parameter Definition in a Scheduler Profile . . . . . . . . . . . . . . . 221
Removing or Modifying a Scheduler Profile . . . . . . . . . . . . . . . . . . . . . . . 221
Using Expressions for QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Operators and Precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Specifying a Range in Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Configuring a Basic Parameter Definition for QoS Administrators . . . . . . . . . . . . 223
Parameter Instances for QoS Clients Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Global QoS Parameter Instance Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 226
QoS Parameters for Interfaces Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Creating Parameter Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Creating a Global Parameter Instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Creating a Parameter Instance for an Interface . . . . . . . . . . . . . . . . . . . . . . . 227
Creating a Parameter Instance for an ATM VP . . . . . . . . . . . . . . . . . . . . . . . . 227
Creating a Parameter Instance for an S-VLAN . . . . . . . . . . . . . . . . . . . . . . . 228
Example: QoS Parameter Configuration for Controlling Subscriber
Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Procedure for QoS Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Procedure for QoS Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Monitoring the Subscriber Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Complete Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
QoS Administrator Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
QoS Client Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Chapter 26 Configuring Hierarchical QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Hierarchical QoS Parameters Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Guidelines for Configuring Hierarchical Parameters . . . . . . . . . . . . . . . . . . . . . . . 245
Configuring a Parameter Definition to Calculate Hierarchical Instances . . . . . . . 246
Example: QoS Parameter Configuration for Hierarchical Parameters . . . . . . . . . 247
Procedure for QoS Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Procedure for QoS Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Monitoring Hierarchical QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Complete Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
QoS Administrator Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
QoS Client Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Chapter 27 Configuring IP Multicast Bandwidth Adjustment with QoS Parameters . . 253
IP Multicast Bandwidth Adjustment for QoS Overview . . . . . . . . . . . . . . . . . . . . 253
Guidelines for Configuring IP Multicast Adjustment for QoS . . . . . . . . . . . . . . . . 255
Configuring a Parameter Definition for IP Multicast Bandwidth Adjustment . . . 255
Example: QoS Parameter Configuration for IP Multicast Bandwidth
Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Monitoring the Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Complete Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Chapter 28 Configuring the Shaping Mode for Ethernet with QoS Parameters . . . . . 265
Cell Shaping Mode Using QoS Parameters Overview . . . . . . . . . . . . . . . . . . . . . 265
Overriding the QoS Shaping Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Module Types and Capabilities for QoS Cell Mode Application . . . . . . . . . . 266
Copyright © 2010, Juniper Networks, Inc.xvi
JunosE 11.3.x Quality of Service Configuration Guide
Cell Tax Adjustment Using QoS Cell Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Relationship with QoS Downstream Rate Application . . . . . . . . . . . . . . . . . 267
Guidelines for Configuring the Cell Shaping Mode with QoS Parameters . . . . . . 267
Configuring a Parameter Definition to Shape Ethernet Traffic Using Cell
Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Example: QoS Parameter Configuration for QoS Cell Mode and Byte Adjustment
for Cell Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Complete Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Chapter 29 Configuring Byte Adjustment for Shaping Rates with QoS Parameters . . 275
Byte Adjustment for ADSL and VDSL Traffic Overview . . . . . . . . . . . . . . . . . . . . 275
Byte Adjustment for Cell Shaping of ADSL Traffic Overview . . . . . . . . . . . . 275
Calculation and Example of Byte Adjustment for Cell Shaping . . . . . . . 276
Byte Adjustment for Frame Shaping of VDSL Traffic Overview . . . . . . . . . . 277
System Calculation for Byte Adjustment of ADSL and VDSL Traffic . . . . . . . 277
Guidelines for Configuring Byte Adjustment of Cell and Frame Shaping Rates
Using QoS Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Configuring a Parameter Definition to Adjust Cell Shaping Rates for ADSL
Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Configuring a Parameter Definition to Adjust Frame Shaping Rates for VDSL
Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Chapter 30 Configuring the Downstream Rate Using QoS Parameters . . . . . . . . . . . . 283
QoS Downstream Rate Application Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Downstream Rate and the Shaping Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
QoS Adaptive Mode and Downstream Rate . . . . . . . . . . . . . . . . . . . . . . . . . 284
Obtaining Downstream Rates from a DSL Forum VSA . . . . . . . . . . . . . . . . . 284
Guidelines for Configuring QoS Downstream Rate . . . . . . . . . . . . . . . . . . . . . . . 285
Configuring a Parameter Definition for QoS Downstream Rate . . . . . . . . . . . . . . 285
Example: QoS Parameter Configuration for QoS Downstream Rate . . . . . . . . . . 287
Complete Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Part 7 Monitoring and Troubleshooting QoS
Chapter 31 Monitoring QoS on E Series Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Monitoring Service Levels with Traffic Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Monitoring Service Levels with Traffic-Class Groups . . . . . . . . . . . . . . . . . . . . . . 297
Monitoring Queue Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Monitoring Queue Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Monitoring Drop Profiles for RED and WRED . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Monitoring the QoS Scheduler Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Monitoring the Configuration of Scheduler Profiles . . . . . . . . . . . . . . . . . . . . . . . 309
Monitoring Shared Shapers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Monitoring Shared Shaper Algorithm Variables . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Monitoring Forwarding and Drop Events on the Egress Queue . . . . . . . . . . . . . . . 313
Monitoring Forwarding and Drop Rates on the Egress Queue . . . . . . . . . . . . . . . 314
Monitoring Queue Statistics for the Fabric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Monitoring the Configuration of Statistics Profiles . . . . . . . . . . . . . . . . . . . . . . . . 319
Monitoring the QoS Profiles Attached to an Interface . . . . . . . . . . . . . . . . . . . . . 320
Monitoring the Configuration of QoS Port-Type Profiles . . . . . . . . . . . . . . . . . . . . 321
xviiCopyright © 2010, Juniper Networks, Inc.
Table of Contents
Monitoring the Configuration of QoS Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
Monitoring the QoS Configuration of ATM Interfaces . . . . . . . . . . . . . . . . . . . . . . 324
Monitoring the QoS Configuration of IP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . 326
Monitoring the QoS Configuration of Fast Ethernet, Gigabit Ethernet, and
10-Gigabit Ethernet Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
Monitoring the QoS Configuration of IEEE 802.3ad Link Aggregation Group
Bundles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Monitoring the Configuration of QoS Interface Sets . . . . . . . . . . . . . . . . . . . . . . 330
Monitoring the Configuration of QoS Interface Supersets . . . . . . . . . . . . . . . . . . 331
Monitoring the AAA Downstream Rate for QoS . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Monitoring QoS Parameter Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Monitoring QoS Parameter Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Chapter 32 Troubleshooting QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Troubleshooting Memory and Processor Use for Egress Queue Rate Statistics
and Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Part 8 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Copyright © 2010, Juniper Networks, Inc.xviii
JunosE 11.3.x Quality of Service Configuration Guide
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 . . . . . . . . . . . . . . . . . . . . . 26
Figure 3: Color-Blind RED Drop Profile with Colorless Queue Profile . . . . . . . . . . . 29
Figure 4: Color-Blind RED Drop Profile with Color-Sensitive Queue Profile . . . . . 30
Figure 5: Different Treatment of Colored Packets . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 6: Defining Different Drop Behavior for Each Queue . . . . . . . . . . . . . . . . . . 33
Figure 7: WRED and Dynamic Queue Thresholding . . . . . . . . . . . . . . . . . . . . . . . . 35
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 10: Hierarchical Assured Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Chapter 8 Configuring Strict-Priority Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Figure 11: Sample Strict-Priority Scheduling Hierarchy . . . . . . . . . . . . . . . . . . . . . . 58
Figure 12: True Strict-Priority Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Figure 13: Relative Strict-Priority Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Figure 14: Tuning Latency on Strict-Priority Queues . . . . . . . . . . . . . . . . . . . . . . . . 63
Figure 15: Sample Strict-Priority Scheduling Hierarchy . . . . . . . . . . . . . . . . . . . . . 64
Figure 16: Sample Relative Strict-Priority Scheduler Hierarchy . . . . . . . . . . . . . . . 66
Chapter 9 Shared Shaping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Figure 17: Implicit Constituent Selection for Compound Shared Shaper: Mixed
Interface Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Chapter 10 Configuring Simple Shared Shaping of Traffic . . . . . . . . . . . . . . . . . . . . . . . . 75
Figure 18: Simple Shared Shaping over ATM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Figure 19: Simple Shared Shaping over Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Figure 20: VP Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Figure 21: Hierarchical Simple Shared Shaping over Ethernet . . . . . . . . . . . . . . . . 82
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm . . . . . . . . . 85
xixCopyright © 2010, Juniper Networks, Inc.
Figure 22: Simple Shared Shaper Behavior Without Algorithm Controls . . . . . . . 85
Figure 23: Less Conservative Simple Shared Shaper Behavior . . . . . . . . . . . . . . . 86
Figure 24: More Liberal Simple Shared Shaper Behavior . . . . . . . . . . . . . . . . . . . . 86
Figure 25: Dynamic Rate When Video Flow Starts . . . . . . . . . . . . . . . . . . . . . . . . . 92
Figure 26: Dynamic Rate When Video Flow Stops . . . . . . . . . . . . . . . . . . . . . . . . . 93
Chapter 12 Configuring Compound Shared Shaping of Traffic . . . . . . . . . . . . . . . . . . . . 95
Figure 27: VC Compound Shared Shaping Example . . . . . . . . . . . . . . . . . . . . . . . 98
Figure 28: VP Compound Shared Shaping Example . . . . . . . . . . . . . . . . . . . . . . 100
Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping . . . . 103
Figure 29: Implicit Constituent Selection for Compound Shared Shaper at
Best-Effort Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Figure 30: Implicit Constituent Selection for Compound Shared Shaper at
Best-Effort Queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Figure 31: Weighted Shared Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Figure 32: Implicit Constituent Selection for Compound Shared Shaper: Mixed
Interface Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Figure 33: Explicit Constituent Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Figure 34: Case 1: Explicit Constituent Selection with Weighted Constituents . . . 113
Figure 35: Case 2: Explicit Constituent Selection with Weighted Constituents . . 114
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with QoS
Profiles
Chapter 16 Configuring and Attaching QoS Profiles to an Interface . . . . . . . . . . . . . . . . 125
Figure 36: Munged Profile Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Figure 37: Attaching QoS Profiles to ATM Subinterfaces . . . . . . . . . . . . . . . . . . . . 133
Figure 38: Attaching QoS Profile to ATM Interface and Subinterface . . . . . . . . . . 135
Figure 39: Diffserv Configuration with Multiple Traffic-Class Groups . . . . . . . . . . 139
Figure 40: Diffserv Configuration Without Traffic-Class Groups . . . . . . . . . . . . . 140
Chapter 17 Configuring Shadow Nodes for Queue Management . . . . . . . . . . . . . . . . . . 141
Figure 41: Phantom Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Figure 42: Shadow Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Part 5 Interface Solutions for QoS
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM . . . . . . . . . . . 151
Figure 43: Integrated ATM Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Figure 44: Default Integrated Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Figure 45: Low-Latency Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Figure 46: Low-CDV Mode (per-VP CDVT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Figure 47: Low-CDV Mode (per-VC CDVT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups . . . . . . . . . . . . . . . . 175
Figure 48: 802.3ad Link Aggregation Scheduler Hierarchy . . . . . . . . . . . . . . . . . . 178
Figure 49: Subscriber LoadBalanced Scheduler Hierarchy for Port 0 . . . . . . . . . 180
Figure 50: Subscriber LoadBalanced Scheduler Hierarchy for Port 1 . . . . . . . . . . 180
Figure 51: Subscriber Allocation and Load Balancing . . . . . . . . . . . . . . . . . . . . . . . 181
Chapter 22 Configuring QoS for L2TP Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Copyright © 2010, Juniper Networks, Inc.xx
JunosE 11.3.x Quality of Service Configuration Guide
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376

Juniper JUNOSE 11.3 Configuration manual

Category
Software
Type
Configuration manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI