Skip to content

Support

Techpubs Home
Report an Error

Short Contents

Entire manual as PDF [4322 KB]

Chapter: About This Guide
[PDF 114 KB]
Objectives
Supported Routing Platforms
Audience
Using the Indexes
Using the Examples in This Manual
Merging a Full Example
Merging a Snippet
Documentation Conventions
Related Juniper Networks Documentation
Documentation Feedback
Requesting Support
Chapter: CoS Overview
[PDF 183 KB]
Packet Flow Across a Network
JUNOS CoS Components
Default CoS
CoS Inputs and Outputs
Packet Flow Within Routing Platforms
Packet Flow on J-series Platforms
Packet Flow on M-series Platforms
Incoming I/O Manager ASIC
Internet Processor ASIC
Outgoing I/O Manager ASIC
Packet Flow on T-series Platforms
Incoming Switch Interface ASICs
T-series 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
Chapter: Class of Service Configuration Statements
[PDF 118 KB]
[edit chassis] Hierarchy Level
[edit class-of-service] Hierarchy Level
[edit firewall] Hierarchy Level
[edit interfaces] Hierarchy Level
[edit services cos] Hierarchy Level
Chapter: Hardware Capabilities and Routing Engine Protocol Queue Assignments
[PDF 89 KB]
Hardware Capabilities and Limitations
Routing Engine Protocol Queue Assignments
Chapter: Defining Code-Point Aliases
[PDF 65 KB]
Default Code Point Aliases
Defining Aliases for Bits
Chapter: Classifying Packets by Behavior Aggregate
[PDF 182 KB]
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 IP Precedence Classifier (ipprec-default)
Defining Classifiers
Importing a Classifier
Applying a Classifier to a Logical Interface
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 the PLP on T320 and M320 Platforms
Example: Overriding the Default PLP on M320 Platforms
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
Chapter: Classifying Packets Based on Various Packet Header Fields
[PDF 104 KB]
Example: Classifying Packets Based on a Destination Address
Example: Configuring and Confirming a Complex MF Filter
Example: Writing Different DSCP and EXP Values in MPLS-Tagged IP Packets
Example: Configuring a Simple Filter
Chapter: Classifying Packets Based on Services
[PDF 106 KB]
Configuring the Class-of-Service Rule Set
Configuring Class-of-Service Rule Content
Configuring Class-of-Service Match Conditions
Configuring Class-of-Service Actions
Configuring Application Profiles
Configuring Reflexive and Reverse CoS Actions
Output Packet Rewriting
Example: Configuring Class-of-Service Properties
Verifying Your Configuration
Chapter: Configuring Forwarding Classes
[PDF 176 KB]
Default Forwarding Classes
Configuring Forwarding Classes
Assigning a Forwarding Class to an 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 Up to Eight Forwarding Classes
Examples: Configuring Up to Eight Forwarding Classes
Chapter: Configuring Forwarding Policy Options
[PDF 112 KB]
Configuring CoS-Based Forwarding
Overriding the Input Classification
Example: Configuring CoS-Based Forwarding
Chapter: Configuring RED Drop Profiles
[PDF 77 KB]
Default Drop Profile
Configuring RED Drop Profiles
Packet Loss Priority
Example: Configuring RED Drop Profiles
Chapter: Configuring Schedulers
[PDF 404 KB]
Default Schedulers
Configuring a Scheduler
Configuring the Scheduler Drop Profile Map
Configuring the Transmission Rate
Example: Configuring the Transmission Rate
Allocation of Leftover Bandwidth
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 Priority Scheduling
Example: Configuring Priority Scheduling
Configuring Strict-High Priority on J-series Platforms
Example: Configuring Strict-High Priority on J-series Platforms
Configuring Strict-High Priority on M-series and T-series Platforms
Transmission Scheduling and Platform Differences
Configuring the Scheduler Map
Associating the Scheduler Map
Associating the Scheduler Map with a Physical Interface
Associating the Scheduler Map and a Shaping Rate with a Physical Interface
Shaping Rate Calculations
Examples: Associating a Scheduler Map and a Shaping Rate with a Physical Interface
Associating the Scheduler Map and a Shaping Rate with a DLCI or VLAN
Example: Associating the Scheduler Map Name with a DLCI or VLAN
Oversubscribing Interface Bandwidth
Verifying Your Configuration
Examples: Oversubscribing Interface Bandwidth
Providing a Guaranteed Minimum Rate
Verifying Your Configuration
Example: Providing a Guaranteed Minimum Rate
Associating the Scheduler Map with the Packet Forwarding Component Queues
Assigning a Custom Scheduler to the Packet Forwarding Component Queues
Examples: Scheduling Packet Forwarding Component Queues
Default Fabric Priority Queuing
Associating a Scheduler with a Fabric Priority
Example: Associating a Scheduler with a Fabric Priority
Chapter: Configuring Two-Rate Tricolor or Four-Color Marking
[PDF 186 KB]
How Two-Rate Tricolor Marking Works
Colorblind Mode
Color-Aware Mode
Incoming PLP Low
Incoming PLP Medium-Low
Incoming PLP Medium-High
Incoming PLP High
Enabling Tricolor Marking
Configuring a Two-Rate Tricolor Marking Policer
Applying a Tricolor Marking Policer to a Firewall Filter
Example: Applying a Tricolor Marking Policer to a Firewall Filter
Applying a Tricolor Marking Policer to an Interface
Example: Applying a Tricolor Marking Policer to an Interface
Setting the PLP with a BA Classifier
Setting the PLP with a Multifield Classifier
Associating the PLP with a Drop-Profile Map
Associating the PLP with a Rewrite Rule
Verifying Your Configuration
Example: Configuring Tricolor Marking
Chapter: Shaping Input and Output Traffic on Ethernet IQ2 Interfaces
[PDF 132 KB]
Differences Between Gigabit Ethernet IQ and Gigabit Ethernet IQ2 PICs
Configuring a Shared Scheduler and Shaper
Differences Between Per-Unit Scheduling and Shared Scheduling
Configuring Separate Input Schedulers
Configuring Hierarchical Input Shapers
Examples: Shaping Input and Output Traffic on Ethernet IQ2 Interfaces
Configuring Both a CIR and a PIR
Configuring Shared Resources
Chapter: Configuring an Adaptive Shaper for a Frame Relay Interface
[PDF 47 KB]
Configuring an Adaptive Shaper
Applying an Adaptive Shaper to a Logical Interface
Chapter: Configuring Virtual Channels
[PDF 77 KB]
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
Chapter: Rewriting Packet Header Information
[PDF 173 KB]
Applying a Default Rewrite Rule
Configuring Rewrite Rules
Bits Preserved, Cleared, and Rewritten
Assigning the Rewrite-Rules Configuration to the Output Logical Interface
Assigning the IEEE 802.1p Rewrite Rule to Dual VLAN Tags
Example: Assigning the IEEE 802.1p Rewrite Rule to Dual VLAN Tags
Rewriting EXP Bits on a Particular Node
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 MPLS EXP Value
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
Chapter: Configuring Fragmentation by Forwarding Class
[PDF 57 KB]
Configuring Fragmentation by Forwarding Class
Associating a Fragmentation Map with an MLPPP Interface or MLFR FRF.16 DLCI
Example: Configuring Fragmentation by Forwarding Class
Chapter: Configuring CoS for Tunnels
[PDF 83 KB]
Configuring CoS for Tunnels
Example: Configuring CoS for Tunnels
Chapter: Configuring CoS Schedulers for Aggregated Ethernet and SONET/SDH Interfaces
[PDF 68 KB]
Limitations for Configuring CoS for Aggregated Interfaces
Examples: Configuring CoS for Aggregated Ethernet and SONET/SDH Interfaces
Chapter: Configuring CoS on ATM Interfaces
[PDF 147 KB]
Configuring Linear RED Profiles
Configuring an ATM Scheduler Map
Enabling Eight Queues on ATM2 IQ Interfaces
Example: Enabling Eight Queues on ATM2 IQ Interfaces
Verifying the Configuration
Configuring VC CoS Mode
Enabling the PLP Setting to Be Copied to the CLP Bit
Configuring ATM CoS on the Logical Interface
Example: Configuring ATM2 IQ VC Tunnel CoS Components
Chapter: Configuring CoS for MPLS
[PDF 46 KB]
Chapter: Additional CoS Configuration Examples
[PDF 69 KB]
Example: Configuring Classifiers, Rewrite Markers, and Schedulers
Example: Configuring a CoS Policy for IPv6 Packets
Chapter: Summary of CoS Configuration Statements
[PDF 853 KB]
adaptive-shaper
adaptive-shapers
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
code-points (Forwarding Class)
code-points (Frame Relay DE Bit Loss-Priority Map)
default
delay-buffer-rate
destination
destination-address
drop-probability
drop-probability (Interpolated Value)
drop-probability (Percentage)
drop-profile
drop-profile-map
drop-profiles
dscp
dscp (AS PIC Classifiers)
dscp (Multifield Classifier)
dscp (Rewrite Rules)
dscp-ipv6
epd-threshold
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 (Behavior Aggregate [BA] Classifiers)
forwarding-class (Forwarding Policy)
forwarding-class (Fragmentation)
forwarding-class (Interfaces)
forwarding-class (Multifield [MF] Classifiers)
forwarding-class (Restricted Queues)
forwarding-classes
forwarding-policy
fragment-threshold
fragmentation-map
fragmentation-maps
frame-relay-de
frame-relay-de (Assigning to an Interface)
frame-relay-de (Defining Loss Priority)
frame-relay-de (Defining Rewrite Rule)
from
guaranteed-rate
high-plp-max-threshold
high-plp-threshold
ieee-802.1
if-exceeding
import
import (Classifiers)
import (Rewrite Rules)
inet-precedence
input-scheduler-map
input-shaping-rate
input-shaping-rate (Logical Interface)
input-shaping-rate (Physical Interface)
input-traffic-control-profile
interfaces
interpolate
linear-red-profile
linear-red-profiles
loss-priority
loss-priority (Behavior Aggregate [BA] Classifiers)
loss-priority (Frame Relay DE Bit Loss-Priority Map)
loss-priority (Normal Filter)
loss-priority (Rewrite Rules)
loss-priority (Scheduler Drop Profiles)
loss-priority (Simple Filter)
loss-priority-maps
loss-priority-maps (Assigning to an Interface)
loss-priority-maps (Defining)
low-plp-max-threshold
low-plp-threshold
lsp-next-hop
match-direction
max-queues-per-interface
multilink-class
next-hop
next-hop-map
no-fragmentation
output-traffic-control-profile
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
(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 (Virtual Channels)
scheduler-map-chassis
scheduler-maps
scheduler-maps (For ATM2 IQ Interfaces)
scheduler-maps (For Most Interface Types)
schedulers
services
shaping
shaping-rate
shaping-rate (Adaptive Shaping)
shaping-rate (Applying to an Interface)
shaping-rate (Limiting Excess Bandwidth Usage)
shaping-rate (Oversubscribing an Interface)
shaping-rate (Virtual Channels)
shared-instance
shared-scheduler
simple-filter
simple-filter (Applying to an Interface)
simple-filter (Configuring)
sip-text
sip-video
sip-voice
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
transmit-rate
transmit-weight
tri-color
trigger
unit
vbr
vc-cos-mode
vci
virtual-channel
virtual-channel-group
virtual-channel-groups
virtual-channels
vlan-tag
Chapter: Index
[]
Chapter: Index of Statements and Commands
[]