Table of Contents

About This Guide
J Series and SRX Series Documentation and Release Notes
Objectives
Audience
Supported Routing Platforms
Document Conventions
Documentation Feedback
Requesting Technical Support
Configuring Class of Service
Class of Service Overview
CoS Terms
Benefits of CoS
CoS Across the Network
Junos OS CoS Components
Code-Point Aliases
Classifiers
Behavior Aggregate Classifiers
Default IP Precedence Classifier
Multifield Classifiers
Forwarding Classes
Loss Priorities
Forwarding Policy Options
Transmission Queues
Schedulers
Transmit Rate
Delay Buffer Size
Scheduling Priority
Shaping Rate
RED Drop Profiles
Default Drop Profiles
Virtual Channels
Policers for Traffic Classes
Rewrite Rules
How CoS Components Work
CoS Process on Incoming Packets
CoS Process on Outgoing Packets
Default CoS Settings
Default CoS Values and Aliases
Forwarding Class Queue Assignments
Scheduler Settings
Default Behavior Aggregate Classifiers
Defining BA Classifiers
Applying a BA Classifier to a Logical Interface
CoS Value Rewrites
Sample Behavior Aggregate Classification
Transmission Scheduling
CoS Queuing for Tunnels
Benefits of CoS Queuing on Tunnel Interfaces
How CoS Queuing Works
Limitations on CoS Shapers for Tunnel Interfaces
Configuring Class of Service
Before You Begin
Configuring CoS (J-Web Procedure)
Defining CoS Value Aliases
Defining Forwarding Classes
Defining Classifiers
Defining Rewrite Rules
Defining Schedulers
Defining Scheduler Maps
Defining Drop Profiles
Defining Virtual Channel Groups
Assigning CoS Components to Interfaces
Configuring CoS Components with a Configuration Editor
Configuring a Policer for a Firewall Filter
Configuring and Applying a Firewall Filter for a Multifield Classifier
Assigning Forwarding Classes to Output Queues
Configuring Forwarding Classes
Assigning a Forwarding Class to an Interface
Example: Configuring Up to Eight Forwarding Classes
Configuring and Applying Rewrite Rules
Configuring and Applying Behavior Aggregate Classifiers
Example: Defining Aliases for Bits
Configuring RED Drop Profiles for Congestion Control
Example: Configuring RED Drop Profiles
Configuring Schedulers
Configuring and Applying Scheduler Maps
Scheduler Maps: Sample Configuration
Schedulers: Sample Configuration
Configuring and Applying Virtual Channels
Configuring and Applying an Adaptive Shaper
Configuring Virtual Channels
Configuring CoS Virtual Channels
Creating a List of Virtual Channel Names
Defining a Virtual Channel Group
Applying a Virtual Channel Group to a Logical Interface
Selecting Traffic to Be Transmitted from a Particular Virtual Channel
Example: Configuring Virtual Channels
Configuring Adaptive Shaping for Frame Relay
Configuring an Adaptive Shaper
Applying an Adaptive Shaper to a Logical Interface
Classifying Frame Relay Traffic
Assigning the Default Frame Relay Loss Priority Map to an Interface
Defining a Custom Frame Relay Loss Priority Map
Applying the Map to a Logical Interface
Verifying Your Configuration
Rewriting Frame Relay Headers
Assigning the Default Frame Relay Rewrite Rule to an Interface
Defining a Custom Frame Relay Rewrite Rule
Applying the Rule to a Logical Interface
Configuring Strict-High Priority
Example: Configuring Strict High Priority Using the CLI
Example: Configuring Priority Scheduling
Configuring CoS for Tunnels
Configuring CoS Queuing for Tunnels with a Configuration Editor
Preserving the ToS Value of a Tunneled Packet
Example: Configuring CoS for GRE/IPIP tunnels
Restrictions on CoS Shapers
Configuring Strict High Priority for Queuing with a Configuration Editor
Configuring Large Delay Buffers with a Configuration Editor
Maximum Delay Buffer Sizes Available to Channelized T1/E1 Interfaces
Delay Buffer Size Allocation Methods
Specifying Delay Buffer Sizes for Queues
Configuring a Large Delay Buffer on a non-Channelized Ti Interface
Configuring a Large Delay Buffer on a Channelized T1 Interface
Applying an Ingress Interface Policer
Configuring Simple Filters and Policers
Configuring a Simple Filter
Applying a Simple Filter
Configuring Policers
Example: Applying a Two-Rate Tricolor Marking Policer to a Firewall Filter
Configuring CoS Hierarchical Schedulers
Hierarchical Scheduler Terminology
SRX3400 and SRX3600 Device Hardware Capabilities and Limitations
Configuring an Interface Set
Applying an Interface Set
Interface Set Caveats
Introduction to Hierarchical Schedulers
Scheduler Hierarchy Example
Interface Sets for the Hierarchical Example
Interfaces for the Hierarchical Example
Traffic Control Profiles for the Hierarchical Example
Schedulers for the Hierarchical Example
Drop Profiles for the Hierarchical Example
Scheduler Maps for the Hierarchical Example
Applying Traffic Control Profiles for the Hierarchical Example
Controlling Remaining Traffic
Internal Scheduler Nodes
PIR-only and CIR Mode
Priority Propagation
IOC Hardware Properties
WRED on the IOC
MDRR on the IOC
Configuring Excess Bandwidth Sharing
Excess Bandwidth Sharing and Minimum Logical Interface Shaping
Selecting Excess Bandwidth Sharing Proportional Rates
Mapping Calculated Weights to Hardware Weights
Allocating Weight with Only Shaping Rates or Unshaped Logical Interfaces
Sharing Bandwidth Among Logical Interfaces
Verifying a CoS Configuration
Verifying Multicast Session Announcements
Verifying a Virtual Channel Configuration
Verifying a Virtual Channel Group Configuration
Verifying an Adaptive Shaper Configuration
Displaying CoS Tunnel Configurations
Verifying a CoS GRE Tunnel Queuing Configuration
Verifying a CoS IP-IP Tunnel Configuration
Configuring Class of Service for IPv6 Traffic
Overview of Class-of-Service Functions for IPv6 Traffic
Configuring and Applying a DSCP IPv6 BA Classifier
Configuring DSCP IPv6 Rewrite Rules
Index
Index