RE: Rate-limit mask

From: Serran (groupstudy@swiftdsl.com.au)
Date: Thu Jan 29 2004 - 06:38:49 GMT-3


its not exactly the binary equivalent..

take each precedence value you wish to match:
prec 1 = 00000001
prec 2 = 00000010
prec 3 = 00000100
prec 4 = 00001000
prec 5 = 00010000

you can see a pattern here.

add them up:
0 - 5 = 00011111

hex conversion:
hex = 1F <-- this is your mask for prec 0 - 5

of course from this you can see the possible values are 00 to FF

hth
Serran

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> Paul Chen
> Sent: Thursday, 29 January 2004 7:33 PM
> To: ccielab@groupstudy.com
> Subject: Rate-limit mask
>
>
> Hi,
>
>
>
> How do you calculate a mask for CAR rate-limit for precedence 0 to 5 ?
>
>
>
> Do you simply add the binary number equivalent of 0 to 5 and
> convert to Hex
> ? Any help appreciated.
>
>
>
>
>
> Thanks
>
> Paul
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:51 GMT-3