Software for e series broadband services routers link layer configuration guide (772 pages)
Summary of Contents for Juniper JUNOSE 11.1.X - QUALITY OF SERVICE CONFIGURATION GUIDE 3-21-2010
Page 1
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 408-745-2000 www.juniper.net Published: 2010-03-21...
Page 2
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.
Page 3
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 Customer’s 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”)
Page 4
(“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 http://www.gnu.org/licenses/gpl.html...
Page 5
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.
Page 7
Abbreviated Table of Contents About the Documentation xxix Part 1 QoS on the E Series Router Chapter 1 Quality of Service Overview Part 2 Classifying, Queuing, and Dropping Traffic Chapter 2 Defining Service Levels with Traffic Classes and Traffic-Class Groups Chapter 3 Configuring Queue Profiles for Buffer Management Chapter 4...
Page 8
JUNOSe 11.1.x Quality of Service Configuration Guide Chapter 22 Configuring QoS for L2TP Sessions Chapter 23 Configuring Interface Sets for QoS Part 6 Managing Queuing and Scheduling with QoS Parameters Chapter 24 QoS Parameter Overview Chapter 25 Configuring a QoS Parameter Chapter 26 Configuring Hierarchical QoS Parameters Chapter 27...
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...
Page 10
JUNOSe 11.1.x Quality of Service Configuration Guide Chapter 3 Configuring Queue Profiles for Buffer Management 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...
Page 11
Table of Contents Part 3 Scheduling and Shaping Traffic Chapter 6 QoS Scheduler Hierarchy Overview 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...
Page 12
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...
Page 13
Table of Contents Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping 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...
Page 14
JUNOSe 11.1.x Quality of Service Configuration Guide Chapter 17 Configuring Shadow Nodes for Queue Management 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...
Page 15
Table of Contents Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups 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...
Page 16
JUNOSe 11.1.x Quality of Service Configuration Guide Chapter 23 Configuring Interface Sets for QoS 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...
Page 17
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 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...
Page 18
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 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...
Page 19
Table of Contents Chapter 30 Configuring the Downstream Rate Using QoS Parameters 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...
Page 20
JUNOSe 11.1.x Quality of Service Configuration Guide Chapter 32 Troubleshooting QoS Troubleshooting Memory and Processor Use for Egress Queue Rate Statistics and Events ....................357 Part 8 Index Index ......................361 Table of Contents...
Page 21
List of Figures Part 1 QoS on the E Series Router Chapter 1 Quality of Service Overview 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 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...
Page 22
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 Figure 27: VC Compound Shared Shaping Example ........102...
Page 23
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 Figure 57: VLAN Interface Column with Interface Sets ........210...
Page 24
JUNOSe 11.1.x Quality of Service Configuration Guide xxiv List of Figures...
Page 25
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 Table 3: QoS Terminology ................5 Table 4: QoS Features ..................7 Part 2 Classifying, Queuing, and Dropping Traffic Chapter 3...
Page 26
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 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...
Page 27
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...
Page 28
JUNOSe 11.1.x Quality of Service Configuration Guide xxviii List of Tables...
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/...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 1: Notice Icons Icon Meaning Description Informational note Indicates important features or instructions. Caution Indicates a situation that might result in loss of data or hardware damage. Warning Alerts you to the risk of personal injury or death. Laser warning Alerts you to the risk of personal injury from a laser.
CD-ROMs or DVD-ROMs, see the Offline Documentation page at http://www.juniper.net/techpubs/resources/cdrom.html Copies of the Management Information Bases (MIBs) for a particular software release are available for download in the software image bundle from the Juniper Networks Web site at http://www.juniper.net/...
7 days a week, 365 days a year. Self-Help Online Tools and Resources For quick and easy problem resolution, Juniper Networks has designed an online self-service portal called the Customer Support Center (CSC) that provides you with the following features: Find CSC offerings: http://www.juniper.net/customers/support/...
QoS on the E Series Router Overview QoS is a suite of features that configure queuing and scheduling on the forwarding path of the Juniper Networks E Series Broadband Services Routers. QoS provides a level of predictability and control beyond the best-effort delivery that the router provides by default.
For information about the modules supported on E Series routers: See the ERX Module Guide for modules supported on ERX7xx models, ERX14xx models, and the Juniper Networks ERX310 Broadband Services Router. See the E120 and E320 Module Guide for modules supported on the Juniper Networks E120 and E320 Broadband Services Routers.
Chapter 1: Quality of Service Overview Interface Specifiers The majority of the configuration task examples in this topic collection use the slot/port format to specify an interface. However, the interface specifier format that you use depends on the router that you are using. For ERX7xx models, ERX14xx models, and ERX310 routers, use the slot/port format.
Page 38
JUNOSe 11.1.x Quality of Service Configuration Guide Table 3: QoS Terminology (continued) Term Description Effective weight The result of a weight or an assured rate. Users configure the scheduler node by specifying either an assured rate or a weight within a scheduler profile. An assured rate, in bits per second, is translated into a weight.
Chapter 1: Quality of Service Overview Table 3: QoS Terminology (continued) Term Description WRED Weighted random early detection congestion avoidance technique. QoS Features Table 4 on page 7 describes the major QoS features supported on the E Series router. Table 4: QoS Features Feature Description Best effort...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 4: QoS Features (continued) Feature Description Relative strict-priority Provides strict-priority scheduling within a shaped aggregate rate. scheduling For example, it lets you provide 1 Mbps of aggregate bandwidth to a subscriber, with up to 500 Kbps of the bandwidth for low-latency traffic.
Chapter 1: Quality of Service Overview To configure QoS on your E Series router: Create and configure a traffic class. See “Traffic Class and Traffic-Class Groups Overview” on page 13. (Optional) Create one or more traffic-class groups. See “Traffic Class and Traffic-Class Groups Overview” on page 13. (Optional) To configure nondefault buffer management, create a queue profile.
Page 42
JUNOSe 11.1.x Quality of Service Configuration Guide RFC 2990 Next Steps for the IP QoS Architecture (November 2000) RFC 2998 A Framework for Integrated Services Operation over Diffserv Networks (November 2000) RFC 3246 An Expedited Forwarding PHB (Per-Hop Behavior) (March 2002) RFC 3260 New Terminology and Clarifications for Diffserv (April 2002) DSL Forum Technical Report (TR)-059 DSL Evolution - Architecture Requirements for the Support of QoS-Enabled IP Services...
Part 2 Classifying, Queuing, and Dropping Traffic Defining Service Levels with Traffic Classes and Traffic-Class Groups on page 13 Configuring Queue Profiles for Buffer Management on page 17 Configuring Dropping Behavior with RED and WRED on page 25 Gathering Statistics for Rates and Events in the Queue on page 37 Classifying, Queuing, and Dropping Traffic...
Page 44
JUNOSe 11.1.x Quality of Service Configuration Guide Classifying, Queuing, and Dropping Traffic...
Chapter 2 Defining Service Levels with Traffic Classes and Traffic-Class Groups This chapter provides information for configuring traffic classes and traffic-class groups on the E Series router. QoS topics are discussed in the following sections: Traffic Class and Traffic-Class Groups Overview on page 13 Configuring Traffic Classes That Define Service Levels on page 14 Configuring Traffic-Class Groups That Define Service Levels on page 15 Monitoring Traffic Classes and Traffic-Class Groups for Defined Levels of...
JUNOSe 11.1.x Quality of Service Configuration Guide Packets arrive at an egress line module that has no queues allocated for their traffic class. Traffic-Class Groups Overview You can put traffic classes into a group to create a hierarchy of scheduler nodes and queues.
(Optional) Specify strict-priority scheduling across the fabric for queues in the traffic class. host1(config-traffic-class)#fabric-strict-priority (Optional) For Juniper Networks ERX1440, E120 , and E320 Broadband Services Routers, specify the relative weight for queues in the traffic class in the fabric. host1(config-traffic-class)#fabric-weight 12 Fabric weight controls the bandwidth of fabric queues associated with the traffic class.
JUNOSe 11.1.x Quality of Service Configuration Guide exists, the scheduler for the extended groups may not specify strict-priority scheduling. Use the slot slotNumber option to associate a pre-existing global traffic-class group with the module occupying that slot. Characteristics configured for the local group on the line module override those of the global group.
Chapter 3 Configuring Queue Profiles for Buffer Management This chapter provides information for configuring queue profiles for buffer management on the E Series router. QoS topics are discussed in the following sections: Queuing and Buffer Management Overview on page 17 Memory Requirements for Queue and Buffers on page 19 Guidelines for Managing Queue Thresholds on page 19 Guidelines for Managing Buffers on page 20...
JUNOSe 11.1.x Quality of Service Configuration Guide The router dynamically varies queue lengths for all queues as the real-time demand on the egress packet memory changes. You can configure limits to prevent the router from setting queue lengths too low or too high. Static Oversubscription The router uses static oversubscription to vary queue thresholds based on the number of queues currently configured, which is relatively static.
Chapter 3: Configuring Queue Profiles for Buffer Management Guidelines for Managing Buffers on page 20 RED and WRED Overview on page 26 Memory Requirements for Queue and Buffers JUNOSe software uses 128-byte buffers. The egress memory available for queues available depends on the ASIC and the line module.
JUNOSe 11.1.x Quality of Service Configuration Guide because they are higher bandwidth, they might require higher maximum committed thresholds. You might want to limit latency of your multicast traffic by bounding the queue length using a maximum committed threshold. The following example configures the multicast queues so that the committed threshold never exceeds 20 KB, even when the egress memory is lightly loaded.
Chapter 3: Configuring Queue Profiles for Buffer Management This feature provides graceful buffer allocation as the global utilization goes higher; queues with more buffer weight always obtain more buffers, but they do not undergo a dramatic drop in threshold when the system moves from region to region. JUNOSe software uses 128-byte buffers.
JUNOSe 11.1.x Quality of Service Configuration Guide system needs to buffer them. However, all queues receive the same buffer allocation by default. If the system goes to higher buffer regions, it starts dropping packets for all queues. When the heavy weight node finally transmits, it dequeues all buffers, but it cannot dequeue the packets that were dropped.
Page 55
Chapter 3: Configuring Queue Profiles for Buffer Management NOTE: If the sum of the queue minimum lengths is greater than the amount of egress buffer memory, then the egress buffer memory is oversubscribed. To configure a minimal level of buffering or to limit the buffering in queues, set a maximum queue length.
JUNOSe 11.1.x Quality of Service Configuration Guide Queuing and Buffer Management Overview on page 17 Related Topics Guidelines for Managing Queue Thresholds on page 19 Guidelines for Managing Buffers on page 20 Memory Requirements for Queue and Buffers on page 19 buffer-weight committed-length conformed-fraction...
Chapter 4 Configuring Dropping Behavior with RED and WRED This chapter provides information for configuring dropping behavior using RED and WRED on the E Series router. QoS topics are discussed in the following sections: Dropping Behavior Overview on page 25 RED and WRED Overview on page 26 Configuring RED on page 27 Example: Configuring Average Queue Length for RED on page 28...
JUNOSe 11.1.x Quality of Service Configuration Guide By default, tail dropping occurs when the length of a queue exceeds a threshold. Drop profiles allow you to employ active queue management by specifying RED and WRED parameters to be applied to an egress queue. Congestion of an egress queue occurs when the rate of traffic destined for the queue exceeds the rate of traffic draining from the queue;...
Chapter 4: Configuring Dropping Behavior with RED and WRED Figure 2: Packets Dropped as Queue Length Increases WRED is an extension of RED that allows you to assign different RED drop thresholds to each color of traffic. The router assigns a color to each packet. Committed means green, conformed means yellow, and exceeded means red.
JUNOSe 11.1.x Quality of Service Configuration Guide A higher value smooths out the average and slows WRED reaction to congestion and decongestion, accommodating short bursts without dropping. Too large a value can smooth the average to the point that WRED does not react at all.
Chapter 4: Configuring Dropping Behavior with RED and WRED Dropping Behavior Overview on page 25 RED and WRED Overview on page 26 Example: Configuring Dropping Thresholds for RED You can specify different dropping behavior for committed (green), conformed (yellow), and exceeded (red) packets by specifying a minimum queue threshold, maximum queue threshold, and maximum drop probability for each color of traffic.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 3: Color-Blind RED Drop Profile with Colorless Queue Profile In the following example, the drop profile and queue profile combine to specify the following: When the average queue length is between 30 percent full (30 KB) and 90 percent full (90 KB), up to 5 percent of the packets are randomly dropped regardless of their color.
Chapter 4: Configuring Dropping Behavior with RED and WRED Yellow packets when the average queue length is greater than 45 KB Green packets when the average queue length is greater than 90 KB host1(config)#drop-profile colorblindRed host1(config-drop-profile)#committed-threshold percent 30 90 5 host1(config-drop-profile)#exit host1(config)#queue-profile colorSensitive host1(config-queue)#committed-length 100000 100000...
Page 64
JUNOSe 11.1.x Quality of Service Configuration Guide Create a drop profile and enter Drop Profile Configuration mode. host1(config)#drop-profile internetDropProfile host1(config-drop-profile)# You can configure up to 16 drop profiles. Set the average-length exponent, which specifies the exponent used to weight the average queue length over time, controlling WRED responsiveness. host1(config-drop-profile)#average-length-exponent 9 Specifying an average-length exponent enables the RED average queue length computation.
Chapter 4: Configuring Dropping Behavior with RED and WRED Example: Configuring Different Treatment of Colored Packets for WRED Figure 5 on page 33 shows a WRED drop profile that yields progressively more aggressive drop treatment for each color. Exceeded traffic is dropped over a wider range and with greater maximum drop probability than conformed or committed traffic.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 6: Defining Different Drop Behavior for Each Queue Configuring WRED on page 31 Related Topics Dropping Behavior Overview on page 25 RED and WRED Overview on page 26 Example: Configuring WRED and Dynamic Queue Thresholds RED typically operates on fixed-size queues, and you can configure the router to use fixed-size queues.
Page 67
Chapter 4: Configuring Dropping Behavior with RED and WRED As shown in Figure 7 on page 36, queue lengths extend to oversubscribe memory when aggregate memory utilization is low, and contract to strictly partition memory when memory utilization is high. Dynamic thresholding enforces fairness when free buffers are scarce and promotes sharing when buffers are plentiful.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 7: WRED and Dynamic Queue Thresholding Configuring WRED on page 31 Related Topics Dropping Behavior Overview on page 25 RED and WRED Overview on page 26 Monitoring RED and WRED To monitor drop profiles, see: Monitoring Drop Profiles for RED and WRED on page 320 Monitoring RED and WRED...
Chapter 5 Gathering Statistics for Rates and Events in the Queue This chapter provides information for configuring statistics profiles on the E Series router. QoS topics are discussed in the following sections: QoS Statistics Overview on page 37 Configuring Statistic Profiles for QoS on page 39 Configuring Rate Statistics on page 39 Configuring Event Statistics on page 40 Clearing QoS Statistics on the Egress Queue on page 41...
JUNOSe 11.1.x Quality of Service Configuration Guide Committed drop threshold Threshold above which committed drop rate events are counted. Conformed drop threshold Threshold above which conformed drop rate events are counted. Exceeded drop threshold Threshold above which exceeded drop rate events are counted.
Chapter 5: Gathering Statistics for Rates and Events in the Queue The bulk statistics application provides components to configure and organize network accounting data in a flexible manner. The application reduces the consumption of network bandwidth by collecting queue-level statistics and periodically transferring the data to a remote server.
JUNOSe 11.1.x Quality of Service Configuration Guide Attach the QoS profile to the appropriate interface. host1(config)#interface gigabitEthernet 1/0 host1(config-subif)#qos-profile qospro-3 host1(config-subif)#exit (Optional) Display the rate statistics. host1#show egress-queue rates interface gigabitEthernet 1/0 Configuring Statistic Profiles for QoS on page 39 Related Topics Configuring a QoS Profile on page 132 Monitoring QoS Statistics for Rates and Events on page 42...
Chapter 5: Gathering Statistics for Rates and Events in the Queue host1(config-statistics-profile)#committed-drop-threshold 2000000 Drop rate threshold range is 0 1073741824 bps; default is no threshold. (Optional) Set a threshold for conformed (yellow) packets. host1(config-statistics-profile)#conformed-drop-threshold 4000000 Drop rate threshold range is 0 1073741824 bps; default is no threshold. (Optional) Set a threshold for exceeded (red) packets.
JUNOSe 11.1.x Quality of Service Configuration Guide host1#clear egress-queue atm 3/0 explicit traffic-class class15 Use the explicit keyword to clear queues only on the specified interface and not queues stacked above the interface. Monitoring QoS Statistics for Rates and Events on page 42 Related Topics clear egress-queue Clearing QoS Statistics on the Fabric Queue...
Part 3 Scheduling and Shaping Traffic QoS Scheduler Hierarchy Overview on page 45 Configuring Rates and Weights in the Scheduler Hierarchy on page 51 Configuring Strict-Priority Scheduling on page 59 Shared Shaping Overview on page 71 Configuring Simple Shared Shaping of Traffic on page 79 Configuring Variables in the Simple Shared Shaping Algorithm on page 89 Configuring Compound Shared Shaping of Traffic on page 99 Configuring Implicit and Explicit Constituent Selection for Shaping on page 107...
Chapter 6 QoS Scheduler Hierarchy Overview This chapter provides information for configuring the QoS scheduler hierarchy using scheduler profiles on the E Series router. QoS topics are discussed in the following sections: Scheduler Hierarchy Overview on page 45 Configuring a Scheduler Hierarchy on page 47 Configuring a Scheduler Profile for a Scheduler Node or Queue on page 48 Using Expressions for Bandwidth and Burst Values in a Scheduler Profile on page 48...
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 8: QoS Scheduler Hierarchy Shaping Rates, Assured Rates, and Relative Weights in a Scheduler Hierarchy The scheduler supports hierarchical and static assured rates, relative weights, and shaping rates on all three levels of the hierarchy: first-level node, second-level node, and queue.
Chapter 6: QoS Scheduler Hierarchy Overview NOTE: For E Series ASIC modules, strict priority is supported only for a single first-level scheduler node. When determining the shaping rate, the system includes all bytes in Layer 2 encapsulations. The packets that are included in the rate depend on the Layer 2 node that is specified in the QoS profile.
JUNOSe 11.1.x Quality of Service Configuration Guide Reference the scheduler profile in a QoS profile and apply to an interface. See “Configuring a QoS Profile” on page 132 and “Attaching a QoS Profile to an Interface” on page 134. Scheduler Hierarchy Overview on page 45 Related Topics For information about configuring a scheduling hierarchy with QoS parameters, see Parameter Definition Attributes for QoS Administrators Overview on page 229...
Page 81
Chapter 6: QoS Scheduler Hierarchy Overview When calculating constant shaping rates, use the following formula to translate burst values from bytes to milliseconds (ms): Using this formula, a 2 Mbps service with a 500 KB burst yields: The shaping rate is calculated when the QoS profile is attached based on the parameter instance.
Page 82
JUNOSe 11.1.x Quality of Service Configuration Guide For more information about using expressions within scheduler profiles that are Related Topics used for QoS parameters, see Scheduler Profiles and Parameter Expressions for QoS Administrators on page 235 Configuring Rate Shaping for a Scheduler Node or Queue on page 52 Configuring Port Shaping on page 53 Configuring an Assured Rate for a Scheduler Node or Queue on page 55 Configuring the HRR Weight for a Scheduler Node or Queue on page 57...
Chapter 7 Configuring Rates and Weights in the Scheduler Hierarchy This chapter provides information for configuring shaping rates, assured rates, and weights in the QoS scheduler hierarchy using scheduler profiles. QoS topics are discussed in the following sections: Rate Shaping and Port Shaping Overview on page 51 Configuring Rate Shaping for a Scheduler Node or Queue on page 52 Configuring Port Shaping on page 53 Static and Hierarchical Assured Rate Overview on page 54...
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 9: Port Shaping on an Ethernet Module The per-port shaping feature provides the ability to shape the output of a port. Configuring Rate Shaping for a Scheduler Node or Queue on page 52 Related Topics Configuring Port Shaping on page 53 Configuring Rate Shaping for a Scheduler Node or Queue...
Chapter 7: Configuring Rates and Weights in the Scheduler Hierarchy Rate Shaping and Port Shaping Overview on page 51 Related Topics Configuring a Scheduler Profile for a Scheduler Node or Queue on page 48 scheduler-profile shaping-rate Configuring Port Shaping To configure port-shaping: Configure the scheduler profile and the shaping rate.
JUNOSe 11.1.x Quality of Service Configuration Guide qos-profile scheduler-profile shaping-rate Static and Hierarchical Assured Rate Overview You can configure the effective weight of the scheduler node or queue by configuring a static assured rate or a hierarchical assured rate (HAR). The JUNOSe hierarchical assured rate (HAR) feature provides a more powerful and efficient method of configuring assured rates than static assured rates.
Chapter 7: Configuring Rates and Weights in the Scheduler Hierarchy Figure 10: Hierarchical Assured Rate Configuring an Assured Rate for a Scheduler Node or Queue on page 55 Related Topics Configuring the HRR Weight for a Scheduler Node or Queue on page 57 Configuring an Assured Rate for a Scheduler Node or Queue You can configure the effective weight of the scheduler node or queue by configuring a static assured rate or a hierarchical assured rate (HAR).
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config-scheduler-profile)#assured-rate 50000 - 31000 For a static assured rate, specify the bits per second value in the range 25000–1000000000 bps (25 Kbps to 1 Gbps); the default is none (no assured rate). Use the operator and operandValue variables to configure an assured rate with an expression.
Chapter 7: Configuring Rates and Weights in the Scheduler Hierarchy Configuring the HRR Weight for a Scheduler Node or Queue By default, the HRR weight is configured for the scheduler profile. You can set a specific HRR weight of the scheduler node or queue. The weight value is used when no assured rate is set.
Page 90
JUNOSe 11.1.x Quality of Service Configuration Guide Configuring the HRR Weight for a Scheduler Node or Queue...
Chapter 8 Configuring Strict-Priority Scheduling This chapter provides information for configuring strict-priority scheduling. QoS topics are discussed in the following sections: Strict-Priority and Relative Strict-Priority Scheduling Overview on page 59 Comparison of True Strict Priority with Relative Strict Priority Scheduling on page 61 Configuring Strict-Priority Scheduling on page 66 Configuring Relative Strict-Priority Scheduling for Aggregate Shaping Rates on page 68...
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 11: Sample Strict-Priority Scheduling Hierarchy One strict priority traffic-class group is called the auto-strict-priority group. The scheduler nodes and queues in the auto-strict-priority group receive strict-priority scheduling. If multiple queues above the strict-priority node have packets, the HRR algorithm selects which strict-priority queue is scheduled next.
Chapter 8: Configuring Strict-Priority Scheduling rate. The port will not become congested, and the latency caused by the round-robin behavior of both the HRR and cell schedulers is nominal. In these undersubscribed conditions, the latency of a strict-priority queue within each VC is calculated as if the VC were draining onto a wire with bandwidth equal to the shaped rate.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 12: True Strict-Priority Configuration This configuration provides low latency for the strict-priority queues, irrespective of the state of the nonstrict queues. The worst-case latency for a strict packet caused by a nonstrict packet is the propagation delay of a single large packet at the port rate.
Chapter 8: Configuring Strict-Priority Scheduling Figure 13: Relative Strict-Priority Configuration This configuration provides a latency bound for the relative strict-priority queues. The worst-case latency caused by a nonstrict packet is the propagation delay of a single large packet at the VC rate. For a 1500 byte frame at a 2 Mbps rate, that delay is about 6 milliseconds.
JUNOSe 11.1.x Quality of Service Configuration Guide Oversubscribing ATM Ports You cannot oversubscribe ATM ports and still achieve low latency with relative strict-priority scheduling. There are several ways to ensure that ports are not oversubscribed. The most common is to use a per-VC scheduler by configuring the HRR scheduler with either ATM VP or VC node shaping (using the atm-vp node or atm-vc node commands), and setting the sum of the shaping rates less than the port rate.
Chapter 8: Configuring Strict-Priority Scheduling whereas competing queues must leave the active WRR because their weight credits are exhausted. To completely drain the queue, configure the maximum burst size. The zero-weighted queue is eventually alone in the active round robin and is effectively drained at strict priority.
JUNOSe 11.1.x Quality of Service Configuration Guide queue after sending a packet. This burst size limits the number of nonstrict packets that can precede a relative strict-priority packet to the minimum, one packet. Figure 14: Tuning Latency on Strict-Priority Queues Strict-Priority and Relative Strict-Priority Scheduling Overview on page 59 Related Topics Configuring Strict-Priority Scheduling on page 66...
Chapter 8: Configuring Strict-Priority Scheduling Figure 16: Sample Relative Strict-Priority Scheduler Hierarchy Strict-Priority and Relative Strict-Priority Scheduling Overview on page 59 Related Topics For more information about specifying an expression that you can reference within a scheduler profile, see Using Expressions for Bandwidth and Burst Values in a Scheduler Profile on page 48 node qos-profile...
Page 102
JUNOSe 11.1.x Quality of Service Configuration Guide Configuring Relative Strict-Priority Scheduling for Aggregate Shaping Rates...
Chapter 9 Shared Shaping Overview This chapter provides information for configuring shared shaping of traffic on the E Series router. QoS topics are discussed in the following sections: Shared Shaping Overview on page 71 Shared Shaper Terms on page 72 How Shared Shaping Works on page 72 Guidelines for Configuring Simple and Compound Shared Shaping on page 74 Shared Shaping Overview...
JUNOSe 11.1.x Quality of Service Configuration Guide Simple Shared Shaping Overview on page 79 Related Topics Compound Shared Shaping Overview on page 99 Shared Shaper Terms Table 6 on page 72 defines terms used in this discussion of shared shaping. Table 6: Shared Shaper Terminology Used in This Chapter Term Description...
Chapter 9: Shared Shaping Overview that set of queues to the shared rate. The shared-shaping rate is the total bandwidth for the logical interface. A typical configuration places the low-latency voice traffic in the auto-strict-priority traffic-class group and video traffic in a separate extended traffic-class group. The data traffic is usually queued in the best-effort traffic class in the default traffic-class group.
JUNOSe 11.1.x Quality of Service Configuration Guide node. QoS locates the queues and nodes owned by that logical interface and applies the shared shaper to them. The nodes and queues owned by the interface are called the constituents of the shared-shaper instance. For example, if the logical interface type is VC, the constituents are all VC objects: VC nodes and VC queues.
Chapter 9: Shared Shaping Overview that includes a shared-shaping rate command cannot be associated with a group node. ATM and Shared Shaping When you configure shared shaping with ATM, be sure to consider the following behaviors. Sharing Bandwidth with the SAR On ATM line modules, providers can use the SAR to implement bandwidth sharing for VCs.
JUNOSe 11.1.x Quality of Service Configuration Guide For more information about configuring low-CDV mode, see “ATM Integrated Scheduler Overview” on page 159. Logical Interface Traffic Carried in Other Queues A shared shaper affects only the queues and nodes for a single interface. Queues associated with other interfaces are not constrained by the shared shaper.
Chapter 9: Shared Shaping Overview for strict-priority queues, thus reserving the remaining shared bandwidth for nonstrict traffic. For example, the following scheduler profiles limit the subscriber's strict priority traffic to 1.0 Mbps and limits the subscriber's aggregate traffic to 1.5 Mbps. If scheduler profile strictOne specified a shaping rate greater than or equal to 1.5 Mbps, nonstrict traffic might face starvation.
Page 110
JUNOSe 11.1.x Quality of Service Configuration Guide Configuring Implicit Constituents for Simple or Compound Shared Shaping on page 114 Configuring Explicit Constituents for Simple or Compound Shared Shaping on page 120 Guidelines for Configuring Simple and Compound Shared Shaping...
Chapter 10 Configuring Simple Shared Shaping of Traffic This chapter provides information for configuring simple shared shaping of traffic on the E Series router. QoS topics are discussed in the following sections: Simple Shared Shaping Overview on page 79 Configuring Simple Shared Shaping on page 81 Example: Simple Shared Shaping for ATM VCs on page 83 Example: Simple Shared Shaping for ATM VPs on page 85 Example: Simple Shared Shaping for Ethernet on page 86...
JUNOSe 11.1.x Quality of Service Configuration Guide If you are configuring VP shared shaping, configure shared shaping on the best-effort scheduler node for the VP. Shaping the best-effort scheduler node for the VP has the effect of shaping all the VC best-effort queues for that VP. This enables you to retain the advantages of per-VC queuing in the hierarchical scheduler.
Chapter 10: Configuring Simple Shared Shaping of Traffic In a typical triple-play network configuration over Ethernet, individual subscribers are represented on the B-RAS by VLANs and DSLAMs by SVLANs. Figure 19 on page 81 illustrates how to shape the subscriber aggregate of voice, video, and data to a single rate in Ethernet.
Page 114
JUNOSe 11.1.x Quality of Service Configuration Guide Create the scheduler profile. host1(config)#scheduler-profile shared-1mbps Configure the shared-shaping rate. host1(config-scheduler-profile)#shared-shaping-rate 128000 burst 32767 simple host1(config-scheduler-profile)#shared-shaping-rate 80000 + 53000 host1(config-scheduler-profile)#exit The range for the shared-shaping rate is 1000–100000000 bps (1 Kbps–1000 Kbps); the default is the minimum shaping rate (1 Kbps). Use the operator and operandValue variables to specify the shared shaping rate as an expression.
Chapter 10: Configuring Simple Shared Shaping of Traffic Simple Shared Shaping Overview on page 79 Related Topics Guidelines for Configuring Simple and Compound Shared Shaping on page 74 For more information about specifying an expression that you can reference within a scheduler profile, see Using Expressions for Bandwidth and Burst Values in a Scheduler Profile on page 48 Example: Simple Shared Shaping for ATM VCs on page 83 Example: Simple Shared Shaping for ATM VPs on page 85...
Page 116
JUNOSe 11.1.x Quality of Service Configuration Guide (config-scheduler-profile)#shaping-rate 300000 (config-scheduler-profile)#exit (config)#scheduler-profile shared-1mbps (config-scheduler-profile)#shared-shaping-rate 1000000 simple (config-scheduler-profile)#exit (config)#qos-profile subscriber-default-mode (config-qos-profile)#atm-vc node (config-qos-profile)#atm-vc node group AF (config-qos-profile)#atm-vc node group EF (config-qos-profile)#atm-vc queue traffic-class best-effort scheduler-profile shared-1mbps (config-qos-profile)#atm-vc queue traffic-class video scheduler-profile 300kbps (config-qos-profile)#atm-vc queue traffic-class voice scheduler-profile 200kbps (config-qos-profile)#exit Delete the rule in the default port type profile that creates IP best-effort queues...
Chapter 10: Configuring Simple Shared Shaping of Traffic Example: Simple Shared Shaping for ATM VPs In the example shown in Figure 20 on page 85, VP 1 is shaped to a shared rate of 5 Mbps. The shared shaper requires that voice and video traffic be carried in queues associated with the logical interface, which in this scenario is the VP.
JUNOSe 11.1.x Quality of Service Configuration Guide (config-qos-profile)#atm-vp queue traffic-class video scheduler-profile 2mbps (config-qos-profile)#atm-vp queue traffic-class voice scheduler-profile 400kbps (config-qos-profile)#exit In this example, the best-effort scheduler node for the VP is shaped to a shared rate of 5 Mbps. The EF and AF queues for the VP share the 5 Mbps with the best-effort traffic.
Page 119
Chapter 10: Configuring Simple Shared Shaping of Traffic In Figure 21 on page 86, the S-VLANs labeled 1, 2, and 3 indicate the possible constituents for S-VLAN 0. The active constituents for the simple shared shaper are the three nodes for S-VLAN 0 in the three traffic-class groups. NOTE: This example uses QoS parameters to configure shared shaping.
Chapter 11 Configuring Variables in the Simple Shared Shaping Algorithm This chapter provides information for configuring variables within the simple shared shaper algorithm on the E Series router. QoS topics are discussed in the following sections: Simple Shared Shaping Algorithm Overview on page 89 Variables of the Simple Shared Shaper Algorithm on page 91 Guidelines for Controlling the Simple Shared Shaper Algorithm on page 93 Configuring Simple Shared Shaper Algorithm Variables on page 93...
JUNOSe 11.1.x Quality of Service Configuration Guide When the video stream starts in the example displayed by Figure 22 on page 89, the shared shaper reacts by drastically reducing best-effort traffic because it must avoid saturating downstream queues. In some cases, best-effort traffic is throttled for a few seconds.
Chapter 11: Configuring Variables in the Simple Shared Shaping Algorithm Variables of the Simple Shared Shaper Algorithm on page 91 Related Topics Configuring Simple Shared Shaper Algorithm Variables on page 93 Variables of the Simple Shared Shaper Algorithm The formulas the simple shared shaper uses contain values maintained by the simple shared shaper algorithm, and variables that you configure.
Page 124
JUNOSe 11.1.x Quality of Service Configuration Guide The simple shared shaper uses the following formula to calculate the new measured Step 1: Calculate the rate: New Measured Rate The simple shared shaper maintains a VOQL, which cannot become less than zero, Step 2: Calculate the using the following formulas: VOQL...
Chapter 11: Configuring Variables in the Simple Shared Shaping Algorithm Guidelines for Controlling the Simple Shared Shaper Algorithm You can configure the simple shared shaper variables individually, but it is useful to use configuration guidelines to determine how the variables work together to achieve a desired behavior.
Page 126
JUNOSe 11.1.x Quality of Service Configuration Guide The convergence factor determines how quickly the dynamic shaping rate converges with the calculated dynamic shaping rate, and is expressed as a percentage of the available bandwidth. The range for the convergence factor is 0–99 percent, with 0 being the most liberal and 99 the most conservative.
Chapter 11: Configuring Variables in the Simple Shared Shaping Algorithm Sample Process for Controlling the Simple Shared Shaper Algorithm The simple shared shaper in this example contains two constituents, best-effort and video. The shared-shaping rate is 15 Mbps, and the video rate is 4 Mbps. The example contains two parts: when the video flow is turned on, and then turned off.
JUNOSe 11.1.x Quality of Service Configuration Guide The most liberal case heavily reduces VOQL and changes of rate, leading to a shared shaper that quickly converges. The conservative configuration overreacts to VOQL and the change of rate, and converges very slowly. Figure 25 on page 96 shows a graph of the dynamic rate when the video flow starts.
Chapter 11: Configuring Variables in the Simple Shared Shaping Algorithm Figure 26: Dynamic Rate When Video Flow Stops Simple Shared Shaping Algorithm Overview on page 89 Related Topics Variables of the Simple Shared Shaper Algorithm on page 91 Configuring Simple Shared Shaper Algorithm Variables on page 93 Sample Process for Controlling the Simple Shared Shaper Algorithm...
Page 130
JUNOSe 11.1.x Quality of Service Configuration Guide Sample Process for Controlling the Simple Shared Shaper Algorithm...
Issue the show qos shared-shaper command to determine whether compound shared shapers are supported for the line module. Contact your Juniper Networks account representative for more information about line modules with the EFA2 ASIC. The TFA hardware is only available on the ES2 10G LM on the E120 and E320 Broadband Services Routers.
JUNOSe 11.1.x Quality of Service Configuration Guide host1config)#ERROR 02/08/2005 14:06:36 qos: line card in slot 11: EFA2 hardware not installed. 1 compound shared shaper(s) converted to simple. QoS automatically converts the compound shared shaper to a simple shared shaper. NOTE: Compound shared shaping is not supported by the frame forwarding ASIC (FFA).
Page 133
Chapter 12: Configuring Compound Shared Shaping of Traffic host1(config-scheduler-profile)#shared-shaping-rate 128000 burst 32767 compound explicit-constituents The range for the shared-shaping rate is 1000–1000000000 bps (1 Kbps–1000 Kbps); the default is no shaping rate. Use the operator and operandValue variables to specify the shared shaping rate as an expression.
JUNOSe 11.1.x Quality of Service Configuration Guide scheduler-profile shared-shaping-rate traffic-class traffic-class-group Example: Compound Shared Shaping for ATM VCs Figure 27 on page 102 illustrates a typical DSL triple-play configuration, involving voice, video, and data traffic. In this example, a total of 1 Mbps of bandwidth is allocated to voice, video, and best-effort data traffic associated with the VC 1 logical interface.
Page 135
Chapter 12: Configuring Compound Shared Shaping of Traffic host1(config-scheduler-profile)#shared-shaping-rate 1000000 burst 32768 auto host1(config)#scheduler-profile 300Kbps host1(config-scheduler-profile)#shaping-rate 300000 host1(config)#scheduler-profile 200Kbps host1(config-scheduler-profile)#shaping-rate 200000 Configure the QoS profile. host1(config)#qos-profile vcSharedShaping Create group nodes. host1(config-qos-profile)#atm group AF scheduler-profile default host1(config-qos-profile)#atm group EF scheduler-profile default Create VC nodes for each group and for traffic in the default group.
Chapter 12: Configuring Compound Shared Shaping of Traffic Figure 28: VP Compound Shared Shaping Example To configure VP compound shared shaping: Configure the traffic classes, traffic-class groups, and additional scheduler profiles. Configure the scheduler profile that defines the shared shaper and the profiles that apply the legacy shaper.
Page 138
JUNOSe 11.1.x Quality of Service Configuration Guide Create VP nodes for each group and for traffic in the default group. The scheduler profile containing the shared-shaping rate is applied to the VP node that is in the default group and contains the best-effort queue. host1(config-qos-profile)#atm-vp node scheduler-profile shared-5Mbps host1(config-qos-profile)#atm-vp node group AF scheduler-profile 2Mbps host1(config-qos-profile)#atm-vp node group EF scheduler-profile 400Kbps...
Chapter 13 Configuring Implicit and Explicit Constituent Selection for Shaping This chapter provides information for configuring implicit and explicit constituents on the E Series router. QoS topics are discussed in the following sections: Constituent Selection for Shared Shaping Overview on page 107 Implicit Constituent Selection Overview on page 109 Configuring Implicit Constituents for Simple or Compound Shared Shaping on page 114...
JUNOSe 11.1.x Quality of Service Configuration Guide To use implicit constituent selection, you specify only the shared-shaping rate and the logical interface. The router identifies the constituents associated with the logical interface type and their allocated bandwidth. This method is appropriate for the typical case where the intent is to shape all subscriber queues to the shared rate.
Chapter 13: Configuring Implicit and Explicit Constituent Selection for Shaping Table 11: Comparison of Implicit and Explicit Shared Shaping (continued) Implicit Shared Shaping Explicit Shared Shaping Constituents consist of all nodes and Constituents consist of all nodes and queues for the same logical interface type. queues for the same logical interface type.
JUNOSe 11.1.x Quality of Service Configuration Guide Nodes are selected over queues. For example, suppose a shared shaper is associated with a particular interface type. A node for that interface type is present and has a queue for that interface type stacked above it.
Chapter 13: Configuring Implicit and Explicit Constituent Selection for Shaping Figure 30: Implicit Constituent Selection for Compound Shared Shaper at Best-Effort Queue Figure 30 on page 111 illustrates other examples of implicit constituent selection. It does not reflect typical configurations, but includes a mixture of interface types: IP, VC, and VP.
Page 144
JUNOSe 11.1.x Quality of Service Configuration Guide For compound implicit shared shaping, the shared shaper assigns the voice queue all the 2 MB, the video queue the next priority, and the best-effort node the last priority. The voice queue is unlikely to drop because it has highest priority in the hierarchical scheduler as well as highest priority within its shared shaper.
Chapter 13: Configuring Implicit and Explicit Constituent Selection for Shaping Although a shared shaper can be applied to up to eight constituents, only four of these can be weighted constituents. If you configure more than four weighted constituents as part of the same shared shaper, the first four are treated as weighted constituents but the remainder are handled as strict constituents, generating a warning message.
JUNOSe 11.1.x Quality of Service Configuration Guide The VC 1 best-effort node is weighted with VC 1 AF group node. The sum of the constituent weights is 32. With a weight of 1, the VC 1 best-effort node can transmit 1/32 of the available bandwidth when both constituents are competing for bandwidth.
Chapter 13: Configuring Implicit and Explicit Constituent Selection for Shaping Configure the traffic classes and traffic-class groups. See “Configuring Traffic Classes That Define Service Levels” on page 14 and “Configuring Traffic-Class Groups That Define Service Levels” on page 15. To configure implicit constituents: Create the scheduler profile.
JUNOSe 11.1.x Quality of Service Configuration Guide For compound shared shaping, explicit selection is also useful when you want queues as the active constituents instead of the node below them. By choosing queues you can assign appropriate priority or weights. In the set of nodes and queues for a logical interface, only scheduler objects associated with a scheduler profile that includes a shared-shaping-constituent command are considered constituents.
Chapter 13: Configuring Implicit and Explicit Constituent Selection for Shaping Figure 33: Explicit Constituent Selection In this example, the VC shared shaper has two explicit constituents, the VC 1 best effort node and the VC 1 Group EF node. By default, these constituents are considered to be strict constituents with a priority of 8.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 34: Case 1: Explicit Constituent Selection with Weighted Constituents In Case 1, scheduler profile A associates the shared-shaping rate with the VLAN 1 best-effort queue. Table 12 on page 118 lists the explicit constituents of the shared shaper and the bandwidth allocated to each constituent: Table 12: Bandwidth Allocation for Case 1 Explicit Constituents Explicit Constituent...
Chapter 13: Configuring Implicit and Explicit Constituent Selection for Shaping Figure 35 on page 119 illustrates another case where scheduler profiles B, X, Y, and Z are applied to scheduler objects. Each profile assigns a weight to an explicit constituent. Figure 35: Case 2: Explicit Constituent Selection with Weighted Constituents In Case 2, scheduler profile B associates the shared-shaping rate with the best-effort node for VLAN 1.
JUNOSe 11.1.x Quality of Service Configuration Guide Configuring Explicit Constituents for Simple or Compound Shared Shaping on Related Topics page 120 Configuring Explicit Constituents for Simple or Compound Shared Shaping You can specify explicit constituents and set the attributes of both implicit and explicit shared-shaping constituents that determine how bandwidth is allocated to them.
Page 153
Chapter 13: Configuring Implicit and Explicit Constituent Selection for Shaping You can optionally set a value that determines the precedence of a constituent among its peers (strict or weighted) for claiming bandwidth. For strict-priority constituents, the priority range is 1–8 and the default value is 8.
Page 154
JUNOSe 11.1.x Quality of Service Configuration Guide Configuring Explicit Constituents for Simple or Compound Shared Shaping...
Chapter 14 Monitoring a QoS Scheduler Hierarchy This chapter provides information for configuring the QoS scheduler hierarchy using scheduler profiles on the E Series router. QoS topics are discussed in the following section: Monitoring QoS Scheduling and Shaping on page 123 Monitoring QoS Scheduling and Shaping To monitor QoS scheduling, see: Monitoring the QoS Scheduler Hierarchy on page 322...
Page 156
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring QoS Scheduling and Shaping...
Part 4 Creating a QoS Scheduler Hierarchy on an Interface with QoS Profiles QoS Profile Overview on page 127 Configuring and Attaching QoS Profiles to an Interface on page 131 Configuring Shadow Nodes for Queue Management on page 149 Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles on page 155 Creating a QoS Scheduler Hierarchy on an Interface with QoS Profiles...
Chapter 15 QoS Profile Overview This chapter provides information for configuring an interface with QoS profiles on E Series routers. QoS topics are discussed in the following sections: QoS Profile Overview on page 127 Managing System Resources for Nodes and Queues on page 127 Scaling Subscribers on the TFA ASIC with QoS on page 128 QoS Profile Overview You create an interface hierarchy for QoS by configuring a QoS profile that specifies...
JUNOSe 11.1.x Quality of Service Configuration Guide 2 node. Each line module supports a maximum of 64,000 nodes or queues per line module. Line modules with the TFA ASIC hardware provide 96,000 descriptors that are shared between all nodes and queues. Each line module supports a maximum of 64,000 nodes or queues.
Chapter 15: QoS Profile Overview If the configuration includes S-VLANs, you could configure S-VLAN nodes in the default traffic-class group. Combining S-VLAN and VLAN nodes uses fewer resources than when you combine IP and VLAN nodes. You can also configure additional S-VLAN nodes in other traffic-class groups.
Page 162
JUNOSe 11.1.x Quality of Service Configuration Guide Scaling Subscribers on the TFA ASIC with QoS...
Chapter 16 Configuring and Attaching QoS Profiles to an Interface This chapter provides information for configuring and attaching QoS profiles to an interface. QoS topics are discussed in the following sections: Supported Interface Types for QoS Profiles on page 131 Configuring a QoS Profile on page 132 Attaching a QoS Profile to an Interface on page 134 Munged QoS Profile Overview on page 136...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 14: Interface Types and Supported Commands (continued) Shadow Interface Type Queue Node Group Node – ip-tunnel – ipv6 – l2tp-session – l2tp-tunnel – – serial server-port svlan – vlan – Supported Interface Types for QoS Profiles on page 131 Related Topics Configuring a QoS Profile on page 132 Configuring Shadow Nodes on page 152...
Page 165
Chapter 16: Configuring and Attaching QoS Profiles to an Interface host1(config-qos-profile)#atm group groupA scheduler-profile scheduler1 statistics-profile statpro-1 When you configure a group node, you can also reference a default or named traffic-class group, a scheduler profile, or a statistics profile. If you do not specify a traffic-class group, the group node defaults to the default group.
JUNOSe 11.1.x Quality of Service Configuration Guide qos-profile queue Attaching a QoS Profile to an Interface You can attach a QoS profile to the base of an interface hierarchy, to a specific ATM VP or S-VLAN, or to a port type. Tasks to attach a QoS profile include: Attaching a QoS Profile to a Base Interface on page 134 Attaching a QoS Profile to an ATM VP on page 134...
Chapter 16: Configuring and Attaching QoS Profiles to an Interface Attaching a QoS Profile to an S-VLAN You can attach a QoS profile to the specified S-VLAN ID assigned to a VLAN subinterface that is configured over an Ethernet interface. The profile applies to all S-VLANs and VLANs in the interface stack;...
JUNOSe 11.1.x Quality of Service Configuration Guide Supported Interface Types for QoS Profiles on page 131 Related Topics Configuring a QoS Profile on page 132 For information about attaching a QoS profile using Service Manager, see JUNOSe Broadband Access Configuration Guide atm-vp qos-profile atm vp-tunnel encapsulation vlan...
Chapter 16: Configuring and Attaching QoS Profiles to an Interface b. If there is no QoS profile attached at the port, then locate the QoS profile indicated in the qos-port-type-profile command that corresponds to the interface type of the port. For example, if the port is an ATM interface, the default QoS port-type profile for type ATM is named atm-default.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 36: Munged Profile Example The port-attached QoS profile on ATM 11.0 contains the following queue rule: host1(config)#qos-profile atmPort host1(config-qos-profile)#ip queue traffic-class priority-data scheduler-profile 64kbps host1(config-qos-profile)#exit All forwarding interfaces stacked above the port are within the scope of the attachment, so all IP interfaces stacked above the port will be provisioned with a queue in the priority-data traffic class, shaped to 64 Kbps.
Chapter 16: Configuring and Attaching QoS Profiles to an Interface For more information about the munge algorithm and 802.3ad link aggregation Related Topics interfaces, see Munged QoS Profiles and Load Balancing on page 184 Example: Port-Type QoS Profile Attachment In this example, three ATM subinterfaces are configured on an ATM port: ATM 11/0.1 QoS profile qp1 is attached ATM 11/0.2 QoS profile qp2 is attached ATM 11/0.3 No QoS profile is attached...
Page 172
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config-qos-profile)#atm-vc queue traffic-class tc2 scheduler-profile sp2 queue-profile qp2 host1(config-qos-profile)#atm-vc queue traffic-class tc3 scheduler-profile sp3 queue-profile qp3 host1(config-qos-profile)#exit Attach the QoS profiles to the ATM subinterfaces, as shown in Figure 37 on page 139. host1(config)#interface atm 11/0.1 host1(config-subif)#qos-profile qp1 host1(config-subif)#exit...
Chapter 16: Configuring and Attaching QoS Profiles to an Interface atm-default @atm Bridge queue best-effort default default atm-default @atm ipv6 queue best-effort default default ATM subinterface 11/0.3 was not shown because no QoS profile is attached to it. You can display the QoS interface hierarchy for subinterface 11/0.3 by specifying the subinterface, as shown below.
Chapter 16: Configuring and Attaching QoS Profiles to an Interface Display the QoS interface hierarchy for ATM 11/0. host1#show qos interface-hierarchy interface atm 11/0 interface rule traffic scheduler queue t-class profile type type class profile profile group ------- --------- ---- ------- --------- ------- -------...
Page 176
JUNOSe 11.1.x Quality of Service Configuration Guide subscribers without oversubscription. Call admission control ensures that there are no more than 20 simultaneous voice service subscribers. Unused bandwidth is divided among the video and best-effort users. The video service is scheduled by the HRR scheduler and gets the hierarchical assured rate.
Page 177
Chapter 16: Configuring and Attaching QoS Profiles to an Interface (config)#scheduler-profile voice (config-scheduler-profile)#shaping-rate 1000000 (config-scheduler-profile)#exit (config)#scheduler-profile video (config-scheduler-profile)#shaping-rate 1000000 (config-scheduler-profile)#exit (config)#scheduler-profile best-effort (config-scheduler-profile)#exit Put the video traffic class into the assured-forwarding traffic-class group and specify the group as strict priority. Put the voice traffic class into the expedited-forwarding traffic-class group.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 39: Diffserv Configuration with Multiple Traffic-Class Groups The following set of commands configures the QoS profile detailed in Step 7 previously. Each line in the profile is known as a profile rule. The numbers associated with each rule correspond to the numbers in Figure 39 on page 146.
Chapter 16: Configuring and Attaching QoS Profiles to an Interface In this case, the configuration creates the groups but does not place any of the traffic classes into the groups. Figure 40 on page 147 shows that IP 1, IP 2, and IP 3 contain the ungrouped traffic classes, data, video, and voice.
Page 180
JUNOSe 11.1.x Quality of Service Configuration Guide Example: Diffserv Configuration with Multiple Traffic-Class Groups...
Chapter 17 Configuring Shadow Nodes for Queue Management This chapter provides information for configuring shadow nodes on E Series routers. QoS topics are discussed in the following sections: Shadow Node Overview on page 149 Shadow Nodes and Scheduler Behavior on page 150 Managing System Resources for Shadow Nodes on page 151 Configuring Shadow Nodes on page 152 Example: Shadow Nodes over VLAN and IP Queues on page 153...
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 41: Phantom Nodes The first scheduler hierarchy displayed in Figure 41 on page 150 shows Queue A, Queue B, and Node C at the same scheduler level and with the same weight of 8. They equally share the bandwidth available to the level 1 node.
Chapter 17: Configuring Shadow Nodes for Queue Management Figure 42: Shadow Nodes Unlike phantom nodes, shadow nodes can alter the behavior of the scheduler. The first scheduler hierarchy in Figure 42 on page 151 shows VLAN interfaces A, B and C stacked above the same S-VLAN interface. Interfaces A and B have the same scheduler hierarchy (referencing qos-profile AB) and have a VLAN queue stacked directly above the S-VLAN node.
JUNOSe 11.1.x Quality of Service Configuration Guide Level 1 queues stack directly above the port; level 2 queues stack above a node and the port. The router implicitly creates the level 1 and level 2 queues. Shadow node queues stack above a port node, a level 1 node, and a shadow node. Therefore, the shadow node queue is at level 3.
Chapter 17: Configuring Shadow Nodes for Queue Management host1(config-qos-profile)#atm shadow-node scheduler-profile default Configure a queue for interfaces in the specified traffic class. host1(config-qos-profile)#atm queue traffic-class strict-priority scheduler-profile scheduler1 (Optional) Configure a traffic-class group and reference a scheduler profile in the QoS profile.
JUNOSe 11.1.x Quality of Service Configuration Guide In the second part, you specify an Ethernet node, a VLAN node, a shadow node, and a VLAN queue. The system creates the shadow node so that the VLAN queue is at the proper scheduler level. host1(config-qos-profile)#ethernet node host1(config-qos-profile)#vlan node host1(config-qos-profile)#vlan shadow-node...
Chapter 18 Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles This chapter provides information for monitoring a scheduler hierarchy on an interface with QoS profiles. QoS topics are discussed in the following sections: Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles on page 155 Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles To monitor a scheduler hierarchy on an interface, see: Monitoring the QoS Profiles Attached to an Interface on page 339...
Page 188
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring a Scheduler Hierarchy on an Interface with QoS Profiles...
Part 5 Interface Solutions for QoS Configuring an Integrated Scheduler to Provide QoS for ATM on page 159 Configuring QoS for Gigabit Ethernet Interfaces and VLAN Subinterfaces on page 177 Configuring QoS for 802.3ad Link Aggregation Groups on page 183 Configuring QoS for L2TP Sessions on page 197 Configuring Interface Sets for QoS on page 207 Interface Solutions for QoS...
Page 190
JUNOSe 11.1.x Quality of Service Configuration Guide Interface Solutions for QoS...
Chapter 19 Configuring an Integrated Scheduler to Provide QoS for ATM This chapter provides information for configuring an integrated scheduler to provide QoS for ATM. QoS topics are discussed in the following sections: ATM Integrated Scheduler Overview on page 159 Integrating the HRR Scheduler and SAR Scheduler on page 161 Per-Packet Queuing on the SAR Scheduler Overview on page 163 Guidelines for Configuring QoS over ATM on page 166...
JUNOSe 11.1.x Quality of Service Configuration Guide NOTE: The term HRR scheduler is used in this chapter to describe the scheduling performed by the ASIC on the ATM line module. Although the ASIC might differ depending on the ATM line module, the configuration and performance of the HRR scheduler are the same.
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM VC backpressure affects only VC nodes that are in the default traffic-class group. As a consequence, VC nodes that are in named traffic-class groups within the scheduler hierarchy are not affected by VC backpressure. Figure 43: Integrated ATM Scheduler VP Shaping VP shaping can be performed either in the SAR or by using the QoS shaping...
JUNOSe 11.1.x Quality of Service Configuration Guide Default integrated QoS port mode ATM application controls the scheduling facilities of the SAR scheduler. Low-latency QoS port mode HRR scheduler controls the traffic rate. Low-CDV QoS port mode HRR scheduler and the SAR scheduler work together to schedule traffic.
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM NOTE: You can also use the QoS cell mode application with QoS parameters to manage the integration of HRR and SAR schedulers. Specifying the QoS cell mode application with the qos-parameter-define command enables you to configure a port with either frame or cell shaping mode and then configure the port for low-CDV port mode.
JUNOSe 11.1.x Quality of Service Configuration Guide Operational QoS Shaping Mode for ATM Interfaces Overview The E Series router enables you to shape ATM traffic based on either frames or cells. The default frame shaping mode provides compatibility with previous versions of the E Series software.
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM Table 17: Operational Shaping Modes for ERX7xx Models, ERX14xx Models, and the ERX310 Router Operational qos-shaping-mode qos-shaping-mode qos-mode-port Shaping Mode for Rule for the Specific Port for Port 0 for Port 0 the Specific Port Rule...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 18: Operational Shaping Modes for the E120 Router and E320 Router Operational Shaping qos-mode-port Mode for qos-shaping-mode for Specific qos-shaping-mode qos-mode-port Specific Rule for specific port Port for Port 0 for Port 0 Port Rule Cell...
Page 199
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM You can configure queues in default integrated mode in the HRR that are immune to VC backpressure so that you can run voice and video applications. Queues and nodes in any named traffic class group are not subject to VC backpressure. In addition, ATM VP and ATM (port level) queues are not stacked above ATM VC nodes, so queues are not subject to backpressure, regardless of the traffic class group.
JUNOSe 11.1.x Quality of Service Configuration Guide Configuring Default Integrated Mode for ATM Interface In the default integrated mode, the SAR scheduler is the dominant scheduler, and it backpressures the first-stage (HRR) scheduler per VC. Each VC buffers only a few hundred bytes.
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM Specify the VP shaping rate. host1(config-if)#atm vp-tunnel 0 2000 TIP: Configuring an ATM VP tunnel sets a shaping rate in the SAR scheduler. Before configuring an ATM VP tunnel, there must be no PVCs with the same VPI that you are about to configure.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 45: Low-Latency Mode To configure low-latency mode with a strict-priority queue and a best-effort queue: Configure the traffic class. host1(config)#traffic-class strict host1(config-traffic-class)#exit Set the traffic class in the traffic-class group. host1(config)#traffic-class-group strict host1(config-traffic-class-group)#traffic-class strict host1(config-traffic-class-group)#exit Define the scheduler profile for the traffic-class group.
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM host1(config-if)#qos-profile low-latency-q-p TIP: For ATM interfaces on ERX7xx models, ERX14xx models, and the ERX310 router, you must specify port 0. The qos-mode-port command: Excludes non-UBR ATM QoS services on any VC on the ATM module; for example, PCR, nrtVBR, and CBR Cannot be used if shaping is currently configured on the SAR scheduler Cannot be used with ATM VP tunnels with nonzero rates;...
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 46: Low-CDV Mode (per-VP CDVT) Figure 47: Low-CDV Mode (per-VC CDVT) Configuring Low-CDV Mode for Per-Port Queuing on ATM Interfaces...
Page 205
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM To configure low-CDV mode with a strict-priority queue and a best-effort queue: Configure the traffic class. host1(config)#traffic-class strict host1(config-traffic-class)#exit Set the traffic class in the traffic-class group. host1(config)#traffic-class-group strict host1(config-traffic-class-group)#traffic-class strict host1(config-traffic-class-group)#exit Define the scheduler profiles for the traffic-class group.
JUNOSe 11.1.x Quality of Service Configuration Guide TIP: For ATM interfaces on ERX7xx models, ERX14xx models, and the ERX310 router, you must specify port 0. Configuring an ATM VP tunnel sets a shaping rate in the SAR scheduler. Before configuring an ATM VP tunnel, there must be no PVCs with the same VPI that you are about to configure.
Chapter 19: Configuring an Integrated Scheduler to Provide QoS for ATM BEST PRACTICE: We recommend that you clear the statistics counters whenever you change the QoS shaping mode. Otherwise, the statistics contain a mixture of frame-based and cell-based values. Per-Packet Queuing on the SAR Scheduler Overview on page 163 Related Topics interface atm qos-mode-port...
Page 208
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring the Configuration of QoS Profiles on page 341 Monitoring the QoS Scheduler Hierarchy on page 322 Monitoring Shared Shapers on page 329 Monitoring QoS Configurations for ATM...
Chapter 20 Configuring QoS for Gigabit Ethernet Interfaces and VLAN Subinterfaces This chapter provides information for configuring QoS for Gigabit Ethernet interfaces and VLAN subinterfaces. QoS topics are discussed in the following sections: Providing QoS for Ethernet Overview on page 177 QoS Shaping Mode for Ethernet Interfaces Overview on page 178 Configuring the QoS Shaping Mode for Ethernet Interfaces on page 179 Creating a QoS Interface Hierarchy for Bulk-Configured VLAN Subinterfaces with...
JUNOSe 11.1.x Quality of Service Configuration Guide QoS Shaping Mode for Ethernet Interfaces Overview The SAR scheduler is not available for Ethernet interfaces. However, you can still configure the operational shaping mode to shape ATM traffic based on either frames or cells by issuing the qos-shaping-mode command.
Chapter 20: Configuring QoS for Gigabit Ethernet Interfaces and VLAN Subinterfaces To account for different layer 2 encapsulations, you can configure the byte adjustment application using QoS parameters. The byte adjustment is calculated differently for frame shaping mode than cell shaping mode. NOTE: You can also use the QoS cell mode application with QoS parameters to configure the shaping mode for a port.
JUNOSe 11.1.x Quality of Service Configuration Guide Creating a QoS Interface Hierarchy for Bulk-Configured VLAN Subinterfaces with RADIUS Bulk-configured VLAN subinterfaces are created dynamically, so you cannot apply a QoS profile directly to a VLAN subinterface. Instead, you can use subscriber service profiles and RADIUS to apply QoS profiles.
Page 213
Chapter 20: Configuring QoS for Gigabit Ethernet Interfaces and VLAN Subinterfaces The highlighted output from this debug log message shows the QoS profile, virtual router, and framed route attributes configured through RADIUS. DEBUG 06/17/2007 14:50:19 radiusSendAttributes: ACCESS-REQUEST attributes (default) DEBUG 06/17/2007 14:50:19 radiusSendAttributes: username attr added: vlan@test DEBUG 06/17/2007 14:50:19 radiusSendAttributes: acct-session-id attr added: erx GigabitEthernet...
JUNOSe 11.1.x Quality of Service Configuration Guide qos profile group type type class profile profile ------------------------ ------- --------- ----- ------- --------- -------- test@GigabitEthernet6/0/0.100 vlan node default default For information about bulk-configured VLAN subinterfaces, see JUNOSe Link Related Topics Layer Configuration Guide For information about service profiles, see JUNOSe Broadband Access Configuration Guide For information about RADIUS VSAs, see JUNOSe Broadband Access Configuration...
Chapter 21 Configuring QoS for 802.3ad Link Aggregation Groups This chapter provides information for configuring QoS for 802.3ad link aggregation groups. QoS topics are discussed in the following sections: QoS for 802.3ad Link Aggregation Interfaces Overview on page 183 Hashed Load Balancing for 802.3ad Link Aggregation Groups Overview on page 186 Subscriber Load Balancing for 802.3ad Link Aggregation Groups Overview on page 186...
JUNOSe 11.1.x Quality of Service Configuration Guide For subscriber load balancing, you configure the scheduler hierarchy with IP, VLAN, and S-VLAN queues and the system allocates them to individual ports in the LAG. The system demultiplexes each packet to an active link based on the subinterface underlying the egress interface.
Chapter 21: Configuring QoS for 802.3ad Link Aggregation Groups For example, a LAG instance can specify a shaping rate of 100 Mbps on an Ethernet port or a group node. The system shapes all Ethernet ports or group nodes to the same rate within the LAG.
JUNOSe 11.1.x Quality of Service Configuration Guide For more information about the munge algorithm, see Munged QoS Profile Overview on page 136 For a list of modules that support 802.3ad link aggregation, see the ERX Module Guide and the E120 and E320 Module Guide Hashed Load Balancing for 802.3ad Link Aggregation Groups Overview To configure hashed load balancing, you configure a scheduler hierarchy with Ethernet queues and the system replicates the queues for each link within the LAG.
Chapter 21: Configuring QoS for 802.3ad Link Aggregation Groups Ethernet queues used for hashed load balancing are always present in the scheduler hierarchy. To ensure that QoS is symmetrically applied to all the links, the router periodically rebalances the load within the LAG using a hash algorithm. You can control the loadbalancing parameters and configure the system to dynamically rebalance.
JUNOSe 11.1.x Quality of Service Configuration Guide Sample Scheduler Hierarchy for Subscriber Load Balancing Figure 49 on page 188 displays the scheduler hierarchy for the Gigabit Ethernet interface in slot 3, port 0. Figure 50 on page 189 displays the scheduler hierarchy for the Gigabit Ethernet interface in slot 3, port 1.
Chapter 21: Configuring QoS for 802.3ad Link Aggregation Groups Figure 50: Subscriber LoadBalanced Scheduler Hierarchy for Port 1 Subscriber Allocation in 802.3ad Link Aggregation Groups You can configure upper-layer subinterfaces over a LAG interface, including VLANs, PPPoE, and MPLS. The system balances any upper-layer subinterfaces so that each active link in the LAG carriers an equal number of upper-layer subinterfaces.
JUNOSe 11.1.x Quality of Service Configuration Guide In an ideal QoS configuration, queues and nodes are stacked over a single port that corresponds to a LAG, with the port bandwidth equal to the sum of the overall port bandwidth. However, the actual LAG behavior is different. No level 1 node or queue can exceed the bandwidth of a link.
Chapter 21: Configuring QoS for 802.3ad Link Aggregation Groups Configuring the Scheduler Hierarchy for Subscriber Load Balancing in 802.3ad Link Aggregation Groups on page 192 Configuring Load Rebalancing for 802.3ad Link Aggregation Groups on page 193 Configuring the Scheduler Hierarchy for Hashed Load Balancing in 802.3ad Link Aggregation Groups The type of load balancing that the system performs depends on the configuration of the scheduler hierarchy in the QoS profile.
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config)#qos-port-type-profile lag qos-profile ethernet-default QoS for 802.3ad Link Aggregation Interfaces Overview on page 183 Related Topics qos-port-type-profile Configuring the Scheduler Hierarchy for Subscriber Load Balancing in 802.3ad Link Aggregation Groups The type of load balancing that the system performs depends on the configuration of the scheduler hierarchy in the QoS profile.
Chapter 21: Configuring QoS for 802.3ad Link Aggregation Groups Configuring Load Rebalancing for 802.3ad Link Aggregation Groups You can configure the parameters that the system uses to rebalance the links in a LAG. You can also configure the system to dynamically rebalance the links in the LAG.
Page 226
JUNOSe 11.1.x Quality of Service Configuration Guide Table 20: Load Balancing Algorithm Parameters (continued) Keyword Description start-threshold Specifies the amount of imbalance in the LAG that triggers the algorithm to start rebalancing. The default is 0 percent. Optionally, you can specify one of the following units of measure: percent Specifies that the amount of imbalance is measured as a percentage of the average load per link.
Chapter 21: Configuring QoS for 802.3ad Link Aggregation Groups Configuring the System to Dynamically Rebalance the LAG To configure the system to dynamically rebalance the LAG: Specify the LAG interface. host1(config)#interface lag lg1 Issue the load balance command with no keywords: host1(config-if)#load-rebalance Configuring Load Rebalancing for 802.3ad Link Aggregation Groups on page 193 Related Topics...
Page 228
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring QoS Configurations for 802.3ad Link Aggregation Groups...
Chapter 22 Configuring QoS for L2TP Sessions This chapter provides information for configuring QoS for L2TP sessions. QoS topics are discussed in the following sections: Providing QoS for L2TP Overview on page 197 Sample Scheduler Hierarchies for L2TP on page 197 Configuring QoS for an L2TP Session on page 199 Configuring QoS for Tunnel-Server Ports for L2TP LNS Sessions on page 202 QoS and L2TP TX Speed AVP 24 Overview on page 203...
Chapter 22: Configuring QoS for L2TP Sessions Figure 55: LAC over Ethernet (With LANs) Scheduler Hierarchy Figure 56: LAC over ATM Configuring QoS for an L2TP Session Related Topics Configuring QoS for an L2TP Session This section provides general procedures for configure QoS for an L2TP LNS session or a LAC L2TP session.
JUNOSe 11.1.x Quality of Service Configuration Guide -------- ------------ ----- ----------- --------- ------- ------- ---------- l2tp-session queue best-effort default default default default 1. Configuring QoS for an L2TP LNS Session on page 200 2. Configuring QoS for an L2TP LAC Session on page 201 Configuring QoS for an L2TP LNS Session When you configure QoS for an LNS, you must modify the server-default QoS profile to remove the best-effort traffic class rule from the IP interface type.
Chapter 22: Configuring QoS for L2TP Sessions Attach the QoS profile to the interface on which you have configured L2TP. host1(config)#interface gigabitEthernet 6/0 host1(config-if)#qos-profile (Optional) Verify the new QoS profile configuration. host1(config)#show qos-profile l2tpQpro25 qos-profile l2tpQpro25: t-class interface rule traffic scheduler queue drop statistics...
Chapter 22: Configuring QoS for L2TP Sessions host1(config)#qos-profile lns-tsport Configure group nodes for the tunnel-server ports. host1(config-qos-profile)#ip queue traffic-class best-effort scheduler-profile business-data queue-profile data host1(config-qos-profile)#ip queue traffic-class video scheduler-profile video queue-profile video host1(config-qos-profile)#ip queue traffic-class voice scheduler-profile voice queue-profile voice host1(config-qos-profile)#server-port group video host1(config-qos-profile)#server-port group data host1(config-qos-profile)#server-port group voice scheduler-profile strict-priority...
JUNOSe 11.1.x Quality of Service Configuration Guide PPPoE subinterface over VLAN subinterface over Ethernet interface For those logical interfaces with a rate controlled by QoS, QoS reports this configured rate as the transmit connect speed for that interface. For the logical interfaces that do not have a QoS-configured rate, QoS reports the speed of the underlying physical port as the transmit connect speed.
Page 237
Chapter 22: Configuring QoS for L2TP Sessions Monitoring the QoS Scheduler Hierarchy on page 322 Monitoring Shared Shapers on page 329 Monitoring QoS Configurations for L2TP...
Page 238
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring QoS Configurations for L2TP...
Chapter 23 Configuring Interface Sets for QoS This chapter describes how to configure a set of logical interfaces with the same scheduling and queuing properties using interface sets. QoS topics are discussed in the following sections: Interface Sets for QoS Overview on page 207 Architecture of Interface Sets for QoS on page 208 Configuring Interface Sets for Scheduling and Queuing on page 211 Configuring Interface Supersets for QoS on page 212...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 21: Interface Set Terms Term Description Interface set Set of logical interfaces of the same type: VLAN, ATM VC, and IP. An interface set shares a common parent interface. Interface superset Set of QoS interface sets and logical interfaces of the same type. A superset shares a common parent interface.
Chapter 23: Configuring Interface Sets for QoS When an interface is grouped in an interface set, the logical interface column is modified, and interface set appears below the interface in the column. The interface superset appears below the interface set. Although interface sets enable you to configure more types of scheduler nodes, the number of node and queue resources supported in the current scheduler hierarchy are the same.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 57: VLAN Interface Column with Interface Sets Figure 58 on page 210 shows a scheduler hierarchy with VLAN nodes at the interface set. Figure 58: Scheduler Hierarchy with Nodes at Interface Set and Superset Scheduling and Shaping Interface Sets You can apply QoS to interface sets and interface supersets in the same way as a logical interface.
Chapter 23: Configuring Interface Sets for QoS Each interface set or interface superset can have a shared shaper applied to it. The constituents of the shared shaper are the scheduler nodes and queues associated with the interface set. You can use QoS profiles and QoS parameters to manage the scheduling and shaping in the interface set.
JUNOSe 11.1.x Quality of Service Configuration Guide Interface Sets for QoS Overview on page 207 Related Topics Configuring Interface Supersets for QoS Tasks to configure an interface superset for QoS include: Configuring an Interface Superset on page 212 Restricting an Interface Superset to an S-VLAN ID or an ATM VP on page 212 Configuring an Interface Superset To configure an interface superset that contains interface sets and logical interfaces: Create the interface superset.
Chapter 23: Configuring Interface Sets for QoS To add members to the interface superset, see Configuring Interface Sets for Related Topics QoS on page 213 Monitoring the Configuration of QoS Interface Supersets on page 351 qos-interface-superset qos-interface-parent restricted Configuring Interface Sets for QoS Interface sets are members of interface supersets.
JUNOSe 11.1.x Quality of Service Configuration Guide Delete the interface set from the interface superset. host1(config-qos-interface-superset)#no qos-interface-set atm-vc-data For more information about configuring interface supersets, see Configuring Related Topics Interface Supersets for QoS on page 212 Monitoring the Configuration of QoS Interface Sets on page 350 member-interface-type qos-interface-parent qos-interface-set...
Chapter 23: Configuring Interface Sets for QoS Adding Interfaces to an Interface Set with RADIUS You can add interfaces to an interface set using the QoS-Interfaceset-Name RADIUS VSA attribute [26-130]. This VSA is useful when configuring local loop topologies of interface sets in the network.
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config)#interface gigabitEthernet 4/0/0.1 host1(config-sub-if)#svlan id 3 1 host1(config-sub-if)#ip address 1.2.3.4/24 host1(config-sub-if)#qos-interface-parent vlan-business Instead of moving the member interface, we recommend that you add an interface member to an interface set at the subinterface rather than at the upper-layer binding. For example: host1(config)#interface gigabitEthernet 4/0/0.1 host1(config-sub-if)#svlan id 3 1...
Chapter 23: Configuring Interface Sets for QoS Configure the instance-interface type and specify the interface set or the interface superset. host1(config-qos-parameter-define)#instance-interface-type set host1(config-qos-parameter-define)#instance-interface-type superset You can specify up to eight instance-interface types for each parameter definition. Creating a QoS Parameter Instance for an Interface Superset To create a QoS parameter instance for an interface superset: Specify the QoS interface superset.
JUNOSe 11.1.x Quality of Service Configuration Guide qos-parameter qos-profile Attaching a QoS Profile to an Interface Superset or an Interface Set You can configure a QoS profile to manage the scheduler resources for an interface set or an interface superset. Tasks to attach a QoS profile to an interface set or an interface set include: Configuring a QoS Profile for an Interface Superset or an Interface Set on page 218 Attaching a QoS Profile to an Interface Superset on page 218...
Chapter 23: Configuring Interface Sets for QoS Attach the QoS profile. host1(config-qos-interface-superset)#qos-profile business-data Attaching a QoS Profile to an Interface Set To attach a QoS profile to an interface set: Specify the QoS interface set. host1(config)#qos-interface-superset vlan-set Attach the QoS profile. host1(config-qos-interface-set)#qos-profile business-data Monitoring the QoS Profiles Attached to an Interface on page 339 Related Topics...
JUNOSe 11.1.x Quality of Service Configuration Guide Delete the interface superset. host1(config)#no qos-interface-superset business-data Deleting an Interface Set You must remove the members of an interface set before you can delete the interface set. If the interface set has a QoS profile attached or a QoS parameter instance, all of these attachments are also deleted.
Page 253
Chapter 23: Configuring Interface Sets for QoS Assign the parent interface as LAG. host1(config)#qos-interface-parent interface lag Restrict the interface superset to the Ethernet parent interface. host1(config-interface-superset)#restricted interface gigabitEthernet 4/0/0 qos-interface-parent Related Topics qos-interface-superset restricted Example: Configuring Interface Sets for 802.3ad Link Aggregation Groups...
Page 254
JUNOSe 11.1.x Quality of Service Configuration Guide Example: Configuring Interface Sets for 802.3ad Link Aggregation Groups...
Part 6 Managing Queuing and Scheduling with QoS Parameters QoS Parameter Overview on page 225 Configuring a QoS Parameter on page 229 Configuring Hierarchical QoS Parameters on page 261 Configuring IP Multicast Bandwidth Adjustment with QoS Parameters on page 269 Configuring the Shaping Mode for Ethernet with QoS Parameters on page 281 Configuring Byte Adjustment for Shaping Rates with QoS Parameters on page 293 Configuring the Downstream Rate Using QoS Parameters on page 301...
Page 256
JUNOSe 11.1.x Quality of Service Configuration Guide Managing Queuing and Scheduling with QoS Parameters...
Chapter 24 QoS Parameter Overview This chapter provides information about quality of service (QoS) parameters. QoS parameters are discussed in the following sections: QoS Parameter Overview on page 225 QoS Parameter Audience on page 225 QoS Parameter Terms on page 226 Relationship Among QoS Parameters, Scheduler Profiles, and QoS Profiles on page 227 QoS Parameter Overview...
JUNOSe 11.1.x Quality of Service Configuration Guide QoS administrators are responsible for implementing a QoS queuing architecture by defining the scheduler profiles and referencing them from QoS profiles. QoS administrators also configure parameter definitions that control the parameters, interfaces, and ranges of values that QoS clients, using QoS parameters, can assign. QoS clients are responsible for configuring services for individual subscribers by creating parameter instances.
Chapter 24: QoS Parameter Overview Table 22: QoS Parameter Terminology Used in This Chapter (continued) Term Description Parameter instance Parameter name and value that a QoS client associates with a logical interface. Parameter value 32-byte unsigned integer value associated with a parameter instance. QoS administrator Person responsible for implementing a QoS queuing architecture by configuring QoS profiles, scheduler profiles, and parameter...
JUNOSe 11.1.x Quality of Service Configuration Guide The QoS administrator defines the attributes that the QoS client can modify by configuring a parameter definition. The QoS administrator specifies the parameter definition name in a scheduler profile. The QoS administrator references the scheduler profile in a QoS profile rule. QoS Client Tasks After the QoS administrator defines parameter definitions: The QoS client creates a parameter instance and associates it with a logical...
Chapter 25 Configuring a QoS Parameter This chapter provides information for configuring quality of service (QoS) parameters on E Series routers. QoS parameters are discussed in the following sections: Parameter Definition Attributes for QoS Administrators Overview on page 229 Scheduler Profiles and Parameter Expressions for QoS Administrators on page 235 Configuring a Basic Parameter Definition for QoS Administrators on page 238 Parameter Instances for QoS Clients Overview on page 240 Creating Parameter Instances on page 242...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 23: Attributes in Parameter Definitions (continued) Parameter Data Setting Description Subscriber-interface type Subscriber interfaces to which QoS clients can apply parameters obtained through RADIUS or profiles. The QoS administrator can specify up to four subscriber-interface types for each parameter definition.
Chapter 25: Configuring a QoS Parameter Table 25: Valid and Invalid Parameter Names Valid Names Invalid Names – – +foo – – Parameter names are case-sensitive. For example, max-subscriber-bw and max-Subscriber-bw are different parameter names. Because the shaping rate and shared-shaping rates determine the maximum scheduler rates, and the assured rate determines minimum scheduler rates, we recommend that you use min or max operands in the parameter name.
JUNOSe 11.1.x Quality of Service Configuration Guide parameter controls VLAN nodes and queues and sets the maximum rate for any parameter instance. host1(config)#qos-parameter-define max-subscriber-bandwidth host1(config-qos-parameter-define)#controlled-interface-type vlan host1(config-qos-parameter-define)#exit Then you reference the parameter definition within a scheduler profile. host1(config)#scheduler-profile subscriber host1(config-scheduler-profile)#shared-shaping-rate max-subscriber-bandwidth auto host1(config-scheduler-profile)#exit This scheduler profile can be referenced only by QoS profile VLAN rules.
A RADIUS administrator can enter multiple QoS parameter name and value pairs when configuring the RADIUS server with the Juniper Networks VSA [26-82]. This means that the RADIUS can return multiple instances of the same VSA in a single request.
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config-qos-parameter-define)#controlled-interface-type ip host1(config-qos-parameter-define)#instance-interface-type ip host1(config-qos-parameter-define)#subscriber-interface-type ip Range of QoS Parameters You can specify the range of values that the QoS client can enter for a parameter instance by issuing the range command in QoS Parameter Definition Configuration mode.
Chapter 25: Configuring a QoS Parameter Applications and QoS Parameters You can associate a parameter definition with an application in the system by issuing the application keyword with the qos-parameter-define command. The applications that you can configure include: IP Multicast Bandwidth Adjustment QoS Cell Mode Byte Adjustment (Cell and Frame) QoS Downstream Rate...
JUNOSe 11.1.x Quality of Service Configuration Guide Removing or Modifying a Scheduler Profile You can modify a scheduler profile as long as the QoS profile rules that use the scheduler profile are of the same type. All nodes and queues controlled by the scheduler profile are adjusted to the new rate.
JUNOSe 11.1.x Quality of Service Configuration Guide Result Made the subscriber-rate a minimum of 1 Mbps. The value of the subscriber-rate scheduler profile is greater than 5 Mbps, specifically Example 2 6 Mbps. The max of 6 Mbps and 1 Mbps is 6 Mbps The min of 6 Mbps and 5 Mbps is 5 Mbps Result Made the subscriber-rate a maximum of 5 Mbps.
Page 271
Chapter 25: Configuring a QoS Parameter host1(config-qos-parameter-define)#controlled-interface-type atm-vc host1(config-qos-parameter-define)#controlled-interface-type vlan You can specify up to four of the following controlled-interface types per parameter definition: atm, atm-vc, atm-vp, bridge, ethernet, fr-vc, ip, ip-tunnel, ipv6, l2tp-session, l2tp-tunnel, lsp, pppoe, serial, server-port, vlan. Specify the set of logical interfaces types upon which a QoS client can create instances of the parameter.
JUNOSe 11.1.x Quality of Service Configuration Guide assured-rate controlled-interface-type instance-interface-type node qos-parameter-define qos-profile queue range scheduler-profile shaping-rate shared-shaping-rate subscriber-interface-type traffic-class weight Parameter Instances for QoS Clients Overview The QoS administrator implements a QoS architecture for the provider based on QoS profiles and parameter definitions.
Chapter 25: Configuring a QoS Parameter QoS Parameters for Interfaces Overview When you attach a parameter instance to an interface in Interface Configuration mode, the default value for the chassis overrides the default value for the router. When attached to subinterfaces, parameter instances override both interface and global configurations.
JUNOSe 11.1.x Quality of Service Configuration Guide Creating Parameter Instances You can create QoS parameter instances globally, for an interface, or for a subinterface. Tasks to create parameter instances are: Creating a Global Parameter Instance on page 242 Creating a Parameter Instance for an Interface on page 242 Creating a Parameter Instance for an ATM VP on page 242 Creating a Parameter Instance for an S-VLAN on page 243 Creating a Global Parameter Instance...
Chapter 25: Configuring a QoS Parameter Attach the parameter instance and associate with the QoS profile. host1(config-if)#atm-vp 4 qos-profile video qos-parameter max-subscriber-bandwidth 375000 Creating a Parameter Instance for an S-VLAN Use this procedure to attach a parameter instance to a specified S-VLAN ID on the interface.
JUNOSe 11.1.x Quality of Service Configuration Guide Through QoS parameter definitions, the QoS administrator defines a QoS scheduler hierarchy that corresponds to the physical network topology shown in Figure 60 on page 244. Figure 60: Physical Network Topology The S-VLAN scheduler nodes correspond to the DSLAM in the physical network topology;...
Chapter 25: Configuring a QoS Parameter For Subscriber 2, the QoS client configures a basic triple-play service consisting of voice, video, and best-effort data services. This service enables the subscriber to transmit up to 6 Mbps of combined voice, video, and best-effort data traffic. The service limits video traffic to 2 Mbps and enables low-latency bandwidth for one 100 Kbps voice call.
Page 278
JUNOSe 11.1.x Quality of Service Configuration Guide The remaining traffic classes, best-effort and video, remain in the default traffic-class group. After configuring the traffic classes and traffic-class groups, the QoS administrator Configuring the configures the parameter definitions for Subscribers 1, 2, and 3. Parameter Definitions Configure a parameter definition for the maximum subscriber bandwidth.
Page 279
Chapter 25: Configuring a QoS Parameter host1(config-qos-parameter-define)#exit Configure a parameter definition for the maximum number of 100 Kbps voice calls supported for the subscriber. a. Configure the parameter definition named max-100Kbps-voice-calls. b. Enable the parameter to control VLANs. Enable the parameter to have instances created on VLAN subinterfaces. d.
Page 280
JUNOSe 11.1.x Quality of Service Configuration Guide Configure a scheduler profile for the subscriber's voice service. a. Configure the scheduler profile named subscriber-voice. b. Configure the shaping rate by referencing the max-100Kbps-voice-calls parameter and multiplying it by 100 Kbps of voice calls. host1(config)#scheduler-profile subscriber-voice host1(config-scheduler-profile)#shaping-rate max-100Kbps-voice-calls * 100000...
Page 281
Chapter 25: Configuring a QoS Parameter Specify a queue for VLAN subinterfaces, referencing the video traffic class and the subscriber-video scheduler profile. g. Specify a queue for VLAN subinterfaces, referencing the voice traffic-class and the subscriber-voice scheduler profile. host1(config)#qos-profile subscriber-triple-play host1(config-qos-profile)#svlan node host1(config-qos-profile)#vlan node scheduler-profile subscriber-weight host1(config-qos-profile)#svlan node group EF...
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config-subif)#ip address 192.2.1.1 255.255.255.0 host1(config-subif)#exit host1(config)#interface fastEthernet 9/0.3 host1(config-subif)#svlan id 2 3 host1(config-subif)#ip address 192.3.1.1 255.255.255.0 host1(config-subif)#exit Procedure for QoS Clients This section describes procedures to create parameter instances for Subscribers 1, 2, and 3. The QoS client creates global parameter instances to provide a minimal level of Creating a Global default service for the router.
Page 283
Chapter 25: Configuring a QoS Parameter The QoS client creates a parameter instance for Subscribers 1, 2, and 3. Creating Parameter Instances for Configure the basic-data service for Subscriber 1. Subscribers a. Specify the Fast Ethernet interface in slot 9, port 0. b.
JUNOSe 11.1.x Quality of Service Configuration Guide Create a parameter instance for max-subscriber-video-bandwidth, limiting video traffic to 3 Mbps. d. Create a parameter instance for max-100Kbps-voice-calls, enabling up to three 100 Kbps voice calls. e. Attach the QoS profile subscriber-triple-play to the subscriber's interface. host1(config)#interface fastEthernet 9/0.3 host1(config-if)#qos-parameter max-subscriber-bandwidth 8000000 host1(config-if)#qos-parameter subscriber-weight 6...
Page 285
Chapter 25: Configuring a QoS Parameter parameter name value range properties ------------------------------ ----------------- ---------- max-subscriber-bandwidth 512000 - 8192000 <none> subscriber-weight 1 - 10 <none> max-subscriber-video-bandwidth 1000000 - 5000000 <none> max-100Kbps-voice-calls 1 - 3 <none> To display the shaping rates and burst for the four scheduler profiles (subscriber-best-effort, subscriber-video, subscriber-weight, and subscriber-voice, issue the show scheduler-profile command.
Page 286
JUNOSe 11.1.x Quality of Service Configuration Guide qos-profile subscriber-triple-play: t-class interface rule traffic queue drop group type type class scheduler profile profile profile ------- --------- ----- ----------- ---------------------- ------- ------- vlan node subscriber-weight svlan node default vlan queue best-effort subscriber-best-effort default default vlan queue video subscriber-video...
Page 287
Chapter 25: Configuring a QoS Parameter FastEthernet9/0.3 max-100Kbps-voice-calls FastEthernet9/0 svlan 1 max-subscriber-video-bandwidth 1000000 Global parameter instances: Parameter instances reported: 13 To display the queue forwarding rates for the VLANs on the Fast Ethernet interface in slot 9, port 0, issue the show egress-queue rates command. host1#show egress-queue rates full interface fastEthernet 9/0 traffic forwarded aggregate minimum...
JUNOSe 11.1.x Quality of Service Configuration Guide To display the scheduler hierarchy for the Fast Ethernet interface in slot 9, port 0, issue the show qos scheduler-hierarchy command. host1# show qos scheduler-hierarchy interface fastEthernet 9/0 Scheduler hierarchy for the default traffic-class group assured shared rate...
Page 289
Chapter 25: Configuring a QoS Parameter fabric-strict-priority exit traffic-class-group EF auto-strict-priority traffic-class voice exit !Configure the max-subscriber-bandwidth parameter definition. qos-parameter-define max-subscriber-bandwidth controlled-interface-type vlan instance-interface-type vlan range 512000 8192000 exit !Configure the subscriber-weight parameter definition. qos-parameter-define subscriber-weight controlled-interface-type vlan instance-interface-type vlan range 1 6 exit !Configure the max-subscriber-video parameter definition.
JUNOSe 11.1.x Quality of Service Configuration Guide svlan node group EF vlan queue traffic-class best-effort scheduler-profile subscriber-best-effort vlan queue traffic-class video scheduler-profile subscriber-video vlan queue traffic-class voice scheduler-profile subscriber-voice exit ! Configure the ethernet-default QoS profile. qos-profile ethernet-default no ip node no ip queue traffic-class best-effort exit ! Attach the QoS profile to the VLAN and S-VLAN subinterfaces.
Chapter 26 Configuring Hierarchical QoS Parameters This chapter provides information for configuring hierarchical quality of service (QoS) parameters on E Series routers. QoS parameters are discussed in the following sections: Hierarchical QoS Parameters Overview on page 261 Guidelines for Configuring Hierarchical Parameters on page 261 Configuring a Parameter Definition to Calculate Hierarchical Instances on page 262 Example: QoS Parameter Configuration for Hierarchical Parameters on page 263 Hierarchical QoS Parameters Overview...
JUNOSe 11.1.x Quality of Service Configuration Guide You can specify only a subset of the instance-interface types that are supported for non-hierarchical parameters. The following output lists the instance-interface types that are supported: host1(config)#qos-parameter-define hierarchical-parameter hierarchical host1(config-qos-parameter-define)#instance-interface-type ? atm-vc ATM Virtual Circuit (VC) ip IP interface ipv6 IP version 6 interface l2tp-session L2tp session interface...
Chapter 26: Configuring Hierarchical QoS Parameters values of an implicit instance as the sum of the values of the explicit instances stacked above the implicit instance. To configure a hierarchical QoS parameter definition: Include the hierarchical keyword with the qos-parameter-define command. host1(config)#qos-parameter-define max-subscriber-bandwidth host1(config-qos-parameter-define)# Hierarchical QoS Parameters Overview on page 261...
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 62: Hierarchical Parameters Scheduler Hierarchy Procedure for QoS Administrators This section describes the procedures to configure the scheduler hierarchy shown in Figure 62 on page 264 by using QoS parameters. The QoS administrator configures the parameter definition for the maximum Configuring the subscriber bandwidth.
Chapter 26: Configuring Hierarchical QoS Parameters b. Configure the shaping rate by referencing the parameter max-sub-bw. host1(config)#scheduler-profile sp-shape-cvlan host1(config-scheduler-profile)#shaping-rate max-sub-bw host1(config-scheduler-profile)#exit Configure a scheduler profile to shape the S-VLAN throughput. a. Configure the scheduler profile named sp-shape-svlan. b. Configure the shaping rate by referencing the parameter max-sub-bw. host1(config)#scheduler-profile sp-shape-svlan host1(config-scheduler-profile)#shaping-rate max-sub-bw host1(config-scheduler-profile)#exit...
JUNOSe 11.1.x Quality of Service Configuration Guide Configure the VLAN subinterface at slot 2, port 0, subinterface 100. d. Assign an S-VLAN ID of 10 and a VLAN ID of 100 to the VLAN subinterface. e. Attach the max-sub-bw QoS parameter to the subinterface with a value of 1024000.
Chapter 26: Configuring Hierarchical QoS Parameters GigabitEthernet2/0.100 max-sub-bw 1024000 explicit GigabitEthernet2/0.101 max-sub-bw 2048000 explicit Explicit parameter instances: Hierarchical parameter instances: IP multicast parameter instances: Parameter instances reported: Complete Configuration Example You can use the complete configuration examples provided for each of the configurations in your own network.
Page 300
JUNOSe 11.1.x Quality of Service Configuration Guide interface gigabitEthernet 2/0.100 svlan id 10 100 qos-parameter max-sub-bw 1024000 qos-profile qp-shape-cvlan exit ! Configure the QoS parameter max-sub-bw for VLAN subinterface 101. interface gigabitEthernet 2/0.101 svlan id 10 101 qos-parameter max-sub-bw 2048000 qos-profile qp-shape-cvlan ! Attach the QoS profile to the S-VLAN subinterface 10.
Chapter 27 Configuring IP Multicast Bandwidth Adjustment with QoS Parameters This chapter provides information for configuring quality of service (QoS) parameters on E Series routers. QoS parameters are discussed in the following sections: IP Multicast Bandwidth Adjustment for QoS Overview on page 269 Guidelines for Configuring IP Multicast Adjustment for QoS on page 271 Configuring a Parameter Definition for IP Multicast Bandwidth Adjustment on page 271...
Page 302
JUNOSe 11.1.x Quality of Service Configuration Guide the logical interface minus the ip-multicast bandwidth. To enable the IP multicast QoS adjustment, you must: Define a qos-parameter using the qos-parameter-define command with the application ip-multicast and the hierarchical keyword. host1(config)# qos-parameter-define ipm application ip-multicast hierarchical host1(config-qos-parameter-define)# Reference the ipm parameter within a scheduler profile.
Chapter 27: Configuring IP Multicast Bandwidth Adjustment with QoS Parameters For more information about configuring scheduler rates for QoS parameters, see Scheduler Profiles and Parameter Expressions for QoS Administrators on page 235 Guidelines for Configuring IP Multicast Adjustment for QoS When you specify the IP multicast bandwidth adjustment application, the following considerations apply: You must specify a controlled-interface type.
Page 304
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config)#traffic-class best-effort host1(config-traffic-class)#exit Create a parameter definition. a. Configure the QoS parameter name and the application. host1(config)#qos-parameter-define ipm application ip-multicast hierarchical b. Configure a controlled-interface type. host1(config-qos-parameter-define)#controlled-interface-type vlan host1(config-qos-parameter-define)#exit Create a parameter instance that globally defines the value of the IP multicast adjustment as 0.
Chapter 27: Configuring IP Multicast Bandwidth Adjustment with QoS Parameters interface gigabitEthernet node qos-parameter-define qos-profile queue scheduler-profile shared-shaping-rate traffic-class vlan id Example: QoS Parameter Configuration for IP Multicast Bandwidth Adjustment In this example, a QoS administrator configures a QoS parameter definition to associate with the IP multicast bandwidth adjustment application.
JUNOSe 11.1.x Quality of Service Configuration Guide Figure 63: Scheduler Hierarchy with QoS Adjustment for IP Multicast The QoS administrator configures the traffic classes and traffic-class groups for Configuring Traffic best-effort data and voice services. The QoS administrator does not need to configure Classes and a traffic class for the video service because it is transmitted through the IP multicast Traffic-Class Groups...
Page 307
Chapter 27: Configuring IP Multicast Bandwidth Adjustment with QoS Parameters The QoS scheduler hierarchy is constructed when the subscriber logs on. However, because the parameter instance has not yet been created, the shared-shaping rate is undefined (that is, there is no shaping rate). Therefore, the QoS administrator creates a global parameter instance to shape the subscriber to the desired bandwidth.
JUNOSe 11.1.x Quality of Service Configuration Guide Create the QoS profile named ipm-adjusted. Configure a queue for ATM VC subinterfaces with the best-effort traffic class. Configure a queue for ATM VC subinterfaces with the voice traffic class and reference the 192K scheduler profile. Configure a node for ATM VC subinterfaces and reference the scheduler profile vc-subscriber.
Page 309
Chapter 27: Configuring IP Multicast Bandwidth Adjustment with QoS Parameters To display the traffic classes for best-effort and voice, issue the show traffic-class command. host1#show traffic-class fabric traffic fabric strict class weight priority ----------- ------ -------- best-effort voice To display the traffic-class group, issue the show traffic-class-group command. host1#show traffic-class-group traffic-class-group EF auto-strict-priority traffic-class voice...
Page 310
JUNOSe 11.1.x Quality of Service Configuration Guide group type type class profile profile profile profile ------- --------- ----- ----------- ------------- ------- ------- atm-vc node vc-subscriber atm-vc queue best-effort default default default default atm-vc queue voice 192k default default default To display the settings for the ipm QoS parameter definition, issue the show qos-parameter-define command.
Chapter 27: Configuring IP Multicast Bandwidth Adjustment with QoS Parameters **Queues disabled (no resources): Total queues: To display the shared shaper settings for the ATM VC on the ATM interface in slot 2, port 0, issue the show qos shared-shaper command. host1#show qos shared-shaper interface atm 2/0.1 shared shaping...
Page 312
JUNOSe 11.1.x Quality of Service Configuration Guide exit ! Add the scheduler profiles to the ipm-adjusted QoS profile. qos-profile ipm-adjusted atm-vc queue traffic-class best-effort atm-vc queue traffic-class voice scheduler-profile 192k atm-vc node scheduler-profile vc-subscriber exit ! Attach the parameter definition to an interface. interface atm 2/0.1 point-to-point atm pvc 100 0 100 aal5snap qos-profile ipm-adjusted...
Chapter 28 Configuring the Shaping Mode for Ethernet with QoS Parameters This chapter provides information for configuring the shaping mode for Ethernet using quality of service (QoS) parameters on E Series routers. QoS parameters are discussed in the following sections: Cell Shaping Mode Using QoS Parameters Overview on page 281 Guidelines for Configuring the Cell Shaping Mode with QoS Parameters on page 283 Configuring a Parameter Definition to Shape Ethernet Traffic Using Cell...
JUNOSe 11.1.x Quality of Service Configuration Guide The QoS administrator then applies frame shaping mode to the Gigabit Ethernet interface configured on slot 6, adapter 0, port 2, subinterface 1 using the QoS cell mode application. This parameter instance overrides the shaping mode configured at the port.
Chapter 28: Configuring the Shaping Mode for Ethernet with QoS Parameters associated with the qos-cell-mode application to determine whether the cell adjustment is required. NOTE: Do not use the parameter expression on Ethernet interfaces configured on the ES2 4G LM, GE-2 line module, or the GE-HDE line module. For example, the subscriber-rate parameter represents the bandwidth of a subscriber.
JUNOSe 11.1.x Quality of Service Configuration Guide You can have only one parameter definition with the QoS cell mode application configured. You must specify a controlled-interface type. You can specify only instance-interface types of atm, atm-vp, atm-vc, ethernet, svlan, and vlan. You can specify only the subscriber-interface type of vlan when you configure Qos cell mode application on its own or with the byte adjustment application.
Page 317
Chapter 28: Configuring the Shaping Mode for Ethernet with QoS Parameters Configure an instance-interface type. host1(config-qos-parameter-define)#instance-interface-type vlan Create the parameter instance and configure the shaping mode. When you create the parameter instance and configure the shaping mode, the value of frame shaping mode is 0; the value for cell shaping mode is 1. host1(config)#interface gigabitEthernet 6/0/2 host1(config-if)#encapsulation vlan host1(config-if)#interface gigabitEthernet 6/0/2.1...
JUNOSe 11.1.x Quality of Service Configuration Guide Example: QoS Parameter Configuration for QoS Cell Mode and Byte Adjustment for Cell Shaping The example in this section illustrates how to configure the byte adjustment application to adjust the shaping rate for downstream ATM traffic from the customer premise equipment (CPE) to Ethernet interfaces configured on an E320 router.
Page 319
Chapter 28: Configuring the Shaping Mode for Ethernet with QoS Parameters The QoS administrator configures the traffic classes and traffic-class groups for video Configuring Traffic and voice services. Classes Configure the traffic class named voice. host1(config)#traffic-class voice host1(config-traffic-class)#exit Configure the traffic class named video. host1(config)#traffic-class video host1(config-traffic-class)#exit The QoS administrator configures a parameter definition and the byte adjustment...
Page 320
JUNOSe 11.1.x Quality of Service Configuration Guide b. Configure the shared-shaping rate of 10000000 with a burst of 10 milliseconds. host1(config)#scheduler-profile vc1 host1(config-scheduler-profile)#shared-shaping-rate 10000000 burst 10 milliseconds host1(config-scheduler-profile)#exit Configure the scheduler profile for the voice service. a. Configure the scheduler profile named voice. b.
Page 321
Chapter 28: Configuring the Shaping Mode for Ethernet with QoS Parameters Configure the vc2 QoS profile with a shaping rate of 1 Mbps. a. Configure the QoS profile vc2. b. Configure the vlan node and reference the scheduler profile vc2. host1(config)#qos-profile vc2 host1(config-qos-profile)#vlan node scheduler-profile vc2 host1(config-qos-profile)#exit...
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config-if)#exit Complete Configuration Example You can use the complete configuration examples provided for each of the configurations in your own network. To customize the configuration example for your needs, copy the text into a text editor, and modify it. To use the example for immediate use, copy it to the local console or Telnet session from which you access the router.
Page 323
Chapter 28: Configuring the Shaping Mode for Ethernet with QoS Parameters ! Configure the byte adjustment for VLAN1 and VLAN2. interface gigabitEthernet 6/0/0 encapsulation vlan interface gigabitEthernet 6/0/0.1 vlan id 1 qos-parameter byte-adjustment -28 qos-parameter cell-mode 1 qos-profile vc1 interface gigabitEthernet 6/0/1.1 vlan id 2 qos-parameter byte-adjustment -2 qos-parameter cell-mode 1...
Page 324
JUNOSe 11.1.x Quality of Service Configuration Guide Example: QoS Parameter Configuration for QoS Cell Mode and Byte Adjustment for Cell Shaping...
Chapter 29 Configuring Byte Adjustment for Shaping Rates with QoS Parameters This chapter provides information for configuring byte adjustment with quality of service (QoS) parameters on E Series routers. QoS parameters are discussed in the following sections: Byte Adjustment for ADSL and VDSL Traffic Overview on page 293 Guidelines for Configuring Byte Adjustment of Cell and Frame Shaping Rates Using QoS Parameters on page 296 Configuring a Parameter Definition to Adjust Cell Shaping Rates for ADSL...
JUNOSe 11.1.x Quality of Service Configuration Guide To adjust the shaping rates to account for different layer 2 encapsulations as well as the ATM cell pad, header, and trailer on interfaces, apply a parameter with the cell byte-adjustment application (qos-byte-adjustment). When you apply a parameter with the qos-byte-adjustment application to an interface with frame shaping mode, you adjust shaping rates to account for different layer 2 encapsulations only.
Chapter 29: Configuring Byte Adjustment for Shaping Rates with QoS Parameters Table 29: Header Lengths for Ethernet Encapsulation (continued) Header Number of Bytes 34 bytes Total Table 30 on page 295 lists the header lengths for the ATM encapsulation, which represents the B-RAS protocol overhead.
JUNOSe 11.1.x Quality of Service Configuration Guide Table 31: Byte Adjustment Values for Frame and Cell Shaping Modes Configured Configured Final Byte Shaping Mode qos-frame-byte-adjustment qos-byte-adjustment Adjustment on Port 0 Value Value Value Cell Any value Cell Any value Undefined Frame Undefined Undefined...
Chapter 29: Configuring Byte Adjustment for Shaping Rates with QoS Parameters We recommend that you apply the byte adjustment parameter at the lowest interface column so that upper interfaces automatically have the parameter. On the ES2 10G LM, the shaping rate adjustment is performed more efficiently by the TFA ASIC than ASICS on other modules.
Page 330
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config-qos-parameter-define)#controlled-interface-type vlan host1(config-qos-parameter-define)#controlled-interface-type ip Configure an instance-interface type. host1(config-qos-parameter-define)#instance-interface-type vlan Do one of the following: Configure the shaping mode by issuing the qos-shaping-mode command. Frame shaping mode is the default for Ethernet interfaces on all E Series routers.
Chapter 29: Configuring Byte Adjustment for Shaping Rates with QoS Parameters node qos-parameter qos-parameter-define qos-profile queue traffic-class vlan id Configuring a Parameter Definition to Adjust Frame Shaping Rates for VDSL Traffic Packet fragmentation can occur at a DSLAM because of the associated segment header that is added for VDSL2 in frame shaping mode.
Page 332
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config)#scheduler-profile service-provider-business host1(config-scheduler-profile)# shaping-rate ancp-downstream - (ancp-downstream % 2 * (1 - sp-qos-cell-mode)) TIP: To determine the expression value and the byte adjustment required, you must account for the actual segmentation header overhead added by the DSLAM. DSLAMs have different segmentation header overheads.
Chapter 30 Configuring the Downstream Rate Using QoS Parameters This chapter provides information for configuring quality of service (QoS) parameters on E Series routers. QoS parameters are discussed in the following sections: QoS Downstream Rate Application Overview on page 301 Guidelines for Configuring QoS Downstream Rate on page 303 Configuring a Parameter Definition for QoS Downstream Rate on page 303 Example: QoS Parameter Configuration for QoS Downstream Rate on page 305...
JUNOSe 11.1.x Quality of Service Configuration Guide QoS Adaptive Mode and Downstream Rate After you create the parameter definition, you must enable QoS adaptive mode for ANCP by issuing the qos-adaptive-mode command. ANCP uses this setting to dynamically create the parameter instances for the QoS downstream rate application and, if applicable, the QoS cell mode application.
Chapter 30: Configuring the Downstream Rate Using QoS Parameters For information about configuring the shaping mode for ATM interfaces, see Configuring the QoS Shaping Mode for ATM Interfaces on page 174 For more information about DSL Forum VSAs, see JUNOSe Broadband Access Configuration Guide Guidelines for Configuring QoS Downstream Rate When you specify the QoS downstream rate application, the following considerations...
Page 336
JUNOSe 11.1.x Quality of Service Configuration Guide host1(config)#qos-parameter-define downstreamVLAN application qos-downstream-rate b. Configure controlled-interface types. host1(config-qos-parameter-define)#controlled-interface-type vlan host1(config-qos-parameter-define)#controlled-interface-type ip Configure subscriber-interface types. host1(config-qos-parameter-define)#subscriber-interface-type vlan Do one of the following: For VLANs, configure the shaping mode by creating a parameter definition with the QoS cell mode application.
Chapter 30: Configuring the Downstream Rate Using QoS Parameters host1(config-if)#ip address 6.10.10.10 255.255.255.255 Example: QoS Parameter Configuration for QoS Downstream Rate on page 305 Related Topics For information about downstream rate and RADIUS, see JUNOSe Broadband Access Configuration Guide For more information about configuring ANCP (L2C) parameters, see JUNOSe IP Services Configuration Guide aaa qos downstream-rate controlled-interface-type...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 33: Shaping Rate and Shaping Mode VLAN1 VLAN2 Cell Cell Shaping mode 10000000 bps 100000 bps Shaping rate The QoS administrator configures the traffic classes for voice and video services. Configuring Traffic Classes Configure the traffic class named voice.
Page 339
Chapter 30: Configuring the Downstream Rate Using QoS Parameters host1(config-qos-parameter-define)#controlled-interface-type ip host1(config-qos-parameter-define)#exit Define the subscriber-interface types for vlan and ethernet. host1(config-qos-parameter-define)#subscriber-interface-type vlan host1(config-qos-parameter-define)#subscriber-interface-type ethernet host1(config-qos-parameter-define)#exit The QoS administrator enables QoS adaptive mode for ANCP. Enabling QoS Adaptive Mode Enter Layer 2 Control Configuration mode. host1(config)#l2c Enable QoS adaptive mode for the system.
Page 340
JUNOSe 11.1.x Quality of Service Configuration Guide a. Configure the scheduler profile named vlan2. b. Configure the shaping rate by referencing the ancpVlan parameter with a burst of 10 milliseconds. host1(config)#scheduler-profile vlan2 host1(config-scheduler-profile)#shaping-rate ancpVlan burst 10 milliseconds host1(config-scheduler-profile)#exit After configuring the scheduler profiles, the QoS administrator then configures QoS Adding the Scheduler profiles for the VLAN1 and VLAN2 subscribers.
Chapter 30: Configuring the Downstream Rate Using QoS Parameters d. Assign VLAN ID of 1. e. Attach the QoS profile vc1 to the interface. host1(config)#interface gigabitEthernet 6/0/0 host1(config-if)#encapsulation vlan host1(config-if)#interface gigabitEthernet 6/0/0.1 host1(config-if)#vlan id 1 host1(config-if)#qos-profile vlan1 host1(config-if)#exit Attach the vlan2 QoS profile to VLAN2. a.
Page 342
JUNOSe 11.1.x Quality of Service Configuration Guide controlled-interface-type ip instance-interface-type vlan instance-interface-type ethernet exit ! Enable QoS adaptive mode for ANCP. qos-adaptive-mode exit ! Configure the vlan1 and vlan2 scheduler profiles. scheduler-profile vlan1 shared-shaping-rate ancpVlan burst 10 milliseconds auto exit scheduler-profile voice shaping-rate 100000 burst 10 milliseconds exit...
Part 7 Monitoring and Troubleshooting QoS Monitoring QoS on E Series Routers on page 313 Troubleshooting QoS on page 357 Monitoring and Troubleshooting QoS...
Page 344
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring and Troubleshooting QoS...
Chapter 31 Monitoring QoS on E Series Routers This chapter provides information for monitoring specific QoS configurations. NOTE: The E120 and E320 Broadband Services Routers output for monitor and show commands is identical to output from other E Series routers, except that the E120 and E320 router output also includes information about the adapter identifier in the interface specifier (slot/adapter/port).
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring the Configuration of QoS Interface Sets on page 350 Monitoring the Configuration of QoS Interface Supersets on page 351 Monitoring the AAA Downstream Rate for QoS on page 352 Monitoring QoS Parameter Instances on page 352 Monitoring QoS Parameter Definitions on page 355 Monitoring Service Levels with Traffic Classes Display information about traffic classes.
Chapter 31: Monitoring QoS on E Series Routers Table 34: show traffic-class Output Fields (continued) Field Name Field Description Referenced by QoS profiles QoS profiles that reference this traffic class Referenced by traffic class groups Traffic-class groups that reference this traffic class Configuring Traffic Classes That Define Service Levels on page 14 Related Topics show traffic-class...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 35: show traffic-class-group Output Fields (continued) Field Name Field Description traffic-class Name of the traffic class Referenced in qos-profiles Number of times group is referenced by QoS profiles Referenced by QoS profiles QoS profiles that reference this traffic class Configuring Traffic-Class Groups That Define Service Levels on page 15 Related Topics...
Page 349
Chapter 31: Monitoring QoS on E Series Routers fills beyond the last region, all frames are dropped except control traffic, until the queues are drained and memory usage falls back into one of the regions. To display the router’s memory management: host1#show qos queue-thresholds egress-slot 9 region 0 region 0 (0MB - 4MB) oversubscription 3330% total...
Page 350
JUNOSe 11.1.x Quality of Service Configuration Guide host1#show qos queue-thresholds egress-slot 9 region 7 region 7 (28MB - 32MB) oversubscription 80% total exceeded conformed committed queue committed queue-profile length length length count memory ------------- -------- --------- --------- ----- --------- default 1792 3456 2000...
Chapter 31: Monitoring QoS on E Series Routers multicast 5120 10112 20096 2000 40192000 internet 33664 67328 134656 2000 269312000 You can configure video queues with a buffer weight of 16 and Internet and multicast queues with a buffer weight of 8 to ensure that video queues get to queue twice as much traffic as Internet and multicast queues.
JUNOSe 11.1.x Quality of Service Configuration Guide host1#show queue-profile brief queue-profile default referenced 31 times in qos-profiles To display a list of QoS profiles that reference the queue profile: host1#show queue-profile references queue-profile default Referenced by QoS profiles: atm-default serial-default ethernet-default server-default Table 37 on page 320 lists the show queue-profile command output fields.
Chapter 31: Monitoring QoS on E Series Routers Average min, min, min, drop length max, max, max, profile exponent max drop prob max drop prob max drop prob ------- -------- ----------------- ----------------- ----------------- default 0, <none>, <none> 0, <none>, <none> 0, <none>, <none>...
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring the QoS Scheduler Hierarchy Display information about the QoS scheduler hierarchy, including interfaces, Purpose resources, and shaping rates on a particular interface. Phantom nodes are not displayed in the output for this command. If you do not specify the traffic-class-group keyword, the output displays information for the default traffic-class group.
Page 355
Chapter 31: Monitoring QoS on E Series Routers shared rate shaping shaping interface resource rate rate weight -------------------- ------------------------- ------- ------- ------- ethernet Eth9/0 ethernet port wgt 8 ethernet Eth9/0 ethernet group node EF wgt 8 svlan Eth9/0 svlan 2 svlan node EF wgt 8 vlan Eth9/0.2...
Page 356
JUNOSe 11.1.x Quality of Service Configuration Guide To display information about a specified interface in condensed format: host1#show qos scheduler-hierarchy interface fastEthernet 9/0 brief Scheduler hierarchy for the default traffic-class group interface resource -------------------- ---------------------------- ethernet Eth9/0 ethernet port ethernet Eth9/0 ethernet queue svlan Eth9/0 svlan 2 svlan node...
Page 357
Chapter 31: Monitoring QoS on E Series Routers superset cluster superset node 800000000 wgt 8 set vlanset1 set node 300000000 wgt 8 vlan Eth1/0/0.1 vlan queue best-effort wgt 8 vlan Eth1/0/0.2 vlan queue best-effort wgt 8 Scheduler hierarchy for traffic-class group EF assured shared rate...
Page 358
JUNOSe 11.1.x Quality of Service Configuration Guide assured shared rate shaping shaping interface resource rate rate weight ----------------- ---------------------------- ------- --------- ------- ethernet Eth1/0/0 ethernet port wgt 8 superset cluster superset node 800000000 wgt 8 set vlanset1 set node 300000000 wgt 8 vlan Eth1/0/0.1 vlan queue best-effort...
Chapter 31: Monitoring QoS on E Series Routers ethernet Eth1/0/0 ethernet port wgt 8 superset cluster superset node AF 100000000 wgt 8 set vlanset1 set node AF wgt 8 vlan Eth1/0/0.1 vlan queue AF AF wgt 8 vlan Eth1/0/0.2 vlan queue AF AF wgt 8 set vlanset2 set node AF...
Chapter 31: Monitoring QoS on E Series Routers Configuring a Scheduler Hierarchy on page 47 Related Topics Configuring Simple Shared Shaping on page 81 Configuring Compound Shared Shaping on page 100 show scheduler-profile Monitoring Shared Shapers Display information about the configured shared shapers. Purpose The best-effort queue is listed as the first resource for shared shapers that are queue controlled.
JUNOSe 11.1.x Quality of Service Configuration Guide host1#show qos shared-shaper qos-interface-superset allservices Table 41 on page 330 lists the show qos shared-shaper command output fields. Meaning Table 41: show qos shared-shaper Output Fields Field Name Field Description interface Type of interface resource Traffic resource associated with the logical interface shared shaping rate...
Chapter 31: Monitoring QoS on E Series Routers control name value units -------------------- ------- --------------- maximum voql milliseconds reaction factor percent convergence factor percent minimum dynamic rate percent Table 42 on page 331 lists the show qos shared-shaper-control command output Meaning fields.
JUNOSe 11.1.x Quality of Service Configuration Guide host1#show egress-queue events tunnel-server 6/0 To display events for queues only on the specified interface and not stacked above the interface: host1#show egress-queue events gigabitEthernet 1/0 explicit To display the sum of events for the queues bound to interfaces that are stacked above the specified interface: host1#show egress-queue events gigabitEthernet 1/0 summary To display events for queues belonging to a specific traffic class:...
Chapter 31: Monitoring QoS on E Series Routers Monitoring Forwarding and Drop Rates on the Egress Queue Display information about forwarding and drop rates on the egress queue. The show Purpose egress-queue rates command is useful even if no statistics profiles are configured. You can view information about all of the queues even if statistics gathering has not been enabled.
Page 366
JUNOSe 11.1.x Quality of Service Configuration Guide ip GigabitEthernet1/0 14645184 11950400 2706400 9960792 4707200 7967200 6705600 Queues reported: Queues filtered (under threshold): Queues disabled (no rate period): Queues disabled (no resources): Total queues: To display rate statistics all of the configured queues, along with the minimum and maximum rates for the queues, even when statistics gathering has not been enabled: host1#show egress-queue rates full interface atm 11/0 traffic...
Chapter 31: Monitoring QoS on E Series Routers distinguish among the counters used for different drop rates from the output of this command. As a result, for ES2 10G ADV LMs, you cannot identify the counters used for committed, conformed, and exceeded packet dropping by WRED functionality from the value displayed in this field.
Page 368
JUNOSe 11.1.x Quality of Service Configuration Guide Table 44: show egress-queue rates Output Fields (continued) Field Name Field Description traffic class Name of the traffic class forwarded rate Statistics for the rate at which packets are enqueued. In some time periods, the enqueue rate might exceed the dequeue rate.
Chapter 31: Monitoring QoS on E Series Routers Monitoring Queue Statistics for the Fabric Display forwarded and dropped statistics for the fabric. Purpose To display general information about the fabric queue: Action host1#show fabric-queue traffic egress forwarded forwarded dropped dropped class slot type...
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring the Configuration of Statistics Profiles Display information about statistics profiles. Purpose To display information about all statistics profiles: Action host1#show statistics-profile forwarding committed conformed exceeded statistics rate drop drop drop rate profile threshold threshold threshold...
Chapter 31: Monitoring QoS on E Series Routers Monitoring the QoS Profiles Attached to an Interface Display the QoS profiles in effect for and stacked above the specified interface. If no Purpose QoS profiles are attached to the interface or above the interface, the router displays the QoS profile that is in effect down the interface stack toward the port interface.
JUNOSe 11.1.x Quality of Service Configuration Guide Table 47: show qos interface-hierarchy Output Fields (continued) Field Name Field Description t-class group Traffic-class groups associated with the interface interface type Type of interface to which the profile is attached rule type Queue, node, group, or shadow node traffic class Name of the traffic class associated with the queue...
Chapter 31: Monitoring QoS on E Series Routers Monitoring the Configuration of QoS Profiles Display information about QoS profiles, including attachments to interfaces or port Purpose types. This command displays groups, nodes, and queues, in that order, according to the following sequence: not members of a traffic-class group members of the strict-priority traffic-class group...
JUNOSe 11.1.x Quality of Service Configuration Guide host1#show qos-profile brief qos-profile atm-default referenced by 1 attachment qos-profile serial-default referenced by 1 attachment qos-profile ethernet-default referenced by 1 attachment qos-profile server-default referenced by 1 attachment qos-profile lag-default referenced by 1 attachment To display information about the QoS profiles attached to a specific tunnel interface, specify the interface at the root of the scheduler hierarchy located on the tunnel-service interface or at the same hierarchy for LNS GRE tunnel traffic:...
Chapter 31: Monitoring QoS on E Series Routers Table 48: show qos-profile Output Fields (continued) Field Name Field Description DCM Profile attachments Number of QoS profiles attached to profiles for Service Manager Interface attachments Number of QoS profiles attached to interfaces Not attached Number of QoS profiles that are unattached Configuring a QoS Profile on page 132...
Chapter 31: Monitoring QoS on E Series Routers Configuring the QoS Shaping Mode for ATM Interfaces on page 174 Related Topics Configuring a QoS Profile on page 132 Attaching a QoS Profile to an Interface on page 134 Creating Parameter Instances For more information about other fields displayed with this command, see JUNOSe Link Layer Configuration Guide show atm interface...
JUNOSe 11.1.x Quality of Service Configuration Guide Table 50: show ip interface Output Fields Field Name Field Description Attached QoS profile QoS profile attachment at or below the displayed interface. For example, if the interface being displayed is an IP interface, and the attachment is at the VC, the VC interface attachment is displayed.
Chapter 31: Monitoring QoS on E Series Routers Creating Parameter Instances show ip interface Monitoring the QoS Configuration of Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet Interfaces Display information about the QoS configuration for a specific Fast Ethernet, Gigabit Purpose Ethernet, or 10-Gigabit Ethernet interface.
JUNOSe 11.1.x Quality of Service Configuration Guide Table 51: show interfaces Output Fields Field Name Field Description Administrative qos-shaping-mode Configured shaping mode for the interface: disabled Shaping mode is configured but disabled. frame Default shaping mode for shaping and policing rates. Reports QoS statistics such as transmitted bytes and dropped bytes based on bytes within frames.
Chapter 31: Monitoring QoS on E Series Routers Monitoring the QoS Configuration of IEEE 802.3ad Link Aggregation Group Bundles Display information about the QoS configuration for Ethernet member links in all Purpose IEEE 802.3ad link aggregation group (LAG) bundles configured on the router, or about the member links in a specified IEEE 802.3ad LAG bundle.
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring the Configuration of QoS Interface Sets Display information about configured interface sets. Purpose To display information about a specific interface set: Action host1#show qos-interface-set vlan-set interface member member restricted parent port type count interface --------- ------ --------- ------ ------ ----------...
Chapter 31: Monitoring QoS on E Series Routers Monitoring the Configuration of QoS Interface Supersets Display information about configured interface supersets. Purpose To display information about a specific interface superset: Action host1#show qos-interface-superset vlan-ss interface member restricted superset port count interface --------- --------- ------ ---------- vlan-ss...
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring the AAA Downstream Rate for QoS Display whether the QoS downstream rate application is enabled to use downstream Purpose rates from the Actual-Data-Rate-Downstream [26-130] DSL Forum VSA. To display the status of the QoS downstream rate application: Action host1#show aaa qos downstream-rate Downstream-rate reporting is disabled...
Page 385
Chapter 31: Monitoring QoS on E Series Routers FastEthernet9/0.2 max-subscriber-bandwidth 6000000 subscriber-weight max-subscriber-video-bandwidth 2000000 max-100Kbps-voice-calls FastEthernet9/0.3 max-subscriber-bandwidth 8000000 subscriber-weight max-subscriber-video-bandwidth 3000000 max-100Kbps-voice-calls FastEthernet9/0 svlan 1 max-subscriber-video-bandwidth 1000000 Global parameter instances: Parameter instances reported: 13 To display the QoS profile name and attachment data for a specific interface: host1#show qos-parameter references interface fastEthernet 9/0.3 instance interface...
JUNOSe 11.1.x Quality of Service Configuration Guide host1#show qos-parameter references gigabitEthernet 6/0 explicit Table 56 on page 354 lists the show qos-parameter command output fields. Meaning Table 56: show qos-parameter Output Fields Field Name Field Description interface Location of the interface to which the parameter instance is assigned;...
Chapter 31: Monitoring QoS on E Series Routers Monitoring QoS Parameter Definitions Display the QoS parameter definition settings for QoS administrators. Purpose To display the settings for a specific QoS parameter definition: Action host1#show qos-parameter-define ip-multicast controlled instance subscriber parameter interface interface interface value...
Page 388
JUNOSe 11.1.x Quality of Service Configuration Guide Monitoring QoS Parameter Definitions...
Chapter 32 Troubleshooting QoS This chapter provides information for troubleshooting QoS. QoS topics are discussed in the following sections: Troubleshooting Memory and Processor Use for Egress Queue Rate Statistics and Events on page 357 Troubleshooting Memory and Processor Use for Egress Queue Rate Statistics and Events The E Series Broadband Services Routers uses shared processing and memory when Problem...
Page 390
JUNOSe 11.1.x Quality of Service Configuration Guide Troubleshooting Memory and Processor Use for Egress Queue Rate Statistics and Events...
Index Symbols 10-Gigabit Ethernet backpressure............160, 166 monitoring............347 default integrated mode........166 10-Gigabit Ethernet forwarding ASIC low-cdv mode.............166 (TFA)..........73, 99, 128, 149 low-latency mode..........166 802.3ad link aggregation best effort..............5, 13 configuring for QoS..........183 best-effort queue............5 link redundancy and QoS........184 best-effort scheduler node..........5 buffer-weight command..........23 burst size, setting in a shaping rate......63 byte adjustment application...
Page 394
JUNOSe 11.1.x Quality of Service Configuration Guide controlling subscriber bandwidth configuration example........243, 263 Gigabit Ethernet conventions monitoring............347 notice icons............xxix group command..........132, 238 text and syntax...........xxx group node..............6 convergence-factor command........93 customer support............xxxi contacting JTAC..........xxxi HAR (hierarchical assured rate)........6 hierarchical assured rate. See HAR hierarchical round-robin.
Page 395
Index overview..............3 parameters............225 manuals terms..............5 comments on.............xxxi QoS cell mode application maximum-voql command..........94 configuration example........286 minimum-dynamic-rate-percent command....94 configuring............284 monitoring. See specific feature, product, or protocol overview.............281 multiple traffic-class groups..........14 QoS commands munged QoS profile qos-mode-port ...........163 attachments............136 qos-parameter ...........242 Ethernet link aggregation........184 qos-parameter-define .........238 qos-port-type-profile ........135, 191 qos-profile...
Page 396
JUNOSe 11.1.x Quality of Service Configuration Guide monitoring............155 munged............136, 184 S-VLAN munged attachments..........136 interface attachments.........135 overview.............127 SAR (segmentation and reassembly) port-type attachments.........135 scheduler............159, 161 rules illustrated...........146 strict-priority on............61 S-VLAN attachments...........135 scheduler using with Service Manager........132 hierarchy............6, 46 QoS shaping mode HRR..............159 configuring..........174, 179 node, best-effort...
Page 397
Index constituents............73 show qos commands active.............73 show qos interface-hierarchy......339 comparison of explicit and implicit....107 show qos queue-thresholds ........316 inactive............107 show qos scheduler-hierarchy......322 explicit constituents show qos shared-shaper ........329 example............115 simple shared shaping. See shared shaping example of weighted........117 statistics selection..........107, 115 ATM..............164 implicit constituents statistics profile............37...
Page 398
JUNOSe 11.1.x Quality of Service Configuration Guide variables configuring for shared shaping......89 VDSL traffic managing packet fragmentation for....299 weight command..........57, 238 weight, QoS..............6 weighted random early detection. See WRED WRED (weighted random early detection)....7, 25 configuration examples.........33 configuring............31 different drop behavior for each queue..33 different treatment of colored packets...33 how it works............27 monitoring............36...
Need help?
Do you have a question about the JUNOSE 11.1.X - QUALITY OF SERVICE CONFIGURATION GUIDE 3-21-2010 and is the answer not in the manual?
Questions and answers