xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/BEGEMOT-BRIDGE-MIB.txt (revision 580744621f33383027108364dcadad718df46ffe)
1--
2-- Copyright (C) 2006 Shteryana Shopova <syrinx@FreeBSD.org>
3-- All rights reserved.
4--
5-- Redistribution and use in source and binary forms, with or without
6-- modification, are permitted provided that the following conditions
7-- are met:
8-- 1. Redistributions of source code must retain the above copyright
9--    notice, this list of conditions and the following disclaimer.
10-- 2. Redistributions in binary form must reproduce the above copyright
11--    notice, this list of conditions and the following disclaimer in the
12--    documentation and/or other materials provided with the distribution.
13--
14-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17-- ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
18-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24-- SUCH DAMAGE.
25--
26-- $FreeBSD$
27--
28
29BEGEMOT-BRIDGE-MIB DEFINITIONS ::= BEGIN
30
31IMPORTS
32    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
33    Counter32, Integer32, TimeTicks, mib-2
34	FROM SNMPv2-SMI
35    TEXTUAL-CONVENTION, MacAddress, TruthValue, RowStatus
36	FROM SNMPv2-TC
37    BridgeId, Timeout
38	FROM BRIDGE-MIB
39    InterfaceIndex FROM IF-MIB
40    begemot
41	FROM BEGEMOT-MIB;
42
43begemotBridge MODULE-IDENTITY
44    LAST-UPDATED "201612170000Z"
45    ORGANIZATION "Sofia University St. Kliment Ohridski"
46    CONTACT-INFO
47	    "		Shteryana Shopova
48
49	     Postal:	Faculty of Mathematics and Informatics
50			5 James Bourchier Blvd.
51			1164 Sofia
52			Bulgaria
53
54	     Fax:	+359 2 687 180
55
56	     E-Mail:	syrinx@FreeBSD.org"
57    DESCRIPTION
58	    "The Begemot MIB for managing bridge interfaces."
59    REVISION     "201612170000Z"
60    DESCRIPTION
61    	     "Address some minor typos and grammar mistakes."
62    REVISION     "200708060000Z"
63    DESCRIPTION
64	     "Third revision adds begemotBridgeBasePortPrivate
65	     object."
66    REVISION     "200611210000Z"
67    DESCRIPTION
68	     "Second revision adds support for monitoring RSTP
69	     specific variables."
70    REVISION     "200607270000Z"
71    DESCRIPTION
72	    "Initial revision."
73    ::= { begemot 205 }
74
75-- ---------------------------------------------------------- --
76BridgeIfName ::= TEXTUAL-CONVENTION
77    DISPLAY-HINT "16a"
78    STATUS	current
79    DESCRIPTION
80	"Name of a bridge interface."
81    SYNTAX	OCTET STRING (SIZE(1..16))
82
83BridgeIfNameOrEmpty ::= TEXTUAL-CONVENTION
84    DISPLAY-HINT "16a"
85    STATUS	current
86    DESCRIPTION
87	"Name of a bridge interface."
88    SYNTAX	OCTET STRING (SIZE(0..16))
89
90BridgePortId ::= TEXTUAL-CONVENTION
91    DISPLAY-HINT "1x.1x"
92    STATUS	current
93    DESCRIPTION
94	"A port identifier that contains a bridge port's STP priority
95	in the first octet and the port number in the second octet."
96    SYNTAX	OCTET STRING (SIZE(2))
97
98-- ---------------------------------------------------------- --
99-- subtrees in the Begemot Bridge MIB
100-- ---------------------------------------------------------- --
101begemotBridgeNotifications	OBJECT IDENTIFIER ::= { begemotBridge 0 }
102
103begemotBridgeBase		OBJECT IDENTIFIER ::= { begemotBridge 1 }
104
105begemotBridgeStp		OBJECT IDENTIFIER ::= { begemotBridge 2 }
106
107begemotBridgeTp			OBJECT IDENTIFIER ::= { begemotBridge 3 }
108
109begemotBridgePf			OBJECT IDENTIFIER ::= { begemotBridge 4 }
110
111begemotBridgeConfigObjects	OBJECT IDENTIFIER ::= { begemotBridge 5 }
112
113-- ---------------------------------------------------------- --
114-- the base Bridge interface table
115-- ---------------------------------------------------------- --
116
117begemotBridgeBaseTable OBJECT-TYPE
118    SYNTAX	SEQUENCE OF BegemotBridgeBaseEntry
119    MAX-ACCESS	not-accessible
120    STATUS	current
121    DESCRIPTION
122	"A table that contains generic information for each
123	bridge interface on the managed device."
124    ::= { begemotBridgeBase 1 }
125
126begemotBridgeBaseEntry OBJECT-TYPE
127    SYNTAX	BegemotBridgeBaseEntry
128    MAX-ACCESS	not-accessible
129    STATUS	current
130    DESCRIPTION
131	"A list of information for the bridge interfaces on
132	the managed device."
133    INDEX  { begemotBridgeBaseName }
134    ::= { begemotBridgeBaseTable 1 }
135
136BegemotBridgeBaseEntry ::= SEQUENCE {
137    begemotBridgeBaseName			BridgeIfName,
138    begemotBridgeBaseAddress			MacAddress,
139    begemotBridgeBaseNumPorts			Integer32,
140    begemotBridgeBaseType			INTEGER,
141    begemotBridgeBaseStatus			RowStatus
142}
143
144begemotBridgeBaseName OBJECT-TYPE
145    SYNTAX	BridgeIfName
146    MAX-ACCESS	read-only
147    STATUS	current
148    DESCRIPTION
149	"The name of the bridge interface for which this
150	entry contains management information."
151    ::= { begemotBridgeBaseEntry 1 }
152
153begemotBridgeBaseAddress OBJECT-TYPE
154    SYNTAX	MacAddress
155    MAX-ACCESS	read-only
156    STATUS	current
157    DESCRIPTION
158	"The MAC address of the bridge interface."
159    ::= { begemotBridgeBaseEntry 2 }
160
161begemotBridgeBaseNumPorts OBJECT-TYPE
162    SYNTAX	Integer32
163    MAX-ACCESS	read-only
164    STATUS	current
165    DESCRIPTION
166	"The number of ports, members of this bridge."
167    ::= { begemotBridgeBaseEntry 3 }
168
169begemotBridgeBaseType OBJECT-TYPE
170    SYNTAX	INTEGER {
171		    unknown(1),
172		    transparent-only(2),
173		    sourceroute-only(3),
174		    srt(4)
175		}
176    MAX-ACCESS	read-only
177    STATUS	current
178    DESCRIPTION
179	"Indicates what type of bridging this bridge can
180	perform."
181    ::= { begemotBridgeBaseEntry 4 }
182
183begemotBridgeBaseStatus OBJECT-TYPE
184    SYNTAX	RowStatus
185    MAX-ACCESS	read-create
186    STATUS	current
187    DESCRIPTION
188	"Used to create/destroy bridge interfaces on the
189	managed device."
190    ::= { begemotBridgeBaseEntry 5 }
191
192-- ---------------------------------------------------------- --
193-- the base Bridge ports table
194-- ---------------------------------------------------------- --
195
196begemotBridgeBasePortTable OBJECT-TYPE
197    SYNTAX	SEQUENCE OF BegemotBridgeBasePortEntry
198    MAX-ACCESS	not-accessible
199    STATUS	current
200    DESCRIPTION
201	"A table containing generic information about ports,
202	members of each bridge interface."
203    ::= { begemotBridgeBase 2 }
204
205begemotBridgeBasePortEntry OBJECT-TYPE
206    SYNTAX	BegemotBridgeBasePortEntry
207    MAX-ACCESS	not-accessible
208    STATUS	current
209    DESCRIPTION
210	"A list of information about a specific port, member of
211	a bridge interface."
212    INDEX { begemotBridgeBaseName, begemotBridgeBasePortIfIndex }
213    ::= { begemotBridgeBasePortTable 1 }
214
215BegemotBridgeBasePortEntry  ::= SEQUENCE {
216    begemotBridgeBasePort			Integer32,
217    begemotBridgeBasePortIfIndex		InterfaceIndex,
218    begemotBridgeBaseSpanEnabled		INTEGER,
219    begemotBridgeBasePortDelayExceededDiscards	Counter32,
220    begemotBridgeBasePortMtuExceededDiscards	Counter32,
221    begemotBridgeBasePortStatus			RowStatus,
222    begemotBridgeBasePortPrivate		TruthValue
223}
224
225begemotBridgeBasePort OBJECT-TYPE
226    SYNTAX	Integer32 (1..65535)
227    MAX-ACCESS	read-only
228    STATUS	current
229    DESCRIPTION
230	"The system interface index of the interface corresponding
231	to this port."
232    ::= { begemotBridgeBasePortEntry 1 }
233
234begemotBridgeBasePortIfIndex OBJECT-TYPE
235    SYNTAX	InterfaceIndex
236    MAX-ACCESS	read-only
237    STATUS	current
238    DESCRIPTION
239	"The value of the instance of the ifIndex object,
240	defined in IF-MIB, for the interface corresponding
241	to this port."
242    ::= { begemotBridgeBasePortEntry 2 }
243
244begemotBridgeBaseSpanEnabled OBJECT-TYPE
245    SYNTAX	INTEGER {
246		    enabled(1),
247		    disabled(2)
248		}
249    MAX-ACCESS	read-write
250    STATUS	current
251    DESCRIPTION
252	"The value of this objects reflects whether the port
253	is a span port on the specified bridge interface."
254    ::= { begemotBridgeBasePortEntry 3 }
255
256begemotBridgeBasePortDelayExceededDiscards OBJECT-TYPE
257    SYNTAX	Counter32
258    MAX-ACCESS	read-only
259    STATUS	current
260    DESCRIPTION
261	"The number of frames discarded by this port due
262	to excessive transit delay through the bridge."
263    ::= { begemotBridgeBasePortEntry 4 }
264
265begemotBridgeBasePortMtuExceededDiscards OBJECT-TYPE
266    SYNTAX	Counter32
267    MAX-ACCESS	read-only
268    STATUS	current
269    DESCRIPTION
270	"The number of frames discarded by this port due
271	to an excessive size."
272    ::= { begemotBridgeBasePortEntry 5 }
273
274begemotBridgeBasePortStatus OBJECT-TYPE
275    SYNTAX	RowStatus
276    MAX-ACCESS	read-create
277    STATUS	current
278    DESCRIPTION
279	"Used to control addition of member ports to or
280	removal of member ports from a specified bridge."
281    ::= { begemotBridgeBasePortEntry 6 }
282
283begemotBridgeBasePortPrivate OBJECT-TYPE
284    SYNTAX		TruthValue
285    MAX-ACCESS		read-write
286    STATUS		current
287    DESCRIPTION
288	"The value of this objects reflects whether the port
289	has a PRIVATE flag set. A port with this flags set
290	can only communicate with ports not having the
291	PRIVATE flag set."
292    ::= { begemotBridgeBasePortEntry 7 }
293
294-- ---------------------------------------------------------- --
295-- the Bridge interface STP table
296-- ---------------------------------------------------------- --
297
298begemotBridgeStpTable OBJECT-TYPE
299    SYNTAX	SEQUENCE OF BegemotBridgeStpEntry
300    MAX-ACCESS	not-accessible
301    STATUS	current
302    DESCRIPTION
303	"A table that contains Spanning Tree Protocol information
304	for each bridge interface on the managed device."
305    ::= { begemotBridgeStp 1 }
306
307begemotBridgeStpEntry OBJECT-TYPE
308    SYNTAX	BegemotBridgeStpEntry
309    MAX-ACCESS	not-accessible
310    STATUS	current
311    DESCRIPTION
312	"A list of information about the Spanning Tree Protocol
313	operation on a bridge interface."
314    AUGMENTS { begemotBridgeBaseEntry }
315    ::= { begemotBridgeStpTable 1 }
316
317BegemotBridgeStpEntry ::= SEQUENCE {
318    begemotBridgeStpProtocolSpecification		INTEGER,
319    begemotBridgeStpPriority				Integer32,
320    begemotBridgeStpTimeSinceTopologyChange		TimeTicks,
321    begemotBridgeStpTopChanges				Counter32,
322    begemotBridgeStpDesignatedRoot			BridgeId,
323    begemotBridgeStpRootCost				Integer32,
324    begemotBridgeStpRootPort				Integer32,
325    begemotBridgeStpMaxAge				Timeout,
326    begemotBridgeStpHelloTime				Timeout,
327    begemotBridgeStpHoldTime				Integer32,
328    begemotBridgeStpForwardDelay			Timeout,
329    begemotBridgeStpBridgeMaxAge			Timeout,
330    begemotBridgeStpBridgeHelloTime			Timeout,
331    begemotBridgeStpBridgeForwardDelay			Timeout,
332    begemotBridgeStpVersion				INTEGER,
333    begemotBridgeStpTxHoldCount				Integer32
334}
335
336begemotBridgeStpProtocolSpecification OBJECT-TYPE
337    SYNTAX	INTEGER {
338		    unknown(1),
339		    decLb100(2),
340		    ieee8021d(3)
341		}
342    MAX-ACCESS	read-only
343    STATUS	current
344    DESCRIPTION
345	"The Spanning Tree Protocol version being run on the
346	bridge interface. The value 'decLb100(2)' indicates the
347	DEC LANbridge 100 Spanning Tree protocol, 'ieee8021d(3)'
348	indicates the bridge is running IEEE 802.1D STP
349	implementation."
350    ::= { begemotBridgeStpEntry 1 }
351
352begemotBridgeStpPriority OBJECT-TYPE
353    SYNTAX	Integer32 (0..65535)
354    MAX-ACCESS	read-write
355    STATUS	current
356    DESCRIPTION
357	"The priority value of the bridge interface forming the
358	first two octets of the bridge identifier. Acceptable
359	values are 0-61440, in steps of 4096."
360    ::= { begemotBridgeStpEntry 2 }
361
362begemotBridgeStpTimeSinceTopologyChange OBJECT-TYPE
363    SYNTAX	TimeTicks
364    UNITS	"centi-seconds"
365    MAX-ACCESS	read-only
366    STATUS	current
367    DESCRIPTION
368	"The time (in hundreds of a second) since a topology change
369	was last detected by this bridge."
370    ::= { begemotBridgeStpEntry 3 }
371
372begemotBridgeStpTopChanges OBJECT-TYPE
373    SYNTAX	Counter32
374    MAX-ACCESS	read-only
375    STATUS	current
376    DESCRIPTION
377	"The number of times a topology change was detected by the
378	bridge interface since the management entity was initialized
379	or reset."
380    ::= { begemotBridgeStpEntry 4 }
381
382begemotBridgeStpDesignatedRoot OBJECT-TYPE
383    SYNTAX	BridgeId
384    MAX-ACCESS	read-only
385    STATUS	current
386    DESCRIPTION
387	"The bridge identifier of the root of the spanning tree as
388	calculated by the Spanning Tree Protocol."
389    ::= { begemotBridgeStpEntry 5 }
390
391begemotBridgeStpRootCost OBJECT-TYPE
392    SYNTAX	Integer32
393    MAX-ACCESS	read-only
394    STATUS	current
395    DESCRIPTION
396	"The cost of the path from this bridge to the root bridge."
397    ::= { begemotBridgeStpEntry 6 }
398
399begemotBridgeStpRootPort OBJECT-TYPE
400    SYNTAX	Integer32
401    MAX-ACCESS	read-only
402    STATUS	current
403    DESCRIPTION
404	"The port number of the port that offers the lowest
405	cost path from this bridge to the root bridge of
406	the spanning tree. If this bridge is the root bridge,
407	this object shall have a value of zero."
408    ::= { begemotBridgeStpEntry 7 }
409
410begemotBridgeStpMaxAge OBJECT-TYPE
411    SYNTAX	Timeout
412    UNITS	"centi-seconds"
413    MAX-ACCESS	read-only
414    STATUS	current
415    DESCRIPTION
416	"The maximum age of Spanning Tree Protocol information
417	received from the network on any port, before that
418	information is discarded. This is the actual value that
419	the bridge is currently using."
420    ::= { begemotBridgeStpEntry 8 }
421
422begemotBridgeStpHelloTime OBJECT-TYPE
423    SYNTAX	Timeout
424    UNITS	"centi-seconds"
425    MAX-ACCESS	read-only
426    STATUS	current
427    DESCRIPTION
428	"The amount of time between transmission of
429	Configuration BPDUs by this bridge on any port,
430	when it is the root of the spanning tree or is
431	trying to become so. This is the actual value that
432	this bridge is currently using."
433    ::= { begemotBridgeStpEntry 9 }
434
435begemotBridgeStpHoldTime OBJECT-TYPE
436    SYNTAX	Integer32
437    UNITS	"centi-seconds"
438    MAX-ACCESS	read-only
439    STATUS	current
440    DESCRIPTION
441	"This time value determines the interval length
442	during which no more than two Configuration BPDUs
443	shall be transmitted by this node, in units of
444	hundredths of a second."
445    ::= { begemotBridgeStpEntry 10 }
446
447begemotBridgeStpForwardDelay OBJECT-TYPE
448    SYNTAX	Timeout
449    UNITS	"centi-seconds"
450    MAX-ACCESS	read-only
451    STATUS	current
452    DESCRIPTION
453	"This value, measured in units of hundredths of a second
454	determines how long a port will stay consecutively in the
455	Listening and Learning states before transitioning to
456	Forwarding state.
457	This is the actual value currently used by the bridge
458	as opposed to begemotBridgeStpBridgeForwardDelay, which
459	is the value this and all bridges participating in the
460	spanning tree were to use, if this was the root bridge."
461    ::= { begemotBridgeStpEntry 11 }
462
463begemotBridgeStpBridgeMaxAge OBJECT-TYPE
464    SYNTAX	Timeout (600..4000)
465    UNITS	"centi-seconds"
466    MAX-ACCESS	read-write
467    STATUS	current
468    DESCRIPTION
469	"The value that all bridges participating in the
470	spanning tree would use for MaxAge if this bridge
471	was the root of the spanning tree."
472    ::= { begemotBridgeStpEntry 12 }
473
474begemotBridgeStpBridgeHelloTime OBJECT-TYPE
475    SYNTAX	Timeout (100..1000)
476    UNITS	"centi-seconds"
477    MAX-ACCESS	read-write
478    STATUS	current
479    DESCRIPTION
480	"The value that all bridges participating in the
481	spanning tree would use for HelloTime if this
482	bridge was the root of the spanning tree."
483    ::= { begemotBridgeStpEntry 13 }
484
485begemotBridgeStpBridgeForwardDelay OBJECT-TYPE
486    SYNTAX	Timeout (400..3000)
487    UNITS	"centi-seconds"
488    MAX-ACCESS	read-write
489    STATUS	current
490    DESCRIPTION
491	"The value that all bridges participating in the
492	spanning tree would use for ForwardDelay if this
493	bridge was the root of the spanning tree."
494    ::= { begemotBridgeStpEntry 14 }
495
496begemotBridgeStpVersion OBJECT-TYPE
497    SYNTAX	INTEGER {
498		    stpCompatible(0),
499		    rstp(2)
500		}
501    MAX-ACCESS	read-write
502    STATUS	current
503    DESCRIPTION
504	"The version of Spanning Tree Protocol the bridge is
505	currently running.  The value 'stpCompatible(0)'
506	indicates the Spanning Tree Protocol specified in
507	IEEE 802.1D-1998 and 'rstp(2)' indicates the Rapid
508	Spanning Tree Protocol specified in IEEE 802.1w and
509	clause 17 of 802.1D-2004.  The values are directly from
510	the IEEE standard.  New values may be defined as future
511	versions of the protocol become available.
512
513	The value of this object MUST be retained across
514	reinitializations of the management system."
515    DEFVAL	{ rstp }
516    ::= { begemotBridgeStpEntry 15 }
517
518begemotBridgeStpTxHoldCount OBJECT-TYPE
519    SYNTAX	Integer32 (1..10)
520    MAX-ACCESS	read-write
521    STATUS	current
522    DESCRIPTION
523	"The value used by the Port Transmit state machine to limit
524	the maximum transmission rate of BPDUs on the bridge interface.
525
526	The value of this object MUST be retained across
527	reinitializations of the management system."
528    DEFVAL	{ 3 }
529    ::= { begemotBridgeStpEntry 16 }
530
531-- ---------------------------------------------------------- --
532-- the Bridge STP ports table
533-- ---------------------------------------------------------- --
534
535begemotBridgeStpPortTable OBJECT-TYPE
536    SYNTAX	SEQUENCE OF BegemotBridgeStpPortEntry
537    MAX-ACCESS	not-accessible
538    STATUS	current
539    DESCRIPTION
540	"A table containing Spanning Tree Protocol information
541	about the members of each bridge interface."
542    ::= { begemotBridgeStp 2 }
543
544begemotBridgeStpPortEntry OBJECT-TYPE
545    SYNTAX	BegemotBridgeStpPortEntry
546    MAX-ACCESS	not-accessible
547    STATUS	current
548    DESCRIPTION
549	"A list of Spanning Tree Protocol information about
550	a specific member of a bridge interface."
551    INDEX  { begemotBridgeBaseName,  begemotBridgeBasePortIfIndex }
552    ::= { begemotBridgeStpPortTable 1 }
553
554BegemotBridgeStpPortEntry  ::= SEQUENCE {
555    begemotBridgeStpPort			Integer32,
556    begemotBridgeStpPortPriority		Integer32,
557    begemotBridgeStpPortState			INTEGER,
558    begemotBridgeStpPortEnable			INTEGER,
559    begemotBridgeStpPortPathCost		Integer32,
560    begemotBridgeStpPortDesignatedRoot		BridgeId,
561    begemotBridgeStpPortDesignatedCost		Integer32,
562    begemotBridgeStpPortDesignatedBridge	BridgeId,
563    begemotBridgeStpPortDesignatedPort		BridgePortId,
564    begemotBridgeStpPortForwardTransitions	Counter32
565}
566
567begemotBridgeStpPort OBJECT-TYPE
568    SYNTAX	Integer32 (1..65535)
569    MAX-ACCESS	read-only
570    STATUS	current
571    DESCRIPTION
572	"The system interface index of the interface corresponding
573	to this port, for which the management entity has Spanning
574	Tree Protocol information."
575    ::= { begemotBridgeStpPortEntry 1 }
576
577begemotBridgeStpPortPriority OBJECT-TYPE
578    SYNTAX	Integer32 (0..255)
579    MAX-ACCESS	read-write
580    STATUS	current
581    DESCRIPTION
582	"The STP priority of this port that is contained in the first
583	octet of its Port Identifier. The second octet contains the
584	value of begemotBridgeStpPort."
585    ::= { begemotBridgeStpPortEntry 2 }
586
587begemotBridgeStpPortState OBJECT-TYPE
588    SYNTAX	INTEGER {
589		    disabled(1),
590		    blocking(2),
591		    listening(3),
592		    learning(4),
593		    forwarding(5),
594		    broken(6)
595		}
596    MAX-ACCESS	read-only
597    STATUS	current
598    DESCRIPTION
599	"The current state of the port as defined by the operation
600	of the Spanning Tree Protocol. If the Spanning Tree Protocol
601	is administratively disabled on the port, this object shall
602	have value disabled(1). A value of broken(6) does not correspond
603	to any legal state of a port, and if present should indicate
604	error in the operation of either the Spanning Tree Protocol
605	implementation running on the device or the management entity."
606    ::= { begemotBridgeStpPortEntry 3 }
607
608begemotBridgeStpPortEnable OBJECT-TYPE
609    SYNTAX	INTEGER {
610		    enabled(1),
611		    disabled(2)
612		}
613    MAX-ACCESS	read-write
614    STATUS	current
615    DESCRIPTION
616	"The administrative Spanning Tree Protocol state of the
617	port - value of enabled(1) indicates that the port is
618	participating in the Spanning Tree Protocol operation."
619    ::= { begemotBridgeStpPortEntry 4 }
620
621begemotBridgeStpPortPathCost OBJECT-TYPE
622    SYNTAX	Integer32 (1..65535)
623    MAX-ACCESS	read-write
624    STATUS	current
625    DESCRIPTION
626	"The contribution of the path through this port, when the port
627	is the Root Port, to the total cost of the path to the root
628	bridge for this bridge."
629    ::= { begemotBridgeStpPortEntry 5 }
630
631begemotBridgeStpPortDesignatedRoot OBJECT-TYPE
632    SYNTAX	BridgeId
633    MAX-ACCESS	read-only
634    STATUS	current
635    DESCRIPTION
636	"The unique Bridge Identifier of the bridge recorded as the
637	root in the Root Identifier parameter of Configuration BPDUs
638	transmitted by the Designated Bridge for the LAN to which
639	the port is attached."
640    ::= { begemotBridgeStpPortEntry 6 }
641
642begemotBridgeStpPortDesignatedCost OBJECT-TYPE
643    SYNTAX	Integer32
644    MAX-ACCESS	read-only
645    STATUS	current
646    DESCRIPTION
647	"For a Designated port, the path cost (equal to the Root
648	Path Cost of the bridge) offered to the LAN to which the
649	port is attached otherwise the cost of the path to the Root
650	offered by the Designated Port on the LAN to which this
651	Port is attached."
652    ::= { begemotBridgeStpPortEntry 7 }
653
654begemotBridgeStpPortDesignatedBridge OBJECT-TYPE
655    SYNTAX	BridgeId
656    MAX-ACCESS	read-only
657    STATUS	current
658    DESCRIPTION
659	"The unique Bridge Identifier of the bridge to which the
660	port belongs, in the case when the port is a designated
661	port, otherwise the bridge believed to be the Designated
662	Bridge for the LAN to which this port is attached."
663    ::= { begemotBridgeStpPortEntry 8 }
664
665begemotBridgeStpPortDesignatedPort OBJECT-TYPE
666    SYNTAX	BridgePortId
667    MAX-ACCESS	read-only
668    STATUS	current
669    DESCRIPTION
670	"The Port Identifier of the Bridge port, on the Designated
671	Bridge, through which the Designated Bridge transmits the
672	Configuration Message information stored by this port."
673    ::= { begemotBridgeStpPortEntry 9 }
674
675begemotBridgeStpPortForwardTransitions OBJECT-TYPE
676    SYNTAX	Counter32
677    MAX-ACCESS	read-only
678    STATUS	current
679    DESCRIPTION
680	"The number of times this port has transitioned
681	from the Learning state to the Forwarding state."
682    ::= { begemotBridgeStpPortEntry 10 }
683
684-- ---------------------------------------------------------- --
685-- the Bridge STP extended ports table
686-- ---------------------------------------------------------- --
687
688begemotBridgeStpExtPortTable OBJECT-TYPE
689    SYNTAX	SEQUENCE OF BegemotBridgeStpExtPortEntry
690    MAX-ACCESS	not-accessible
691    STATUS	current
692    DESCRIPTION
693	"A table that contains port-specific Rapid Spanning Tree
694	information for the bridge interface members."
695    ::= { begemotBridgeStp 3 }
696
697begemotBridgeStpExtPortEntry OBJECT-TYPE
698    SYNTAX	BegemotBridgeStpExtPortEntry
699    MAX-ACCESS	not-accessible
700    STATUS	current
701    DESCRIPTION
702	"A list of Rapid Spanning Tree information maintained by
703	each bridge interface member."
704    AUGMENTS    { begemotBridgeStpPortEntry }
705    ::= { begemotBridgeStpExtPortTable 1 }
706
707BegemotBridgeStpExtPortEntry ::= SEQUENCE {
708    begemotBridgeStpPortProtocolMigration	TruthValue,
709    begemotBridgeStpPortAdminEdgePort		TruthValue,
710    begemotBridgeStpPortOperEdgePort		TruthValue,
711    begemotBridgeStpPortAdminPointToPoint	INTEGER,
712    begemotBridgeStpPortOperPointToPoint	TruthValue,
713    begemotBridgeStpPortAdminPathCost		Integer32
714}
715
716begemotBridgeStpPortProtocolMigration OBJECT-TYPE
717    SYNTAX	TruthValue
718    MAX-ACCESS	read-write
719    STATUS	current
720    DESCRIPTION
721	"When operating in RSTP (version 2) mode, writing true(1)
722	to this object forces this port to transmit RSTP BPDUs.
723	Any other operation on this object has no effect and
724	it always returns false(2) when read."
725    ::= { begemotBridgeStpExtPortEntry 1 }
726
727begemotBridgeStpPortAdminEdgePort OBJECT-TYPE
728    SYNTAX	TruthValue
729    MAX-ACCESS	read-write
730    STATUS	current
731    DESCRIPTION
732	"The administrative value of the Edge Port parameter. A
733	value of true(1) indicates that this port should be
734	assumed as an edge-port, and a value of false(2) indicates
735	that this port should be assumed as a non-edge-port.
736	Setting this object will also cause the corresponding
737	instance of begemotBridgeStpPortOperEdgePort to change to
738	the same value.  Note that even when this object's value
739	is true, the value of the corresponding instance of
740	begemotBridgeStpPortOperEdgePort can be false if a BPDU
741	has been received.
742
743	The value of this object MUST be retained across
744	reinitializations of the management system."
745    ::= { begemotBridgeStpExtPortEntry 2 }
746
747begemotBridgeStpPortOperEdgePort OBJECT-TYPE
748    SYNTAX	TruthValue
749    MAX-ACCESS	read-only
750    STATUS	current
751    DESCRIPTION
752	"The operational value of the Edge Port parameter. The
753	object is initialized to the value of the corresponding
754	instance of begemotBridgeStpPortAdminEdgePort. When the
755	corresponding instance of begemotBridgeStpPortAdminEdgePort
756	is set, this object will be changed as well. This object
757	will also be changed to false on reception of a BPDU."
758    ::= { begemotBridgeStpExtPortEntry 3 }
759
760begemotBridgeStpPortAdminPointToPoint OBJECT-TYPE
761    SYNTAX	INTEGER {
762		    forceTrue(0),
763		    forceFalse(1),
764		    auto(2)
765		}
766    MAX-ACCESS	read-write
767    STATUS	current
768    DESCRIPTION
769	"The administrative point-to-point status of the LAN segment
770	attached to this port, using the enumeration values of the
771	IEEE 802.1w clause.  A value of forceTrue(0) indicates
772	that this port should always be treated as if it is
773	connected to a point-to-point link. A value of
774	forceFalse(1) indicates that this port should be treated as
775	having a shared media connection.  A value of auto(2)
776	indicates that this port is considered to have a
777	point-to-point link if it is an Aggregator and all of its
778	members are aggregatable, or if the MAC entity
779	is configured for full duplex operation, either through
780	auto-negotiation or by management means.  Manipulating this
781	object changes the underlying adminPortToPortMAC.
782
783	The value of this object MUST be retained across
784	reinitializations of the management system."
785    ::= { begemotBridgeStpExtPortEntry 4 }
786
787begemotBridgeStpPortOperPointToPoint OBJECT-TYPE
788    SYNTAX	TruthValue
789    MAX-ACCESS	read-only
790    STATUS	current
791    DESCRIPTION
792	"The operational point-to-point status of the LAN segment
793	attached to this port. It indicates whether a port is
794	considered to have a point-to-point connection.
795	If adminPointToPointMAC is set to auto(2), then the value
796	of operPointToPointMAC is determined in accordance with the
797	specific procedures defined for the MAC entity concerned,
798	as defined in IEEE 802.1w, clause 6.5. The value is
799	determined dynamically; that is, it is re-evaluated whenever
800	the value of adminPointToPointMAC changes, and whenever
801	the specific procedures defined for the MAC entity evaluates
802	a change in its point-to-point status."
803    ::= { begemotBridgeStpExtPortEntry 5 }
804
805begemotBridgeStpPortAdminPathCost OBJECT-TYPE
806    SYNTAX	Integer32 (0..200000000)
807    MAX-ACCESS	read-write
808    STATUS	current
809    DESCRIPTION
810	"The administratively assigned value for the contribution
811	of this port to the path cost of paths toward the spanning
812	tree root.
813
814	Writing a value of '0' assigns the automatically calculated
815	default Path Cost value to the port. If the default Path
816	Cost is being used, this object returns '0' when read.
817
818	This complements the object begemotBridgeStpPortPathCost or
819	begemotBridgeStpPortPathCost32, which returns the operational
820	value of the path cost.
821
822	The value of this object MUST be retained across
823	reinitializations of the management system."
824    ::= { begemotBridgeStpExtPortEntry 6 }
825
826-- ---------------------------------------------------------- --
827-- the Bridge interface Transparent bridging table
828-- ---------------------------------------------------------- --
829
830begemotBridgeTpTable OBJECT-TYPE
831    SYNTAX	SEQUENCE OF BegemotBridgeTpEntry
832    MAX-ACCESS	not-accessible
833    STATUS	current
834    DESCRIPTION
835	"A table that contains information regarding transparent
836	bridging for each bridge interface on the managed device."
837    ::= { begemotBridgeTp 1 }
838
839begemotBridgeTpEntry OBJECT-TYPE
840    SYNTAX	BegemotBridgeTpEntry
841    MAX-ACCESS	not-accessible
842    STATUS	current
843    DESCRIPTION
844	"A list of information regarding transparent bridging
845	on a bridge interface."
846    AUGMENTS { begemotBridgeBaseEntry }
847    ::= { begemotBridgeTpTable 1 }
848
849BegemotBridgeTpEntry ::= SEQUENCE {
850    begemotBridgeTpLearnedEntryDiscards		Counter32,
851    begemotBridgeTpAgingTime			Integer32,
852    begemotBridgeTpMaxAddresses			Integer32
853}
854
855begemotBridgeTpLearnedEntryDiscards OBJECT-TYPE
856    SYNTAX	Counter32
857    MAX-ACCESS	read-only
858    STATUS	current
859    DESCRIPTION
860	"The total number of Forwarding Database entries that would
861	have been learnt, but have been discarded due to Forwarding
862	Address Table having reached its maximum entries limit."
863    ::= { begemotBridgeTpEntry 1 }
864
865begemotBridgeTpAgingTime OBJECT-TYPE
866    SYNTAX	Integer32 (10..1000000)
867    UNITS	"seconds"
868    MAX-ACCESS	read-write
869    STATUS	current
870    DESCRIPTION
871	"The timeout period in seconds before aging out
872        dynamically learnt forwarding entries."
873    ::= { begemotBridgeTpEntry 2 }
874
875begemotBridgeTpMaxAddresses OBJECT-TYPE
876    SYNTAX	Integer32 (1..10000)
877    MAX-ACCESS	read-write
878    STATUS	current
879    DESCRIPTION
880	"The maximum number of entries that this bridge can
881	learn in its Forwarding Address Table and use for
882	making forwarding decisions."
883    ::= { begemotBridgeTpEntry 3 }
884
885-- ---------------------------------------------------------- --
886--  The Forwarding Database for Transparent Bridging interfaces
887-- ---------------------------------------------------------- --
888
889begemotBridgeTpFdbTable OBJECT-TYPE
890    SYNTAX	SEQUENCE OF BegemotBridgeTpFdbEntry
891    MAX-ACCESS	not-accessible
892    STATUS	current
893    DESCRIPTION
894	"A table that contains information about unicast entries
895	for which the bridge interfaces have forwarding and/or
896	filtering information. This information is used by the
897	bridge interfaces to make forwarding decisions."
898    ::= { begemotBridgeTp 2 }
899
900begemotBridgeTpFdbEntry OBJECT-TYPE
901    SYNTAX	BegemotBridgeTpFdbEntry
902    MAX-ACCESS	not-accessible
903    STATUS	current
904    DESCRIPTION
905	"Information about a specific unicast MAC address
906	for which the bridge interface has some forwarding
907	and/or filtering information."
908    INDEX   { begemotBridgeBaseName, begemotBridgeTpFdbAddress }
909    ::= { begemotBridgeTpFdbTable 1 }
910
911BegemotBridgeTpFdbEntry ::= SEQUENCE {
912    begemotBridgeTpFdbAddress			MacAddress,
913    begemotBridgeTpFdbPort			Integer32,
914    begemotBridgeTpFdbStatus			INTEGER
915}
916
917begemotBridgeTpFdbAddress OBJECT-TYPE
918    SYNTAX	MacAddress
919    MAX-ACCESS	read-only
920    STATUS	current
921    DESCRIPTION
922	"A unicast MAC address for which the bridge has which the
923	bridge interface has some forwarding and/or filtering
924	information."
925    ::= { begemotBridgeTpFdbEntry 1 }
926
927begemotBridgeTpFdbPort OBJECT-TYPE
928    SYNTAX	Integer32
929    MAX-ACCESS	read-only
930    STATUS	current
931    DESCRIPTION
932	"The port number of the bridge port on which a frame having
933	a source address equal to the value of the corresponding
934	instance of begemotBridgeTpFdbAddress has been seen."
935    ::= { begemotBridgeTpFdbEntry 2 }
936
937begemotBridgeTpFdbStatus OBJECT-TYPE
938    SYNTAX	INTEGER {
939		    other(1),
940		    invalid(2),
941		    learned(3),
942		    self(4),
943		    mgmt(5)
944		}
945    MAX-ACCESS	read-only
946    STATUS	current
947    DESCRIPTION
948	"The status of this entry.  The meanings of the
949	values are:
950	    other(1) - none of the following.
951	    invalid(2) - this entry is no longer valid (e.g.,
952		it was learned but has since aged out), but has
953		not yet been flushed from the table.
954	    learned(3) - the value of the corresponding instance
955		of begemotBridgeTpFdbPort was learned, and is being
956		used.
957	    self(4) - the value of the corresponding instance of
958		begemotBridgeTpFdbAddress represents one of the
959		bridge's addresses.  The corresponding instance of
960		begemotBridgeTpFdbPort indicates which of the bridge's
961		ports has this address.
962	    mgmt(5) - the value of the corresponding instance of
963		begemotBridgeTpFdbAddress has been added to the
964		bridge's Forwarding Database by some management
965		means."
966    ::= { begemotBridgeTpFdbEntry 3 }
967
968-- ---------------------------------------------------------- --
969--  Ports table for Transparent Bridging interfaces
970-- ---------------------------------------------------------- --
971
972begemotBridgeTpPortTable OBJECT-TYPE
973    SYNTAX	SEQUENCE OF BegemotBridgeTpPortEntry
974    MAX-ACCESS	not-accessible
975    STATUS	current
976    DESCRIPTION
977	"A table that contains information about every bridge port,
978	member of a bridge interface, associated with the transparent
979	bridging function of the bridge."
980    ::= { begemotBridgeTp 3 }
981
982begemotBridgeTpPortEntry OBJECT-TYPE
983    SYNTAX	BegemotBridgeTpPortEntry
984    MAX-ACCESS	not-accessible
985    STATUS	current
986    DESCRIPTION
987	"A list of information about every bridge port, member of a
988	bridge interface, associated with the bridge's transparent
989	bridging function."
990    INDEX  { begemotBridgeBaseName,  begemotBridgeBasePortIfIndex }
991    ::= { begemotBridgeTpPortTable 1 }
992
993BegemotBridgeTpPortEntry  ::= SEQUENCE {
994    begemotBridgeTpPort				Integer32,
995    begemotBridgeTpPortMaxInfo			Integer32,
996    begemotBridgeTpPortInFrames			Counter32,
997    begemotBridgeTpPortOutFrames		Counter32,
998    begemotBridgeTpPortInDiscards		Counter32
999}
1000
1001begemotBridgeTpPort OBJECT-TYPE
1002    SYNTAX	Integer32 (1..65535)
1003    MAX-ACCESS	read-only
1004    STATUS	current
1005    DESCRIPTION
1006	"The system interface index of the port for which this entry
1007	contains Transparent bridging management information."
1008    ::= { begemotBridgeTpPortEntry 1 }
1009
1010begemotBridgeTpPortMaxInfo OBJECT-TYPE
1011    SYNTAX	Integer32
1012    UNITS	"bytes"
1013    MAX-ACCESS	read-only
1014    STATUS	current
1015    DESCRIPTION
1016	"The maximum size of the INFO (non-MAC) field that this port
1017	will receive or transmit."
1018    ::= { begemotBridgeTpPortEntry 2 }
1019
1020begemotBridgeTpPortInFrames OBJECT-TYPE
1021    SYNTAX	Counter32
1022    UNITS	"frames"
1023    MAX-ACCESS	read-only
1024    STATUS	current
1025    DESCRIPTION
1026	"The number of frames that have been received by this
1027	port from its segment.  Note that a frame received on the
1028	interface corresponding to this port is only counted by
1029	this object if and only if it is for a protocol being
1030	processed by the local bridging function, including
1031	bridge management frames."
1032    ::= { begemotBridgeTpPortEntry 3 }
1033
1034begemotBridgeTpPortOutFrames OBJECT-TYPE
1035    SYNTAX	Counter32
1036    UNITS	"frames"
1037    MAX-ACCESS	read-only
1038    STATUS	current
1039    DESCRIPTION
1040	"The number of frames that have been transmitted by this
1041	port to its segment.  Note that a frame transmitted on
1042	the interface corresponding to this port is only counted
1043	by this object if and only if it is for a protocol being
1044	processed by the local bridging function, including
1045	bridge management frames."
1046    ::= { begemotBridgeTpPortEntry 4 }
1047
1048begemotBridgeTpPortInDiscards OBJECT-TYPE
1049    SYNTAX	Counter32
1050    UNITS	"frames"
1051    MAX-ACCESS	read-only
1052    STATUS	current
1053    DESCRIPTION
1054	"Count of received valid frames that were discarded
1055	(i.e., filtered) by the Forwarding Process."
1056    ::= { begemotBridgeTpPortEntry  5 }
1057
1058-- ---------------------------------------------------------- --
1059-- the begemotBridgePf objects
1060-- ---------------------------------------------------------- --
1061
1062begemotBridgePfilStatus OBJECT-TYPE
1063    SYNTAX	TruthValue
1064    MAX-ACCESS	read-write
1065    STATUS	current
1066    DESCRIPTION
1067	"Indicates whether packet filtering by some firewall
1068	package is enabled on the bridge interface."
1069    ::= { begemotBridgePf 1 }
1070
1071begemotBridgePfilMembers OBJECT-TYPE
1072    SYNTAX	TruthValue
1073    MAX-ACCESS	read-write
1074    STATUS	current
1075    DESCRIPTION
1076	"A value of true(1) indicates that packet filtering is
1077	enabled on both incoming and outgoing bridge member
1078	interfaces."
1079    ::= { begemotBridgePf 2 }
1080
1081begemotBridgePfilIpOnly OBJECT-TYPE
1082    SYNTAX	TruthValue
1083    MAX-ACCESS	read-write
1084    STATUS	current
1085    DESCRIPTION
1086	"This value controls the handling of non-IP packets which
1087	are not passed on for further processing to a firewall
1088	package. A value of false(0) indicates that all non-IP
1089	Ethernet frames are passed unconditionally."
1090    ::= { begemotBridgePf 3 }
1091
1092begemotBridgeLayer2PfStatus OBJECT-TYPE
1093    SYNTAX	INTEGER {
1094		    enabled(1),
1095		    disabled(2)
1096		}
1097    MAX-ACCESS	read-write
1098    STATUS	current
1099    DESCRIPTION
1100	"This value indicates whether layer2 filtering by a
1101	firewall package is enabled for bridge interfaces."
1102    ::= { begemotBridgePf 4 }
1103
1104-- ---------------------------------------------------------- --
1105-- the begemotBridgeConfigObjects objects
1106-- ---------------------------------------------------------- --
1107
1108begemotBridgeDefaultBridgeIf OBJECT-TYPE
1109
1110    SYNTAX	BridgeIfNameOrEmpty
1111    MAX-ACCESS	read-write
1112    STATUS	current
1113    DESCRIPTION
1114	"The name of the bridge interface that will be managed
1115	via objects in IETF BRIDGE-MIB (RFC4188). If the
1116	object's value is set to an empty string, bridge interfaces
1117	will only be managed via objects in this MIB module."
1118    DEFVAL	{ "bridge0" }
1119    ::= { begemotBridgeConfigObjects 1 }
1120
1121begemotBridgeDataUpdate OBJECT-TYPE
1122
1123    SYNTAX	Timeout (1..300)
1124    UNITS       "seconds"
1125    MAX-ACCESS	read-write
1126    STATUS	current
1127    DESCRIPTION
1128	"The maximum age in seconds of the cached data."
1129    DEFVAL	{ 10 }
1130    ::= { begemotBridgeConfigObjects 2 }
1131
1132begemotBridgeDataPoll OBJECT-TYPE
1133
1134    SYNTAX	Timeout (1..3600)
1135    UNITS       "seconds"
1136    MAX-ACCESS	read-write
1137    STATUS	current
1138    DESCRIPTION
1139	"The polling rate of data when the module is idle."
1140    DEFVAL	{ 300 }
1141    ::= { begemotBridgeConfigObjects 3 }
1142
1143-- ---------------------------------------------------------- --
1144-- Notifications for the Spanning Tree Protocol
1145-- ---------------------------------------------------------- --
1146
1147begemotBridgeNewRoot NOTIFICATION-TYPE
1148    OBJECTS	{ begemotBridgeBaseName }
1149    STATUS	current
1150    DESCRIPTION
1151	"The begemotBridgeNewRoot trap indicates that one of the
1152	bridge interfaces on the sending agent's device has
1153	become the new root of the spanning tree topology it is
1154	participating in."
1155    ::= { begemotBridgeNotifications 1 }
1156
1157begemotBridgeTopologyChange NOTIFICATION-TYPE
1158    OBJECTS	{ begemotBridgeBaseName }
1159    STATUS	current
1160    DESCRIPTION
1161	"A begemotBridgeTopologyChange trap is send when a member
1162	port on one of the bridge interfaces, monitored by the agent,
1163	transitions from the Learning state to the Forwarding state,
1164	or from the Forwarding state to the Blocking state. The trap
1165	is not sent if a begemotBridgeNewRoot trap is sent for the
1166	same transition."
1167    ::= { begemotBridgeNotifications 2 }
1168
1169END
1170