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
|
Network Working Group M. Rose
Request for Comments: 1283 Dover Beach Consulting, Inc.
Obsoletes: RFC 1161 December 1991
SNMP over OSI
Status of this Memo
This memo defines an Experimental Protocol for the Internet
community. Discussion and suggestions for improvement are requested.
Please refer to the current edition of the "IAB Official Protocol
Standards" for the standardization state and status of this protocol.
Distribution of this memo is unlimited.
Table of Contents
1. Background ............................................ 1
1.1 A Digression on User Interfaces ...................... 2
1.1.1 Addressing Conventions for UDP-based service ....... 3
1.2 A Digression of Layering ............................. 3
2. Mapping onto CLTS ..................................... 3
2.1 Addressing Conventions ............................... 4
2.1.1 Conventions for CLNP-based service ................. 4
3. Mapping onto COTS ..................................... 4
3.1 Addressing Conventions ............................... 5
3.1.1 Conventions for TP4/CLNP-based service ............. 5
3.1.2 Conventions for TP0/X.25-based service ............. 6
4. Trap PDU .............................................. 6
5. Acknowledgements ...................................... 7
6. References ............................................ 7
7. Security Considerations................................ 8
8. Author's Address....................................... 8
1. Background
The Simple Network Management Protocol (SNMP) as defined in [1] is
now used as an integral part of the network management framework for
TCP/IP-based internets. Together, with its companions standards,
which define the Structure of Management Information (SMI) [2], and
the Management Information Base (MIB) [3], the SNMP has received
widespread deployment in many operational networks running the
Internet suite of protocols.
It should not be surprising that many of these sites might acquire
OSI capabilities and may wish to leverage their investment in SNMP
technology towards managing those OSI components. This memo
addresses these concerns by defining a framework for running the SNMP
Rose [Page 1]
^L
RFC 1283 SNMP over OSI December 1991
in an environment which supports the OSI transport services.
In OSI, there are two such services, a connection-oriented transport
services (COTS) as defined in [4], and a connectionless-mode
transport service (CLTS) as defined in [5]. Although the primary
deployment of the SNMP is over the connectionless-mode transport
service provided by the Internet suite of protocols (i.e., the User
Datagram Protocol or UDP [6]), a design goal of the SNMP was to be
able to use either a CO-mode or CL-mode transport service. As such,
this memo describes mappings from the SNMP onto both the COTS and the
CLTS.
1.1. A Digression on User Interfaces
It is likely that user-interfaces to the SNMP will be developed that
support multiple transport backings. In an environment such as this,
it is often important to maintain a consistent addressing scheme for
users. Since the mappings described in this memo are onto the OSI
transport services, use of the textual scheme described in [7], which
describes a string encoding for OSI presentation addresses, is
recommended. The syntax defined in [7] is equally applicable towards
transport addresses.
In this context, a string encoding usually appears as:
[<t-selector>/]<n-provider><n-address>[+<n-info>]
where:
(1) <t-selector> is usually either an ASCII string enclosed
in double-quotes (e.g., "snmp"), or a hexadecimal number
(e.g., '736e6d70'H);
(2) <n-provider> is one of several well-known providers of a
connectivity-service, one of: "Internet=" for a
transport-service from the Internet suite of protocols,
"Int-X25=" for the 1980 CCITT X.25 recommendation, or
"NS+" for the OSI network service;
(3) <n-address> is an address in a format specific to the
<n-provider>; and,
(4) <n-info> is any additional addressing information in a
format specific to the <n-provider>.
It is not the purpose of this memo to provide an exhaustive
description of string encodings such as these. Readers should
consult [7] for detailed information on the syntax. However, this
Rose [Page 2]
^L
RFC 1283 SNMP over OSI December 1991
memo recommends that, as an implementation option, user-interfaces to
the SNMP that support multiple transport backings SHOULD implement
this syntax.
1.1.1. Addressing Conventions for UDP-based service
In the context of a UDP-based transport backing, addresses would be
encoded as:
Internet=<host>+161+2
which says that the transport service is from the Internet suite of
protocols, residing at <host>, on port 161, using the UDP (2). The
token <host> may be either a domain name or a dotted-quad, e.g., both
Internet=cheetah.nyser.net+161+2
and
Internet=192.52.180.1+161+2
are both valid. Note however that if domain name "cheetah.nyser.net"
maps to multiple IP addresses, then this implies multiple transport
addresses. The number of addresses examined by the application (and
the order of examination) are specific to each application.
Of course, this memo does not require that other interface schemes
not be used. Clearly, use of a simple hostname is preferable to the
string encoding above. However, for the sake of uniformity, for
those user-interfaces to the SNMP that support multiple transport
backings, it is strongly RECOMMENDED that the syntax in [7] be
adopted and even the mapping for UDP-based transport be valid.
1.2. A Digression of Layering
Although other frameworks view network management as an application,
extensive experience with the SNMP suggests otherwise. In essense,
network management is a function unlike any other user of a transport
service. The citation [8] develops this argument in full. As such,
it is inappropriate to map the SNMP onto the OSI application layer.
Rather, it is mapped to OSI transport services, in order to build on
the proven success of the Internet network management framework.
2. Mapping onto CLTS
Mapping the SNMP onto the CLTS is straight-forward. The elements of
procedure are identical to that of using the UDP, with one exception:
a slightly different Trap PDU is used. Further, note that the CLTS
Rose [Page 3]
^L
RFC 1283 SNMP over OSI December 1991
and the service offered by the UDP both transmit packets of
information which contain full addressing information. Thus, mapping
the SNMP onto the CLTS, a "transport address" in the context of [1],
is simply a transport-selector and network address.
2.1. Addressing Conventions
Unlike the Internet suite of protocols, OSI does not use well-known
ports. Rather demultiplexing occurs on the basis of "selectors",
which are opaque strings of octets, which have meaning only at the
destination. In order to foster interoperable implementations of the
SNMP over the CLTS, it is necessary define a selector for this
purpose.
2.1.1. Conventions for CLNP-based service
When the CLTS is used to provide the transport backing for the SNMP,
demultiplexing will occur on the basis of transport selector. The
transport selector used shall be the four ASCII characters
snmp
Thus, using the string encoding of [7], such addresses may be
textual, described as:
"snmp"/NS+<nsap>
where:
(1) <nsap> is a hex string defining the nsap, e.g.,
"snmp"/NS+4900590800200038bafe00
Similarly, SNMP traps are, by convention, sent to a manager listening
on the transport selector
snmp-trap
which consists of nine ASCII characters.
3. Mapping onto COTS
Mapping the SNMP onto the COTS is more difficult as the SNMP does not
specifically require an existing connection. Thus, the mapping
consists of establishing a transport connection, sending one or more
SNMP messages on that connection, and then releasing the transport
connection. Further, a slightly different Trap PDU is used.
Rose [Page 4]
^L
RFC 1283 SNMP over OSI December 1991
Consistent with the SNMP model, the initiator of a connection should
not require that responses to a request be returned on that
connection. However, if a responder to a connection sends SNMP
messages on a connection, then these MUST be in response to requests
received on that connection.
Ideally, the transport connection SHOULD be released by the
initiator, however, note that the responder may release the
connection due to resource limitations. Further note, that the
amount of time a connection remains established is implementation-
specific. Implementors should take care to choose an appropriate
dynamic algorithm.
Also consistent with the SNMP model, the initiator should not
associate any reliability characteristics with the use of a
connection. Issues such as retransmission of SNMP messages, etc.,
always remain with the SNMP application, not with the transport
service.
3.1. Addressing Conventions
Unlike the Internet suite of protocols, OSI does not use well-known
ports. Rather demultiplexing occurs on the basis of "selectors",
which are opaque strings of octets, which have meaning only at the
destination. In order to foster interoperable implementations of the
SNMP over the COTS, it is necessary define a selector for this
purpose. However, to be consistent with the various connectivity-
services, different conventions, based on the actual underlying
service, will be used.
3.1.1. Conventions for TP4/CLNP-based service
When a COTS based on the TP4/CLNP is used to provide the transport
backing for the SNMP, demultiplexing will occur on the basis of
transport selector. The transport selector used shall be the four
ASCII characters
snmp
Thus, using the string encoding of [7], such addresses may be
textual, described as:
"snmp"/NS+<nsap>
where:
(1) <nsap> is a hex string defining the nsap, e.g.,
"snmp"/NS+4900590800200038bafe00
Rose [Page 5]
^L
RFC 1283 SNMP over OSI December 1991
Similarly, SNMP traps are, by convention, sent to a manager listening
on the transport selector
snmp-trap
which consists of nine ASCII characters.
3.1.2. Conventions for TP0/X.25-based service
When a COTS based on the TP0/X.25 is used to provide the transport
backing for the SNMP, demultiplexing will occur on the basis of X.25
protocol-ID. The protocol-ID used shall be the four octets
03018200
This is the X.25 protocol-ID assigned for local management purposes.
Thus, using the string encoding of [7], such addresses may be textual
described as:
Int-X25=<dte>+PID+03018200
where:
(1) <dte> is the X.121 DTE, e.g.,
Int-X25=23421920030013+PID+03018200
Similarly, SNMP traps are, by convention, sent to a manager listening
on the protocol-ID
03019000
This is an X.25 protocol-ID assigned for local purposes.
4. Trap PDU
The Trap-PDU defined in [1] is designed to represent traps generated
on IP networks. As such, a slightly different PDU must be used when
representing traps generated on OSI networks.
RFC1283 DEFINTIONS ::= BEGIN
IMPORTS
TimeTicks
FROM RFC1155-SMI -- [2] --
VarBindList
FROM RFC1157-SNMP -- [1] --
ClnpAddress
Rose [Page 6]
^L
RFC 1283 SNMP over OSI December 1991
FROM CLNS-MIB -- [9] --;
Trap-PDU ::=
[4]
IMPLICT SEQUENCE {
enterprise -- type of object generating
OBJECT IDENTIFIER, -- trap, see sysObjectID
agent-addr -- address of object generating
ClnpAddress, -- trap
generic-trap -- generic trap type
INTEGER {
coldStart(0),
warmStart(1),
linkDown(2),
linkUp(3),
authenticationFailure(4),
egpNeighborLoss(5),
enterpriseSpecific(6)
},
specific-trap -- specific code, present even
INTEGER, -- if generic-trap is not
-- enterpriseSpecific
time-stamp -- time elapsed between the last
TimeTicks, -- (re)initialization of the
-- network entity and the
-- generation of the trap
variable-bindings -- "interesting" information
VarBindList
}
END
5. Acknowledgements
The predecessor of this document (RFC 1161) was produced by the SNMP
Working Group, and subsequently modified by the editor to reflect
operational experience gained since the original publication.
6. References
[1] Case, J., Fedor, M., Schoffstall, M., and J. Davin, "A Simple
Network Management Protocol (SNMP)", RFC 1157, SNMP Research,
Performance Systems International, Performance Systems
Rose [Page 7]
^L
RFC 1283 SNMP over OSI December 1991
International, and MIT Laboratory for Computer Science, May 1990.
[2] Rose M., and K. McCloghrie, "Structure and Identification of
Management Information for TCP/IP-based internets", RFC 1155,
Performance Systems International, Hughes LAN Systems, May 1990.
[3] McCloghrie K., and M. Rose, Editors, "Management Information Base
for Network Management of TCP/IP-based internets", RFC 1213,
Hughes LAN Systems, Performance Systems International, March
1991.
[4] Information Processing Systems - Open Systems Interconnection,
"Transport Service Definition", International Organization for
Standardization, International Standard 8072, June 1986.
[5] Information Processing Systems - Open Systems Interconnection,
"Transport Service Definition - Addendum 1: Connectionless-mode
Transmission", International Organization for Standardization,
International Standard 8072/AD 1, December 1986.
[6] Postel, J., "User Datagram Protocol", RFC 768, USC/Information
Sciences Institute, November 1980.
[7] Kille, S., "A String Encoding of Presentation Address", RFC 1278,
Department of Computer Science, University College London,
November 1991.
[8] Case, J., Davin, J., Fedor, M., and M. Schoffstall, "Network
Management and the Design of SNMP", ConneXions (ISSN 0894-5926),
Volume 3, Number 3, March 1989.
[9] Satz, G., "CLNS MIB for use with CLNP and ES-IS", RFC 1238, cisco
Systems, June 1991.
7. Security Considerations
Security issues are not discussed in this memo.
8. Author's Address
Marshall T. Rose
Dover Beach Consulting, Inc.
420 Whisman Court
Mountain View, CA 94043-2112
Phone: (415) 968-1052
Email: mrose@dbc.mtview.ca.us
X.500: mrose, dbc, us
Rose [Page 8]
^L
|