- play_arrow Overview
- play_arrow Introduction to Class of Service
-
- play_arrow Configuring Class of Service Scheduler Hierarchy
- play_arrow Controlling Traffic by Configuring Scheduler Hierarchy
-
- play_arrow Configuring Class of Service for IPv6
- play_arrow Configuring Class of Service for IPv6 Traffic
-
- play_arrow Configuring Class of Service for I/O Cards
- play_arrow Configuring Class of Service for I/O Cards
- PIR-Only and CIR Mode Overview
- Understanding Priority Propagation
- Understanding IOC Hardware Properties
- Understanding IOC Map Queues
- WRED on the IOC Overview
- MDRR on the IOC Overview
- CoS Support on the SRX5000 Module Port Concentrator Overview
- Example: Configuring CoS on SRX5000 Firewalls with an MPC
-
- play_arrow Configuration Statements and Operational Commands
ON THIS PAGE
Example: Configuring Segmented and Interpolated Style Profiles
This example shows how to configure segmented and interpolated style profiles.
Requirements
No special configuration beyond device initialization is required before configuring this feature.
Overview
In this example, you configure the segmented style profile by setting the drop probability to 25 percent when the queue is 25 percent full. The drop probability increases to 50 percent when the queue is 50 percent full. You set the drop probability to 75 percent when the queue is 75 percent full and finally the drop probability is set to 95 percent when the queue is 100 percent full.
Then you configure the interpolated style profile and set the fill level to 50 percent and 75 percent. Finally you set the drop probability to 25 percent and later to 50 percent.
Configuration
Configuring Segmented Style Profiles
CLI Quick Configuration
To quickly configure segmented style profiles, copy the following commands and paste them into the CLI:
[edit] set class-of-service drop-profiles segmented-style-profile fill-level 25 drop-probability 25 set class-of-service drop-profiles segmented-style-profile fill-level 50 drop-probability 50 set class-of-service drop-profiles segmented-style-profile fill-level 75 drop-probability 75 set class-of-service drop-profiles segmented-style-profile fill-level 95 drop-probability 100
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.
To configure segmented style profiles:
Configure class of service.
content_copy zoom_out_map[edit] user@host# edit class-of-service
Configure segmented style profile.
content_copy zoom_out_map[edit class-of-service] user@host# edit drop-profiles segmented-style-profile
Specify fill levels and drop probabilities.
content_copy zoom_out_map[edit class-of-service drop-profiles segmented-style-profile] user@host# set fill-level 25 drop-probability 25 user@host# set fill-level 50 drop-probability 50 user@host# set fill-level 75 drop-probability 75 user@host# set fill-level 95 drop-probability 100
Results
From configuration mode, confirm your configuration by entering the show class-of-service command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show class-of-service
drop-profiles {
segmented-style-profile {
fill-level 25 drop-probability 25;
fill-level 50 drop-probability 50;
fill-level 75 drop-probability 75;
fill-level 95 drop-probability 100;
}
}
If you are done configuring the device, enter commit from configuration mode.
Configuring Interpolated Style Profiles
CLI Quick Configuration
To quickly configure interpolated style profiles, copy the following commands and paste them into the CLI:
[edit] set class-of-service drop-profiles interpolated-style-profile interpolate fill-level 50 set class-of-service drop-profiles interpolated-style-profile interpolate fill-level 75 set class-of-service drop-profiles interpolated-style-profile interpolate drop-probability 25 set class-of-service drop-profiles interpolated-style-profile interpolate drop-probability 50
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.
To configure interpolated style profile:
Configure class of service.
content_copy zoom_out_map[edit] user@host# edit class-of-service
Configure interpolated style profile.
content_copy zoom_out_map[edit class-of-service] user@host# edit drop-profiles interpolated-style-profile interpolate
Specify fill levels.
content_copy zoom_out_map[edit class-of-service drop-profiles interpolated-style-profile interpolate] user@host# set fill-level 50 user@host# set fill-level 75
Specify drop probabilities.
content_copy zoom_out_map[edit class-of-service drop-profiles interpolated-style-profile interpolate] user@host# set drop-probability 25 user@host# set drop-probability 50
Results
From configuration mode, confirm your configuration by entering the show class-of-service command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show class-of-service
drop-profiles {
interpolated-style-profile {
fill-level [ 50 75 ];
drop-probability [ 25 50 ];
}
}
}
If you are done configuring the device, enter commit from configuration mode.