1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
|
Network Working Group K. McCloghrie
Request for Comments: 2864 Cisco Systems
Category: Standards Track G. Hanson
ADC Telecommunications
June 2000
The Inverted Stack Table Extension to the Interfaces Group MIB
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2000). All Rights Reserved.
Table of Contents
1 Introduction .................................................. 1
2 The SNMP Network Management Framework ......................... 1
3 Interface Sub-Layers and the ifStackTable ..................... 3
4 Definitions ................................................... 4
5 Acknowledgements .............................................. 7
6 References .................................................... 7
7 Security Considerations ....................................... 8
8 Authors' Addresses ............................................ 9
9 Notice on Intellectual Property ............................... 10
10 Full Copyright Statement ..................................... 11
1. Introduction
This memo defines a portion of the Management Information Base (MIB)
for use with network management protocols in the Internet community.
In particular, it describes managed objects which provide an inverted
mapping of the interface stack table used for managing network
interfaces.
2. The SNMP Network Management Framework
The SNMP Management Framework presently consists of five major
components:
McCloghrie & Hanson Standards Track [Page 1]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
o An overall architecture, described in RFC 2571 [1].
o Mechanisms for describing and naming objects and events for the
purpose of management. The first version of this Structure of
Management Information (SMI) is called SMIv1 and described in STD
16, RFC 1155 [2], STD 16, RFC 1212 [3] and RFC 1215 [4]. The
second version, called SMIv2, is described in STD 58, which
consists of RFC 2578 [5], RFC 2579 [6] and RFC 2580 [7].
o Message protocols for transferring management information. The
first version of the SNMP message protocol is called SNMPv1 and
described in STD 15, RFC 1157 [8]. A second version of the SNMP
message protocol, which is not an Internet standards track
protocol, is called SNMPv2c and described in RFC 1901 [9] and RFC
1906 [10]. The third version of the message protocol is called
SNMPv3 and described in RFC 1906 [10], RFC 2572 [11] and RFC 2574
[12].
o Protocol operations for accessing management information. The
first set of protocol operations and associated PDU formats is
described in STD 15, RFC 1157 [8]. A second set of protocol
operations and associated PDU formats is described in RFC 1905
[13].
o A set of fundamental applications described in RFC 2573 [14] and
the view-based access control mechanism described in RFC 2575
[15].
A more detailed introduction to the current SNMP Management Framework
can be found in RFC 2570 [18].
Managed objects are accessed via a virtual information store, termed
the Management Information Base or MIB. Objects in the MIB are
defined using the mechanisms defined in the SMI.
This memo specifies a MIB module that is compliant to the SMIv2. A
MIB conforming to the SMIv1 can be produced through the appropriate
translations. The resulting translated MIB must be semantically
equivalent, except where objects or events are omitted because no
translation is possible (e.g., use of Counter64). Some machine
readable information in SMIv2 will be converted into textual
descriptions in SMIv1 during the translation process. However, this
loss of machine readable information is not considered to change the
semantics of the MIB.
McCloghrie & Hanson Standards Track [Page 2]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
3. Interface Sub-Layers and the ifStackTable
MIB-II [16] defines objects for managing network interfaces by
providing a generic interface definition together with the ability to
define media-specific extensions. The generic objects are known as
the 'interfaces' group.
Experience in defining media-specific extensions showed the need to
distinguish between the multiple sub-layers beneath the
internetwork-layer. Consider, for example, an interface with PPP
running over an HDLC link which uses a RS232-like connector. Each of
these sub-layers has its own media-specific MIB module.
The latest definition of the 'interfaces' group in the IF-MIB [17]
satisfies this need by having each sub-layer be represented by its
own conceptual row in the ifTable. It also defines an additional MIB
table, the ifStackTable, to identify the "superior" and "subordinate"
sub-layers through ifIndex "pointers" to the appropriate conceptual
rows in the ifTable.
Each conceptual row in the ifStackTable represents a relationship
between two interfaces, where this relationship is that the "higher-
layer" interface runs "on top" of the "lower-layer" interface. For
example, if a PPP module operated directly over a serial interface,
the PPP module would be a "higher layer" to the serial interface, and
the serial interface would be a "lower layer" to the PPP module.
This concept of "higher-layer" and "lower-layer" is the same as
embodied in the definitions of the ifTable's packet counters.
The ifStackTable is INDEX-ed by the ifIndex values of the two
interfaces involved in the relationship. By necessity, one of these
ifIndex values must come first, and the IF-MIB chose to have the
higher-layer interface first, and the lower-layer interface second.
Due to this, it is straight-forward for a Network Management
application to read a subset of the ifStackTable and thereby
determine the interfaces which run underneath a particular interface.
However, to determine which interfaces run on top of a particular
interface, a Network Management application has no alternative but to
read the whole table. This is very inefficient when querying a
device which has many interfaces, and many conceptual rows in its
ifStackTable.
This MIB provides an inverted Interfaces Stack Table, the
ifInvStackTable. While it contains no additional information beyond
that already contained in the ifStackTable, the ifInvStackTable has
the ifIndex values in its INDEX clause in the reverse order, i.e.,
the lower-layer interface first, and the higher-layer interface
second. As a result, the ifInvStackTable is an inverted version of
McCloghrie & Hanson Standards Track [Page 3]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
the same information contained in the ifStackTable. Thus, the
ifInvStackTable provides an efficient means for a Network Management
application to read a subset of the ifStackTable and thereby
determine which interfaces run on top of a particular interface.
4. Definitions
IF-INVERTED-STACK-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, mib-2 FROM SNMPv2-SMI
RowStatus FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
ifStackGroup2,
ifStackHigherLayer, ifStackLowerLayer FROM IF-MIB;
ifInvertedStackMIB MODULE-IDENTITY
LAST-UPDATED "200006140000Z"
ORGANIZATION "IETF Interfaces MIB Working Group"
CONTACT-INFO
" Keith McCloghrie
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
US
408-526-5260
kzm@cisco.com"
DESCRIPTION
"The MIB module which provides the Inverted Stack Table for
interface sub-layers."
REVISION "200006140000Z"
DESCRIPTION
"Initial revision, published as RFC 2864"
::= { mib-2 77 }
ifInvMIBObjects OBJECT IDENTIFIER ::= { ifInvertedStackMIB 1 }
--
-- The Inverted Interface Stack Group
--
ifInvStackTable OBJECT-TYPE
SYNTAX SEQUENCE OF IfInvStackEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing information on the relationships between
McCloghrie & Hanson Standards Track [Page 4]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
the multiple sub-layers of network interfaces. In
particular, it contains information on which sub-layers run
'underneath' which other sub-layers, where each sub-layer
corresponds to a conceptual row in the ifTable. For
example, when the sub-layer with ifIndex value x runs
underneath the sub-layer with ifIndex value y, then this
table contains:
ifInvStackStatus.x.y=active
For each ifIndex value, z, which identifies an active
interface, there are always at least two instantiated rows
in this table associated with z. For one of these rows, z
is the value of ifStackHigherLayer; for the other, z is the
value of ifStackLowerLayer. (If z is not involved in
multiplexing, then these are the only two rows associated
with z.)
For example, two rows exist even for an interface which has
no others stacked on top or below it:
ifInvStackStatus.z.0=active
ifInvStackStatus.0.z=active
This table contains exactly the same number of rows as the
ifStackTable, but the rows appear in a different order."
REFERENCE
"ifStackTable of RFC 2863"
::= { ifInvMIBObjects 1 }
ifInvStackEntry OBJECT-TYPE
SYNTAX IfInvStackEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information on a particular relationship between two sub-
layers, specifying that one sub-layer runs underneath the
other sub-layer. Each sub-layer corresponds to a conceptual
row in the ifTable."
INDEX { ifStackLowerLayer, ifStackHigherLayer }
::= { ifInvStackTable 1 }
IfInvStackEntry ::=
SEQUENCE {
ifInvStackStatus RowStatus
}
ifInvStackStatus OBJECT-TYPE
McCloghrie & Hanson Standards Track [Page 5]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
SYNTAX RowStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of the relationship between two sub-layers.
An instance of this object exists for each instance of the
ifStackStatus object, and vice versa. For example, if the
variable ifStackStatus.H.L exists, then the variable
ifInvStackStatus.L.H must also exist, and vice versa. In
addition, the two variables always have the same value.
However, unlike ifStackStatus, the ifInvStackStatus object
is NOT write-able. A network management application wishing
to change a relationship between sub-layers H and L cannot
do so by modifying the value of ifInvStackStatus.L.H, but
must instead modify the value of ifStackStatus.H.L. After
the ifStackTable is modified, the change will be reflected
in this table."
::= { ifInvStackEntry 1 }
-- conformance information
ifInvConformance OBJECT IDENTIFIER ::= { ifInvMIBObjects 2 }
ifInvGroups OBJECT IDENTIFIER ::= { ifInvConformance 1 }
ifInvCompliances OBJECT IDENTIFIER ::= { ifInvConformance 2 }
-- compliance statements
ifInvCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for SNMP entities which provide
inverted information on the layering of network interfaces."
MODULE -- this module
MANDATORY-GROUPS { ifInvStackGroup }
OBJECT ifInvStackStatus
SYNTAX INTEGER { active(1) }
DESCRIPTION
"Support is only required for 'active'."
McCloghrie & Hanson Standards Track [Page 6]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
MODULE IF-MIB
MANDATORY-GROUPS { ifStackGroup2 }
::= { ifInvCompliances 1 }
-- units of conformance
ifInvStackGroup OBJECT-GROUP
OBJECTS { ifInvStackStatus }
STATUS current
DESCRIPTION
"A collection of objects providing inverted information on
the layering of MIB-II interfaces."
::= { ifInvGroups 1 }
END
5. Acknowledgements
This memo has been produced by the IETF's Interfaces MIB working-
group.
6. References
[1] Harrington, D., Presuhn, R. and B. Wijnen, "An Architecture for
Describing SNMP Management Frameworks", RFC 2571, January 1998.
[2] Rose, M. and K. McCloghrie, "Structure and Identification of
Management Information for TCP/IP-based Internets", STD 16, RFC
1155, May 1990.
[3] Rose, M. and K. McCloghrie, "Concise MIB Definitions", STD 16,
RFC 1212, March 1991.
[4] Rose, M., "A Convention for Defining Traps for use with the
SNMP", RFC 1215, March 1991.
[5] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose,
M. and S. Waldbusser, "Structure of Management Information
Version 2 (SMIv2)", STD 58, RFC 2578, April 1999.
[6] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose,
M. and S. Waldbusser, "Textual Conventions for SMIv2", STD 58,
RFC 2579, April 1999.
[7] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose,
M. and S. Waldbusser, "Conformance Statements for SMIv2", STD
58, RFC 2580, April 1999.
McCloghrie & Hanson Standards Track [Page 7]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
[8] Case, J., Fedor, M., Schoffstall, M. and J. Davin, "Simple
Network Management Protocol", STD 15, RFC 1157, May 1990.
[9] SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M., and S.
Waldbusser, "Introduction to Community-based SNMPv2", RFC 1901,
January 1996.
[10] SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M., and S.
Waldbusser, "Transport Mappings for Version 2 of the Simple
Network Management Protocol (SNMPv2)", RFC 1906, January 1996.
[11] Case, J., Harrington D., Presuhn R. and B. Wijnen, "Message
Processing and Dispatching for the Simple Network Management
Protocol (SNMP)", RFC 2572, January 1998.
[12] Blumenthal, U. and B. Wijnen, "User-based Security Model (USM)
for version 3 of the Simple Network Management Protocol
(SNMPv3)", RFC 2574, January 1998.
[13] SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M. and S.
Waldbusser, "Protocol Operations for Version 2 of the Simple
Network Management Protocol (SNMPv2)", RFC 1905, January 1996.
[14] Levi, D., Meyer, P. and B. Stewart, "SNMP Applications", RFC
2573, January 1998.
[15] Wijnen, B., Presuhn, R. and K. McCloghrie, "View-based Access
Control Model (VACM) for the Simple Network Management Protocol
(SNMP)", RFC 2575, January 1998.
[16] McCloghrie, K. and M. Rose, "Management Information Base for
Network Management of TCP/IP-based internets - MIB-II", STD 17,
RFC 1213, March 1991.
[17] McCloghrie, K. and F. Kastenholz, "The Interface Group MIB", RFC
2863, June 2000.
[18] Case, J., Mundy, R., Partain, D. and B. Stewart, "Introduction
to Version 3 of the Internet-standard Network Management
Framework", RFC 2570, April 1999.
7. Security Considerations
There are no management objects defined in this MIB that have a MAX-
ACCESS clause of read-write and/or read-create. So, if this MIB is
implemented correctly, then there is no risk that an intruder can
alter or create any management objects of this MIB via direct SNMP
SET operations.
McCloghrie & Hanson Standards Track [Page 8]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
SNMPv1 by itself is not a secure environment. Even if the network
itself is secure (for example by using IPSec), even then, there is no
control as to who on the secure network is allowed to access and
GET/SET (read/change/create/delete) the objects in this MIB.
It is recommended that the implementers consider the security
features as provided by the SNMPv3 framework. Specifically, the use
of the User-based Security Model RFC 2574 [12] and the View- based
Access Control Model RFC 2575 [15] is recommended.
It is then a customer/user responsibility to ensure that the SNMP
entity giving access to an instance of this MIB, is properly
configured to give access to the objects only to those principals
(users) that have legitimate rights to indeed GET or SET
(change/create/delete) them.
8. Authors' Addresses
Keith McCloghrie
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
Phone: 408-526-5260
EMail: kzm@cisco.com
Gary Hanson
ADC Telecommunications
14375 NW Science Park Drive
Portland, Oregon, 97229
Phone: (800)733-5511 x6333
EMail: gary_hanson@adc.com
McCloghrie & Hanson Standards Track [Page 9]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
9. Notice on Intellectual Property
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; neither does it represent that it
has made any effort to identify any such rights. Information on the
IETF's procedures with respect to rights in standards-track and
standards-related documentation can be found in BCP-11. Copies of
claims of rights made available for publication and any assurances of
licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such
proprietary rights by implementors or users of this specification can
be obtained from the IETF Secretariat.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to practice
this standard. Please address the information to the IETF Executive
Director.
McCloghrie & Hanson Standards Track [Page 10]
^L
RFC 2864 Inverted Stack Extension MIB June 2000
10. Full Copyright Statement
Copyright (C) The Internet Society (2000). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
McCloghrie & Hanson Standards Track [Page 11]
^L
|