Hi everyone.
Please consier the following set up:
MX5/SRX -f0/1---------Service Provider
Line rate is 100M but we have bought only 50M form the provider.
We want to acheive following COS goals:
1) All traffic in EF class should get 10 % and if there is unleft bandwidth it can use it.
2) All others Default should get 90%
3) All traffic should be shaped to 50M
Sine it is subrated we need to do shape our traffic and there is where I have some questions as I can do that two ways:
Case 1:
Schedluer EF priority high
Scheduler EF shaping-rate percent 10
Scheduler DEFAULT shaping-rate 90
Scheduler-map LEE forwarding class EF Scheduler EF
Scheduler-map LEE DEFAULT forwarding class DEFAULT
class of service interface fe-0/0/0 unit 0 scheduler-map LEE ( not sure if that is valid command on MX but it is valid on SRX)
Case 2:
All the above plus :
class of service interface fe-0/0/0 unit 0 shape 50m
My question is what are pros and cons of the above two? will both do the same thing?
This is my hunch:
case 1: Traffic that exceeds Shaping rate, will stay in queued until it can be transmitted later .
Case 2 here Shaping applied twice one to queues then to all traffic as it about to egress the port , first each traffic class is subject to their respective forwarding class, all conforming traffic from all classes are then subjected to Interface shaper if they conform to that shaper, they get transmitted if not, they get queued for delayed transmission.
Share your thoughts !!