[j-nsp] Junos CoS - how to set PLP bit depending on a Bandwi dth threshold ?

MPuras at solunet.com MPuras at solunet.com
Tue Aug 5 10:51:21 EDT 2003


Depending on your interfaces, you "could" also set the PLP bit by
configuring the receive-bucket on the interface and setting the overflow
setting to "tag" although I would prefer using firewall policer. 

Just for clarification, does Juniper also uses the LSB in the precedence
field to tag a packet with a drop precedence?  I have heard that they use a
different bit (I think it was bit 2) and that it is propriatery.   Is it the
same bit when using IP Precendence or DSCP?  Could anyone clarify please?


Also on the example below, why would you want to discard the traffic if you
are setting the PLP and assigning it to a FC?   

Thanks for your help.


Thanks, 

Mario Puras 
SoluNet Technical Support
Mailto: mpuras at solunet.com
Direct: (321) 309-1410  
888.449.5766 (USA) / 888.SOLUNET (Canada) 



>-----Original Message-----
>From: Guy Davies [mailto:Guy.Davies at telindus.co.uk]
>Sent: Tuesday, August 05, 2003 8:51 AM
>To: 'Mourad BERKANE'; juniper-nsp at puck.nether.net
>Subject: RE: [j-nsp] Junos CoS - how to set PLP bit depending on a
>Bandwi dth threshold ?
>
>
>  
>-----BEGIN PGP SIGNED MESSAGE----- 
>Hash: SHA1 
>
>Hi Mourad, 
>  
>The simple answer is "yes". 
>  
>firewall { 
>    policer <blah> { 
>        if-exceeding { 
>            bandwidth-percent N; 
>            burst-size M; 
>        } 
>        then { 
>             loss-priority (high|low); 
>             forwarding-class <foobar>; 
>             discard; 
>       } 
>    } 
>} 
>  
>Regards, 
>  
>Guy 
>
>- -----Original Message----- 
>From: Mourad BERKANE [ mailto:mourad.berkane at lambdanet.fr
><mailto:mourad.berkane at lambdanet.fr> ] 
>Sent: Tuesday, August 05, 2003 1:24 PM 
>To: juniper-nsp at puck.nether.net 
>Subject: [j-nsp] Junos CoS - how to set PLP bit depending on a 
>Bandwidth
>threshold ? 
>
>
>
>
>Is it possible with current Junos version to associate the 
>class-of-service
>classification of the *internal* CoS PLP bit(used by RED drop 
>profile) with
>a bandwidth policer:
>
>IF BW > threshold       THEN    plp-set         ELSE    plp-clear 
>
>Hope it's possible :-) 
>
>Thanks in advance. 
>Mourad 
>
>
>-----BEGIN PGP SIGNATURE----- 
>Version: PGP 8.0 
>
>iQA/AwUBPy+oSI3dwu/Ss2PCEQIA/QCgzGZdEtpWyhkC1Gr1KRb/fnCja+IAn2GN 
>IvGoUWeB1s4VlBn+xdxPcibg 
>=EO6N 
>-----END PGP SIGNATURE----- 
>  
>
>  
>  
>


More information about the juniper-nsp mailing list