class-of-service {
        schedulers {
                FTP {
                        transmit-rate percent 20;
                        }
                HTTP {
                        transmit-rate percent 20;
                        }
                }

        scheduler-map test-policy {
                forwarding-class FTP-class scheduler FTP;
                forwarding-class HTTP-class scheduler HTTP;
                }

        forwarding-classes {
                queue 0 best-effort;
                queue 1 FTP-class;
                queue 2 HTTP-class;
                queue 3 network-control;
                }

        interface se-0/0/0 {
                unit 0{
                        scheduler-map test-policy;
                        }
                }

 }


Of course you need to classify the traffic to FTP-class and HTTP-class
either via class-of-service and classifier stanza, or via firewall
filter on ingress/egress.

Cheers
Patrik

Andrew Jimmy wrote:
> What is the equivalent  to this in JUNOS, keeping in mind that I'm not
> pasting classes intentionally. 
> 
>  
> 
> Policy-map test-policy
> Class FTP
> Bandwidth percent 10
> Class HTTP
> Bandwidth percent 20
> !
> Interface Serial 0/0/0
> Bandwidth 1536
> service-policy output test-policy
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp


-- 

//Patrik

Webkom
http://www.webkom.se

+46 (0)709 35 22 99
+46 (0)8 559 26 488


_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to