SRX Services Gateway
Highlighted
SRX Services Gateway

Schedulers in COS

‎08-22-2019 12:22 AM
[edit class-of-service schedulers test]
transmit-rate 10 percent
shaping-rate 20 percent
 
If  scheduler test is mapped to class classTest. 
Question is this schedulers will do transmit-rate or shaping?
 
 
2 REPLIES 2
Highlighted
SRX Services Gateway

Re: Schedulers in COS

‎08-22-2019 09:04 AM

Hi Priyavit,

 

By any chance did you stumbled upon the following link - https://forums.juniper.net/t5/Routing/JUNOS-QOS-transmit-rate-exact-vs-shape-rate/td-p/199249

 

I believe it answers your question. Please let us know if you've further queries. 



Thanks,
π00bm@$t€®.
Please, Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
Highlighted
SRX Services Gateway

Re: Schedulers in COS

‎08-22-2019 10:06 AM

The way you have configured shaping rate is equivalent to "transmit-rate x exact". You can use either one of them, but not both to confuse the system.

 

However, a more common way to use shaping-rate is on a Traffic Control Profile (TCP) which is applied on a physical interface or logical interface. Let's say you have a 1G interface applied with a TCP with 20% shaper. The total BW for the interface all queues are 1G * 20% = 200m. Then you apply a scheduler for a specific queue, let's say 80% for BE. Then your BE queue has 200m * 80% = 160 m dedicated BW. You can use "exact" option on the transmit-rate so that another layer of shaping is performed 


Mengzhe Hu
JNCIE x 3 (SP DC ENT)