RSTP-MIB 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. RSTP-MIB DEFINITIONS ::= BEGIN
  2. -- -------------------------------------------------------------
  3. -- MIB for IEEE 802.1w Rapid Spanning Tree Protocol
  4. -- -------------------------------------------------------------
  5. IMPORTS
  6. MODULE-IDENTITY, OBJECT-TYPE, Integer32, mib-2
  7. FROM SNMPv2-SMI
  8. TruthValue
  9. FROM SNMPv2-TC
  10. MODULE-COMPLIANCE, OBJECT-GROUP
  11. FROM SNMPv2-CONF
  12. dot1dStp, dot1dStpPortEntry
  13. FROM BRIDGE-MIB;
  14. rstpMIB MODULE-IDENTITY
  15. LAST-UPDATED "200512070000Z"
  16. ORGANIZATION "IETF Bridge MIB Working Group"
  17. CONTACT-INFO
  18. "Email: Bridge-mib@ietf.org"
  19. DESCRIPTION
  20. "The Bridge MIB Extension module for managing devices
  21. that support the Rapid Spanning Tree Protocol defined
  22. by IEEE 802.1w.
  23. Copyright (C) The Internet Society (2005). This version of
  24. this MIB module is part of RFC 4318; See the RFC itself for
  25. full legal notices."
  26. REVISION "200512070000Z"
  27. DESCRIPTION
  28. "The initial version of this MIB module as published in
  29. RFC 4318."
  30. ::= { mib-2 134 }
  31. -- ---------------------------------------------------------- --
  32. -- subtrees in the RSTP-MIB
  33. -- ---------------------------------------------------------- --
  34. rstpNotifications OBJECT IDENTIFIER ::= { rstpMIB 0 }
  35. rstpObjects OBJECT IDENTIFIER ::= { rstpMIB 1 }
  36. rstpConformance OBJECT IDENTIFIER ::= { rstpMIB 2 }
  37. -- -------------------------------------------------------------
  38. -- Addition to the dot1dStp group
  39. -- -------------------------------------------------------------
  40. dot1dStpVersion OBJECT-TYPE
  41. SYNTAX INTEGER {
  42. stpCompatible(0),
  43. rstp(2)
  44. }
  45. MAX-ACCESS read-write
  46. STATUS current
  47. DESCRIPTION
  48. "The version of Spanning Tree Protocol the bridge is
  49. currently running. The value 'stpCompatible(0)'
  50. indicates the Spanning Tree Protocol specified in
  51. IEEE 802.1D-1998 and 'rstp(2)' indicates the Rapid
  52. Spanning Tree Protocol specified in IEEE 802.1w and
  53. clause 17 of 802.1D-2004. The values are directly from
  54. the IEEE standard. New values may be defined as future
  55. versions of the protocol become available.
  56. The value of this object MUST be retained across
  57. reinitializations of the management system."
  58. REFERENCE
  59. "IEEE 802.1w clause 14.8.1, 17.12, 17.16.1"
  60. DEFVAL { rstp }
  61. ::= { dot1dStp 16 }
  62. dot1dStpTxHoldCount OBJECT-TYPE
  63. SYNTAX Integer32 (1..10)
  64. MAX-ACCESS read-write
  65. STATUS current
  66. DESCRIPTION
  67. "The value used by the Port Transmit state machine to limit
  68. the maximum transmission rate.
  69. The value of this object MUST be retained across
  70. reinitializations of the management system."
  71. REFERENCE
  72. "IEEE 802.1w clause 17.16.6"
  73. DEFVAL { 3 }
  74. ::= { dot1dStp 17 }
  75. --
  76. -- { dot1dStp 18 } was used to represent dot1dStpPathCostDefault
  77. -- in an earlier version of this MIB. It has since been
  78. -- obsoleted, and should not be used.
  79. --
  80. dot1dStpExtPortTable OBJECT-TYPE
  81. SYNTAX SEQUENCE OF Dot1dStpExtPortEntry
  82. MAX-ACCESS not-accessible
  83. STATUS current
  84. DESCRIPTION
  85. "A table that contains port-specific Rapid Spanning Tree
  86. information."
  87. ::= { dot1dStp 19 }
  88. dot1dStpExtPortEntry OBJECT-TYPE
  89. SYNTAX Dot1dStpExtPortEntry
  90. MAX-ACCESS not-accessible
  91. STATUS current
  92. DESCRIPTION
  93. "A list of Rapid Spanning Tree information maintained by
  94. each port."
  95. AUGMENTS { dot1dStpPortEntry }
  96. ::= { dot1dStpExtPortTable 1 }
  97. Dot1dStpExtPortEntry ::=
  98. SEQUENCE {
  99. dot1dStpPortProtocolMigration
  100. TruthValue,
  101. dot1dStpPortAdminEdgePort
  102. TruthValue,
  103. dot1dStpPortOperEdgePort
  104. TruthValue,
  105. dot1dStpPortAdminPointToPoint
  106. INTEGER,
  107. dot1dStpPortOperPointToPoint
  108. TruthValue,
  109. dot1dStpPortAdminPathCost
  110. Integer32
  111. }
  112. dot1dStpPortProtocolMigration OBJECT-TYPE
  113. SYNTAX TruthValue
  114. MAX-ACCESS read-write
  115. STATUS current
  116. DESCRIPTION
  117. "When operating in RSTP (version 2) mode, writing true(1)
  118. to this object forces this port to transmit RSTP BPDUs.
  119. Any other operation on this object has no effect and
  120. it always returns false(2) when read."
  121. REFERENCE
  122. "IEEE 802.1w clause 14.8.2.4, 17.18.10, 17.26"
  123. ::= { dot1dStpExtPortEntry 1 }
  124. dot1dStpPortAdminEdgePort OBJECT-TYPE
  125. SYNTAX TruthValue
  126. MAX-ACCESS read-write
  127. STATUS current
  128. DESCRIPTION
  129. "The administrative value of the Edge Port parameter. A
  130. value of true(1) indicates that this port should be
  131. assumed as an edge-port, and a value of false(2) indicates
  132. that this port should be assumed as a non-edge-port.
  133. Setting this object will also cause the corresponding
  134. instance of dot1dStpPortOperEdgePort to change to the
  135. same value. Note that even when this object's value
  136. is true, the value of the corresponding instance of
  137. dot1dStpPortOperEdgePort can be false if a BPDU has
  138. been received.
  139. The value of this object MUST be retained across
  140. reinitializations of the management system."
  141. REFERENCE
  142. "IEEE 802.1t clause 14.8.2, 18.3.3"
  143. ::= { dot1dStpExtPortEntry 2 }
  144. dot1dStpPortOperEdgePort OBJECT-TYPE
  145. SYNTAX TruthValue
  146. MAX-ACCESS read-only
  147. STATUS current
  148. DESCRIPTION
  149. "The operational value of the Edge Port parameter. The
  150. object is initialized to the value of the corresponding
  151. instance of dot1dStpPortAdminEdgePort. When the
  152. corresponding instance of dot1dStpPortAdminEdgePort is
  153. set, this object will be changed as well. This object
  154. will also be changed to false on reception of a BPDU."
  155. REFERENCE
  156. "IEEE 802.1t clause 14.8.2, 18.3.4"
  157. ::= { dot1dStpExtPortEntry 3 }
  158. dot1dStpPortAdminPointToPoint OBJECT-TYPE
  159. SYNTAX INTEGER {
  160. forceTrue(0),
  161. forceFalse(1),
  162. auto(2)
  163. }
  164. MAX-ACCESS read-write
  165. STATUS current
  166. DESCRIPTION
  167. "The administrative point-to-point status of the LAN segment
  168. attached to this port, using the enumeration values of the
  169. IEEE 802.1w clause. A value of forceTrue(0) indicates
  170. that this port should always be treated as if it is
  171. connected to a point-to-point link. A value of
  172. forceFalse(1) indicates that this port should be treated as
  173. having a shared media connection. A value of auto(2)
  174. indicates that this port is considered to have a
  175. point-to-point link if it is an Aggregator and all of its
  176. members are aggregatable, or if the MAC entity
  177. is configured for full duplex operation, either through
  178. auto-negotiation or by management means. Manipulating this
  179. object changes the underlying adminPortToPortMAC.
  180. The value of this object MUST be retained across
  181. reinitializations of the management system."
  182. REFERENCE
  183. "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"
  184. ::= { dot1dStpExtPortEntry 4 }
  185. dot1dStpPortOperPointToPoint OBJECT-TYPE
  186. SYNTAX TruthValue
  187. MAX-ACCESS read-only
  188. STATUS current
  189. DESCRIPTION
  190. "The operational point-to-point status of the LAN segment
  191. attached to this port. It indicates whether a port is
  192. considered to have a point-to-point connection.
  193. If adminPointToPointMAC is set to auto(2), then the value
  194. of operPointToPointMAC is determined in accordance with the
  195. specific procedures defined for the MAC entity concerned,
  196. as defined in IEEE 802.1w, clause 6.5. The value is
  197. determined dynamically; that is, it is re-evaluated whenever
  198. the value of adminPointToPointMAC changes, and whenever
  199. the specific procedures defined for the MAC entity evaluate
  200. a change in its point-to-point status."
  201. REFERENCE
  202. "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"
  203. ::= { dot1dStpExtPortEntry 5 }
  204. dot1dStpPortAdminPathCost OBJECT-TYPE
  205. SYNTAX Integer32 (0..200000000)
  206. MAX-ACCESS read-write
  207. STATUS current
  208. DESCRIPTION
  209. "The administratively assigned value for the contribution
  210. of this port to the path cost of paths toward the spanning
  211. tree root.
  212. Writing a value of '0' assigns the automatically calculated
  213. default Path Cost value to the port. If the default Path
  214. Cost is being used, this object returns '0' when read.
  215. This complements the object dot1dStpPortPathCost or
  216. dot1dStpPortPathCost32, which returns the operational value
  217. of the path cost.
  218. The value of this object MUST be retained across
  219. reinitializations of the management system."
  220. REFERENCE
  221. "IEEE 802.1D-1998: Section 8.5.5.3"
  222. ::= { dot1dStpExtPortEntry 6 }
  223. -- -------------------------------------------------------------
  224. -- rstpMIB - Conformance Information
  225. -- -------------------------------------------------------------
  226. rstpGroups OBJECT IDENTIFIER ::= { rstpConformance 1 }
  227. rstpCompliances OBJECT IDENTIFIER ::= { rstpConformance 2 }
  228. -- -------------------------------------------------------------
  229. -- Units of conformance
  230. -- -------------------------------------------------------------
  231. rstpBridgeGroup OBJECT-GROUP
  232. OBJECTS {
  233. dot1dStpVersion,
  234. dot1dStpTxHoldCount
  235. }
  236. STATUS current
  237. DESCRIPTION
  238. "Rapid Spanning Tree information for the bridge."
  239. ::= { rstpGroups 1 }
  240. rstpPortGroup OBJECT-GROUP
  241. OBJECTS {
  242. dot1dStpPortProtocolMigration,
  243. dot1dStpPortAdminEdgePort,
  244. dot1dStpPortOperEdgePort,
  245. dot1dStpPortAdminPointToPoint,
  246. dot1dStpPortOperPointToPoint,
  247. dot1dStpPortAdminPathCost
  248. }
  249. STATUS current
  250. DESCRIPTION
  251. "Rapid Spanning Tree information for individual ports."
  252. ::= { rstpGroups 2 }
  253. -- -------------------------------------------------------------
  254. -- Compliance statements
  255. -- -------------------------------------------------------------
  256. rstpCompliance MODULE-COMPLIANCE
  257. STATUS current
  258. DESCRIPTION
  259. "The compliance statement for device support of Rapid
  260. Spanning Tree Protocol (RSTP) bridging services."
  261. MODULE
  262. MANDATORY-GROUPS {
  263. rstpBridgeGroup,
  264. rstpPortGroup
  265. }
  266. ::= { rstpCompliances 1 }
  267. END