Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

166 lines
4.3 KiB

  1. DHCP-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. enterprises,
  4. OBJECT-TYPE
  5. FROM RFC1155-SMI
  6. DisplayString
  7. FROM RFC1213-MIB
  8. microsoft,
  9. software
  10. FROM MSFT-MIB;
  11. -- microsoft OBJECT IDENTIFIER ::= { enterprises 311 }
  12. -- software OBJECT IDENTIFIER ::= { microsoft 1 }
  13. dhcp OBJECT IDENTIFIER ::= { software 3 }
  14. dhcpPar OBJECT IDENTIFIER ::= { dhcp 1 }
  15. dhcpScope OBJECT IDENTIFIER ::= { dhcp 2 }
  16. -- Dhcp MIB
  17. -- Parameters (Prefix Par)
  18. parDhcpStartTime OBJECT-TYPE
  19. SYNTAX DisplayString (SIZE (1..30))
  20. ACCESS read-only
  21. STATUS mandatory
  22. DESCRIPTION
  23. "Dhcp Server start time"
  24. ::= { dhcpPar 1 }
  25. parDhcpTotalNoOfDiscovers OBJECT-TYPE
  26. SYNTAX Counter
  27. ACCESS read-only
  28. STATUS mandatory
  29. DESCRIPTION
  30. "This variable indicates the number of
  31. discovery messages received"
  32. ::= { dhcpPar 2 }
  33. parDhcpTotalNoOfRequests OBJECT-TYPE
  34. SYNTAX Counter
  35. ACCESS read-only
  36. STATUS mandatory
  37. DESCRIPTION
  38. "This variable indicates the number of
  39. requests received"
  40. ::= { dhcpPar 3 }
  41. parDhcpTotalNoOfReleases OBJECT-TYPE
  42. SYNTAX Counter
  43. ACCESS read-only
  44. STATUS mandatory
  45. DESCRIPTION
  46. "This variable indicates the number of
  47. releases received"
  48. ::= { dhcpPar 4 }
  49. parDhcpTotalNoOfOffers OBJECT-TYPE
  50. SYNTAX Counter
  51. ACCESS read-only
  52. STATUS mandatory
  53. DESCRIPTION
  54. "This variable indicates the number of
  55. offers sent"
  56. ::= { dhcpPar 5 }
  57. parDhcpTotalNoOfAcks OBJECT-TYPE
  58. SYNTAX Counter
  59. ACCESS read-only
  60. STATUS mandatory
  61. DESCRIPTION
  62. "This variable indicates the number of
  63. acks received"
  64. ::= { dhcpPar 6 }
  65. parDhcpTotalNoOfNacks OBJECT-TYPE
  66. SYNTAX Counter
  67. ACCESS read-only
  68. STATUS mandatory
  69. DESCRIPTION
  70. "This variable indicates the number of
  71. nacks received"
  72. ::= { dhcpPar 7 }
  73. parDhcpTotalNoOfDeclines OBJECT-TYPE
  74. SYNTAX Counter
  75. ACCESS read-only
  76. STATUS mandatory
  77. DESCRIPTION
  78. "This variable indicates the number of
  79. declines"
  80. ::= { dhcpPar 8 }
  81. -- scope group (Prefix Scope)
  82. scopeTable OBJECT-TYPE
  83. SYNTAX SEQUENCE OF ScopeTableEntry
  84. ACCESS read-only
  85. STATUS mandatory
  86. DESCRIPTION
  87. "A list of subnets maintained by the server"
  88. ::= { dhcpScope 1 }
  89. scopeTableEntry OBJECT-TYPE
  90. SYNTAX ScopeTableEntry
  91. ACCESS read-only
  92. STATUS mandatory
  93. DESCRIPTION
  94. "This is the row corresponding to a subnet"
  95. INDEX { subnetAdd }
  96. ::= { scopeTable 1 }
  97. ScopeTableEntry ::= SEQUENCE {
  98. subnetAdd
  99. IpAddress,
  100. noAddInUse
  101. Counter,
  102. noAddFree
  103. Counter,
  104. noPendingOffers
  105. Counter
  106. }
  107. subnetAdd OBJECT-TYPE
  108. SYNTAX IpAddress
  109. ACCESS read-only
  110. STATUS mandatory
  111. DESCRIPTION
  112. "This is the subnet address "
  113. ::= { scopeTableEntry 1 }
  114. noAddInUse OBJECT-TYPE
  115. SYNTAX Counter
  116. ACCESS read-only
  117. STATUS mandatory
  118. DESCRIPTION
  119. "This is the no. of addresses in use"
  120. ::= { scopeTableEntry 2 }
  121. noAddFree OBJECT-TYPE
  122. SYNTAX Counter
  123. ACCESS read-only
  124. STATUS mandatory
  125. DESCRIPTION
  126. "This is the no. of addresses that are free "
  127. ::= { scopeTableEntry 3 }
  128. noPendingOffers OBJECT-TYPE
  129. SYNTAX Counter
  130. ACCESS read-only
  131. STATUS mandatory
  132. DESCRIPTION
  133. "This is the no. of addresses that are currently in the offer
  134. state"
  135. ::= { scopeTableEntry 4 }
  136. END