[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Table of Contents

About This Guide
JUNOS Documentation and Release Notes
Objectives
Audience
Supported Platforms
Using the Indexes
Using the Examples in This Manual
Documentation Conventions
Documentation Feedback
Requesting Technical Support
CoS Overview
CoS Overview
Packet Flow Across a Network
JUNOS CoS Components
Default CoS Settings
CoS Inputs and Outputs
Packet Flow Within Routers
Packet Flow on Juniper Networks J Series Services Routers
Packet Flow on Juniper Networks M Series Multiservice Edge Routers
Incoming I/O Manager ASIC
Internet Processor ASIC
Outgoing I/O Manager ASIC
Enhanced CFEB and CoS on M7i and M10i Multiservice Edge Routers
Packet Flow on MX Series Ethernet Services Routers
Packet Flow on Juniper Networks T Series Core Routers
Incoming Switch Interface ASICs
T Series Routers Internet Processor ASIC
Queuing and Memory Interface ASICs
Outgoing Switch Interface ASICs
Packet Flow Through the CoS Process
CoS Applications
Interface Types That Do Not Support CoS
VPLS and Default CoS Classification
Class of Service Configuration Statements
[edit chassis] Hierarchy Level
[edit class-of-service] Hierarchy Level
[edit firewall] Hierarchy Level
[edit interfaces] Hierarchy Level
[edit services cos] Hierarchy Level
Hardware Capabilities and Routing Engine Protocol Queue Assignments
Hardware Capabilities and Limitations
M320 Routers FPCs and CoS
MX Series Router CoS Hardware Capabilities and Limitations
Default Routing Engine Protocol Queue Assignments
Changing the Routing Engine Outbound Traffic Defaults
Comparing M320 and T Series Routers and IQ, IQ2, and Enhanced IQ PICs
CoS Features of the PIC Families
Scheduling on the PIC Families
Schedulers on the PIC Families
Queuing Parameters for the PIC Families
CoS Configuration
Defining Code-Point Aliases
Default Code Point Aliases
Defining Code Point Aliases for Bit Patterns
Classifying Packets by Behavior Aggregate
Classifier Types
Default Behavior Aggregate Classification
Default IP Precedence Classifier (ipprec-compatibility)
Default MPLS EXP Classifier
Default DSCP and DSCP IPv6 Classifier
Default IEEE 802.1p Classifier
Default IEEE 802.1ad Classifier
Default IP Precedence Classifier (ipprec-default)
Defining Classifiers
Importing a Classifier
Applying Classifiers to Logical Interfaces
Configuring BA Classifiers for Bridged Ethernet
Tunneling and BA Classifiers
Applying DSCP IPv6 Classifiers
Applying MPLS EXP Classifiers to Routing Instances
Configuring Global Classifiers and Wildcard Routing Instances
Examples: Applying MPLS EXP Classifiers to Routing Instances
Applying MPLS EXP Classifiers for Explicit-Null Labels
Setting Packet Loss Priority
Example: Overriding the Default PLP on M320 Routers
Configuring and Applying IEEE 802.1ad Classifiers
Defining Custom IEEE 802.1ad Maps
Applying Custom IEEE 802.1ad Maps
Verifying Custom IEEE 802.1ad Map Configuration
BA Classifiers and ToS Translation Tables
Classifying Packets Based on Various Packet Header Fields
Configuring Multifield Classifiers
Example: Classifying Packets Based on Their Destination Address
Example: Configuring and Verifying a Complex MF Filter
Configuring a Complex MF Filter
Verifying MF Classification
Example: Writing Different DSCP and EXP Values in MPLS-Tagged IP Packets
Example: Configuring a Simple Filter
Configuring Logical Bandwidth Policers
Example: Configuring a Logical Bandwidth Policer
Two-Color Policers and Shaping Rate Changes
Configuring CoS on Services PICs
Configuring CoS Rules
Configuring Match Conditions in a CoS Rule
Configuring Actions in a CoS Rule
Configuring Application Profiles
Configuring Reflexive and Reverse CoS Actions
Configuring CoS Rule Sets
Output Packet Rewriting
Allocating Excess Bandwidth Among Frame Relay DLCIs on MultiServices PICs
MultiServices PIC ToS Translation
Example: Configuring CoS Rules
Verifying CoS Configuration for Services PICs
Configuring Forwarding Classes
Default Forwarding Classes
Configuring Forwarding Classes
Applying Forwarding Classes to Interfaces
Classifying Packets by Egress Interface
Overriding Fabric Priority Queuing
Configuring Up to 16 Forwarding Classes
Enabling Eight Queues on Interfaces
Multiple Forwarding Classes and Default Forwarding Classes
PICs Restricted to Four Queues
Examples: Configuring Up to 16 Forwarding Classes
Configuring Forwarding Policy Options
Configuring CoS-Based Forwarding
Overriding the Input Classification
Example: Configuring CoS-Based Forwarding
Example: Configuring CoS-Based Forwarding for Different Traffic Types
Example: Configuring CoS-Based Forwarding for IPv6
Configuring RED Drop Profiles
Default Drop Profile
Configuring RED Drop Profiles
Packet Loss Priority
Example: Configuring RED Drop Profiles
Configuring Weighted RED Buffer Occupancy
Example: Configuring Weighted RED Buffer Occupancy
Configuring Schedulers
Overview of Schedulers
Default Schedulers
Configuring Schedulers
Configuring the Scheduler Buffer Size
Configuring Large Delay Buffers for Slower Interfaces
Maximum Delay Buffer for NxDS0 Interfaces
Example: Configuring Large Delay Buffers for Slower Interfaces
Enabling and Disabling the Memory Allocation Dynamic per Queue
Configuring Drop Profile Maps for Schedulers
Configuring Scheduler Transmission Rate
Example: Configuring Scheduler Transmission Rate
Allocation of Leftover Bandwidth
Priority Scheduling Overview
Platform Support for Priority Scheduling
Configuring Schedulers for Priority Scheduling
Example: Configuring Priority Scheduling
Configuring Strict-High Priority on M Series and T Series Routers
Configuring Scheduler Maps
Applying Scheduler Maps Overview
Applying Scheduler Maps to Physical Interfaces
Applying Scheduler Maps and Shaping Rate to Physical Interfaces on IQ PICs
Shaping Rate Calculations
Examples: and Shaping Rate to Physical Interfaces
Applying Scheduler Maps and Shaping Rate to DLCIs and VLANs
Example: to a DLCI or VLAN
Oversubscribing Interface Bandwidth
Verifying Configuration of Bandwidth Oversubscription
Examples: Oversubscribing Interface Bandwidth
Providing a Guaranteed Minimum Rate
Verifying Configuration of Guaranteed Minimum Rate
Example: Providing a Guaranteed Minimum Rate
Applying Scheduler Maps to Packet Forwarding Component Queues
Applying Custom Schedulers to Packet Forwarding Component Queues
Examples: Scheduling Packet Forwarding Component Queues
Default Fabric Priority Queuing
Associating Schedulers with Fabric Priorities
Example: Associating a Scheduler with a Fabric Priority
Configuring the Number of Schedulers for Ethernet IQ2 PICs
Ethernet IQ2 PIC Schedulers
Example: Configuring a Scheduler Number for an Ethernet IQ2 PIC Port
Ethernet IQ2 PIC RTT Delay Buffer Values
Configuring Per-Unit Schedulers for Channelized Interfaces
Configuring Rate Limiting and Sharing of Excess Bandwidth on MultiServices PICs
Configuring Tricolor Marking Policers
Platform Support for Tricolor Marking
Tricolor Marking Architecture
Configuring Tricolor Marking
Tricolor Marking Limitations
Configuring Single-Rate Tricolor Marking
Configuring Color-Blind Mode for Single-Rate Tricolor Marking
Configuring Color-Aware Mode for Single-Rate Tricolor Marking
Effect on Low PLP of Single-Rate Policer
Effect on Medium-Low PLP of Single-Rate Policer
Effect on Medium-High PLP of Single-Rate Policer
Effect on High PLP of Single-Rate Policer
Configuring Two-Rate Tricolor Marking
Configuring Color-Blind Mode for Two-Rate Tricolor Marking
Configuring Color-Aware Mode for Two-Rate Tricolor Marking
Effect on Low PLP of Two-Rate Policer
Effect on Medium-Low PLP of Two-Rate Marking Policer
Effect on Medium-High PLP of Two-Rate Policer
Effect on High PLP of Two-Rate Policer
Enabling Tricolor Marking
Configuring Tricolor Marking Policers
Applying Tricolor Marking Policers to Firewall Filters
Example: Applying a Two-Rate Tricolor Marking Policer to a Firewall Filter
Applying Firewall Filter Tricolor Marking Policers to Interfaces
Example: Applying a Single-Rate Tricolor Marking Policer to an Interface
Applying Layer 2 Policers to Gigabit Ethernet Interfaces
Examples: Applying Layer 2 Policers to a Gigabit Ethernet Interface
Using BA Classifiers to Set PLP
Using Multifield Classifiers to Set PLP
Configuring PLP for Drop-Profile Maps
Configuring Rewrite Rules Based on PLP
Verifying Tricolor Marking Configuration
Example: Configuring Two-Rate Tricolor Marking
Applying a Policer to the Input Interface
Applying Profiles to the Output Interface
Marking Packets with Medium-Low Loss Priority
Configuring CoS on Ethernet IQ2 and Enhanced IQ2 PICs
CoS on Enhanced IQ2 PICs Overview
Setting the Number of Egress Queues on IQ2 and Enhanced IQ2 PICs
Configuring Rate Limits on IQ2 and Enhanced IQ2 PICs
Configuring Shaping on 10-Gigabit Ethernet IQ2 PICs
Differences Between Gigabit Ethernet IQ and Gigabit Ethernet IQ2 PICs
Configuring Traffic Control Profiles for Shared Scheduling and Shaping
Differences Between Per-Unit Scheduling and Shared Scheduling
Configuring a Separate Input Scheduler for Each Interface
Configuring Hierarchical Input Shapers
Examples: Shaping Input and Output Traffic on Ethernet IQ2 Interfaces
Configuring a CIR and a PIR
Configuring Shared Resources
Rewriting Packet Header Information
Applying Default Rewrite Rules
Configuring Rewrite Rules
Bits Preserved, Cleared, and Rewritten
Applying Rewrite Rules to Output Logical Interfaces
Applying IEEE 802.1p Rewrite Rules to Dual VLAN Tags
Example: Applying an IEEE 802.1p Rewrite Rule to Dual VLAN Tags
Applying IEEE 802.1ad Rewrite Rules to Dual VLAN Tags
Example: Applying an IEEE 802.1ad Rewrite Rule to Dual VLAN Tags
Per-Node Rewriting of EXP Bits
Example: Rewriting EXP Bits on a Particular Node
Rewriting MPLS and IPv4 Packet Headers
Example: Rewriting MPLS and IPv4 Packet Headers
Rewriting the EXP Bits of All Three Labels of an Outgoing Packet
Example: Rewriting the EXP Bits of All Three Labels of an Outgoing Packet
Rewriting IEEE 802.1p Packet Headers with an MPLS EXP Value
Setting Ingress DSCP Bits for Multicast Traffic over Layer 3 VPNs
Configuring Fragmentation by Forwarding Class
Configuring Fragmentation by Forwarding Class
Associating a Fragmentation Map with an MLPPP Interface or MLFR FRF.16 DLCI
Example: Configuring Fragmentation by Forwarding Class
Example: Configuring Drop Timeout Interval by Forwarding Class
Configuring CoS for Tunnels
Configuring CoS for Tunnels
Example: Configuring CoS for Tunnels
Example: Configuring a GRE Tunnel to Copy ToS Bits to the Outer IP Header
Configuring Hierarchical Schedulers
Configuring Hierarchical Schedulers for CoS
Hierarchical Schedulers Terminology
Configuring Interface Sets
Applying Interface Sets
Interface Set Caveats
Hierarchical Schedulers and Traffic Control Profiles
Example: Four-Level Hierarchy of Schedulers
Configuring the Interface Sets
Configuring the Interfaces
Configuring the Traffic Control Profiles
Configuring the Schedulers
Configuring the Drop Profiles
Configuring the Scheduler Maps
Applying the Traffic Control Profiles
Controlling Remaining Traffic
Configuring Internal Scheduler Nodes
PIR-Only and CIR Mode
Priority Propagation
Configuring CoS on Enhanced Queuing DPCs
Enhanced Queuing DPC Hardware Properties
Configuring Rate Limits on Enhanced Queuing DPCs
Configuring Simple Filters on Enhanced Queuing DPCs
Configuring WRED on Enhanced Queuing DPCs
Configuring MDRR on Enhanced Queuing DPCs
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
Configuring Ingress Hierarchical CoS on Enhanced Queuing DPCs
Configuring CoS on Enhanced IQ PICs
Platforms that Support CoS on IQE PICs
Configuring ToS Translation Tables
Configuring Excess Bandwidth Sharing on IQE PICs
IQE PIC Excess Bandwidth Sharing Overview
IQE PIC Excess Bandwidth Sharing Configuration
Calculation of Expected Traffic on IQE PIC Queues
Excess Bandwidth Calculations Terminology
Excess Bandwidth Basic Example
Logical Interface Modes on IQE PICs
Default Rates for Queues on IQE PICs
Sample Calculations of Excess Bandwidth Sharing on IQE PICs
Configuring Layer 2 Policing on IQE PICs
Layer 2 Policer Limitations
Configuring Layer 2 Policers on IQE PICs
Configuring Low-Latency Static Policers on IQE PICs
Configuring Queue-Level Bandwidth Sharing
Overview of Bandwidth Sharing on Nonqueuing Packet Forwarding Engines
Configuring Rate Limits on Nonqueuing Packet Forwarding Engines
Excess Rate and Excess Priority Configuration Examples
Configuring Schedulers on Aggregated Ethernet and SONET/SDH Interfaces
Configuring Schedulers on Aggregated Interfaces
Limitations on CoS for Aggregated Interfaces
Examples: Configuring CoS on Aggregated Interfaces
Configuring Scheduling Modes on Aggregated Interfaces
Configuring CoS on ATM Interfaces
Configuring Linear RED Profiles on ATM Interfaces
Configuring Scheduler Maps on ATM Interfaces
Enabling Eight Queues on ATM2 IQ Interfaces
Example: Enabling Eight Queues on ATM2 IQ Interfaces
Verifying the Configuration
Configuring VC CoS Mode on ATM Interfaces
Copying the PLP Setting to the CLP Bit on ATM Interfaces
Applying Scheduler Maps to Logical ATM Interfaces
Example: Configuring CoS for ATM2 IQ VC Tunnels
Configuring CoS for L2TP Tunnels on ATM Interfaces
Configuring IEEE 802.1p BA Classifiers for Ethernet VPLS Over ATM
Configuring CoS for MPLS
CoS for MPLS Overview
Configuring CoS for MPLS Traffic
CoS Configuration Examples
Example: Configuring Classifiers, Rewrite Markers, and Schedulers
Example: Configuring a CoS Policy for IPv6 Packets
Summary of CoS Configuration Statements
action
address
application-profile
application-sets
applications
atm-options
atm-scheduler-map
buffer-size
cbr
class
class (CoS-Based Forwarding)
class (Forwarding Classes)
class-of-service
classification-override
classifiers
classifiers (Application)
classifiers (Application for Routing Instances)
classifiers (Definition)
code-point
code-point-aliases
code-points
copy-tos-to-outer-ip-header
data
delay-buffer-rate
destination
destination-address
discard
drop-probability
drop-probability (Interpolated Value)
drop-probability (Percentage)
drop-profile
drop-profile-map
drop-profiles
drop-timeout
dscp
dscp (AS PIC Classifiers)
dscp (Multifield Classifier)
dscp (Rewrite Rules)
dscp-code-point
dscp-ipv6
egress-shaping-overhead
epd-threshold
excess-bandwith-share
excess-priority
excess-rate
exp
exp-push-push-push
exp-swap-push-push
fabric
family
family (CoS on ATM Interfaces)
family (Multifield [MF] Classifier)
fill-level
fill-level (Interpolated Value)
fill-level (Percentage)
filter
filter (Applying to an Interface)
filter (Configuring)
firewall
forwarding-class
forwarding-class (AS PIC Classifiers)
forwarding-class (ATM2 IQ Scheduler Maps)
forwarding-class (BA Classifiers)
forwarding-class (Forwarding Policy)
forwarding-class (Fragmentation)
forwarding-class (Interfaces)
forwarding-class (MF Classifiers)
forwarding-class (Restricted Queues)
forwarding-classes
forwarding-classes-interface-specific
forwarding-policy
fragment-threshold
fragmentation-map
fragmentation-maps
from
ftp
guaranteed-rate
hierarchical-scheduler
high-plp-max-threshold
high-plp-threshold
host-outbound-traffic
ieee-802.1
ieee-802.1ad
if-exceeding
import
import (Classifiers)
import (Rewrite Rules)
inet-precedence
ingress-shaping-overhead
input-excess-bandwith-share
input-policer
input-scheduler-map
input-shaping-rate
input-shaping-rate (Logical Interface)
input-shaping-rate (Physical Interface)
input-three-color
input-traffic-control-profile
input-traffic-control-profile-remaining
interfaces
interface-set
internal-node
interpolate
irb
layer2-policer
linear-red-profile
linear-red-profiles
logical-bandwidth-policer
logical-interface-policer
loss-priority
loss-priority (BA Classifiers)
loss-priority (Normal Filter)
loss-priority (Rewrite Rules)
loss-priority (Scheduler Drop Profiles)
loss-priority (Simple Filter)
low-plp-max-threshold
low-plp-threshold
lsp-next-hop
match-direction
max-queues-per-interface
member-link-scheduler
mode
multilink-class
next-hop
next-hop-map
no-fragmentation
non-lsp-next-hop
output-forwarding-class-map
output-policer
output-three-color
output-traffic-control-profile
output-traffic-control-profile-remaining
per-session-scheduler
per-unit-scheduler
plp-to-clp
policer
policer (Applying to an Interface)
policer (Configuring)
priority
priority (ATM2 IQ Schedulers)
priority (Fabric Queues, Schedulers)
priority (Fabric Priority)
priority (Schedulers)
protocol
protocol (Rewrite Rules)
protocol (Schedulers)
q-pic-large-buffer
queue
queue (Global Queues)
queue (Restricted Queues)
queue-depth
red-buffer-occupancy
(reflexive | reverse)
restricted-queues
rewrite-rules
rewrite-rules (Definition)
rewrite-rules (Interfaces)
routing-instances
rtvbr
rule
rule-set
scheduler
scheduler (Fabric Queues)
scheduler (Scheduler Map)
scheduler-map
scheduler-map (Fabric Queues)
scheduler-map (Interfaces and Traffic-Control Profiles)
scheduler-map-chassis
scheduler-maps
scheduler-maps (For ATM2 IQ Interfaces)
scheduler-maps (For Most Interface Types)
schedulers
schedulers (Class-of-Service)
schedulers (Interfaces)
services
shaping
shaping-rate
shaping-rate (Applying to an Interface)
shaping-rate (Limiting Excess Bandwidth Usage)
shaping-rate (Oversubscribing an Interface)
shared-instance
shared-scheduler
simple-filter
simple-filter (Applying to an Interface)
simple-filter (Configuring)
sip
source-address
syslog
term
term (AS PIC Classifiers)
term (Normal Filter)
term (Simple Filter)
then
three-color-policer
three-color-policer (Applying)
three-color-policer (Configuring)
traffic-control-profiles
traffic-manager
translation-table
transmit-rate
transmit-weight
tri-color
unit
vbr
vc-cos-mode
vci
video
vlan-tag
voice
Index
Index
Index of Statements and Commands

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]