Debian Codegraph @

mibs/IF-MIB

raw
1 -- extracted from rfc2233.txt
2
3 IF-MIB DEFINITIONS ::= BEGIN
4
5 IMPORTS
6 MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32, Counter64,
7 Integer32, TimeTicks, mib-2,
8 NOTIFICATION-TYPE FROM SNMPv2-SMI
9 TEXTUAL-CONVENTION, DisplayString,
10 PhysAddress, TruthValue, RowStatus,
11 TimeStamp, AutonomousType, TestAndIncr FROM SNMPv2-TC
12 MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
13 snmpTraps FROM SNMPv2-MIB
14 IANAifType FROM IANAifType-MIB;
15
16 ifMIB MODULE-IDENTITY
17 LAST-UPDATED "9611031355Z"
18 ORGANIZATION "IETF Interfaces MIB Working Group"
19 CONTACT-INFO
20 " Keith McCloghrie
21 Cisco Systems, Inc.
22 170 West Tasman Drive
23 San Jose, CA 95134-1706
24 US
25
26 408-526-5260
27 [email protected]"
28 DESCRIPTION
29 "The MIB module to describe generic objects for
30 network interface sub-layers. This MIB is an updated
31 version of MIB-II's ifTable, and incorporates the
32 extensions defined in RFC 1229."
33 REVISION "9602282155Z"
34 DESCRIPTION
35 "Revisions made by the Interfaces MIB WG."
36 REVISION "9311082155Z"
37 DESCRIPTION
38 "Initial revision, published as part of RFC 1573."
39 ::= { mib-2 31 }
40
41
42 ifMIBObjects OBJECT IDENTIFIER ::= { ifMIB 1 }
43
44 interfaces OBJECT IDENTIFIER ::= { mib-2 2 }
45
46
47 OwnerString ::= TEXTUAL-CONVENTION
48 DISPLAY-HINT "255a"
49 STATUS current
50 DESCRIPTION
51 "This data type is used to model an administratively
52 assigned name of the owner of a resource. This
53 information is taken from the NVT ASCII character set.
54 It is suggested that this name contain one or more of
55 the following: ASCII form of the manager station's
56 transport address, management station name (e.g.,
57 domain name), network management personnel's name,
58 location, or phone number. In some cases the agent
59 itself will be the owner of an entry. In these cases,
60 this string shall be set to a string starting with
61 'agent'."
62 SYNTAX OCTET STRING (SIZE(0..255))
63
64 -- InterfaceIndex contains the semantics of ifIndex and
65 -- should be used for any objects defined on other mib
66 -- modules that need these semantics.
67
68 InterfaceIndex ::= TEXTUAL-CONVENTION
69 DISPLAY-HINT "d"
70 STATUS current
71 DESCRIPTION
72 "A unique value, greater than zero, for each interface
73 or interface sub-layer in the managed system. It is
74 recommended that values are assigned contiguously
75 starting from 1. The value for each interface sub-
76 layer must remain constant at least from one re-
77 initialization of the entity's network management
78 system to the next re-initialization."
79 SYNTAX Integer32 (1..2147483647)
80
81
82 InterfaceIndexOrZero ::= TEXTUAL-CONVENTION
83 DISPLAY-HINT "d"
84 STATUS current
85 DESCRIPTION
86 "This textual convention is an extension of the
87 InterfaceIndex convention. The latter defines a
88 greater than zero value used to identify an interface
89 or interface sub-layer in the managed system. This
90 extension permits the additional value of zero. the
91 value zero is object-specific and must therefore be
92 defined as part of the description of any object which
93 uses this syntax. Examples of the usage of zero might
94 include situations where interface was unknown, or
95 when none or all interfaces need to be referenced."
96 SYNTAX Integer32 (0..2147483647)
97
98
99 ifNumber OBJECT-TYPE
100 SYNTAX Integer32
101 MAX-ACCESS read-only
102 STATUS current
103 DESCRIPTION
104 "The number of network interfaces (regardless of their
105 current state) present on this system."
106 ::= { interfaces 1 }
107
108 ifTableLastChange OBJECT-TYPE
109 SYNTAX TimeTicks
110 MAX-ACCESS read-only
111 STATUS current
112 DESCRIPTION
113 "The value of sysUpTime at the time of the last
114 creation or deletion of an entry in the ifTable. If
115 the number of entries has been unchanged since the
116 last re-initialization of the local network management
117 subsystem, then this object contains a zero value."
118 ::= { ifMIBObjects 5 }
119
120
121 -- the Interfaces table
122
123 -- The Interfaces table contains information on the entity's
124 -- interfaces. Each sub-layer below the internetwork-layer
125 -- of a network interface is considered to be an interface.
126
127 ifTable OBJECT-TYPE
128 SYNTAX SEQUENCE OF IfEntry
129 MAX-ACCESS not-accessible
130 STATUS current
131 DESCRIPTION
132 "A list of interface entries. The number of entries
133 is given by the value of ifNumber."
134 ::= { interfaces 2 }
135
136 ifEntry OBJECT-TYPE
137 SYNTAX IfEntry
138 MAX-ACCESS not-accessible
139 STATUS current
140 DESCRIPTION
141 "An entry containing management information applicable
142 to a particular interface."
143 INDEX { ifIndex }
144
145
146
147 ::= { ifTable 1 }
148
149 IfEntry ::=
150 SEQUENCE {
151 ifIndex InterfaceIndex,
152 ifDescr DisplayString,
153 ifType IANAifType,
154 ifMtu Integer32,
155 ifSpeed Gauge32,
156 ifPhysAddress PhysAddress,
157 ifAdminStatus INTEGER,
158 ifOperStatus INTEGER,
159 ifLastChange TimeTicks,
160 ifInOctets Counter32,
161 ifInUcastPkts Counter32,
162 ifInNUcastPkts Counter32, -- deprecated
163 ifInDiscards Counter32,
164 ifInErrors Counter32,
165 ifInUnknownProtos Counter32,
166 ifOutOctets Counter32,
167 ifOutUcastPkts Counter32,
168 ifOutNUcastPkts Counter32, -- deprecated
169 ifOutDiscards Counter32,
170 ifOutErrors Counter32,
171 ifOutQLen Gauge32, -- deprecated
172 ifSpecific OBJECT IDENTIFIER -- deprecated
173 }
174
175
176 ifIndex OBJECT-TYPE
177 SYNTAX InterfaceIndex
178 MAX-ACCESS read-only
179 STATUS current
180 DESCRIPTION
181 "A unique value, greater than zero, for each
182 interface. It is recommended that values are assigned
183 contiguously starting from 1. The value for each
184 interface sub-layer must remain constant at least from
185 one re-initialization of the entity's network
186 management system to the next re-initialization."
187 ::= { ifEntry 1 }
188
189 ifDescr OBJECT-TYPE
190 SYNTAX DisplayString (SIZE (0..255))
191 MAX-ACCESS read-only
192
193
194 STATUS current
195 DESCRIPTION
196 "A textual string containing information about the
197 interface. This string should include the name of the
198 manufacturer, the product name and the version of the
199 interface hardware/software."
200 ::= { ifEntry 2 }
201
202 ifType OBJECT-TYPE
203 SYNTAX IANAifType
204 MAX-ACCESS read-only
205 STATUS current
206 DESCRIPTION
207 "The type of interface. Additional values for ifType
208 are assigned by the Internet Assigned Numbers
209 Authority (IANA), through updating the syntax of the
210 IANAifType textual convention."
211 ::= { ifEntry 3 }
212
213 ifMtu OBJECT-TYPE
214 SYNTAX Integer32
215 MAX-ACCESS read-only
216 STATUS current
217 DESCRIPTION
218 "The size of the largest packet which can be
219 sent/received on the interface, specified in octets.
220 For interfaces that are used for transmitting network
221 datagrams, this is the size of the largest network
222 datagram that can be sent on the interface."
223 ::= { ifEntry 4 }
224
225 ifSpeed OBJECT-TYPE
226 SYNTAX Gauge32
227 MAX-ACCESS read-only
228 STATUS current
229 DESCRIPTION
230 "An estimate of the interface's current bandwidth in
231 bits per second. For interfaces which do not vary in
232 bandwidth or for those where no accurate estimation
233 can be made, this object should contain the nominal
234 bandwidth. If the bandwidth of the interface is
235 greater than the maximum value reportable by this
236 object then this object should report its maximum
237 value (4,294,967,295) and ifHighSpeed must be used to
238 report the interace's speed. For a sub-layer which
239 has no concept of bandwidth, this object should be
240 zero."
241 ::= { ifEntry 5 }
242
243 ifPhysAddress OBJECT-TYPE
244 SYNTAX PhysAddress
245 MAX-ACCESS read-only
246 STATUS current
247 DESCRIPTION
248 "The interface's address at its protocol sub-layer.
249 For example, for an 802.x interface, this object
250 normally contains a MAC address. The interface's
251 media-specific MIB must define the bit and byte
252 ordering and the format of the value of this object.
253 For interfaces which do not have such an address
254 (e.g., a serial line), this object should contain an
255 octet string of zero length."
256 ::= { ifEntry 6 }
257
258 ifAdminStatus OBJECT-TYPE
259 SYNTAX INTEGER {
260 up(1), -- ready to pass packets
261 down(2),
262 testing(3) -- in some test mode
263 }
264 MAX-ACCESS read-write
265 STATUS current
266 DESCRIPTION
267 "The desired state of the interface. The testing(3)
268 state indicates that no operational packets can be
269 passed. When a managed system initializes, all
270 interfaces start with ifAdminStatus in the down(2)
271 state. As a result of either explicit management
272 action or per configuration information retained by
273 the managed system, ifAdminStatus is then changed to
274 either the up(1) or testing(3) states (or remains in
275 the down(2) state)."
276 ::= { ifEntry 7 }
277
278 ifOperStatus OBJECT-TYPE
279 SYNTAX INTEGER {
280 up(1), -- ready to pass packets
281 down(2),
282 testing(3), -- in some test mode
283 unknown(4), -- status can not be determined
284 -- for some reason.
285 dormant(5),
286 notPresent(6), -- some component is missing
287 lowerLayerDown(7) -- down due to state of
288 -- lower-layer interface(s)
289 }
290 MAX-ACCESS read-only
291 STATUS current
292 DESCRIPTION
293 "The current operational state of the interface. The
294 testing(3) state indicates that no operational packets
295 can be passed. If ifAdminStatus is down(2) then
296 ifOperStatus should be down(2). If ifAdminStatus is
297 changed to up(1) then ifOperStatus should change to
298 up(1) if the interface is ready to transmit and
299 receive network traffic; it should change to
300 dormant(5) if the interface is waiting for external
301 actions (such as a serial line waiting for an incoming
302 connection); it should remain in the down(2) state if
303 and only if there is a fault that prevents it from
304 going to the up(1) state; it should remain in the
305 notPresent(6) state if the interface has missing
306 (typically, hardware) components."
307 ::= { ifEntry 8 }
308
309 ifLastChange OBJECT-TYPE
310 SYNTAX TimeTicks
311 MAX-ACCESS read-only
312 STATUS current
313 DESCRIPTION
314 "The value of sysUpTime at the time the interface
315 entered its current operational state. If the current
316 state was entered prior to the last re-initialization
317 of the local network management subsystem, then this
318 object contains a zero value."
319 ::= { ifEntry 9 }
320
321 ifInOctets OBJECT-TYPE
322 SYNTAX Counter32
323 MAX-ACCESS read-only
324 STATUS current
325 DESCRIPTION
326 "The total number of octets received on the interface,
327 including framing characters.
328
329 Discontinuities in the value of this counter can occur
330 at re-initialization of the management system, and at
331 other times as indicated by the value of
332 ifCounterDiscontinuityTime."
333 ::= { ifEntry 10 }
334
335 ifInUcastPkts OBJECT-TYPE
336 SYNTAX Counter32
337 MAX-ACCESS read-only
338 STATUS current
339 DESCRIPTION
340 "The number of packets, delivered by this sub-layer to
341 a higher (sub-)layer, which were not addressed to a
342 multicast or broadcast address at this sub-layer.
343
344 Discontinuities in the value of this counter can occur
345 at re-initialization of the management system, and at
346 other times as indicated by the value of
347 ifCounterDiscontinuityTime."
348 ::= { ifEntry 11 }
349
350 ifInNUcastPkts OBJECT-TYPE
351 SYNTAX Counter32
352 MAX-ACCESS read-only
353 STATUS deprecated
354 DESCRIPTION
355 "The number of packets, delivered by this sub-layer to
356 a higher (sub-)layer, which were addressed to a
357 multicast or broadcast address at this sub-layer.
358
359 Discontinuities in the value of this counter can occur
360 at re-initialization of the management system, and at
361 other times as indicated by the value of
362 ifCounterDiscontinuityTime.
363
364 This object is deprecated in favour of
365 ifInMulticastPkts and ifInBroadcastPkts."
366 ::= { ifEntry 12 }
367
368 ifInDiscards OBJECT-TYPE
369 SYNTAX Counter32
370 MAX-ACCESS read-only
371 STATUS current
372 DESCRIPTION
373 "The number of inbound packets which were chosen to be
374 discarded even though no errors had been detected to
375 prevent their being deliverable to a higher-layer
376 protocol. One possible reason for discarding such a
377 packet could be to free up buffer space.
378
379 Discontinuities in the value of this counter can occur
380 at re-initialization of the management system, and at
381 other times as indicated by the value of
382 ifCounterDiscontinuityTime."
383 ::= { ifEntry 13 }
384
385 ifInErrors OBJECT-TYPE
386 SYNTAX Counter32
387 MAX-ACCESS read-only
388 STATUS current
389 DESCRIPTION
390 "For packet-oriented interfaces, the number of inbound
391 packets that contained errors preventing them from
392 being deliverable to a higher-layer protocol. For
393 character-oriented or fixed-length interfaces, the
394 number of inbound transmission units that contained
395 errors preventing them from being deliverable to a
396 higher-layer protocol.
397
398 Discontinuities in the value of this counter can occur
399 at re-initialization of the management system, and at
400 other times as indicated by the value of
401 ifCounterDiscontinuityTime."
402 ::= { ifEntry 14 }
403
404 ifInUnknownProtos OBJECT-TYPE
405 SYNTAX Counter32
406 MAX-ACCESS read-only
407 STATUS current
408 DESCRIPTION
409 "For packet-oriented interfaces, the number of packets
410 received via the interface which were discarded
411 because of an unknown or unsupported protocol. For
412 character-oriented or fixed-length interfaces that
413 support protocol multiplexing the number of
414 transmission units received via the interface which
415 were discarded because of an unknown or unsupported
416 protocol. For any interface that does not support
417 protocol multiplexing, this counter will always be 0.
418
419 Discontinuities in the value of this counter can occur
420 at re-initialization of the management system, and at
421 other times as indicated by the value of
422 ifCounterDiscontinuityTime."
423 ::= { ifEntry 15 }
424
425 ifOutOctets OBJECT-TYPE
426 SYNTAX Counter32
427 MAX-ACCESS read-only
428 STATUS current
429 DESCRIPTION
430 "The total number of octets transmitted out of the
431 interface, including framing characters.
432
433 Discontinuities in the value of this counter can occur
434 at re-initialization of the management system, and at
435 other times as indicated by the value of
436 ifCounterDiscontinuityTime."
437 ::= { ifEntry 16 }
438
439 ifOutUcastPkts OBJECT-TYPE
440 SYNTAX Counter32
441 MAX-ACCESS read-only
442 STATUS current
443 DESCRIPTION
444 "The total number of packets that higher-level
445 protocols requested be transmitted, and which were not
446 addressed to a multicast or broadcast address at this
447 sub-layer, including those that were discarded or not
448 sent.
449
450 Discontinuities in the value of this counter can occur
451 at re-initialization of the management system, and at
452 other times as indicated by the value of
453 ifCounterDiscontinuityTime."
454 ::= { ifEntry 17 }
455
456 ifOutNUcastPkts OBJECT-TYPE
457 SYNTAX Counter32
458 MAX-ACCESS read-only
459 STATUS deprecated
460 DESCRIPTION
461 "The total number of packets that higher-level
462 protocols requested be transmitted, and which were
463 addressed to a multicast or broadcast address at this
464 sub-layer, including those that were discarded or not
465 sent.
466
467 Discontinuities in the value of this counter can occur
468 at re-initialization of the management system, and at
469 other times as indicated by the value of
470 ifCounterDiscontinuityTime.
471 This object is deprecated in favour of
472 ifOutMulticastPkts and ifOutBroadcastPkts."
473 ::= { ifEntry 18 }
474
475 ifOutDiscards OBJECT-TYPE
476 SYNTAX Counter32
477 MAX-ACCESS read-only
478 STATUS current
479 DESCRIPTION
480 "The number of outbound packets which were chosen to
481 be discarded even though no errors had been detected
482 to prevent their being transmitted. One possible
483 reason for discarding such a packet could be to free
484 up buffer space.
485
486 Discontinuities in the value of this counter can occur
487 at re-initialization of the management system, and at
488 other times as indicated by the value of
489 ifCounterDiscontinuityTime."
490 ::= { ifEntry 19 }
491
492 ifOutErrors OBJECT-TYPE
493 SYNTAX Counter32
494 MAX-ACCESS read-only
495 STATUS current
496 DESCRIPTION
497 "For packet-oriented interfaces, the number of
498 outbound packets that could not be transmitted because
499 of errors. For character-oriented or fixed-length
500 interfaces, the number of outbound transmission units
501 that could not be transmitted because of errors.
502
503 Discontinuities in the value of this counter can occur
504 at re-initialization of the management system, and at
505 other times as indicated by the value of
506 ifCounterDiscontinuityTime."
507 ::= { ifEntry 20 }
508
509
510 ifOutQLen OBJECT-TYPE
511 SYNTAX Gauge32
512 MAX-ACCESS read-only
513 STATUS deprecated
514 DESCRIPTION
515 "The length of the output packet queue (in packets)."
516 ::= { ifEntry 21 }
517
518 ifSpecific OBJECT-TYPE
519 SYNTAX OBJECT IDENTIFIER
520 MAX-ACCESS read-only
521 STATUS deprecated
522 DESCRIPTION
523 "A reference to MIB definitions specific to the
524 particular media being used to realize the interface.
525 It is recommended that this value point to an instance
526 of a MIB object in the media-specific MIB, i.e., that
527 this object have the semantics associated with the
528 InstancePointer textual convention defined in RFC
529 1903. In fact, it is recommended that the media-
530 specific MIB specify what value ifSpecific should/can
531 take for values of ifType. If no MIB definitions
532 specific to the particular media are available, the
533 value should be set to the OBJECT IDENTIFIER { 0 0 }."
534 ::= { ifEntry 22 }
535
536
537
538 --
539 -- Extension to the interface table
540 --
541 -- This table replaces the ifExtnsTable table.
542 --
543
544 ifXTable OBJECT-TYPE
545 SYNTAX SEQUENCE OF IfXEntry
546 MAX-ACCESS not-accessible
547 STATUS current
548 DESCRIPTION
549 "A list of interface entries. The number of entries
550 is given by the value of ifNumber. This table
551 contains additional objects for the interface table."
552 ::= { ifMIBObjects 1 }
553
554 ifXEntry OBJECT-TYPE
555 SYNTAX IfXEntry
556 MAX-ACCESS not-accessible
557 STATUS current
558 DESCRIPTION
559 "An entry containing additional management information
560 applicable to a particular interface."
561 AUGMENTS { ifEntry }
562 ::= { ifXTable 1 }
563
564 IfXEntry ::=
565 SEQUENCE {
566 ifName DisplayString,
567 ifInMulticastPkts Counter32,
568 ifInBroadcastPkts Counter32,
569 ifOutMulticastPkts Counter32,
570 ifOutBroadcastPkts Counter32,
571 ifHCInOctets Counter64,
572 ifHCInUcastPkts Counter64,
573 ifHCInMulticastPkts Counter64,
574 ifHCInBroadcastPkts Counter64,
575 ifHCOutOctets Counter64,
576 ifHCOutUcastPkts Counter64,
577 ifHCOutMulticastPkts Counter64,
578 ifHCOutBroadcastPkts Counter64,
579 ifLinkUpDownTrapEnable INTEGER,
580 ifHighSpeed Gauge32,
581 ifPromiscuousMode TruthValue,
582 ifConnectorPresent TruthValue,
583 ifAlias DisplayString,
584 ifCounterDiscontinuityTime TimeStamp
585 }
586
587
588 ifName OBJECT-TYPE
589 SYNTAX DisplayString
590 MAX-ACCESS read-only
591 STATUS current
592 DESCRIPTION
593 "The textual name of the interface. The value of this
594 object should be the name of the interface as assigned
595 by the local device and should be suitable for use in
596 commands entered at the device's `console'. This
597 might be a text name, such as `le0' or a simple port
598 number, such as `1', depending on the interface naming
599 syntax of the device. If several entries in the
600 ifTable together represent a single interface as named
601 by the device, then each will have the same value of
602 ifName. Note that for an agent which responds to SNMP
603 queries concerning an interface on some other
604 (proxied) device, then the value of ifName for such an
605 interface is the proxied device's local name for it.
606
607 If there is no local name, or this object is otherwise
608 not applicable, then this object contains a zero-
609 length string."
610 ::= { ifXEntry 1 }
611
612 ifInMulticastPkts OBJECT-TYPE
613 SYNTAX Counter32
614 MAX-ACCESS read-only
615 STATUS current
616 DESCRIPTION
617 "The number of packets, delivered by this sub-layer to
618 a higher (sub-)layer, which were addressed to a
619 multicast address at this sub-layer. For a MAC layer
620 protocol, this includes both Group and Functional
621 addresses.
622
623 Discontinuities in the value of this counter can occur
624 at re-initialization of the management system, and at
625 other times as indicated by the value of
626 ifCounterDiscontinuityTime."
627 ::= { ifXEntry 2 }
628
629 ifInBroadcastPkts OBJECT-TYPE
630 SYNTAX Counter32
631 MAX-ACCESS read-only
632 STATUS current
633 DESCRIPTION
634 "The number of packets, delivered by this sub-layer to
635 a higher (sub-)layer, which were addressed to a
636 broadcast address at this sub-layer.
637
638 Discontinuities in the value of this counter can occur
639 at re-initialization of the management system, and at
640 other times as indicated by the value of
641 ifCounterDiscontinuityTime."
642 ::= { ifXEntry 3 }
643
644 ifOutMulticastPkts OBJECT-TYPE
645 SYNTAX Counter32
646 MAX-ACCESS read-only
647 STATUS current
648 DESCRIPTION
649 "The total number of packets that higher-level
650 protocols requested be transmitted, and which were
651 addressed to a multicast address at this sub-layer,
652 including those that were discarded or not sent. For
653 a MAC layer protocol, this includes both Group and
654 Functional addresses.
655
656 Discontinuities in the value of this counter can occur
657 at re-initialization of the management system, and at
658 other times as indicated by the value of
659 ifCounterDiscontinuityTime."
660 ::= { ifXEntry 4 }
661
662 ifOutBroadcastPkts OBJECT-TYPE
663 SYNTAX Counter32
664 MAX-ACCESS read-only
665 STATUS current
666 DESCRIPTION
667 "The total number of packets that higher-level
668 protocols requested be transmitted, and which were
669 addressed to a broadcast address at this sub-layer,
670 including those that were discarded or not sent.
671
672 Discontinuities in the value of this counter can occur
673 at re-initialization of the management system, and at
674 other times as indicated by the value of
675 ifCounterDiscontinuityTime."
676 ::= { ifXEntry 5 }
677
678 --
679 -- High Capacity Counter objects. These objects are all
680 -- 64 bit versions of the "basic" ifTable counters. These
681 -- objects all have the same basic semantics as their 32-bit
682 -- counterparts, however, their syntax has been extended
683 -- to 64 bits.
684 --
685
686 ifHCInOctets OBJECT-TYPE
687 SYNTAX Counter64
688 MAX-ACCESS read-only
689 STATUS current
690
691 DESCRIPTION
692 "The total number of octets received on the interface,
693 including framing characters. This object is a 64-bit
694 version of ifInOctets.
695
696 Discontinuities in the value of this counter can occur
697 at re-initialization of the management system, and at
698 other times as indicated by the value of
699 ifCounterDiscontinuityTime."
700 ::= { ifXEntry 6 }
701
702 ifHCInUcastPkts OBJECT-TYPE
703 SYNTAX Counter64
704 MAX-ACCESS read-only
705 STATUS current
706 DESCRIPTION
707 "The number of packets, delivered by this sub-layer to
708 a higher (sub-)layer, which were not addressed to a
709 multicast or broadcast address at this sub-layer.
710 This object is a 64-bit version of ifInUcastPkts.
711
712 Discontinuities in the value of this counter can occur
713 at re-initialization of the management system, and at
714 other times as indicated by the value of
715 ifCounterDiscontinuityTime."
716 ::= { ifXEntry 7 }
717
718 ifHCInMulticastPkts OBJECT-TYPE
719 SYNTAX Counter64
720 MAX-ACCESS read-only
721 STATUS current
722 DESCRIPTION
723 "The number of packets, delivered by this sub-layer to
724 a higher (sub-)layer, which were addressed to a
725 multicast address at this sub-layer. For a MAC layer
726 protocol, this includes both Group and Functional
727 addresses. This object is a 64-bit version of
728 ifInMulticastPkts.
729
730 Discontinuities in the value of this counter can occur
731 at re-initialization of the management system, and at
732 other times as indicated by the value of
733 ifCounterDiscontinuityTime."
734 ::= { ifXEntry 8 }
735
736
737 ifHCInBroadcastPkts OBJECT-TYPE
738 SYNTAX Counter64
739 MAX-ACCESS read-only
740 STATUS current
741 DESCRIPTION
742 "The number of packets, delivered by this sub-layer to
743 a higher (sub-)layer, which were addressed to a
744 broadcast address at this sub-layer. This object is a
745 64-bit version of ifInBroadcastPkts.
746
747 Discontinuities in the value of this counter can occur
748 at re-initialization of the management system, and at
749 other times as indicated by the value of
750 ifCounterDiscontinuityTime."
751 ::= { ifXEntry 9 }
752
753 ifHCOutOctets OBJECT-TYPE
754 SYNTAX Counter64
755 MAX-ACCESS read-only
756 STATUS current
757 DESCRIPTION
758 "The total number of octets transmitted out of the
759 interface, including framing characters. This object
760 is a 64-bit version of ifOutOctets.
761
762 Discontinuities in the value of this counter can occur
763 at re-initialization of the management system, and at
764 other times as indicated by the value of
765 ifCounterDiscontinuityTime."
766 ::= { ifXEntry 10 }
767
768 ifHCOutUcastPkts OBJECT-TYPE
769 SYNTAX Counter64
770 MAX-ACCESS read-only
771 STATUS current
772 DESCRIPTION
773 "The total number of packets that higher-level
774 protocols requested be transmitted, and which were not
775 addressed to a multicast or broadcast address at this
776 sub-layer, including those that were discarded or not
777 sent. This object is a 64-bit version of
778 ifOutUcastPkts.
779
780 Discontinuities in the value of this counter can occur
781 at re-initialization of the management system, and at
782 other times as indicated by the value of
783 ifCounterDiscontinuityTime."
784 ::= { ifXEntry 11 }
785
786 ifHCOutMulticastPkts OBJECT-TYPE
787 SYNTAX Counter64
788 MAX-ACCESS read-only
789 STATUS current
790 DESCRIPTION
791 "The total number of packets that higher-level
792 protocols requested be transmitted, and which were
793 addressed to a multicast address at this sub-layer,
794 including those that were discarded or not sent. For
795 a MAC layer protocol, this includes both Group and
796 Functional addresses. This object is a 64-bit version
797 of ifOutMulticastPkts.
798
799 Discontinuities in the value of this counter can occur
800 at re-initialization of the management system, and at
801 other times as indicated by the value of
802 ifCounterDiscontinuityTime."
803 ::= { ifXEntry 12 }
804
805 ifHCOutBroadcastPkts OBJECT-TYPE
806 SYNTAX Counter64
807 MAX-ACCESS read-only
808 STATUS current
809 DESCRIPTION
810 "The total number of packets that higher-level
811 protocols requested be transmitted, and which were
812 addressed to a broadcast address at this sub-layer,
813 including those that were discarded or not sent. This
814 object is a 64-bit version of ifOutBroadcastPkts.
815
816 Discontinuities in the value of this counter can occur
817 at re-initialization of the management system, and at
818 other times as indicated by the value of
819 ifCounterDiscontinuityTime."
820 ::= { ifXEntry 13 }
821
822 ifLinkUpDownTrapEnable OBJECT-TYPE
823 SYNTAX INTEGER { enabled(1), disabled(2) }
824 MAX-ACCESS read-write
825 STATUS current
826 DESCRIPTION
827
828 "Indicates whether linkUp/linkDown traps should be
829 generated for this interface.
830
831 By default, this object should have the value
832 enabled(1) for interfaces which do not operate on
833 'top' of any other interface (as defined in the
834 ifStackTable), and disabled(2) otherwise."
835 ::= { ifXEntry 14 }
836
837 ifHighSpeed OBJECT-TYPE
838 SYNTAX Gauge32
839 MAX-ACCESS read-only
840 STATUS current
841 DESCRIPTION
842 "An estimate of the interface's current bandwidth in
843 units of 1,000,000 bits per second. If this object
844 reports a value of `n' then the speed of the interface
845 is somewhere in the range of `n-500,000' to
846 `n+499,999'. For interfaces which do not vary in
847 bandwidth or for those where no accurate estimation
848 can be made, this object should contain the nominal
849 bandwidth. For a sub-layer which has no concept of
850 bandwidth, this object should be zero."
851 ::= { ifXEntry 15 }
852
853 ifPromiscuousMode OBJECT-TYPE
854 SYNTAX TruthValue
855 MAX-ACCESS read-write
856 STATUS current
857 DESCRIPTION
858 "This object has a value of false(2) if this interface
859 only accepts packets/frames that are addressed to this
860 station. This object has a value of true(1) when the
861 station accepts all packets/frames transmitted on the
862 media. The value true(1) is only legal on certain
863 types of media. If legal, setting this object to a
864 value of true(1) may require the interface to be reset
865 before becoming effective.
866
867 The value of ifPromiscuousMode does not affect the
868 reception of broadcast and multicast packets/frames by
869 the interface."
870 ::= { ifXEntry 16 }
871
872 ifConnectorPresent OBJECT-TYPE
873 SYNTAX TruthValue
874 MAX-ACCESS read-only
875 STATUS current
876 DESCRIPTION
877 "This object has the value 'true(1)' if the interface
878 sublayer has a physical connector and the value
879 'false(2)' otherwise."
880 ::= { ifXEntry 17 }
881
882 ifAlias OBJECT-TYPE
883 SYNTAX DisplayString (SIZE(0..64))
884 MAX-ACCESS read-write
885 STATUS current
886 DESCRIPTION
887 "This object is an 'alias' name for the interface as
888 specified by a network manager, and provides a non-
889 volatile 'handle' for the interface.
890
891 On the first instantiation of an interface, the value
892 of ifAlias associated with that interface is the
893 zero-length string. As and when a value is written
894 into an instance of ifAlias through a network
895 management set operation, then the agent must retain
896 the supplied value in the ifAlias instance associated
897 with the same interface for as long as that interface
898 remains instantiated, including across all re-
899 initializations/reboots of the network management
900 system, including those which result in a change of
901 the interface's ifIndex value.
902
903 An example of the value which a network manager might
904 store in this object for a WAN interface is the
905 (Telco's) circuit number/identifier of the interface.
906
907 Some agents may support write-access only for
908 interfaces having particular values of ifType. An
909 agent which supports write access to this object is
910 required to keep the value in non-volatile storage,
911 but it may limit the length of new values depending on
912 how much storage is already occupied by the current
913 values for other interfaces."
914 ::= { ifXEntry 18 }
915
916 ifCounterDiscontinuityTime OBJECT-TYPE
917 SYNTAX TimeStamp
918 MAX-ACCESS read-only
919 STATUS current
920 DESCRIPTION
921 "The value of sysUpTime on the most recent occasion at
922 which any one or more of this interface's counters
923 suffered a discontinuity. The relevant counters are
924 the specific instances associated with this interface
925 of any Counter32 or Counter64 object contained in the
926 ifTable or ifXTable. If no such discontinuities have
927 occurred since the last re-initialization of the local
928 management subsystem, then this object contains a zero
929 value."
930 ::= { ifXEntry 19 }
931
932
933 -- The Interface Stack Group
934 --
935 -- Implementation of this group is mandatory for all systems
936 --
937
938 ifStackTable OBJECT-TYPE
939 SYNTAX SEQUENCE OF IfStackEntry
940 MAX-ACCESS not-accessible
941 STATUS current
942 DESCRIPTION
943 "The table containing information on the relationships
944 between the multiple sub-layers of network interfaces.
945 In particular, it contains information on which sub-
946 layers run 'on top of' which other sub-layers, where
947 each sub-layer corresponds to a conceptual row in the
948 ifTable. For example, when the sub-layer with ifIndex
949 value x runs over the sub-layer with ifIndex value y,
950 then this table contains:
951
952 ifStackStatus.x.y=active
953
954 For each ifIndex value, I, which identifies an active
955 interface, there are always at least two instantiated
956 rows in this table associated with I. For one of
957 these rows, I is the value of ifStackHigherLayer; for
958 the other, I is the value of ifStackLowerLayer. (If I
959 is not involved in multiplexing, then these are the
960 only two rows associated with I.)
961
962 For example, two rows exist even for an interface
963 which has no others stacked on top or below it:
964
965 ifStackStatus.0.x=active
966 ifStackStatus.x.0=active "
967 ::= { ifMIBObjects 2 }
968
969
970 ifStackEntry OBJECT-TYPE
971 SYNTAX IfStackEntry
972 MAX-ACCESS not-accessible
973 STATUS current
974 DESCRIPTION
975 "Information on a particular relationship between two
976 sub-layers, specifying that one sub-layer runs on
977 'top' of the other sub-layer. Each sub-layer
978 corresponds to a conceptual row in the ifTable."
979 INDEX { ifStackHigherLayer, ifStackLowerLayer }
980 ::= { ifStackTable 1 }
981
982
983 IfStackEntry ::=
984 SEQUENCE {
985 ifStackHigherLayer Integer32,
986 ifStackLowerLayer Integer32,
987 ifStackStatus RowStatus
988 }
989
990 ifStackHigherLayer OBJECT-TYPE
991 SYNTAX Integer32
992 MAX-ACCESS not-accessible
993 STATUS current
994 DESCRIPTION
995 "The value of ifIndex corresponding to the higher
996 sub-layer of the relationship, i.e., the sub-layer
997 which runs on 'top' of the sub-layer identified by the
998 corresponding instance of ifStackLowerLayer. If there
999 is no higher sub-layer (below the internetwork layer),
1000 then this object has the value 0."
1001 ::= { ifStackEntry 1 }
1002
1003
1004 ifStackLowerLayer OBJECT-TYPE
1005 SYNTAX Integer32
1006 MAX-ACCESS not-accessible
1007 STATUS current
1008 DESCRIPTION
1009 "The value of ifIndex corresponding to the lower sub-
1010 layer of the relationship, i.e., the sub-layer which
1011 runs 'below' the sub-layer identified by the
1012 corresponding instance of ifStackHigherLayer. If
1013 there is no lower sub-layer, then this object has the
1014 value 0."
1015 ::= { ifStackEntry 2 }
1016
1017
1018 ifStackStatus OBJECT-TYPE
1019 SYNTAX RowStatus
1020 MAX-ACCESS read-create
1021 STATUS current
1022 DESCRIPTION
1023 "The status of the relationship between two sub-
1024 layers.
1025
1026 Changing the value of this object from 'active' to
1027 'notInService' or 'destroy' will likely have
1028 consequences up and down the interface stack. Thus,
1029 write access to this object is likely to be
1030 inappropriate for some types of interfaces, and many
1031 implementations will choose not to support write-
1032 access for any type of interface."
1033 ::= { ifStackEntry 3 }
1034
1035 ifStackLastChange OBJECT-TYPE
1036 SYNTAX TimeTicks
1037 MAX-ACCESS read-only
1038 STATUS current
1039 DESCRIPTION
1040 "The value of sysUpTime at the time of the last change
1041 of the (whole) interface stack. A change of the
1042 interface stack is defined to be any creation,
1043 deletion, or change in value of any instance of
1044 ifStackStatus. If the interface stack has been
1045 unchanged since the last re-initialization of the
1046 local network management subsystem, then this object
1047 contains a zero value."
1048 ::= { ifMIBObjects 6 }
1049
1050
1051 -- Generic Receive Address Table
1052 --
1053 -- This group of objects is mandatory for all types of
1054 -- interfaces which can receive packets/frames addressed to
1055 -- more than one address.
1056 --
1057 -- This table replaces the ifExtnsRcvAddr table. The main
1058 -- difference is that this table makes use of the RowStatus
1059 -- textual convention, while ifExtnsRcvAddr did not.
1060
1061 ifRcvAddressTable OBJECT-TYPE
1062 SYNTAX SEQUENCE OF IfRcvAddressEntry
1063 MAX-ACCESS not-accessible
1064 STATUS current
1065 DESCRIPTION
1066 "This table contains an entry for each address
1067 (broadcast, multicast, or uni-cast) for which the
1068 system will receive packets/frames on a particular
1069 interface, except as follows:
1070
1071 - for an interface operating in promiscuous mode,
1072 entries are only required for those addresses for
1073 which the system would receive frames were it not
1074 operating in promiscuous mode.
1075
1076 - for 802.5 functional addresses, only one entry is
1077 required, for the address which has the functional
1078 address bit ANDed with the bit mask of all functional
1079 addresses for which the interface will accept frames.
1080
1081 A system is normally able to use any unicast address
1082 which corresponds to an entry in this table as a
1083 source address."
1084 ::= { ifMIBObjects 4 }
1085
1086 ifRcvAddressEntry OBJECT-TYPE
1087 SYNTAX IfRcvAddressEntry
1088 MAX-ACCESS not-accessible
1089 STATUS current
1090 DESCRIPTION
1091 "A list of objects identifying an address for which
1092 the system will accept packets/frames on the
1093 particular interface identified by the index value
1094 ifIndex."
1095 INDEX { ifIndex, ifRcvAddressAddress }
1096 ::= { ifRcvAddressTable 1 }
1097
1098 IfRcvAddressEntry ::=
1099 SEQUENCE {
1100 ifRcvAddressAddress PhysAddress,
1101 ifRcvAddressStatus RowStatus,
1102 ifRcvAddressType INTEGER
1103 }
1104
1105 ifRcvAddressAddress OBJECT-TYPE
1106 SYNTAX PhysAddress
1107 MAX-ACCESS not-accessible
1108 STATUS current
1109 DESCRIPTION
1110 "An address for which the system will accept
1111 packets/frames on this entry's interface."
1112
1113 ::= { ifRcvAddressEntry 1 }
1114
1115 ifRcvAddressStatus OBJECT-TYPE
1116 SYNTAX RowStatus
1117 MAX-ACCESS read-create
1118 STATUS current
1119 DESCRIPTION
1120 "This object is used to create and delete rows in the
1121 ifRcvAddressTable."
1122
1123 ::= { ifRcvAddressEntry 2 }
1124
1125 ifRcvAddressType OBJECT-TYPE
1126 SYNTAX INTEGER {
1127 other(1),
1128 volatile(2),
1129 nonVolatile(3)
1130 }
1131
1132 MAX-ACCESS read-create
1133 STATUS current
1134 DESCRIPTION
1135 "This object has the value nonVolatile(3) for those
1136 entries in the table which are valid and will not be
1137 deleted by the next restart of the managed system.
1138 Entries having the value volatile(2) are valid and
1139 exist, but have not been saved, so that will not exist
1140 after the next restart of the managed system. Entries
1141 having the value other(1) are valid and exist but are
1142 not classified as to whether they will continue to
1143 exist after the next restart."
1144
1145 DEFVAL { volatile }
1146 ::= { ifRcvAddressEntry 3 }
1147
1148 -- definition of interface-related traps.
1149
1150 linkDown NOTIFICATION-TYPE
1151 OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
1152 STATUS current
1153 DESCRIPTION
1154 "A linkDown trap signifies that the SNMPv2 entity,
1155 acting in an agent role, has detected that the
1156 ifOperStatus object for one of its communication links
1157 is about to enter the down state from some other state
1158 (but not from the notPresent state). This other state
1159 is indicated by the included value of ifOperStatus."
1160 ::= { snmpTraps 3 }
1161
1162 linkUp NOTIFICATION-TYPE
1163 OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
1164 STATUS current
1165 DESCRIPTION
1166 "A linkDown trap signifies that the SNMPv2 entity,
1167 acting in an agent role, has detected that the
1168 ifOperStatus object for one of its communication links
1169 left the down state and transitioned into some other
1170 state (but not into the notPresent state). This other
1171 state is indicated by the included value of
1172 ifOperStatus."
1173 ::= { snmpTraps 4 }
1174
1175 -- conformance information
1176
1177 ifConformance OBJECT IDENTIFIER ::= { ifMIB 2 }
1178
1179 ifGroups OBJECT IDENTIFIER ::= { ifConformance 1 }
1180 ifCompliances OBJECT IDENTIFIER ::= { ifConformance 2 }
1181
1182 -- compliance statements
1183
1184 ifCompliance2 MODULE-COMPLIANCE
1185 STATUS current
1186 DESCRIPTION
1187 "The compliance statement for SNMPv2 entities which
1188 have network interfaces."
1189
1190 MODULE -- this module
1191 MANDATORY-GROUPS { ifGeneralInformationGroup, ifStackGroup2,
1192 ifCounterDiscontinuityGroup }
1193
1194 GROUP ifFixedLengthGroup
1195 DESCRIPTION
1196 "This group is mandatory for all network interfaces
1197 which are character-oriented or transmit data in
1198 fixed-length transmission units."
1199
1200 GROUP ifHCFixedLengthGroup
1201 DESCRIPTION
1202 "This group is mandatory only for those network
1203 interfaces which are character-oriented or transmit
1204 data in fixed-length transmission units, and for which
1205 the value of the corresponding instance of ifSpeed is
1206 greater than 20,000,000 bits/second."
1207
1208 GROUP ifPacketGroup
1209 DESCRIPTION
1210 "This group is mandatory for all network interfaces
1211 which are packet-oriented."
1212
1213 GROUP ifHCPacketGroup
1214 DESCRIPTION
1215 "This group is mandatory only for those network
1216 interfaces which are packet-oriented and for which the
1217 value of the corresponding instance of ifSpeed is
1218 greater than 650,000,000 bits/second."
1219
1220 GROUP ifRcvAddressGroup
1221 DESCRIPTION
1222 "The applicability of this group MUST be defined by
1223 the media-specific MIBs. Media-specific MIBs must
1224 define the exact meaning, use, and semantics of the
1225 addresses in this group."
1226 OBJECT ifLinkUpDownTrapEnable
1227 MIN-ACCESS read-only
1228 DESCRIPTION
1229 "Write access is not required."
1230
1231 OBJECT ifPromiscuousMode
1232 MIN-ACCESS read-only
1233 DESCRIPTION
1234 "Write access is not required."
1235
1236 OBJECT ifStackStatus
1237 SYNTAX INTEGER { active(1) } -- subset of RowStatus
1238 MIN-ACCESS read-only
1239 DESCRIPTION
1240 "Write access is not required, and only one of the six
1241 enumerated values for the RowStatus textual convention
1242 need be supported, specifically: active(1)."
1243
1244 OBJECT ifAdminStatus
1245 SYNTAX INTEGER { up(1), down(2) }
1246 MIN-ACCESS read-only
1247 DESCRIPTION
1248 "Write access is not required, nor is support for the
1249 value testing(3)."
1250
1251 OBJECT ifAlias
1252 MIN-ACCESS read-only
1253 DESCRIPTION
1254 "Write access is not required."
1255
1256 ::= { ifCompliances 2 }
1257
1258 -- units of conformance
1259
1260 ifGeneralInformationGroup OBJECT-GROUP
1261 OBJECTS { ifIndex, ifDescr, ifType, ifSpeed, ifPhysAddress,
1262 ifAdminStatus, ifOperStatus, ifLastChange,
1263 ifLinkUpDownTrapEnable, ifConnectorPresent,
1264 ifHighSpeed, ifName, ifNumber, ifAlias,
1265 ifTableLastChange }
1266 STATUS current
1267 DESCRIPTION
1268 "A collection of objects providing information
1269 applicable to all network interfaces."
1270 ::= { ifGroups 10 }
1271
1272 -- the following five groups are mutually exclusive; at most
1273 -- one of these groups is implemented for any interface
1274
1275 ifFixedLengthGroup OBJECT-GROUP
1276 OBJECTS { ifInOctets, ifOutOctets, ifInUnknownProtos,
1277 ifInErrors, ifOutErrors }
1278 STATUS current
1279 DESCRIPTION
1280 "A collection of objects providing information
1281 specific to non-high speed (non-high speed interfaces
1282 transmit and receive at speeds less than or equal to
1283 20,000,000 bits/second) character-oriented or fixed-
1284 length-transmission network interfaces."
1285 ::= { ifGroups 2 }
1286
1287 ifHCFixedLengthGroup OBJECT-GROUP
1288 OBJECTS { ifHCInOctets, ifHCOutOctets,
1289 ifInOctets, ifOutOctets, ifInUnknownProtos,
1290 ifInErrors, ifOutErrors }
1291 STATUS current
1292 DESCRIPTION
1293 "A collection of objects providing information
1294 specific to high speed (greater than 20,000,000
1295 bits/second) character-oriented or fixed-length-
1296 transmission network interfaces."
1297 ::= { ifGroups 3 }
1298
1299 ifPacketGroup OBJECT-GROUP
1300 OBJECTS { ifInOctets, ifOutOctets, ifInUnknownProtos,
1301 ifInErrors, ifOutErrors,
1302 ifMtu, ifInUcastPkts, ifInMulticastPkts,
1303 ifInBroadcastPkts, ifInDiscards,
1304 ifOutUcastPkts, ifOutMulticastPkts,
1305 ifOutBroadcastPkts, ifOutDiscards,
1306 ifPromiscuousMode }
1307 STATUS current
1308 DESCRIPTION
1309 "A collection of objects providing information
1310 specific to non-high speed (non-high speed interfaces
1311 transmit and receive at speeds less than or equal to
1312 20,000,000 bits/second) packet-oriented network
1313 interfaces."
1314 ::= { ifGroups 4 }
1315
1316 ifHCPacketGroup OBJECT-GROUP
1317 OBJECTS { ifHCInOctets, ifHCOutOctets,
1318 ifInOctets, ifOutOctets, ifInUnknownProtos,
1319 ifInErrors, ifOutErrors,
1320 ifMtu, ifInUcastPkts, ifInMulticastPkts,
1321 ifInBroadcastPkts, ifInDiscards,
1322 ifOutUcastPkts, ifOutMulticastPkts,
1323 ifOutBroadcastPkts, ifOutDiscards,
1324 ifPromiscuousMode }
1325 STATUS current
1326 DESCRIPTION
1327 "A collection of objects providing information
1328 specific to high speed (greater than 20,000,000
1329 bits/second but less than or equal to 650,000,000
1330 bits/second) packet-oriented network interfaces."
1331 ::= { ifGroups 5 }
1332
1333 ifVHCPacketGroup OBJECT-GROUP
1334 OBJECTS { ifHCInUcastPkts, ifHCInMulticastPkts,
1335 ifHCInBroadcastPkts, ifHCOutUcastPkts,
1336 ifHCOutMulticastPkts, ifHCOutBroadcastPkts,
1337 ifHCInOctets, ifHCOutOctets,
1338 ifInOctets, ifOutOctets, ifInUnknownProtos,
1339 ifInErrors, ifOutErrors,
1340 ifMtu, ifInUcastPkts, ifInMulticastPkts,
1341 ifInBroadcastPkts, ifInDiscards,
1342 ifOutUcastPkts, ifOutMulticastPkts,
1343 ifOutBroadcastPkts, ifOutDiscards,
1344 ifPromiscuousMode }
1345 STATUS current
1346 DESCRIPTION
1347 "A collection of objects providing information
1348 specific to higher speed (greater than 650,000,000
1349 bits/second) packet-oriented network interfaces."
1350 ::= { ifGroups 6 }
1351
1352 ifRcvAddressGroup OBJECT-GROUP
1353 OBJECTS { ifRcvAddressStatus, ifRcvAddressType }
1354 STATUS current
1355 DESCRIPTION
1356 "A collection of objects providing information on the
1357 multiple addresses which an interface receives."
1358 ::= { ifGroups 7 }
1359
1360 ifStackGroup2 OBJECT-GROUP
1361 OBJECTS { ifStackStatus, ifStackLastChange }
1362 STATUS current
1363 DESCRIPTION
1364 "A collection of objects providing information on the
1365 layering of MIB-II interfaces."
1366 ::= { ifGroups 11 }
1367
1368 ifCounterDiscontinuityGroup OBJECT-GROUP
1369 OBJECTS { ifCounterDiscontinuityTime }
1370 STATUS current
1371 DESCRIPTION
1372 "A collection of objects providing information
1373 specific to interface counter discontinuities."
1374 ::= { ifGroups 13 }
1375
1376 -- Deprecated Definitions - Objects
1377
1378
1379 --
1380 -- The Interface Test Table
1381 --
1382 -- This group of objects is optional. However, a media-specific
1383 -- MIB may make implementation of this group mandatory.
1384 --
1385 -- This table replaces the ifExtnsTestTable
1386 --
1387
1388 ifTestTable OBJECT-TYPE
1389 SYNTAX SEQUENCE OF IfTestEntry
1390 MAX-ACCESS not-accessible
1391 STATUS deprecated
1392 DESCRIPTION
1393 "This table contains one entry per interface. It
1394 defines objects which allow a network manager to
1395 instruct an agent to test an interface for various
1396 faults. Tests for an interface are defined in the
1397 media-specific MIB for that interface. After invoking
1398 a test, the object ifTestResult can be read to
1399 determine the outcome. If an agent can not perform
1400 the test, ifTestResult is set to so indicate. The
1401 object ifTestCode can be used to provide further
1402 test-specific or interface-specific (or even
1403 enterprise-specific) information concerning the
1404 outcome of the test. Only one test can be in progress
1405 on each interface at any one time. If one test is in
1406 progress when another test is invoked, the second test
1407 is rejected. Some agents may reject a test when a
1408 prior test is active on another interface.
1409
1410 Before starting a test, a manager-station must first
1411 obtain 'ownership' of the entry in the ifTestTable for
1412 the interface to be tested. This is accomplished with
1413 the ifTestId and ifTestStatus objects as follows:
1414
1415 try_again:
1416 get (ifTestId, ifTestStatus)
1417 while (ifTestStatus != notInUse)
1418 /*
1419 * Loop while a test is running or some other
1420 * manager is configuring a test.
1421 */
1422 short delay
1423 get (ifTestId, ifTestStatus)
1424 }
1425
1426 /*
1427 * Is not being used right now -- let's compete
1428 * to see who gets it.
1429 */
1430 lock_value = ifTestId
1431
1432 if ( set(ifTestId = lock_value, ifTestStatus = inUse,
1433 ifTestOwner = 'my-IP-address') == FAILURE)
1434 /*
1435 * Another manager got the ifTestEntry -- go
1436 * try again
1437 */
1438 goto try_again;
1439
1440 /*
1441 * I have the lock
1442 */
1443 set up any test parameters.
1444
1445 /*
1446 * This starts the test
1447 */
1448 set(ifTestType = test_to_run);
1449
1450 wait for test completion by polling ifTestResult
1451
1452 when test completes, agent sets ifTestResult
1453 agent also sets ifTestStatus = 'notInUse'
1454
1455 retrieve any additional test results, and ifTestId
1456
1457 if (ifTestId == lock_value+1) results are valid
1458
1459 A manager station first retrieves the value of the
1460 appropriate ifTestId and ifTestStatus objects,
1461 periodically repeating the retrieval if necessary,
1462 until the value of ifTestStatus is 'notInUse'. The
1463 manager station then tries to set the same ifTestId
1464 object to the value it just retrieved, the same
1465 ifTestStatus object to 'inUse', and the corresponding
1466 ifTestOwner object to a value indicating itself. If
1467 the set operation succeeds then the manager has
1468 obtained ownership of the ifTestEntry, and the value of
1469 the ifTestId object is incremented by the agent (per
1470 the semantics of TestAndIncr). Failure of the set
1471 operation indicates that some other manager has
1472 obtained ownership of the ifTestEntry.
1473
1474 Once ownership is obtained, any test parameters can be
1475 setup, and then the test is initiated by setting
1476 ifTestType. On completion of the test, the agent sets
1477 ifTestStatus to 'notInUse'. Once this occurs, the
1478 manager can retrieve the results. In the (rare) event
1479 that the invocation of tests by two network managers
1480 were to overlap, then there would be a possibility that
1481 the first test's results might be overwritten by the
1482 second test's results prior to the first results being
1483 read. This unlikely circumstance can be detected by a
1484 network manager retrieving ifTestId at the same time as
1485 retrieving the test results, and ensuring that the
1486 results are for the desired request.
1487
1488 If ifTestType is not set within an abnormally long
1489 period of time after ownership is obtained, the agent
1490 should time-out the manager, and reset the value of the
1491 ifTestStatus object back to 'notInUse'. It is
1492 suggested that this time-out period be 5 minutes.
1493
1494 In general, a management station must not retransmit a
1495 request to invoke a test for which it does not receive
1496 a response; instead, it properly inspects an agent's
1497 MIB to determine if the invocation was successful.
1498 Only if the invocation was unsuccessful, is the
1499 invocation request retransmitted.
1500
1501 Some tests may require the interface to be taken off-
1502 line in order to execute them, or may even require the
1503 agent to reboot after completion of the test. In these
1504 circumstances, communication with the management
1505 station invoking the test may be lost until after
1506 completion of the test. An agent is not required to
1507 support such tests. However, if such tests are
1508 supported, then the agent should make every effort to
1509 transmit a response to the request which invoked the
1510 test prior to losing communication. When the agent is
1511 restored to normal service, the results of the test are
1512 properly made available in the appropriate objects.
1513 Note that this requires that the ifIndex value assigned
1514 to an interface must be unchanged even if the test
1515 causes a reboot. An agent must reject any test for
1516 which it cannot, perhaps due to resource constraints,
1517 make available at least the minimum amount of
1518 information after that test completes."
1519 ::= { ifMIBObjects 3 }
1520
1521 ifTestEntry OBJECT-TYPE
1522 SYNTAX IfTestEntry
1523 MAX-ACCESS not-accessible
1524 STATUS deprecated
1525 DESCRIPTION
1526 "An entry containing objects for invoking tests on an
1527 interface."
1528 AUGMENTS { ifEntry }
1529 ::= { ifTestTable 1 }
1530
1531 IfTestEntry ::=
1532 SEQUENCE {
1533 ifTestId TestAndIncr,
1534 ifTestStatus INTEGER,
1535 ifTestType AutonomousType,
1536 ifTestResult INTEGER,
1537 ifTestCode OBJECT IDENTIFIER,
1538 ifTestOwner OwnerString
1539 }
1540
1541 ifTestId OBJECT-TYPE
1542 SYNTAX TestAndIncr
1543 MAX-ACCESS read-write
1544 STATUS deprecated
1545 DESCRIPTION
1546 "This object identifies the current invocation of the
1547 interface's test."
1548 ::= { ifTestEntry 1 }
1549
1550 ifTestStatus OBJECT-TYPE
1551 SYNTAX INTEGER { notInUse(1), inUse(2) }
1552 MAX-ACCESS read-write
1553 STATUS deprecated
1554 DESCRIPTION
1555 "This object indicates whether or not some manager
1556 currently has the necessary 'ownership' required to
1557 invoke a test on this interface. A write to this
1558 object is only successful when it changes its value
1559 from 'notInUse(1)' to 'inUse(2)'. After completion of
1560 a test, the agent resets the value back to
1561 'notInUse(1)'."
1562 ::= { ifTestEntry 2 }
1563
1564 ifTestType OBJECT-TYPE
1565 SYNTAX AutonomousType
1566 MAX-ACCESS read-write
1567 STATUS deprecated
1568 DESCRIPTION
1569 "A control variable used to start and stop operator-
1570 initiated interface tests. Most OBJECT IDENTIFIER
1571 values assigned to tests are defined elsewhere, in
1572 association with specific types of interface.
1573 However, this document assigns a value for a full-
1574 duplex loopback test, and defines the special meanings
1575 of the subject identifier:
1576
1577 noTest OBJECT IDENTIFIER ::= { 0 0 }
1578
1579 When the value noTest is written to this object, no
1580 action is taken unless a test is in progress, in which
1581 case the test is aborted. Writing any other value to
1582 this object is only valid when no test is currently in
1583 progress, in which case the indicated test is
1584 initiated.
1585
1586 When read, this object always returns the most recent
1587 value that ifTestType was set to. If it has not been
1588 set since the last initialization of the network
1589 management subsystem on the agent, a value of noTest
1590 is returned."
1591 ::= { ifTestEntry 3 }
1592
1593 ifTestResult OBJECT-TYPE
1594 SYNTAX INTEGER {
1595 none(1), -- no test yet requested
1596 success(2),
1597 inProgress(3),
1598 notSupported(4),
1599 unAbleToRun(5), -- due to state of system
1600 aborted(6),
1601 failed(7)
1602 }
1603 MAX-ACCESS read-only
1604 STATUS deprecated
1605 DESCRIPTION
1606 "This object contains the result of the most recently
1607 requested test, or the value none(1) if no tests have
1608 been requested since the last reset. Note that this
1609 facility provides no provision for saving the results
1610 of one test when starting another, as could be
1611 required if used by multiple managers concurrently."
1612 ::= { ifTestEntry 4 }
1613
1614 ifTestCode OBJECT-TYPE
1615 SYNTAX OBJECT IDENTIFIER
1616 MAX-ACCESS read-only
1617 STATUS deprecated
1618 DESCRIPTION
1619 "This object contains a code which contains more
1620 specific information on the test result, for example
1621 an error-code after a failed test. Error codes and
1622 other values this object may take are specific to the
1623 type of interface and/or test. The value may have the
1624 semantics of either the AutonomousType or
1625 InstancePointer textual conventions as defined in RFC
1626 1903. The identifier:
1627
1628 testCodeUnknown OBJECT IDENTIFIER ::= { 0 0 }
1629
1630 is defined for use if no additional result code is
1631 available."
1632 ::= { ifTestEntry 5 }
1633
1634 ifTestOwner OBJECT-TYPE
1635 SYNTAX OwnerString
1636 MAX-ACCESS read-write
1637 STATUS deprecated
1638 DESCRIPTION
1639 "The entity which currently has the 'ownership'
1640 required to invoke a test on this interface."
1641 ::= { ifTestEntry 6 }
1642
1643 -- Deprecated Definitions - Groups
1644
1645
1646 ifGeneralGroup OBJECT-GROUP
1647 OBJECTS { ifDescr, ifType, ifSpeed, ifPhysAddress,
1648 ifAdminStatus, ifOperStatus, ifLastChange,
1649 ifLinkUpDownTrapEnable, ifConnectorPresent,
1650 ifHighSpeed, ifName }
1651 STATUS deprecated
1652 DESCRIPTION
1653 "A collection of objects deprecated in favour of
1654 ifGeneralInformationGroup."
1655 ::= { ifGroups 1 }
1656
1657
1658 ifTestGroup OBJECT-GROUP
1659 OBJECTS { ifTestId, ifTestStatus, ifTestType,
1660 ifTestResult, ifTestCode, ifTestOwner }
1661 STATUS deprecated
1662 DESCRIPTION
1663 "A collection of objects providing the ability to
1664 invoke tests on an interface."
1665 ::= { ifGroups 8 }
1666
1667
1668 ifStackGroup OBJECT-GROUP
1669 OBJECTS { ifStackStatus }
1670 STATUS deprecated
1671 DESCRIPTION
1672 "The previous collection of objects providing
1673 information on the layering of MIB-II interfaces."
1674 ::= { ifGroups 9 }
1675
1676
1677 ifOldObjectsGroup OBJECT-GROUP
1678 OBJECTS { ifInNUcastPkts, ifOutNUcastPkts,
1679 ifOutQLen, ifSpecific }
1680 STATUS deprecated
1681 DESCRIPTION
1682 "The collection of objects deprecated from the
1683 original MIB-II interfaces group."
1684 ::= { ifGroups 12 }
1685
1686
1687 -- Deprecated Definitions - Compliance
1688
1689 ifCompliance MODULE-COMPLIANCE
1690 STATUS deprecated
1691 DESCRIPTION
1692 "The previous compliance statement for SNMPv2 entities
1693 which have network interfaces."
1694
1695 MODULE -- this module
1696 MANDATORY-GROUPS { ifGeneralGroup, ifStackGroup }
1697
1698 GROUP ifFixedLengthGroup
1699 DESCRIPTION
1700 "This group is mandatory for all network interfaces
1701 which are character-oriented or transmit data in
1702 fixed-length transmission units."
1703
1704 GROUP ifHCFixedLengthGroup
1705 DESCRIPTION
1706 "This group is mandatory only for those network
1707 interfaces which are character-oriented or transmit
1708 data in fixed-length transmission units, and for which
1709 the value of the corresponding instance of ifSpeed is
1710 greater than 20,000,000 bits/second."
1711
1712 GROUP ifPacketGroup
1713 DESCRIPTION
1714 "This group is mandatory for all network interfaces
1715 which are packet-oriented."
1716
1717 GROUP ifHCPacketGroup
1718 DESCRIPTION
1719 "This group is mandatory only for those network
1720 interfaces which are packet-oriented and for which the
1721 value of the corresponding instance of ifSpeed is
1722 greater than 650,000,000 bits/second."
1723
1724 GROUP ifTestGroup
1725 DESCRIPTION
1726 "This group is optional. Media-specific MIBs which
1727 require interface tests are strongly encouraged to use
1728 this group for invoking tests and reporting results.
1729 A medium specific MIB which has mandatory tests may
1730 make implementation of this group mandatory."
1731
1732 GROUP ifRcvAddressGroup
1733 DESCRIPTION
1734 "The applicability of this group MUST be defined by
1735 the media-specific MIBs. Media-specific MIBs must
1736 define the exact meaning, use, and semantics of the
1737 addresses in this group."
1738
1739 OBJECT ifLinkUpDownTrapEnable
1740 MIN-ACCESS read-only
1741 DESCRIPTION
1742 "Write access is not required."
1743
1744 OBJECT ifPromiscuousMode
1745 MIN-ACCESS read-only
1746 DESCRIPTION
1747 "Write access is not required."
1748
1749 OBJECT ifStackStatus
1750 SYNTAX INTEGER { active(1) } -- subset of RowStatus
1751 MIN-ACCESS read-only
1752 DESCRIPTION
1753 "Write access is not required, and only one of the six
1754 enumerated values for the RowStatus textual convention
1755 need be supported, specifically: active(1)."
1756 OBJECT ifAdminStatus
1757 SYNTAX INTEGER { up(1), down(2) }
1758 MIN-ACCESS read-only
1759 DESCRIPTION
1760 "Write access is not required, nor is support for the
1761 value testing(3)."
1762 ::= { ifCompliances 1 }
1763
1764 END