[j-nsp] rate limiting on the EX
junos fordummies
junos.fordummies at googlemail.com
Fri May 22 04:16:19 EDT 2009
Thanks Dan, you have been a great help :)
2009/5/21 Dan Ho <dho2005 at gmail.com>:
> Here is how I would do it:
>
> [edit class-of-service]
> forwarding-classes {
> class Cust-1 queue-num 7;
> class Cust-2 queue-num 6;
> class Cust-3 queue-num 5;
> class Cust-4 queue-num 4;
> class Cust-5 queue-num 3;
> class BE queue-num 0;
> }
>
> interfaces {
> ge-<UPLINK> {
> scheduler-map SCHEDULER;
> shaping-rate 10m;
> }
> }
> scheduler-maps {
> SCHEDULER {
> forwarding-class Cust-1 scheduler CUST-1;
> forwarding-class Cust-2 scheduler CUST-2;
> forwarding-class Cust-3 scheduler CUST-3;
> forwarding-class Cust-4 scheduler CUST-4;
> forwarding-class Cust-5 scheduler CUST-5;
> forwarding-class BE scheduler BE;
> }
> }
>
> schedulers {
> CUST-1 {
> transmit-rate 1m;
> shaping-rate 10m;
> }
> CUST-2 {
> transmit-rate 1m;
> shaping-rate 10m;
> }
> CUST-3 {
> transmit-rate 1m;
> shaping-rate 10m;
> }
> CUST-4 {
> transmit-rate 1m;
> shaping-rate 10m;
> }
> CUST-5 {
> transmit-rate 1m;
> shaping-rate 10m;
> }
> BE {
> shapring-rate 10m
> }
> }
>
> [edit firewall family inet]
> filter Input-From-customer-1 {
> term http {
> from {
> destination-port 80;
> }
> then {
> forwarding-class Cust-1;
> loss-priority low;
> count customer1;
> }
> term normal {
> then {
> forwarding-class BE;
> loss-priority low;
> count normal;
> }
> }
>
> ge-0/0/1 {
> description Cust-1;
> unit 0 {
> family inet {
> filter {
> input Input-From-customer-1;
> }
> }
> }
> }
>
> You get the rest.
>
> HTH,
>
>
> On Thu, May 21, 2009 at 9:46 AM, junos fordummies
> <junos.fordummies at googlemail.com> wrote:
>>
>> Hello peeps.
>>
>> I have an EX switch (4200) with a 10Mb LES circuit to the Internet. I
>> have 5 customers who I need to guarantee 1Mb each (http) and the
>> remainder 5 Mb they can contend for as Burst or BE traffic. Any ideas
>> how I can achieve this result ?
>>
>> TIA.
>>
>> JfD.
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
>
More information about the juniper-nsp
mailing list