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.

501 lines
19 KiB

  1. SOURCE-ROUTING-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. Counter, Gauge
  4. FROM RFC1155-SMI
  5. dot1dBridge, dot1dSr
  6. FROM BRIDGE-MIB
  7. OBJECT-TYPE
  8. FROM RFC-1212;
  9. -- groups in the SR MIB
  10. -- dot1dSr is imported from the Bridge MIB
  11. dot1dPortPair OBJECT IDENTIFIER ::= { dot1dBridge 10 }
  12. -- the dot1dSr group
  13. -- this group is implemented by those bridges that
  14. -- support the source route bridging mode, including Source
  15. -- Routing and SRT bridges.
  16. dot1dSrPortTable OBJECT-TYPE
  17. SYNTAX SEQUENCE OF Dot1dSrPortEntry
  18. ACCESS not-accessible
  19. STATUS mandatory
  20. DESCRIPTION
  21. "A table that contains information about every
  22. port that is associated with this source route
  23. bridge."
  24. ::= { dot1dSr 1 }
  25. dot1dSrPortEntry OBJECT-TYPE
  26. SYNTAX Dot1dSrPortEntry
  27. ACCESS not-accessible
  28. STATUS mandatory
  29. DESCRIPTION
  30. "A list of information for each port of a source
  31. route bridge."
  32. INDEX { dot1dSrPort }
  33. ::= { dot1dSrPortTable 1 }
  34. Dot1dSrPortEntry ::=
  35. SEQUENCE {
  36. dot1dSrPort
  37. INTEGER,
  38. dot1dSrPortHopCount
  39. INTEGER,
  40. dot1dSrPortLocalSegment
  41. INTEGER,
  42. dot1dSrPortBridgeNum
  43. INTEGER,
  44. dot1dSrPortTargetSegment
  45. INTEGER,
  46. dot1dSrPortLargestFrame
  47. INTEGER,
  48. dot1dSrPortSTESpanMode
  49. INTEGER,
  50. dot1dSrPortSpecInFrames
  51. Counter,
  52. dot1dSrPortSpecOutFrames
  53. Counter,
  54. dot1dSrPortApeInFrames
  55. Counter,
  56. dot1dSrPortApeOutFrames
  57. Counter,
  58. dot1dSrPortSteInFrames
  59. Counter,
  60. dot1dSrPortSteOutFrames
  61. Counter,
  62. dot1dSrPortSegmentMismatchDiscards
  63. Counter,
  64. dot1dSrPortDuplicateSegmentDiscards
  65. Counter,
  66. dot1dSrPortHopCountExceededDiscards
  67. Counter,
  68. dot1dSrPortDupLanIdOrTreeErrors
  69. Counter,
  70. dot1dSrPortLanIdMismatches
  71. Counter
  72. }
  73. dot1dSrPort OBJECT-TYPE
  74. SYNTAX INTEGER (1..65535)
  75. ACCESS read-only
  76. STATUS mandatory
  77. DESCRIPTION
  78. "The port number of the port for which this entry
  79. contains Source Route management information."
  80. ::= { dot1dSrPortEntry 1 }
  81. dot1dSrPortHopCount OBJECT-TYPE
  82. SYNTAX INTEGER
  83. ACCESS read-write
  84. STATUS mandatory
  85. DESCRIPTION
  86. "The maximum number of routing descriptors allowed
  87. in an All Paths or Spanning Tree Explorer frames."
  88. ::= { dot1dSrPortEntry 2 }
  89. dot1dSrPortLocalSegment OBJECT-TYPE
  90. SYNTAX INTEGER
  91. ACCESS read-write
  92. STATUS mandatory
  93. DESCRIPTION
  94. "The segment number that uniquely identifies the
  95. segment to which this port is connected. Current
  96. source routing protocols limit this value to the
  97. range: 0 through 4095. (The value 0 is used by
  98. some management applications for special test
  99. cases.) A value of 65535 signifies that no segment
  100. number is assigned to this port."
  101. ::= { dot1dSrPortEntry 3 }
  102. dot1dSrPortBridgeNum OBJECT-TYPE
  103. SYNTAX INTEGER
  104. ACCESS read-write
  105. STATUS mandatory
  106. DESCRIPTION
  107. "A bridge number uniquely identifies a bridge when
  108. more than one bridge is used to span the same two
  109. segments. Current source routing protocols limit
  110. this value to the range: 0 through 15. A value of
  111. 65535 signifies that no bridge number is assigned
  112. to this bridge."
  113. ::= { dot1dSrPortEntry 4 }
  114. dot1dSrPortTargetSegment OBJECT-TYPE
  115. SYNTAX INTEGER
  116. ACCESS read-write
  117. STATUS mandatory
  118. DESCRIPTION
  119. "The segment number that corresponds to the target
  120. segment this port is considered to be connected to
  121. by the bridge. Current source routing protocols
  122. limit this value to the range: 0 through 4095.
  123. (The value 0 is used by some management
  124. applications for special test cases.) A value of
  125. 65535 signifies that no target segment is assigned
  126. to this port."
  127. ::= { dot1dSrPortEntry 5 }
  128. -- It would be nice if we could use ifMtu as the size of the
  129. -- largest frame, but we can't because ifMtu is defined to be
  130. -- the size that the (inter-)network layer can use which can
  131. -- differ from the MAC layer (especially if several layers of
  132. -- encapsulation are used).
  133. dot1dSrPortLargestFrame OBJECT-TYPE
  134. SYNTAX INTEGER
  135. ACCESS read-write
  136. STATUS mandatory
  137. DESCRIPTION
  138. "The maximum size of the INFO field (LLC and
  139. above) that this port can send/receive. It does
  140. not include any MAC level (framing) octets. The
  141. value of this object is used by this bridge to
  142. determine whether a modification of the
  143. LargestFrame (LF, see [14]) field of the Routing
  144. Control field of the Routing Information Field is
  145. necessary.
  146. 64 valid values are defined by the IEEE 802.5M SRT
  147. Addendum: 516, 635, 754, 873, 993, 1112, 1231,
  148. 1350, 1470, 1542, 1615, 1688, 1761, 1833, 1906,
  149. 1979, 2052, 2345, 2638, 2932, 3225, 3518, 3812,
  150. 4105, 4399, 4865, 5331, 5798, 6264, 6730, 7197,
  151. 7663, 8130, 8539, 8949, 9358, 9768, 10178, 10587,
  152. 10997, 11407, 12199, 12992, 13785, 14578, 15370,
  153. 16163, 16956, 17749, 20730, 23711, 26693, 29674,
  154. 32655, 35637, 38618, 41600, 44591, 47583, 50575,
  155. 53567, 56559, 59551, and 65535.
  156. An illegal value will not be accepted by the
  157. bridge."
  158. ::= { dot1dSrPortEntry 6 }
  159. dot1dSrPortSTESpanMode OBJECT-TYPE
  160. SYNTAX INTEGER {
  161. auto-span(1),
  162. disabled(2),
  163. forced(3)
  164. }
  165. ACCESS read-write
  166. STATUS mandatory
  167. DESCRIPTION
  168. "Determines how this port behaves when presented
  169. with a Spanning Tree Explorer frame. The value
  170. 'disabled(2)' indicates that the port will not
  171. accept or send Spanning Tree Explorer packets; any
  172. STE packets received will be silently discarded.
  173. The value 'forced(3)' indicates the port will
  174. always accept and propagate Spanning Tree Explorer
  175. frames. This allows a manually configured
  176. Spanning Tree for this class of packet to be
  177. configured. Note that unlike transparent
  178. bridging, this is not catastrophic to the network
  179. if there are loops. The value 'auto-span(1)' can
  180. only be returned by a bridge that both implements
  181. the Spanning Tree Protocol and has use of the
  182. protocol enabled on this port. The behavior of the
  183. port for Spanning Tree Explorer frames is
  184. determined by the state of dot1dStpPortState. If
  185. the port is in the 'forwarding' state, the frame
  186. will be accepted or propagated. Otherwise, it
  187. will be silently discarded."
  188. ::= { dot1dSrPortEntry 7 }
  189. dot1dSrPortSpecInFrames OBJECT-TYPE
  190. SYNTAX Counter
  191. ACCESS read-only
  192. STATUS mandatory
  193. DESCRIPTION
  194. "The number of Specifically Routed frames, also
  195. referred to as Source Routed Frames, that have
  196. been received from this port's segment."
  197. ::= { dot1dSrPortEntry 8 }
  198. dot1dSrPortSpecOutFrames OBJECT-TYPE
  199. SYNTAX Counter
  200. ACCESS read-only
  201. STATUS mandatory
  202. DESCRIPTION
  203. "The number of Specifically Routed frames, also
  204. referred to as Source Routed Frames, that this
  205. port has transmitted on its segment."
  206. ::= { dot1dSrPortEntry 9 }
  207. dot1dSrPortApeInFrames OBJECT-TYPE
  208. SYNTAX Counter
  209. ACCESS read-only
  210. STATUS mandatory
  211. DESCRIPTION
  212. "The number of All Paths Explorer frames, also
  213. referred to as All Routes Explorer frames, that
  214. have been received by this port from its segment."
  215. ::= { dot1dSrPortEntry 10 }
  216. dot1dSrPortApeOutFrames OBJECT-TYPE
  217. SYNTAX Counter
  218. ACCESS read-only
  219. STATUS mandatory
  220. DESCRIPTION
  221. "The number of all Paths Explorer Frames, also
  222. referred to as All Routes Explorer frames, that
  223. have been transmitted by this port on its
  224. segment."
  225. ::= { dot1dSrPortEntry 11 }
  226. dot1dSrPortSteInFrames OBJECT-TYPE
  227. SYNTAX Counter
  228. ACCESS read-only
  229. STATUS mandatory
  230. DESCRIPTION
  231. "The number of spanning tree explorer frames that
  232. have been received by this port from its segment."
  233. ::= { dot1dSrPortEntry 12 }
  234. dot1dSrPortSteOutFrames OBJECT-TYPE
  235. SYNTAX Counter
  236. ACCESS read-only
  237. STATUS mandatory
  238. DESCRIPTION
  239. "The number of spanning tree explorer frames that
  240. have been transmitted by this port on its
  241. segment."
  242. ::= { dot1dSrPortEntry 13 }
  243. dot1dSrPortSegmentMismatchDiscards OBJECT-TYPE
  244. SYNTAX Counter
  245. ACCESS read-only
  246. STATUS mandatory
  247. DESCRIPTION
  248. "The number of explorer frames that have been
  249. discarded by this port because the routing
  250. descriptor field contained an invalid adjacent
  251. segment value."
  252. ::= { dot1dSrPortEntry 14 }
  253. dot1dSrPortDuplicateSegmentDiscards OBJECT-TYPE
  254. SYNTAX Counter
  255. ACCESS read-only
  256. STATUS mandatory
  257. DESCRIPTION
  258. "The number of frames that have been discarded by
  259. this port because the routing descriptor field
  260. contained a duplicate segment identifier."
  261. ::= { dot1dSrPortEntry 15 }
  262. dot1dSrPortHopCountExceededDiscards OBJECT-TYPE
  263. SYNTAX Counter
  264. ACCESS read-only
  265. STATUS mandatory
  266. DESCRIPTION
  267. "The number of explorer frames that have been
  268. discarded by this port because the Routing
  269. Information Field has exceeded the maximum route
  270. descriptor length."
  271. ::= { dot1dSrPortEntry 16 }
  272. dot1dSrPortDupLanIdOrTreeErrors OBJECT-TYPE
  273. SYNTAX Counter
  274. ACCESS read-only
  275. STATUS mandatory
  276. DESCRIPTION
  277. "The number of duplicate LAN IDs or Tree errors.
  278. This helps in detection of problems in networks
  279. containing older IBM Source Routing Bridges."
  280. ::= { dot1dSrPortEntry 17 }
  281. dot1dSrPortLanIdMismatches OBJECT-TYPE
  282. SYNTAX Counter
  283. ACCESS read-only
  284. STATUS mandatory
  285. DESCRIPTION
  286. "The number of ARE and STE frames that were
  287. discarded because the last LAN ID in the routing
  288. information field did not equal the LAN-in ID.
  289. This error can occur in implementations which do
  290. only a LAN-in ID and Bridge Number check instead
  291. of a LAN-in ID, Bridge Number, and LAN-out ID
  292. check before they forward broadcast frames."
  293. ::= { dot1dSrPortEntry 18 }
  294. -- scalar object in dot1dSr
  295. dot1dSrBridgeLfMode OBJECT-TYPE
  296. SYNTAX INTEGER {
  297. mode3(1),
  298. mode6(2)
  299. }
  300. ACCESS read-write
  301. STATUS mandatory
  302. DESCRIPTION
  303. "Indicates whether the bridge operates using older
  304. 3 bit length negotiation fields or the newer 6 bit
  305. length field in its RIF."
  306. ::= { dot1dSr 2 }
  307. -- The Port-Pair Database
  308. -- Implementation of this group is optional.
  309. -- This group is implemented by those bridges that support
  310. -- the direct multiport model of the source route bridging
  311. -- mode as defined in the IEEE 802.5 SRT Addendum to
  312. -- 802.1d.
  313. -- Bridges implementing this group may report 65535 for
  314. -- dot1dSrPortBridgeNumber and dot1dSrPortTargetSegment,
  315. -- indicating that those objects are not applicable.
  316. dot1dPortPairTableSize OBJECT-TYPE
  317. SYNTAX Gauge
  318. ACCESS read-only
  319. STATUS mandatory
  320. DESCRIPTION
  321. "The total number of entries in the Bridge Port
  322. Pair Database."
  323. ::= { dot1dPortPair 1 }
  324. -- the Bridge Port-Pair table
  325. -- this table represents port pairs within a bridge forming
  326. -- a unique bridge path, as defined in the IEEE 802.5M SRT
  327. -- Addendum.
  328. dot1dPortPairTable OBJECT-TYPE
  329. SYNTAX SEQUENCE OF Dot1dPortPairEntry
  330. ACCESS not-accessible
  331. STATUS mandatory
  332. DESCRIPTION
  333. "A table that contains information about every
  334. port pair database entity associated with this
  335. source routing bridge."
  336. ::= { dot1dPortPair 2 }
  337. dot1dPortPairEntry OBJECT-TYPE
  338. SYNTAX Dot1dPortPairEntry
  339. ACCESS not-accessible
  340. STATUS mandatory
  341. DESCRIPTION
  342. "A list of information for each port pair entity
  343. of a bridge."
  344. INDEX { dot1dPortPairLowPort, dot1dPortPairHighPort }
  345. ::= { dot1dPortPairTable 1 }
  346. Dot1dPortPairEntry ::=
  347. SEQUENCE {
  348. dot1dPortPairLowPort
  349. INTEGER,
  350. dot1dPortPairHighPort
  351. INTEGER,
  352. dot1dPortPairBridgeNum
  353. INTEGER,
  354. dot1dPortPairBridgeState
  355. INTEGER
  356. }
  357. dot1dPortPairLowPort OBJECT-TYPE
  358. SYNTAX INTEGER (1..65535)
  359. ACCESS read-write
  360. STATUS mandatory
  361. DESCRIPTION
  362. "The port number of the lower numbered port for
  363. which this entry contains port pair database
  364. information."
  365. ::= { dot1dPortPairEntry 1 }
  366. dot1dPortPairHighPort OBJECT-TYPE
  367. SYNTAX INTEGER (1..65535)
  368. ACCESS read-write
  369. STATUS mandatory
  370. DESCRIPTION
  371. "The port number of the higher numbered port for
  372. which this entry contains port pair database
  373. information."
  374. ::= { dot1dPortPairEntry 2 }
  375. dot1dPortPairBridgeNum OBJECT-TYPE
  376. SYNTAX INTEGER
  377. ACCESS read-write
  378. STATUS mandatory
  379. DESCRIPTION
  380. "A bridge number that uniquely identifies the path
  381. provided by this source routing bridge between the
  382. segments connected to dot1dPortPairLowPort and
  383. dot1dPortPairHighPort. The purpose of bridge
  384. number is to disambiguate between multiple paths
  385. connecting the same two LANs."
  386. ::= { dot1dPortPairEntry 3 }
  387. dot1dPortPairBridgeState OBJECT-TYPE
  388. SYNTAX INTEGER {
  389. enabled(1),
  390. disabled(2),
  391. invalid(3)
  392. }
  393. ACCESS read-write
  394. STATUS mandatory
  395. DESCRIPTION
  396. "The state of dot1dPortPairBridgeNum. Writing
  397. 'invalid(3)' to this object removes the
  398. corresponding entry."
  399. ::= { dot1dPortPairEntry 4 }
  400. END