From: tycampbell@comcast.net
Date: Mon Jul 12 2004 - 07:21:30 GMT-3
not the way that I am doing it, I am using each bit as an even number, with the exception of the first bit which I am perceiving as 1
ie
0 0 0 0 0 0 0 0
E C A 8 4 2 1
ip prec 0 = ToS 00
in ToS I am not changing the 1st character from the right for ip prec
so ToS for ip pre will always be one of the following
00
10
20
40
80
A0
C0
E0
HTH!
-------------- Original message --------------
Should not precedence 5 be 0010 0000 and precedence 7 1000 000 ?
0 would be 00000001
1 00000010
Etc...
I am not sure though,
--Richard
-----Original Message-----
From: Ty [mailto:tycampbell@comcast.net]
Sent: domingo, 11 de julio de 2004 22:43
To: ccielab@groupstudy.com; barrerj1@hotmail.com
Subject: Re: tos values
I couldn't find it, but I did figure it
it works like this..
say the ip precedece is 5 and you want to conver it to ToS
ToS uses 8 bits in hex ie 00000000 split into 2 parts 0000 0000
ip precedence is 5 ..so that would be the fifth bit in ToS which would equal 0001 0000
beaking down the ToS bits 0 0 0 0 0 0 0 0
E C A 8 4 2 1
there is not a match to worry about for the 8th bit, as ip precedence only goes to 7
R7(config)#access-list 107 permit ip any any precedence ?
<0-7> Precedence value
critical Match packets with critical precedence (5)
flash Match packets with flash precedence (3)
flash-override Match packets with flash override precedence (4)
immediate Match packets with immediate precedence (2)
internet Match packets with internetwork control precedence (6)
network Match packets with network control precedence (7)
priority Match packets with priority precedence (1)
routine Match packets with routine precedence (0)
going back to ip precedence of 5 would equal 0001 0000 in ToS
therefore the ToS of A0 would equal an ip precendece of 5
another example... ip precedence of 7 would equal ToS E0
7 = 0100 0000
----- Original Message -----
From:
To: "'Ty'"
Sent: Sunday, July 11, 2004 3:10 PM
Subject: RE: tos values
> Can you tell me where you find the info?
>
> Thanks
> JB
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> Of Ty
> Sent: Sunday, July 11, 2004 3:04 PM
> To: Ty; ccielab@groupstudy.com
> Subject: Re: tos values
>
> I figured it out
>
> tos is done in hex
>
> so if and ip precednce of 5 were to be converted to tos then it would
> be 00010000 in hex...this would make the tos A0
>
> Thanks!!
>
>
>
> ----- Original Message -----
> From: "Ty"
> To:
> Sent: Sunday, July 11, 2004 2:55 PM
> Subject: tos values
>
>
> > I have searched the DOC CD, but cannot find a formula or table to
> convert
> ip
> > precedence values to tos.
> > Does anyone know where this is on the DOC CD ?
> >
> > Thanks!!
> >
> >
> ______________________________________________________________________
> _
> > 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
>
> ______________________________________________________________________
> _
> 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 : Sun Aug 01 2004 - 10:11:52 GMT-3