I meant to refer to this Cisco document http://www.cisco.com/en/US/tech/tk543/tk757/technologies_tech_note09186a00800949f2.shtml
From: Mike Rojas <[email protected]<mailto:[email protected]>> Date: Monday, May 14, 2012 8:03 PM To: Eugene Pefti <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [OSL | CCIE_Security] DSCP values in different formats Hello Eugene, I can talk for the DSCP issue and understanding that you have: 3<http://tools.ietf.org/html/rfc2474#section-3>. Differentiated Services Field Definition A replacement header field, called the DS field, is defined, which is intended to supersede the existing definitions of the IPv4 TOS octet [RFC791<http://tools.ietf.org/html/rfc791>] and the IPv6 Traffic Class octet [IPv6<http://tools.ietf.org/html/rfc2474#ref-IPv6>]. Six bits of the DS field are used as a codepoint (DSCP) to select the PHB a packet experiences at each node. A two-bit currently unused (CU) field is reserved and its definition and interpretation are outside the scope of this document. The value of the CU bits are ignored by differentiated services-compliant nodes when determining the per-hop behavior to apply to a received packet. http://tools.ietf.org/html/rfc2474 So basically matching that ToS value is the same as matching DSCP value of EF. ToS was the old way to do it. On that specific field the first 6 bits are reserved for DS (Differentiated Services) That is where you can define the code points and also on the ECN. Wikipedia explains it very well I guess The type of service (TOS) field in the IPv4 header<http://en.wikipedia.org/wiki/IPv4_header> has had various purposes over the years, and has been defined in different ways by five RFCs<http://en.wikipedia.org/wiki/Request_for_Comments>[1]<http://en.wikipedia.org/wiki/Type_of_service#cite_note-0>. The modern redefinition of the TOS field is a six-bit differentiated services code point<http://en.wikipedia.org/wiki/Differentiated_services> (DSCP) field and a two-bit Explicit Congestion Notification<http://en.wikipedia.org/wiki/Explicit_Congestion_Notification> (ECN) field. While Differentiated Services is somewhat backwards compatible with TOS, ECN is not. http://en.wikipedia.org/wiki/Type_of_service Hope this clears a bit. ________________________________ From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Date: Tue, 15 May 2012 00:43:35 +0000 Subject: [OSL | CCIE_Security] DSCP values in different formats Hello folks, I ran into different ways of setting DSCP values. My two QoS relating tasks ask to match for VoIP traffic with DSCP value equals to EF. Then the verifications use something that I have no idea how to understand and cross-check with Cisco documentation. E.g. The first task verifies it with IP SLA setting the ToS to 184. The calculations of ToS value are based on the fact that the actual value of EF is 46 and then the corresponding ToS byte is 46*4=184: Ip sla 1 udp-echo 10.5.5.5 32767 source-ip 10.8.8.8 source-port 32767 control disable tos 184 timeout 1000 frequency 1 Another task uses telnet to mark all telnet traffic with DSCP value of EF by setting it right away to 0XB8. ip telnet tos B8 I understand that 0xB8 equals to 184 in decimal but what are the rules of setting DSCP in two different cases ? Is there any Cisco guide that can be used to consolidate this knowledge and access it in case of a problem during the lab ? Eugene _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
