tools.ietf.org-rfc-rfc2119.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. Network Working Group S. Bradner
  2. Request for Comments: 2119 Harvard University
  3. BCP: 14 March 1997
  4. Category: Best Current Practice
  5. Key words for use in RFCs to Indicate Requirement Levels
  6. Status of this Memo
  7. This document specifies an Internet Best Current Practices for the
  8. Internet Community, and requests discussion and suggestions for
  9. improvements. Distribution of this memo is unlimited.
  10. Abstract
  11. In many standards track documents several words are used to signify
  12. the requirements in the specification. These words are often
  13. capitalized. This document defines these words as they should be
  14. interpreted in IETF documents. Authors who follow these guidelines
  15. should incorporate this phrase near the beginning of their document:
  16. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
  17. NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
  18. "OPTIONAL" in this document are to be interpreted as described in
  19. RFC 2119.
  20. Note that the force of these words is modified by the requirement
  21. level of the document in which they are used.
  22. 1. MUST This word, or the terms "REQUIRED" or "SHALL", mean that the
  23. definition is an absolute requirement of the specification.
  24. 2. MUST NOT This phrase, or the phrase "SHALL NOT", mean that the
  25. definition is an absolute prohibition of the specification.
  26. 3. SHOULD This word, or the adjective "RECOMMENDED", mean that there
  27. may exist valid reasons in particular circumstances to ignore a
  28. particular item, but the full implications must be understood and
  29. carefully weighed before choosing a different course.
  30. 4. SHOULD NOT This phrase, or the phrase "NOT RECOMMENDED" mean that
  31. there may exist valid reasons in particular circumstances when the
  32. particular behavior is acceptable or even useful, but the full
  33. implications should be understood and the case carefully weighed
  34. before implementing any behavior described with this label.
  35. Bradner Best Current Practice [Page 1]
  36. RFC 2119 RFC Key Words March 1997
  37. 5. MAY This word, or the adjective "OPTIONAL", mean that an item is
  38. truly optional. One vendor may choose to include the item because a
  39. particular marketplace requires it or because the vendor feels that
  40. it enhances the product while another vendor may omit the same item.
  41. An implementation which does not include a particular option MUST be
  42. prepared to interoperate with another implementation which does
  43. include the option, though perhaps with reduced functionality. In the
  44. same vein an implementation which does include a particular option
  45. MUST be prepared to interoperate with another implementation which
  46. does not include the option (except, of course, for the feature the
  47. option provides.)
  48. 6. Guidance in the use of these Imperatives
  49. Imperatives of the type defined in this memo must be used with care
  50. and sparingly. In particular, they MUST only be used where it is
  51. actually required for interoperation or to limit behavior which has
  52. potential for causing harm (e.g., limiting retransmisssions) For
  53. example, they must not be used to try to impose a particular method
  54. on implementors where the method is not required for
  55. interoperability.
  56. 7. Security Considerations
  57. These terms are frequently used to specify behavior with security
  58. implications. The effects on security of not implementing a MUST or
  59. SHOULD, or doing something the specification says MUST NOT or SHOULD
  60. NOT be done may be very subtle. Document authors should take the time
  61. to elaborate the security implications of not following
  62. recommendations or requirements as most implementors will not have
  63. had the benefit of the experience and discussion that produced the
  64. specification.
  65. 8. Acknowledgments
  66. The definitions of these terms are an amalgam of definitions taken
  67. from a number of RFCs. In addition, suggestions have been
  68. incorporated from a number of people including Robert Ullmann, Thomas
  69. Narten, Neal McBurnett, and Robert Elz.
  70. Bradner Best Current Practice [Page 2]
  71. RFC 2119 RFC Key Words March 1997
  72. 9. Author's Address
  73. Scott Bradner
  74. Harvard University
  75. 1350 Mass. Ave.
  76. Cambridge, MA 02138
  77. phone - +1 617 495 3864
  78. email - sob@harvard.edu
  79. Bradner Best Current Practice [Page 3]