Leaked source code of windows server 2003
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.

599 lines
19 KiB

  1. RFC1317-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. Counter
  4. FROM RFC1155-SMI
  5. transmission
  6. FROM RFC1213-MIB
  7. OBJECT-TYPE
  8. FROM RFC-1212;
  9. -- this is the MIB module for RS-232-like hardware devices
  10. rs232 OBJECT IDENTIFIER ::= { transmission 33 }
  11. -- the generic RS-232-like group
  12. -- Implementation of this group is mandatory for all
  13. -- systems that have RS-232-like hardware ports
  14. -- supporting higher level services such as character
  15. -- streams or network interfaces
  16. rs232Number OBJECT-TYPE
  17. SYNTAX INTEGER
  18. ACCESS read-only
  19. STATUS mandatory
  20. DESCRIPTION
  21. "The number of ports (regardless of their current
  22. state) in the RS-232-like general port table."
  23. ::= { rs232 1 }
  24. -- the RS-232-like general Port table
  25. rs232PortTable OBJECT-TYPE
  26. SYNTAX SEQUENCE OF Rs232PortEntry
  27. ACCESS not-accessible
  28. STATUS mandatory
  29. DESCRIPTION
  30. "A list of port entries. The number of entries is
  31. given by the value of rs232Number."
  32. ::= { rs232 2 }
  33. rs232PortEntry OBJECT-TYPE
  34. SYNTAX Rs232PortEntry
  35. ACCESS not-accessible
  36. STATUS mandatory
  37. DESCRIPTION
  38. "Status and parameter values for a port."
  39. INDEX { rs232PortIndex }
  40. ::= { rs232PortTable 1 }
  41. Rs232PortEntry ::=
  42. SEQUENCE {
  43. rs232PortIndex
  44. INTEGER,
  45. rs232PortType
  46. INTEGER,
  47. rs232PortInSigNumber
  48. INTEGER,
  49. rs232PortOutSigNumber
  50. INTEGER,
  51. rs232PortInSpeed
  52. INTEGER,
  53. rs232PortOutSpeed
  54. INTEGER }
  55. rs232PortIndex OBJECT-TYPE
  56. SYNTAX INTEGER
  57. ACCESS read-only
  58. STATUS mandatory
  59. DESCRIPTION
  60. "A unique value for each port. Its value ranges
  61. between 1 and the value of rs232Number. By
  62. convention and if possible, hardware port numbers
  63. map directly to external connectors. The value for
  64. each port must remain constant at least from one
  65. re-initialization of the network management agent to
  66. the next."
  67. ::= { rs232PortEntry 1 }
  68. rs232PortType OBJECT-TYPE
  69. SYNTAX INTEGER { other(1), rs232(2), rs422(3),
  70. rs423(4), v35(5) }
  71. ACCESS read-only
  72. STATUS mandatory
  73. DESCRIPTION
  74. "The port's hardware type."
  75. ::= { rs232PortEntry 2 }
  76. rs232PortInSigNumber OBJECT-TYPE
  77. SYNTAX INTEGER
  78. ACCESS read-only
  79. STATUS mandatory
  80. DESCRIPTION
  81. "The number of input signals for the port in the
  82. input signal table (rs232PortInSigTable). The table
  83. contains entries only for those signals the software
  84. can detect."
  85. ::= { rs232PortEntry 3 }
  86. rs232PortOutSigNumber OBJECT-TYPE
  87. SYNTAX INTEGER
  88. ACCESS read-only
  89. STATUS mandatory
  90. DESCRIPTION
  91. "The number of output signals for the port in the
  92. output signal table (rs232PortOutSigTable). The
  93. table contains entries only for those signals the
  94. software can assert."
  95. ::= { rs232PortEntry 4 }
  96. rs232PortInSpeed OBJECT-TYPE
  97. SYNTAX INTEGER
  98. ACCESS read-write
  99. STATUS mandatory
  100. DESCRIPTION
  101. "The port's input speed in bits per second."
  102. ::= { rs232PortEntry 5 }
  103. rs232PortOutSpeed OBJECT-TYPE
  104. SYNTAX INTEGER
  105. ACCESS read-write
  106. STATUS mandatory
  107. DESCRIPTION
  108. "The port's output speed in bits per second."
  109. ::= { rs232PortEntry 6 }
  110. -- the RS-232-like Asynchronous Port group
  111. -- Implementation of this group is mandatory if the system
  112. -- has any asynchronous ports. Otherwise it is not
  113. -- present.
  114. rs232AsyncPortTable OBJECT-TYPE
  115. SYNTAX SEQUENCE OF Rs232AsyncPortEntry
  116. ACCESS not-accessible
  117. STATUS mandatory
  118. DESCRIPTION
  119. "A list of asynchronous port entries. The maximum
  120. entry number is given by the value of rs232Number.
  121. Entries need not exist for synchronous ports."
  122. ::= { rs232 3 }
  123. rs232AsyncPortEntry OBJECT-TYPE
  124. SYNTAX Rs232AsyncPortEntry
  125. ACCESS not-accessible
  126. STATUS mandatory
  127. DESCRIPTION
  128. "Status and parameter values for an asynchronous
  129. port."
  130. INDEX { rs232AsyncPortIndex }
  131. ::= { rs232AsyncPortTable 1 }
  132. Rs232AsyncPortEntry ::=
  133. SEQUENCE {
  134. rs232AsyncPortIndex
  135. INTEGER,
  136. rs232AsyncPortBits
  137. INTEGER,
  138. rs232AsyncPortStopBits
  139. INTEGER,
  140. rs232AsyncPortParity
  141. INTEGER,
  142. rs232AsyncPortAutobaud
  143. INTEGER,
  144. rs232AsyncPortParityErrs
  145. Counter,
  146. rs232AsyncPortFramingErrs
  147. Counter,
  148. rs232AsyncPortOverrunErrs
  149. Counter
  150. }
  151. rs232AsyncPortIndex OBJECT-TYPE
  152. SYNTAX INTEGER
  153. ACCESS read-only
  154. STATUS mandatory
  155. DESCRIPTION
  156. "A unique value for each port. Its value is the
  157. same as rs232PortIndex for the port."
  158. ::= { rs232AsyncPortEntry 1 }
  159. rs232AsyncPortBits OBJECT-TYPE
  160. SYNTAX INTEGER (5..8)
  161. ACCESS read-write
  162. STATUS mandatory
  163. DESCRIPTION
  164. "The port's number of bits in a character."
  165. ::= { rs232AsyncPortEntry 2 }
  166. rs232AsyncPortStopBits OBJECT-TYPE
  167. SYNTAX INTEGER { one(1), two(2),
  168. one-and-half(3), dynamic(4) }
  169. ACCESS read-write
  170. STATUS mandatory
  171. DESCRIPTION
  172. "The port's number of stop bits."
  173. ::= { rs232AsyncPortEntry 3 }
  174. rs232AsyncPortParity OBJECT-TYPE
  175. SYNTAX INTEGER { none(1), odd(2), even(3),
  176. mark(4), space(5) }
  177. ACCESS read-write
  178. STATUS mandatory
  179. DESCRIPTION
  180. "The port's sense of a character parity bit."
  181. ::= { rs232AsyncPortEntry 4 }
  182. rs232AsyncPortAutobaud OBJECT-TYPE
  183. SYNTAX INTEGER { enabled(1), disabled(2) }
  184. ACCESS read-write
  185. STATUS mandatory
  186. DESCRIPTION
  187. "A control for the port's ability to automatically
  188. sense input speed.
  189. When rs232PortAutoBaud is 'enabled', a port may
  190. autobaud to values different from the set values for
  191. speed, parity, and character size. As a result a
  192. network management system may temporarily observe
  193. values different from what was previously set."
  194. ::= { rs232AsyncPortEntry 5 }
  195. rs232AsyncPortParityErrs OBJECT-TYPE
  196. SYNTAX Counter
  197. ACCESS read-only
  198. STATUS mandatory
  199. DESCRIPTION
  200. "Total number of characters with a parity error,
  201. input from the port since system re-initialization
  202. and while the port state was 'up' or 'test'."
  203. ::= { rs232AsyncPortEntry 6 }
  204. rs232AsyncPortFramingErrs OBJECT-TYPE
  205. SYNTAX Counter
  206. ACCESS read-only
  207. STATUS mandatory
  208. DESCRIPTION
  209. "Total number of characters with a framing error,
  210. input from the port since system re-initialization
  211. and while the port state was 'up' or 'test'."
  212. ::= { rs232AsyncPortEntry 7 }
  213. rs232AsyncPortOverrunErrs OBJECT-TYPE
  214. SYNTAX Counter
  215. ACCESS read-only
  216. STATUS mandatory
  217. DESCRIPTION
  218. "Total number of characters with an overrun error,
  219. input from the port since system re-initialization
  220. and while the port state was 'up' or 'test'."
  221. ::= { rs232AsyncPortEntry 8 }
  222. -- the RS-232-like Synchronous Port group
  223. -- Implementation of this group is mandatory if the system
  224. -- has any synchronous ports. Otherwise it is not
  225. -- present.
  226. rs232SyncPortTable OBJECT-TYPE
  227. SYNTAX SEQUENCE OF Rs232SyncPortEntry
  228. ACCESS not-accessible
  229. STATUS mandatory
  230. DESCRIPTION
  231. "A list of synchronous port entries. The maximum
  232. entry number is given by the value of rs232Number.
  233. Entries need not exist for asynchronous ports."
  234. ::= { rs232 4 }
  235. rs232SyncPortEntry OBJECT-TYPE
  236. SYNTAX Rs232SyncPortEntry
  237. ACCESS not-accessible
  238. STATUS mandatory
  239. DESCRIPTION
  240. "Status and parameter values for a synchronous
  241. port."
  242. INDEX { rs232SyncPortIndex }
  243. ::= { rs232SyncPortTable 1 }
  244. Rs232SyncPortEntry ::=
  245. SEQUENCE {
  246. rs232SyncPortIndex
  247. INTEGER,
  248. rs232SyncPortClockSource
  249. INTEGER,
  250. rs232SyncPortFrameCheckErrs
  251. Counter,
  252. rs232SyncPortTransmitUnderrunErrs
  253. Counter,
  254. rs232SyncPortReceiveOverrunErrs
  255. Counter,
  256. rs232SyncPortInterruptedFrames
  257. Counter,
  258. rs232SyncPortAbortedFrames
  259. Counter
  260. }
  261. rs232SyncPortIndex OBJECT-TYPE
  262. SYNTAX INTEGER
  263. ACCESS read-only
  264. STATUS mandatory
  265. DESCRIPTION
  266. "A unique value for each port. Its value is the
  267. same as rs232PortIndex for the port."
  268. ::= { rs232SyncPortEntry 1 }
  269. rs232SyncPortClockSource OBJECT-TYPE
  270. SYNTAX INTEGER { internal(1), external(2), split(3) }
  271. ACCESS read-write
  272. STATUS mandatory
  273. DESCRIPTION
  274. "Source of the port's bit rate clock. 'split' means
  275. the tranmit clock is internal and the receive clock
  276. is external."
  277. ::= { rs232SyncPortEntry 2 }
  278. rs232SyncPortFrameCheckErrs OBJECT-TYPE
  279. SYNTAX Counter
  280. ACCESS read-only
  281. STATUS mandatory
  282. DESCRIPTION
  283. "Total number of frames with an invalid frame check
  284. sequence, input from the port since system
  285. re-initialization and while the port state was 'up'
  286. or 'test'."
  287. ::= { rs232SyncPortEntry 3 }
  288. rs232SyncPortTransmitUnderrunErrs OBJECT-TYPE
  289. SYNTAX Counter
  290. ACCESS read-only
  291. STATUS mandatory
  292. DESCRIPTION
  293. "Total number of frames that failed to be
  294. transmitted on the port since system
  295. re-initialization and while the port state was 'up'
  296. or 'test' because data was not available to the
  297. transmitter in time."
  298. ::= { rs232SyncPortEntry 4 }
  299. rs232SyncPortReceiveOverrunErrs OBJECT-TYPE
  300. SYNTAX Counter
  301. ACCESS read-only
  302. STATUS mandatory
  303. DESCRIPTION
  304. "Total number of frames that failed to be received
  305. on the port since system re-initialization and while
  306. the port state was 'up' or 'test' because the
  307. receiver did not accept the data in time."
  308. ::= { rs232SyncPortEntry 5 }
  309. rs232SyncPortInterruptedFrames OBJECT-TYPE
  310. SYNTAX Counter
  311. ACCESS read-only
  312. STATUS mandatory
  313. DESCRIPTION
  314. "Total number of frames that failed to be received
  315. or transmitted on the port due to loss of modem
  316. signals since system re-initialization and while the
  317. port state was 'up' or 'test'."
  318. ::= { rs232SyncPortEntry 6 }
  319. rs232SyncPortAbortedFrames OBJECT-TYPE
  320. SYNTAX Counter
  321. ACCESS read-only
  322. STATUS mandatory
  323. DESCRIPTION
  324. "Number of frames aborted on the port due to
  325. receiving an abort sequence since system
  326. re-initialization and while the port state was 'up'
  327. or 'test'."
  328. ::= { rs232SyncPortEntry 7 }
  329. -- the Input Signal table
  330. rs232InSigTable OBJECT-TYPE
  331. SYNTAX SEQUENCE OF Rs232InSigEntry
  332. ACCESS not-accessible
  333. STATUS mandatory
  334. DESCRIPTION
  335. "A list of port input control signal entries."
  336. ::= { rs232 5 }
  337. rs232InSigEntry OBJECT-TYPE
  338. SYNTAX Rs232InSigEntry
  339. ACCESS not-accessible
  340. STATUS mandatory
  341. DESCRIPTION
  342. "Input control signal status for a hardware port."
  343. INDEX { rs232InSigPortIndex, rs232InSigName }
  344. ::= { rs232InSigTable 1 }
  345. Rs232InSigEntry ::=
  346. SEQUENCE {
  347. rs232InSigPortIndex
  348. INTEGER,
  349. rs232InSigName
  350. INTEGER,
  351. rs232InSigState
  352. INTEGER,
  353. rs232InSigChanges
  354. Counter
  355. }
  356. rs232InSigPortIndex OBJECT-TYPE
  357. SYNTAX INTEGER
  358. ACCESS read-only
  359. STATUS mandatory
  360. DESCRIPTION
  361. "The value of rs232PortIndex for the port to which
  362. this entry belongs."
  363. ::= { rs232InSigEntry 1 }
  364. rs232InSigName OBJECT-TYPE
  365. SYNTAX INTEGER { rts(1), cts(2), dsr(3), dtr(4), ri(5),
  366. dcd(6), sq(7), srs(8), srts(9),
  367. scts(10), sdcd(11) }
  368. ACCESS read-only
  369. STATUS mandatory
  370. DESCRIPTION
  371. "Identification of a hardware signal, as follows:
  372. rts Request to Send
  373. cts Clear to Send
  374. dsr Data Set Ready
  375. dtr Data Terminal Ready
  376. ri Ring Indicator
  377. dcd Received Line Signal Detector
  378. sq Signal Quality Detector
  379. srs Data Signaling Rate Selector
  380. srts Secondary Request to Send
  381. scts Secondary Clear to Send
  382. sdcd Secondary Received Line Signal Detector
  383. "
  384. REFERENCE
  385. "EIA Standard RS-232-C, August 1969."
  386. ::= { rs232InSigEntry 2 }
  387. rs232InSigState OBJECT-TYPE
  388. SYNTAX INTEGER { none(1), on(2), off(3) }
  389. ACCESS read-only
  390. STATUS mandatory
  391. DESCRIPTION
  392. "The current signal state."
  393. ::= { rs232InSigEntry 3 }
  394. rs232InSigChanges OBJECT-TYPE
  395. SYNTAX Counter
  396. ACCESS read-only
  397. STATUS mandatory
  398. DESCRIPTION
  399. "The number of times the signal has changed from
  400. 'on' to 'off' or from 'off' to 'on'."
  401. ::= { rs232InSigEntry 4 }
  402. -- the Output Signal table
  403. rs232OutSigTable OBJECT-TYPE
  404. SYNTAX SEQUENCE OF Rs232OutSigEntry
  405. ACCESS not-accessible
  406. STATUS mandatory
  407. DESCRIPTION
  408. "A list of port output control signal entries."
  409. ::= { rs232 6 }
  410. rs232OutSigEntry OBJECT-TYPE
  411. SYNTAX Rs232OutSigEntry
  412. ACCESS not-accessible
  413. STATUS mandatory
  414. DESCRIPTION
  415. "Output control signal status for a hardware port."
  416. INDEX { rs232OutSigPortIndex, rs232OutSigName }
  417. ::= { rs232OutSigTable 1 }
  418. Rs232OutSigEntry ::=
  419. SEQUENCE {
  420. rs232OutSigPortIndex
  421. INTEGER,
  422. rs232OutSigName
  423. INTEGER,
  424. rs232OutSigState
  425. INTEGER,
  426. rs232OutSigChanges
  427. Counter
  428. }
  429. rs232OutSigPortIndex OBJECT-TYPE
  430. SYNTAX INTEGER
  431. ACCESS read-only
  432. STATUS mandatory
  433. DESCRIPTION
  434. "The value of rs232PortIndex for the port to which
  435. this entry belongs."
  436. ::= { rs232OutSigEntry 1 }
  437. rs232OutSigName OBJECT-TYPE
  438. SYNTAX INTEGER { rts(1), cts(2), dsr(3), dtr(4), ri(5),
  439. dcd(6), sq(7), srs(8), srts(9),
  440. scts(10), sdcd(11) }
  441. ACCESS read-only
  442. STATUS mandatory
  443. DESCRIPTION
  444. "Identification of a hardware signal, as follows:
  445. rts Request to Send
  446. cts Clear to Send
  447. dsr Data Set Ready
  448. dtr Data Terminal Ready
  449. ri Ring Indicator
  450. dcd Received Line Signal Detector
  451. sq Signal Quality Detector
  452. srs Data Signaling Rate Selector
  453. srts Secondary Request to Send
  454. scts Secondary Clear to Send
  455. sdcd Secondary Received Line Signal Detector
  456. "
  457. REFERENCE
  458. "EIA Standard RS-232-C, August 1969."
  459. ::= { rs232OutSigEntry 2 }
  460. rs232OutSigState OBJECT-TYPE
  461. SYNTAX INTEGER { none(1), on(2), off(3) }
  462. ACCESS read-only
  463. STATUS mandatory
  464. DESCRIPTION
  465. "The current signal state."
  466. ::= { rs232OutSigEntry 3 }
  467. rs232OutSigChanges OBJECT-TYPE
  468. SYNTAX Counter
  469. ACCESS read-only
  470. STATUS mandatory
  471. DESCRIPTION
  472. "The number of times the signal has changed from
  473. 'on' to 'off' or from 'off' to 'on'."
  474. ::= { rs232OutSigEntry 4 }
  475. END