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.

602 lines
13 KiB

  1. MSIPBOOTP-MIB DEFINITIONS ::= BEGIN
  2. --
  3. -- Microsoft(R) BOOTP for Internet Protocol MIB
  4. --
  5. -- This MIB defines the management information for the BOOTP
  6. -- Protocol. The information in this MIB is divided
  7. -- into 3 groups:
  8. --
  9. -- 1. Global Group
  10. -- Contains the global information BOOTP protocol
  11. -- Information contained in this group is independent of the interfaces
  12. -- over which the protocol is enabled.
  13. --
  14. -- 2. Interface Group
  15. -- Contains RIP configuration information and statistics specific
  16. -- to each interface.
  17. --
  18. --
  19. IMPORTS
  20. enterprises, OBJECT-TYPE,
  21. TimeTicks, Counter, IpAddress
  22. FROM RFC1155-SMI
  23. microsoft, software
  24. FROM MSFT-MIB;
  25. -- MSIPRIP2
  26. -- microsoft OBJECT IDENTIFIER ::= { enterprises 311 }
  27. -- software OBJECT IDENTIFIER ::= { microsoft 1 }
  28. msipbootp OBJECT IDENTIFIER ::= { software 12 }
  29. --
  30. -- groups in MSIPRIP2
  31. --
  32. global OBJECT IDENTIFIER ::= { msipbootp 1 }
  33. interface OBJECT IDENTIFIER ::= { msipbootp 2 }
  34. --
  35. -- BOOTP Global Group
  36. --
  37. -- Contains the global information for the BOOTP protocol
  38. -- Information contained in this group is independent of the
  39. -- interfaces over which the protocol is enabled.
  40. --
  41. -- Global information consists of scalar variables which can be
  42. -- updated and table of DHCP/BOOTP servers to which packets will be
  43. -- sent.
  44. --
  45. globalLoggingLevel OBJECT-TYPE
  46. SYNTAX INTEGER {
  47. none(1),
  48. error(2),
  49. warning(3),
  50. information(4)
  51. }
  52. ACCESS read-write
  53. STATUS mandatory
  54. DESCRIPTION
  55. "Information logged can be None, Error only, Error + Warning,
  56. Error + Warn + Logging. This variable controls the amount
  57. of information logged"
  58. ::= { global 1 }
  59. globalMaxRecQueueSize OBJECT-TYPE
  60. SYNTAX INTEGER
  61. ACCESS read-write
  62. STATUS mandatory
  63. DESCRIPTION
  64. "Maximum size to use for queueing incoming packets."
  65. ::= { global 2 }
  66. globalServerCount OBJECT-TYPE
  67. SYNTAX INTEGER
  68. ACCESS read-only
  69. STATUS mandatory
  70. DESCRIPTION
  71. "Number of entries BOOTP server table"
  72. ::= { global 3 }
  73. --
  74. -- the DHCP/BOOTP Server Table
  75. --
  76. --
  77. -- Entries in the BOOTP Server table are IP addresses of BOOTP servers
  78. -- to which request packets are forwarded.
  79. --
  80. globalBOOTPServerTable OBJECT-TYPE
  81. SYNTAX SEQUENCE OF GlobalBOOTPServerEntry
  82. ACCESS not-accessible
  83. STATUS mandatory
  84. DESCRIPTION
  85. "Table of BOOTP servers to which packets are sent by this router"
  86. ::= { global 4 }
  87. globalBOOTPServerEntry OBJECT-TYPE
  88. SYNTAX GlobalBOOTPServerEntry
  89. ACCESS not-accessible
  90. STATUS mandatory
  91. DESCRIPTION
  92. "BOOTP server entry. Contains the IP address of a BOOTP server"
  93. INDEX { globalBOOTPServerAddr }
  94. ::= { globalBOOTPServerTable 1 }
  95. GlobalBOOTPServerEntry ::=
  96. SEQUENCE {
  97. globalBOOTPServerAddr
  98. IpAddress,
  99. globalBOOTPServerTag
  100. INTEGER
  101. }
  102. globalBOOTPServerAddr OBJECT-TYPE
  103. SYNTAX IpAddress
  104. ACCESS read-write
  105. STATUS mandatory
  106. DESCRIPTION
  107. "IP Address of DHCP/BOOTP router"
  108. ::= { globalBOOTPServerEntry 1 }
  109. globalBOOTPServerTag OBJECT-TYPE
  110. SYNTAX INTEGER {
  111. create(1),
  112. delete(2)
  113. }
  114. ACCESS read-write
  115. STATUS mandatory
  116. DESCRIPTION
  117. "create : Creates an entry in the BOOTP Server table
  118. delete : Deletes an entry in the BOOTP Server table
  119. "
  120. ::= { globalBOOTPServerEntry 2 }
  121. --
  122. -- BOOTP Interface group
  123. --
  124. -- Contains BOOTP interface configuration information, BOOTP interface
  125. -- statistics and BOOTP interface binding information. Each type of
  126. -- information is stored in a table with one entry for each
  127. -- interface over which BOOTP is enabled.
  128. --
  129. -- Asscociated with each entry in the Interface binding table is a
  130. -- list of entries in the
  131. --
  132. -- Interface Address Table : List of address bound to an interface
  133. --
  134. --
  135. -- Interface Statistics Table.
  136. --
  137. --
  138. -- BOOTP statistics for each interface. Statistics include
  139. -- number of send/receive failures
  140. -- number of ARP Update Failures
  141. -- number of requests/replies received/discarded,
  142. --
  143. ifStatsTable OBJECT-TYPE
  144. SYNTAX SEQUENCE OF IfStatsEntry
  145. ACCESS not-accessible
  146. STATUS mandatory
  147. DESCRIPTION
  148. "Table of BOOTP statistics for interfaces"
  149. ::= { interface 1 }
  150. ifStatsEntry OBJECT-TYPE
  151. SYNTAX IfStatsEntry
  152. ACCESS not-accessible
  153. STATUS mandatory
  154. DESCRIPTION
  155. "BOOTP interface statistics entry.
  156. Each entry contains counts of send/receive failures, requests/relies
  157. received/discarded, and ARP Update failures"
  158. INDEX { ifSEIndex }
  159. ::= { ifStatsTable 1 }
  160. IfStatsEntry ::=
  161. SEQUENCE {
  162. ifSEIndex
  163. INTEGER,
  164. ifSEState
  165. INTEGER,
  166. ifSESendFailures
  167. Counter,
  168. ifSEReceiveFailures
  169. Counter,
  170. ifSEArpUpdateFailures
  171. Counter,
  172. ifSERequestReceiveds
  173. Counter,
  174. ifSERequestDiscards
  175. Counter,
  176. ifSEReplyReceiveds
  177. Counter,
  178. ifSEReplyDiscards
  179. Counter
  180. }
  181. ifSEIndex OBJECT-TYPE
  182. SYNTAX INTEGER
  183. ACCESS read-only
  184. STATUS mandatory
  185. DESCRIPTION
  186. "Index for the BOOTP interface Statistics table"
  187. ::= { ifStatsEntry 1 }
  188. ifSEState OBJECT-TYPE
  189. SYNTAX INTEGER {
  190. enabled(1),
  191. bound(2)
  192. }
  193. ACCESS read-only
  194. STATUS mandatory
  195. DESCRIPTION
  196. "Current state of BOOTP on this interface."
  197. ::= { ifStatsEntry 2 }
  198. ifSESendFailures OBJECT-TYPE
  199. SYNTAX Counter
  200. ACCESS read-only
  201. STATUS mandatory
  202. DESCRIPTION
  203. "Number of times a failure occurred while attempting to send a
  204. packet on this interface."
  205. ::= { ifStatsEntry 3 }
  206. ifSEReceiveFailures OBJECT-TYPE
  207. SYNTAX Counter
  208. ACCESS read-only
  209. STATUS mandatory
  210. DESCRIPTION
  211. "Number of times a failure occurred while attempting to receive
  212. a packet on this interface."
  213. ::= { ifStatsEntry 4 }
  214. ifSEArpUpdateFailures OBJECT-TYPE
  215. SYNTAX Counter
  216. ACCESS read-only
  217. STATUS mandatory
  218. DESCRIPTION
  219. "Number of times a failure occurred while attempting to
  220. update the ARP cache on this interface."
  221. ::= { ifStatsEntry 5 }
  222. ifSERequestReceiveds OBJECT-TYPE
  223. SYNTAX Counter
  224. ACCESS read-only
  225. STATUS mandatory
  226. DESCRIPTION
  227. "Number of BOOTP REQUEST packets received on this interface."
  228. ::= { ifStatsEntry 6 }
  229. ifSERequestDiscards OBJECT-TYPE
  230. SYNTAX Counter
  231. ACCESS read-only
  232. STATUS mandatory
  233. DESCRIPTION
  234. "Number of BOOTP REQUEST packets discarded on this interface."
  235. ::= { ifStatsEntry 7 }
  236. ifSEReplyReceiveds OBJECT-TYPE
  237. SYNTAX Counter
  238. ACCESS read-only
  239. STATUS mandatory
  240. DESCRIPTION
  241. "Number of BOOTP REPLY packets received on this interface."
  242. ::= { ifStatsEntry 8 }
  243. ifSEReplyDiscards OBJECT-TYPE
  244. SYNTAX Counter
  245. ACCESS read-only
  246. STATUS mandatory
  247. DESCRIPTION
  248. "Number of BOOTP REPLY packets discarded due to errors in the header."
  249. ::= { ifStatsEntry 9 }
  250. --
  251. -- BOOTP Interface Configuration Table.
  252. --
  253. --
  254. -- BOOTP Interface config includes the interface setting for :
  255. --
  256. -- Relay Modes, max hop count and minimum seconds since boot
  257. --
  258. --
  259. ifConfigTable OBJECT-TYPE
  260. SYNTAX SEQUENCE OF IfConfigEntry
  261. ACCESS not-accessible
  262. STATUS mandatory
  263. DESCRIPTION
  264. "BOOTP Interface configuration table. List of subnets that require
  265. separate configuration in BOOTP."
  266. ::= { interface 2 }
  267. ifConfigEntry OBJECT-TYPE
  268. SYNTAX IfConfigEntry
  269. ACCESS not-accessible
  270. STATUS mandatory
  271. DESCRIPTION
  272. "BOOTP configuration entry for an interface. A single routing domain in a
  273. single subnet."
  274. INDEX { ifCEIndex }
  275. ::= { ifConfigTable 1 }
  276. IfConfigEntry ::=
  277. SEQUENCE {
  278. ifCEIndex
  279. INTEGER,
  280. ifCEState
  281. INTEGER,
  282. ifCERelayMode
  283. INTEGER,
  284. ifCEMaxHopCount
  285. INTEGER,
  286. ifCEMinSecondsSinceBoot
  287. INTEGER
  288. }
  289. ifCEIndex OBJECT-TYPE
  290. SYNTAX INTEGER
  291. ACCESS read-only
  292. STATUS mandatory
  293. DESCRIPTION
  294. "Index for BOOTP interface config. table."
  295. ::= { ifConfigEntry 1 }
  296. ifCEState OBJECT-TYPE
  297. SYNTAX INTEGER {
  298. enabled(1),
  299. bound(2)
  300. }
  301. ACCESS read-only
  302. STATUS mandatory
  303. DESCRIPTION
  304. "Current state of BOOTP on this interface."
  305. ::= { ifConfigEntry 2 }
  306. ifCERelayMode OBJECT-TYPE
  307. SYNTAX INTEGER {
  308. disabled(1),
  309. enabled(2)
  310. }
  311. ACCESS read-write
  312. STATUS mandatory
  313. DESCRIPTION
  314. "Relay Mode for BOOTP request/reply packets "
  315. DEFVAL { enabled }
  316. ::= { ifConfigEntry 3 }
  317. ifCEMaxHopCount OBJECT-TYPE
  318. SYNTAX INTEGER (1..16)
  319. ACCESS read-write
  320. STATUS mandatory
  321. DESCRIPTION
  322. "Each time a BOOTP request is forwarded by the BOOTP relay agent
  323. the request packet's hop count is incremented. If the number of
  324. hops traversed by the packet exceeds the max hop count configured
  325. on a relay agent the request packet is discarded by that relay agent."
  326. DEFVAL { 4 }
  327. ::= { ifConfigEntry 4 }
  328. ifCEMinSecondsSinceBoot OBJECT-TYPE
  329. SYNTAX INTEGER
  330. ACCESS read-write
  331. STATUS mandatory
  332. DESCRIPTION
  333. "Each BOOTP request sent by a client contains the time since the client
  334. has booted. If the time since boot for the client exceeds the
  335. configured value of ifCEMinSecondsSinceBoot on a relay agent,
  336. the relay agent will forward the request. Otherwise it will discard
  337. the request."
  338. DEFVAL { 4 }
  339. ::= { ifConfigEntry 5 }
  340. --
  341. -- Interface Binding Table.
  342. --
  343. --
  344. -- This table stores information pertaining to the binding state and the
  345. -- number of IP addresses bound to an interface.
  346. --
  347. -- The list of IP address bound to an interface is maintained in the
  348. -- Interface Address Table
  349. --
  350. ifBindingTable OBJECT-TYPE
  351. SYNTAX SEQUENCE OF IfBindingEntry
  352. ACCESS not-accessible
  353. STATUS mandatory
  354. DESCRIPTION
  355. "Table containing binding information for each interface."
  356. ::= { interface 3 }
  357. ifBindingEntry OBJECT-TYPE
  358. SYNTAX IfBindingEntry
  359. ACCESS not-accessible
  360. STATUS mandatory
  361. DESCRIPTION
  362. "Binding information entry for an interface"
  363. INDEX { ifBindingIndex }
  364. ::= { ifBindingTable 1 }
  365. IfBindingEntry ::=
  366. SEQUENCE {
  367. ifBindingIndex
  368. INTEGER,
  369. ifBindingState
  370. INTEGER,
  371. ifBindingAddrCount
  372. INTEGER
  373. }
  374. ifBindingIndex OBJECT-TYPE
  375. SYNTAX INTEGER
  376. ACCESS read-only
  377. STATUS mandatory
  378. DESCRIPTION
  379. "Index for an interface entry in the binding table"
  380. ::= { ifBindingEntry 1 }
  381. ifBindingState OBJECT-TYPE
  382. SYNTAX INTEGER {
  383. enabled(1),
  384. bound(2)
  385. }
  386. ACCESS read-only
  387. STATUS mandatory
  388. DESCRIPTION
  389. "State of the interface binding"
  390. ::= { ifBindingEntry 2 }
  391. ifBindingAddrCount OBJECT-TYPE
  392. SYNTAX INTEGER
  393. ACCESS read-only
  394. STATUS mandatory
  395. DESCRIPTION
  396. "Number of IP address bound to this interface. This is also the
  397. number of entries in the Interface Address Table corresponding
  398. to this interface."
  399. ::= { ifBindingEntry 3 }
  400. --
  401. -- Interface Address Table
  402. --
  403. --
  404. -- The Interface Address Table contains the list of address bound to
  405. -- each interface.
  406. --
  407. -- This table is indexed by an interface number and an IP address.
  408. --
  409. ifAddressTable OBJECT-TYPE
  410. SYNTAX SEQUENCE OF IfAddressEntry
  411. ACCESS not-accessible
  412. STATUS mandatory
  413. DESCRIPTION
  414. "Table of IP addresses bound to interfaces"
  415. ::= { interface 4 }
  416. ifAddressEntry OBJECT-TYPE
  417. SYNTAX IfAddressEntry
  418. ACCESS not-accessible
  419. STATUS mandatory
  420. DESCRIPTION
  421. "Entry for an IP address for an interface"
  422. INDEX { ifAEIfIndex, ifAEAddress, ifAEMask }
  423. ::= { ifAddressTable 1 }
  424. IfAddressEntry ::=
  425. SEQUENCE {
  426. ifAEIfIndex
  427. INTEGER,
  428. ifAEAddress
  429. IpAddress,
  430. ifAEMask
  431. IpAddress
  432. }
  433. ifAEIfIndex OBJECT-TYPE
  434. SYNTAX INTEGER
  435. ACCESS read-only
  436. STATUS mandatory
  437. DESCRIPTION
  438. "Index corresponding to the Interface with which this entry
  439. is associated."
  440. ::= { ifAddressEntry 1 }
  441. ifAEAddress OBJECT-TYPE
  442. SYNTAX IpAddress
  443. ACCESS read-only
  444. STATUS mandatory
  445. DESCRIPTION
  446. "Ip address bound to the associated interface."
  447. ::= { ifAddressEntry 2 }
  448. ifAEMask OBJECT-TYPE
  449. SYNTAX IpAddress
  450. ACCESS read-only
  451. STATUS mandatory
  452. DESCRIPTION
  453. "Address Mask associated with the IP address contained in the
  454. corresponding ifAEAddress field."
  455. ::= { ifAddressEntry 3 }
  456. END