1164997Ssyrinx--
2164997Ssyrinx-- Copyright (C) The Internet Society (2005).
3164997Ssyrinx--
4164997Ssyrinx-- This document is subject to the rights, licenses and restrictions
5164997Ssyrinx-- contained in BCP 78, and except as set forth therein, the authors
6164997Ssyrinx-- retain all their rights.
7164997Ssyrinx--
8164997Ssyrinx-- This document and the information contained herein are provided on an
9164997Ssyrinx-- "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
10164997Ssyrinx-- OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
11164997Ssyrinx-- ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
12164997Ssyrinx-- INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
13164997Ssyrinx-- INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
14164997Ssyrinx-- WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
15164997Ssyrinx--
16164997Ssyrinx-- $FreeBSD: releng/11.0/usr.sbin/bsnmpd/modules/snmp_bridge/RSTP-MIB.txt 164997 2006-12-07 22:36:17Z syrinx $
17164997Ssyrinx--
18164997Ssyrinx
19164997SsyrinxRSTP-MIB DEFINITIONS ::= BEGIN
20164997Ssyrinx
21164997Ssyrinx-- -------------------------------------------------------------
22164997Ssyrinx-- MIB for IEEE 802.1w Rapid Spanning Tree Protocol
23164997Ssyrinx-- -------------------------------------------------------------
24164997Ssyrinx
25164997SsyrinxIMPORTS
26164997Ssyrinx    MODULE-IDENTITY, OBJECT-TYPE, Integer32, mib-2
27164997Ssyrinx        FROM SNMPv2-SMI
28164997Ssyrinx    TruthValue
29164997Ssyrinx        FROM SNMPv2-TC
30164997Ssyrinx    MODULE-COMPLIANCE, OBJECT-GROUP
31164997Ssyrinx        FROM SNMPv2-CONF
32164997Ssyrinx    dot1dStp, dot1dStpPortEntry
33164997Ssyrinx        FROM BRIDGE-MIB;
34164997Ssyrinx
35164997SsyrinxrstpMIB MODULE-IDENTITY
36164997Ssyrinx    LAST-UPDATED "200512070000Z"
37164997Ssyrinx    ORGANIZATION "IETF Bridge MIB Working Group"
38164997Ssyrinx    CONTACT-INFO
39164997Ssyrinx        "Email: Bridge-mib@ietf.org"
40164997Ssyrinx    DESCRIPTION
41164997Ssyrinx        "The Bridge MIB Extension module for managing devices
42164997Ssyrinx         that support the Rapid Spanning Tree Protocol defined
43164997Ssyrinx         by IEEE 802.1w.
44164997Ssyrinx
45164997Ssyrinx         Copyright (C) The Internet Society (2005).  This version of
46164997Ssyrinx         this MIB module is part of RFC 4318; See the RFC itself for
47164997Ssyrinx         full legal notices."
48164997Ssyrinx
49164997Ssyrinx    REVISION     "200512070000Z"
50164997Ssyrinx    DESCRIPTION
51164997Ssyrinx         "The initial version of this MIB module as published in
52164997Ssyrinx          RFC 4318."
53164997Ssyrinx    ::= { mib-2 134 }
54164997Ssyrinx
55164997Ssyrinx-- ---------------------------------------------------------- --
56164997Ssyrinx-- subtrees in the RSTP-MIB
57164997Ssyrinx-- ---------------------------------------------------------- --
58164997Ssyrinx
59164997SsyrinxrstpNotifications OBJECT IDENTIFIER ::= { rstpMIB 0 }
60164997SsyrinxrstpObjects       OBJECT IDENTIFIER ::= { rstpMIB 1 }
61164997SsyrinxrstpConformance   OBJECT IDENTIFIER ::= { rstpMIB 2 }
62164997Ssyrinx
63164997Ssyrinx-- -------------------------------------------------------------
64164997Ssyrinx-- Addition to the dot1dStp group
65164997Ssyrinx-- -------------------------------------------------------------
66164997Ssyrinx
67164997Ssyrinxdot1dStpVersion OBJECT-TYPE
68164997Ssyrinx    SYNTAX      INTEGER {
69164997Ssyrinx                    stpCompatible(0),
70164997Ssyrinx                    rstp(2)
71164997Ssyrinx                }
72164997Ssyrinx    MAX-ACCESS  read-write
73164997Ssyrinx    STATUS      current
74164997Ssyrinx    DESCRIPTION
75164997Ssyrinx        "The version of Spanning Tree Protocol the bridge is
76164997Ssyrinx         currently running.  The value 'stpCompatible(0)'
77164997Ssyrinx         indicates the Spanning Tree Protocol specified in
78164997Ssyrinx         IEEE 802.1D-1998 and 'rstp(2)' indicates the Rapid
79164997Ssyrinx         Spanning Tree Protocol specified in IEEE 802.1w and
80164997Ssyrinx         clause 17 of 802.1D-2004.  The values are directly from
81164997Ssyrinx         the IEEE standard.  New values may be defined as future
82164997Ssyrinx         versions of the protocol become available.
83164997Ssyrinx
84164997Ssyrinx         The value of this object MUST be retained across
85164997Ssyrinx         reinitializations of the management system."
86164997Ssyrinx    REFERENCE
87164997Ssyrinx        "IEEE 802.1w clause 14.8.1, 17.12, 17.16.1"
88164997Ssyrinx    DEFVAL      { rstp }
89164997Ssyrinx    ::= { dot1dStp 16 }
90164997Ssyrinx
91164997Ssyrinxdot1dStpTxHoldCount OBJECT-TYPE
92164997Ssyrinx    SYNTAX      Integer32 (1..10)
93164997Ssyrinx    MAX-ACCESS  read-write
94164997Ssyrinx    STATUS      current
95164997Ssyrinx    DESCRIPTION
96164997Ssyrinx        "The value used by the Port Transmit state machine to limit
97164997Ssyrinx         the maximum transmission rate.
98164997Ssyrinx
99164997Ssyrinx         The value of this object MUST be retained across
100164997Ssyrinx         reinitializations of the management system."
101164997Ssyrinx
102164997Ssyrinx    REFERENCE
103164997Ssyrinx        "IEEE 802.1w clause 17.16.6"
104164997Ssyrinx    DEFVAL      { 3 }
105164997Ssyrinx    ::= { dot1dStp 17 }
106164997Ssyrinx
107164997Ssyrinx--
108164997Ssyrinx-- { dot1dStp 18 } was used to represent dot1dStpPathCostDefault
109164997Ssyrinx-- in an earlier version of this MIB.  It has since been
110164997Ssyrinx-- obsoleted, and should not be used.
111164997Ssyrinx--
112164997Ssyrinx
113164997Ssyrinxdot1dStpExtPortTable OBJECT-TYPE
114164997Ssyrinx    SYNTAX      SEQUENCE OF Dot1dStpExtPortEntry
115164997Ssyrinx    MAX-ACCESS  not-accessible
116164997Ssyrinx    STATUS      current
117164997Ssyrinx    DESCRIPTION
118164997Ssyrinx        "A table that contains port-specific Rapid Spanning Tree
119164997Ssyrinx         information."
120164997Ssyrinx    ::= { dot1dStp 19 }
121164997Ssyrinx
122164997Ssyrinxdot1dStpExtPortEntry OBJECT-TYPE
123164997Ssyrinx    SYNTAX      Dot1dStpExtPortEntry
124164997Ssyrinx    MAX-ACCESS  not-accessible
125164997Ssyrinx    STATUS      current
126164997Ssyrinx    DESCRIPTION
127164997Ssyrinx        "A list of Rapid Spanning Tree information maintained by
128164997Ssyrinx         each port."
129164997Ssyrinx    AUGMENTS    { dot1dStpPortEntry }
130164997Ssyrinx    ::= { dot1dStpExtPortTable 1 }
131164997Ssyrinx
132164997SsyrinxDot1dStpExtPortEntry ::=
133164997Ssyrinx    SEQUENCE {
134164997Ssyrinx        dot1dStpPortProtocolMigration
135164997Ssyrinx            TruthValue,
136164997Ssyrinx        dot1dStpPortAdminEdgePort
137164997Ssyrinx            TruthValue,
138164997Ssyrinx        dot1dStpPortOperEdgePort
139164997Ssyrinx            TruthValue,
140164997Ssyrinx        dot1dStpPortAdminPointToPoint
141164997Ssyrinx            INTEGER,
142164997Ssyrinx        dot1dStpPortOperPointToPoint
143164997Ssyrinx            TruthValue,
144164997Ssyrinx        dot1dStpPortAdminPathCost
145164997Ssyrinx            Integer32
146164997Ssyrinx    }
147164997Ssyrinx
148164997Ssyrinxdot1dStpPortProtocolMigration OBJECT-TYPE
149164997Ssyrinx    SYNTAX      TruthValue
150164997Ssyrinx    MAX-ACCESS  read-write
151164997Ssyrinx    STATUS      current
152164997Ssyrinx    DESCRIPTION
153164997Ssyrinx        "When operating in RSTP (version 2) mode, writing true(1)
154164997Ssyrinx         to this object forces this port to transmit RSTP BPDUs.
155164997Ssyrinx         Any other operation on this object has no effect and
156164997Ssyrinx         it always returns false(2) when read."
157164997Ssyrinx    REFERENCE
158164997Ssyrinx        "IEEE 802.1w clause 14.8.2.4, 17.18.10, 17.26"
159164997Ssyrinx    ::= { dot1dStpExtPortEntry 1 }
160164997Ssyrinx
161164997Ssyrinxdot1dStpPortAdminEdgePort OBJECT-TYPE
162164997Ssyrinx    SYNTAX      TruthValue
163164997Ssyrinx    MAX-ACCESS  read-write
164164997Ssyrinx    STATUS      current
165164997Ssyrinx    DESCRIPTION
166164997Ssyrinx        "The administrative value of the Edge Port parameter.  A
167164997Ssyrinx         value of true(1) indicates that this port should be
168164997Ssyrinx         assumed as an edge-port, and a value of false(2) indicates
169164997Ssyrinx         that this port should be assumed as a non-edge-port.
170164997Ssyrinx         Setting this object will also cause the corresponding
171164997Ssyrinx         instance of dot1dStpPortOperEdgePort to change to the
172164997Ssyrinx         same value.  Note that even when this object's value
173164997Ssyrinx         is true, the value of the corresponding instance of
174164997Ssyrinx         dot1dStpPortOperEdgePort can be false if a BPDU has
175164997Ssyrinx         been received.
176164997Ssyrinx
177164997Ssyrinx         The value of this object MUST be retained across
178164997Ssyrinx         reinitializations of the management system."
179164997Ssyrinx
180164997Ssyrinx    REFERENCE
181164997Ssyrinx        "IEEE 802.1t clause 14.8.2, 18.3.3"
182164997Ssyrinx    ::= { dot1dStpExtPortEntry 2 }
183164997Ssyrinx
184164997Ssyrinxdot1dStpPortOperEdgePort OBJECT-TYPE
185164997Ssyrinx    SYNTAX      TruthValue
186164997Ssyrinx    MAX-ACCESS  read-only
187164997Ssyrinx    STATUS      current
188164997Ssyrinx    DESCRIPTION
189164997Ssyrinx        "The operational value of the Edge Port parameter.  The
190164997Ssyrinx         object is initialized to the value of the corresponding
191164997Ssyrinx         instance of dot1dStpPortAdminEdgePort.  When the
192164997Ssyrinx         corresponding instance of dot1dStpPortAdminEdgePort is
193164997Ssyrinx         set, this object will be changed as well.  This object
194164997Ssyrinx         will also be changed to false on reception of a BPDU."
195164997Ssyrinx
196164997Ssyrinx    REFERENCE
197164997Ssyrinx        "IEEE 802.1t clause 14.8.2, 18.3.4"
198164997Ssyrinx    ::= { dot1dStpExtPortEntry 3 }
199164997Ssyrinx
200164997Ssyrinxdot1dStpPortAdminPointToPoint OBJECT-TYPE
201164997Ssyrinx    SYNTAX      INTEGER {
202164997Ssyrinx                    forceTrue(0),
203164997Ssyrinx                    forceFalse(1),
204164997Ssyrinx                    auto(2)
205164997Ssyrinx                }
206164997Ssyrinx    MAX-ACCESS  read-write
207164997Ssyrinx    STATUS      current
208164997Ssyrinx    DESCRIPTION
209164997Ssyrinx        "The administrative point-to-point status of the LAN segment
210164997Ssyrinx         attached to this port, using the enumeration values of the
211164997Ssyrinx         IEEE 802.1w clause.  A value of forceTrue(0) indicates
212164997Ssyrinx         that this port should always be treated as if it is
213164997Ssyrinx         connected to a point-to-point link.  A value of
214164997Ssyrinx         forceFalse(1) indicates that this port should be treated as
215164997Ssyrinx         having a shared media connection.  A value of auto(2)
216164997Ssyrinx         indicates that this port is considered to have a
217164997Ssyrinx         point-to-point link if it is an Aggregator and all of its
218164997Ssyrinx         members are aggregatable, or if the MAC entity
219164997Ssyrinx         is configured for full duplex operation, either through
220164997Ssyrinx         auto-negotiation or by management means.  Manipulating this
221164997Ssyrinx         object changes the underlying adminPortToPortMAC.
222164997Ssyrinx
223164997Ssyrinx         The value of this object MUST be retained across
224164997Ssyrinx         reinitializations of the management system."
225164997Ssyrinx
226164997Ssyrinx   REFERENCE
227164997Ssyrinx       "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"
228164997Ssyrinx   ::= { dot1dStpExtPortEntry 4 }
229164997Ssyrinx
230164997Ssyrinxdot1dStpPortOperPointToPoint OBJECT-TYPE
231164997Ssyrinx    SYNTAX      TruthValue
232164997Ssyrinx    MAX-ACCESS  read-only
233164997Ssyrinx    STATUS      current
234164997Ssyrinx    DESCRIPTION
235164997Ssyrinx        "The operational point-to-point status of the LAN segment
236164997Ssyrinx         attached to this port.  It indicates whether a port is
237164997Ssyrinx         considered to have a point-to-point connection.
238164997Ssyrinx         If adminPointToPointMAC is set to auto(2), then the value
239164997Ssyrinx         of operPointToPointMAC is determined in accordance with the
240164997Ssyrinx         specific procedures defined for the MAC entity concerned,
241164997Ssyrinx         as defined in IEEE 802.1w, clause 6.5.  The value is
242164997Ssyrinx         determined dynamically; that is, it is re-evaluated whenever
243164997Ssyrinx         the value of adminPointToPointMAC changes, and whenever
244164997Ssyrinx         the specific procedures defined for the MAC entity evaluate
245164997Ssyrinx         a change in its point-to-point status."
246164997Ssyrinx    REFERENCE
247164997Ssyrinx        "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"
248164997Ssyrinx    ::= { dot1dStpExtPortEntry 5 }
249164997Ssyrinx
250164997Ssyrinxdot1dStpPortAdminPathCost OBJECT-TYPE
251164997Ssyrinx    SYNTAX      Integer32 (0..200000000)
252164997Ssyrinx    MAX-ACCESS  read-write
253164997Ssyrinx    STATUS      current
254164997Ssyrinx    DESCRIPTION
255164997Ssyrinx        "The administratively assigned value for the contribution
256164997Ssyrinx         of this port to the path cost of paths toward the spanning
257164997Ssyrinx         tree root.
258164997Ssyrinx
259164997Ssyrinx         Writing a value of '0' assigns the automatically calculated
260164997Ssyrinx         default Path Cost value to the port.  If the default Path
261164997Ssyrinx         Cost is being used, this object returns '0' when read.
262164997Ssyrinx
263164997Ssyrinx         This complements the object dot1dStpPortPathCost or
264164997Ssyrinx         dot1dStpPortPathCost32, which returns the operational value
265164997Ssyrinx         of the path cost.
266164997Ssyrinx
267164997Ssyrinx         The value of this object MUST be retained across
268164997Ssyrinx         reinitializations of the management system."
269164997Ssyrinx    REFERENCE
270164997Ssyrinx        "IEEE 802.1D-1998: Section 8.5.5.3"
271164997Ssyrinx    ::= { dot1dStpExtPortEntry 6 }
272164997Ssyrinx
273164997Ssyrinx-- -------------------------------------------------------------
274164997Ssyrinx-- rstpMIB - Conformance Information
275164997Ssyrinx-- -------------------------------------------------------------
276164997Ssyrinx
277164997SsyrinxrstpGroups OBJECT IDENTIFIER ::= { rstpConformance 1 }
278164997Ssyrinx
279164997SsyrinxrstpCompliances OBJECT IDENTIFIER ::= { rstpConformance 2 }
280164997Ssyrinx
281164997Ssyrinx-- -------------------------------------------------------------
282164997Ssyrinx-- Units of conformance
283164997Ssyrinx-- -------------------------------------------------------------
284164997Ssyrinx
285164997SsyrinxrstpBridgeGroup OBJECT-GROUP
286164997Ssyrinx    OBJECTS {
287164997Ssyrinx        dot1dStpVersion,
288164997Ssyrinx        dot1dStpTxHoldCount
289164997Ssyrinx    }
290164997Ssyrinx    STATUS      current
291164997Ssyrinx    DESCRIPTION
292164997Ssyrinx        "Rapid Spanning Tree information for the bridge."
293164997Ssyrinx    ::= { rstpGroups 1 }
294164997Ssyrinx
295164997SsyrinxrstpPortGroup OBJECT-GROUP
296164997Ssyrinx    OBJECTS {
297164997Ssyrinx        dot1dStpPortProtocolMigration,
298164997Ssyrinx        dot1dStpPortAdminEdgePort,
299164997Ssyrinx        dot1dStpPortOperEdgePort,
300164997Ssyrinx        dot1dStpPortAdminPointToPoint,
301164997Ssyrinx        dot1dStpPortOperPointToPoint,
302164997Ssyrinx        dot1dStpPortAdminPathCost
303164997Ssyrinx    }
304164997Ssyrinx    STATUS      current
305164997Ssyrinx    DESCRIPTION
306164997Ssyrinx        "Rapid Spanning Tree information for individual ports."
307164997Ssyrinx    ::= { rstpGroups 2 }
308164997Ssyrinx
309164997Ssyrinx-- -------------------------------------------------------------
310164997Ssyrinx-- Compliance statements
311164997Ssyrinx-- -------------------------------------------------------------
312164997Ssyrinx
313164997SsyrinxrstpCompliance MODULE-COMPLIANCE
314164997Ssyrinx    STATUS      current
315164997Ssyrinx    DESCRIPTION
316164997Ssyrinx        "The compliance statement for device support of Rapid
317164997Ssyrinx         Spanning Tree Protocol (RSTP) bridging services."
318164997Ssyrinx    MODULE
319164997Ssyrinx        MANDATORY-GROUPS {
320164997Ssyrinx            rstpBridgeGroup,
321164997Ssyrinx            rstpPortGroup
322164997Ssyrinx        }
323164997Ssyrinx    ::= { rstpCompliances 1 }
324164997Ssyrinx
325164997SsyrinxEND
326