A Simple Network Management Protocol (SNMP) - RFC1157

xiaoxiao2021-03-06  40

Network Working Group J. Case

Request for Comments: 1157 SNMP Release

Obsoletes: RFC 1098 M. Fedor

Performance Systems International

M. SCHOFFSTALL

Performance Systems International

J. Davin

Mit Laboratory for Computer Science

May 1990

A Simple Network Management Protocol (SNMP)

Table of contents

1. STATUS of this Memo ............................... 2

2. Introduction ........................................ 2

3. The snmp architecture ............................... 5

3.1 Goals of the Architecture ............................ 5

3.2 Elements of the architecture ....................... 5

3.2.1 Scope of management Information .................... 6

3.2.2 Repesentation of Management Information ........... 6

3.2.3 Operations Supported on Management Information ..... 7

3.2.4 Form and meaning of protocol exchange ............. 8

3.2.5 Definition of Administrative RELATIONSHIPS .........

3.2.6 Form and Meaning of References To Managed Objects .. 12

3.2.6.1 Resolution of Ambiguous MIB References ........... 12

3.2.6.2 Resolution of References Across MIB Versions ... 12

3.2.6.3 Identification Of Object Instances ............. 12

3.2.6.3.1 iftable Object Type Names ...................... 13

3.2.6.3.2 attable object type name ...................... 13

3.2.6.3.3 ipaddrtable object type name .................. 14

3.2.6.3.4 iPrOutingTable Object Type Names ............... 14

3.2.6.3.5 TCPConntable Object Type Names .................

3.2.6.3.6 Egpneightable Object Type Names ................ 15

4. Protocol specification ........................................................................................................... ........................ 17

4.1.1 Common Construction .................................... 19

4.1.2 The getRequest-PDU ............................... 20

4.1.3 The getnextRequest-PDU ...........................

4.1.3.1 Example of Table Traversal ..................... 23

4.1.4 The getResponse-PDU ................................ 24

4.1.5 The setRequest-PDU ............................... 25

4.1.6 Trap-PDU ................................... 27

4.1.6.1 The ColdStart Trap ............................. 28

4.1.6.2 The Warmstart Trap ............................. 28

4.1.6.3 The linkdown trap ................................ 28

4.1.6.4 The linkup trap .................................. 28

Case, Fedor, Schoffstall, & Davin [Page 1]

RFC 1157 SNMP May 1990

4.1.6.5 The AuthenticationFailure Trap ................. 28

4.1.6.6 The egpneighborloss trap .......................

4.1.6.7 The Enterprisespecific Trap .................... 29

5. Definitions ......................................... 30

6. Acknowledgements .................................... 33

7. References ............................................ 34

8. Security considitys .................................. 35

9. Authors' Addresses ................................... 35

STATUS OF this MEMO

THIS RFC IS A RE-RELESE OF RFC 1098, WITH A Changed "status of this

Memo "Section Plus A Few Minor Typographical Corrections. This Memo

Defines a Simple Protocol by Which Management Information INSPECTED or Altered by Logical Remote

ITICULAR, TOGETHER WITH ITS Companion Memos Which

Describe the structure of management information along with the the the THE

Management Information Base, Thase Documents Provide a Simple,

Workable Architecture and System for Managing TCP / IP-BASED INTERNES

And in particular the internet.

The Internet Activities Board Recommends That All IP and TCP

Implementations Be Network ManagementAble. this Implies Implementation

Of the Internet MIB (RFC-1156) And at Least One of the Two

Recommended Management Protocols SNMP (RFC-1157) OR CMOT (RFC-1095).

IT Should Be Nonded That, At this Time, SNMP IS A FULL INTERNET

STANDARD AND CMOT IS A Draft Standard. See Also The Host And Gateway

Requirements RFCS for More Specific Information on the Applicability of APPLICABILITY

Of this standard.

Please Refer to the Latest Edition of the "IAB OFFICIAL Protocol

Standards "RFC for Current Information on The State and Status of Status

Standard Internet Protocols.

Distribution of this Memo is unlimited.

2. Introduction

AS Reported In RFC 1052, IAB Recommendations for the development of

Internet Network Management Standards [1], A Two-Prong Strategy for

Network management of tcp / ip-based internets Was undertaken. in the

Short-Term, THE Simple Network Management Protocol (SNMP) WAS To BE

Used to manage nodes in the Internet community. in the long-term,

The use of the osi network management framework was to be exampled.

Two Documents Were Product Information: RFC

1065, Which Defined The Structure of Management Information (SMI)

[2], And RFC 1066, Which Defined The Management Information Information Base (MIB) [3]. Both of these Documents Were Designed So As To BE

Case, Fedor, Schoffstall, & Davin [Page 2]

RFC 1157 SNMP May 1990

Compatible with Both the SNMP and The OSI NetWork Management

Framework.

This Strategy Was Quite Successful In The Short-Term: Internet-Based

Network management technology, by Both the research and

Commercial Communities, Withnin A Few Months. As a result of this,

Portions of the Internet Community Became Network Manageable in A

Timely fashion.

AS Reported in RFC 1109, Report of The Second Ad Hoc Network

Management Review Group [4], The Requirements of The SNMP AND THE OSI

NetWork Management Frameworks Were More DiffERENT THAN ANTICIPATED.

As Such, The Requirement for Compatibility Between THE SMI / MIB AND

Both frameworks was suspended. this action permitted the Operational

Network Management Framework, THE SNMP, TO RESPOND TO New Operational

Needs in The Internet Community by Producting Documents Defining New New

MIB Items.

The Iab Has Designated The SNMP, SMI, And The Initial Internet Mib To

BE FULL "Standard Protocols" with "recommented" status. by this

Action, The IAB Recommends That All IP and TCP IMPLEMENTATIONS BE

Network Managements That The IMPLEMENTATIONS THATE NETWORK

Manageable is Expected to Adopt and Implement the SMI, MIB, AND

SNMP.

As Such, The Current Network Management Framework for TCP / IP- BASED

Internets Consists of: Structure and Identification Of Management Of Management

Information for TCP / IP-BASED INTERNES, WHICH Describes How Management

Objects contained in the mib area defined as set forth in rfc 1155 [5]; management information based base for network management of tcp / ip-

Based Internets, Which Describes the Managed Objects Contained in The

MIB As Set Forth In RFC 1156 [6]; and, The Simple Network Management

Protocol, Which Defines The Protocol Used to Manage Thase Objects, AS

SET FORTH IN THIS MEMO.

AS Reported In RFC 1052, IAB Recommendations for the development of

Internet NetWork Management Standards [1], The Internet Activities

Board Has Directed The Internet Engineering Task Force (IETF) To

Create Two New Working Groups in The Area of ​​Network Management. OONEMENT. One

Group Was Charged with The Further Specification and Definition of

Elements to be include in the management information base (mib).

The Other Was Charged with Defining The Modifications To The Simple

Network Management Protocol (SNMP) To Accommodate The Short-Term

Needs of the network vendor and operations communities, and to align

With the output of the mib working group.

THE MIB WORKING GROUP Produced Two Memos, One Which Defines A

Structure for management information (smi) [2] for use by the managed

Case, Fedor, Schoffstall, & Davin [Page 3]

RFC 1157 SNMP May 1990

Objects contained in the mib. a second Memo [3] Defines the list of

Managed Objects.

The Output of the SNMP Extensions Working Group Is this Memo, Which

INCORPORATES TOE THE INITIAL SNMP Definition [7] Required to

Attain alignment with the output of the mib working group. The mib working group. The Mib Working Group.

Changes Should Be Minimal in Order to Be Consistent with the IAB'S

Directive That the Working Groups Be "Extremely Sensitive to the NEED

To Keep The SNMP SIMPLE. "Although ConsideRable Care and Debate HAS

Gone Into the changes to the SNMP Which Are Reflected in this Memo,

The Resulting Protocol Is Not Backwardly-Compatible with ITS

Predecessor, THE Simple Gateway Monitoring Protocol (SGMP) [8].

Although The Syntax of The Protocol Has Been Altered, The Original

Philosophy, Design Decisions, And Architecture Remain Intact. in

Order to Avoid Confusion, New UDP Ports Have Been Allocated for Use

By The Protocol Described in this Memo.

Case, Fedor, Schoffstall, & Davin [Page 4]

RFC 1157 SNMP May 1990

3. The SNMP Architecture

Implicit in The SNMP Architectural Model Is A Collection of Network

Management stats and network elements. Network management

Stations Execute Management Applications Which Monitor and Control

Network Elements. Network Elements Are Devices Such as Hosts,

Gateways, Terminal Servers, And The Like, Which Have Management

Agents responsible for Performing the network management functions

Requested by The Network Management Station. The Simple Network. The Simple Network. INTWORK

Management Protocol (SNMP) IS Used To Communicate Management

Information Between The Network Management Stations and The Agents in. INFORMENTS IN

The network elements.

3.1. Goals of the Architecture

The SNMP Explicitly Minimizes The Number and Complexity Of Management

Functions realized by the management agent itself. THIS GOAL IS

Attractive In at Least Four Respects:

(1) THE Development cost for management agent software

Necessary to support The protocol is aciding.

(2) The Degree of Management Function That Is Remotely

Supported is accountingly increased, Thereby admitting

Fullest Use of Internet Resources in The Management Task.

(3) The Degree of Management Function That Is Remotely

Supported is accountingly increased, Thereby imposing the

Fewest Possible Restrictions on the form and

Sophistication of management tools.

(4) Simplified Sets of Management Functions Are EASILY

Understood and use by developers of network management

Tools.

A Second Goal of The Protocol Is That The Functional Paradigm for

Monitoring and Control Be Sufficiently Extensible to Accommodate

Additional, Possibly Unanticipated Aspects of Network Operation and

.

A Third Goal Is That The Architecture Be, As Much As Possible,

Independent of the Architecture and Mechanisms of Particular Hosts OR

Particular Gateways.

3.2. Elements of the architecture

The SNMP Architecture Articulates A Solution To the Network

Management problem in terms of:

Case, Fedor, Schoffstall, & Davin [Page 5]

RFC 1157 SNMP May 1990

(1) The scope of the management information communicated by

The Protocol,

(2) THE REPRESENTATION OF THE MANAGEMENT INFORMATION

Communicated by The Protocol,

(3) Operations ON Management Information Information Supported by the

Protocol,

(4) The form and meaning of exchanges among management

Entities,

(5) The Definition of Administrative Relationships AMONG

Management enttive, and

(6) The form and meaning of references to management

Information.

3.2.1. Scope of management information

The Scope of the Management Information Information COMMUNICATED by Operation of

The SNMP is Exactly That Reresented by Instances Of All Non-

Aggregate Object Types Either Defined in Internet-Standard Mib OR

Defined Elsewhere According to The Conventions Set Forth InInternet-Standard SMI [5].

Support for aggregate Object Types in The Mib Is Neither Required for

Conformance with the smi nor realized by the SNMP.

3.2.2. Repesentation of Management Information

Management Information Communicated by Operation of To SNMP IS

Reresented According to the Subset of The Asn.1 Language [9] That IS

Specified for the definition of non-aggregate Types in the smi.

The SGMP Adopted The Convention of Using A Well-Defined Subset Of THE

Asn.1 Language [9]. The SNMP Continues and Extends this Tradition by

Utilizing a moderately more complex subset of asn.1 for describing

Managed Objects and for Describing The Protocol Data Units Used for

Managing Those Objects. in Addition, The Desire To Ease Eventual

Transition to Osi-Based Network Management Protocols Led to the THE

Definition in The Asn.1 Language of An Internet-Standard Structure of ANTANDARD STRUCTURE OF

Management Information (SMI) [5] And Management Information Base

(MiB) [6]. The use of the asn.1 Language, Was, In Part, Encouraged

By The Successful Use of Asn.1 in Earlier Efforts, in Particular, The

SGMP. THE RESTRICTIONS on the use of asn.1 That area part of the smi

Contribute to the simplicity espoused and validated by Experience

WITH THE SGMP.

Case, Fedor, Schoffstall, & Davin [Page 6]

RFC 1157 SNMP May 1990

Also for the Sake of SimPlicity, The SNMP Uses Only A Subset of The

Basic Encoding Rules of Asn.1 [10]. Namely, All Encodings Use T

Definite-Length Form. Further, WHENEVER Permissible, Non-Constructor

ENCODINGS Are Used Rather Than Construction. this

RESTRICTION Applies to All Aspects of Asn.1 Encoding, Both for Thetop-Level Protocol Data Units And The Data Objects The Contain.

3.2.3. Operations Supported on Management Information

The SNMP Models All Management Agent Functions as Alterations OR

INSPECTIONS OF VARIABLES. Thus, A Protocol Entity ON A Logically

Remote Host (Possibly The Network Element Itself) Interacts with The

Management Agent Resident On The Network Element in Order To Retrieve

(GET) OR Alter (SET) Variables. This Strategy Has At Least TWO

Positive Consequences:

(1) IT HAS The Effect of Limiting The Number of Essential

Management Functions Realized by the management agent to

Two: One Operation To Assign A Value to a Specified

Configuration or other parameter and another to retrieve

Such a value.

(2) a Second Effect of this Decision is to avoid introducing

INTO The Protocol Definition Support for Imperative

Management commands: The Number of SuMMANDS IS in

Practice Ever-Increasing, and The Semantics of Such

Commands is in General Arbitrarily Complex.

The Strategy Implicit in The SNMP Is That The Monitoring of Network

State At Any Significant Level of Detail IS Accomplished Primarily By

Polling for appropriate information on the part of the monitoring

Center (s). A LIMITED NUMBER OF UNSOLICITED Messages (Traps) Guide

The Timing and Focus of the Polling. Limiting The Number of THE

Unsolicited Messages IS Consistent with The Goal of SIMPLICITY AND

Minimizing the Amount of Traffic Generated by The Network Management

Function.

The Exclusion of Imperative Commands from the set of explicitly

Supported Management Functions IS Unlikely to Preclude Any Desirable

Management Agent Operation. Currently, MOST Commands Are Requestseither To Set The Value of Some Parameter OR To Retrieve Such A

Value, and the function of the few imperative commands currently

Supported Is Easily Accommodated in An asynchronous mode by this

Management Model. in this scheme, An Imperative Command Might BE

Realized as the setting of a parameter value That Subsequently

Triggers The Desired Action. for Example, Rather Than IMPLEMENTING A

"Reboot Command" This Action Might Be Invoked by Simply Setting A

Parameter Indicating The Number of Seconds Until System Reboot.

Case, Fedor, Schoffstall, & Davin [Page 7]

RFC 1157 SNMP May 1990

3.2.4. Form and meing of protocol exchanges

The Communication of Management Information Information Among Management Entities. - MANGEMENT INTIIES

IS realized in The SNMP THROUGH The Exchange of Protocol Messages.

The form and meaning of those messages is defined Below in section 4.

Consistent with the goal of minimizing complexity of the management

Agent, The Exchange of SNMP Messages Requires Only An Unreliable

DataGram Service, And Every Message IS Entirely and IndependenTLY

Represented by a single transport datagram. While this Document

Specifies The Exchange of Messages Via The Udp Protocol [11], The

Mechanisms of the SNMP Are General Suitable for Use with a Wide

Variety of Transport Services.

3.2.5. Definition of Administrative Relationshipship

The SNMP Architecture Admits a Variety of Administrative

RELATIONSHIPS AMONG Entities That Particles In The Protocol. The

Entities Residing At Management Stations and NetWork Elements Which

Communicate with one annother using the snmp available. The Peer Processes Which Implement The SNMP,

And thus support the SNMP Application Entities, Are Termed Protocol

Entities.

A Pairing of an SNMP Agent with Some Arbitrary Set of SNMP

Application Entities Is Called An SNMP Community. Each SNMP

Community is named by a string of octets, That Is Called The

Community name for said community.

An snmp message originated by an snmp application entity That in Fact

Belongs to the SNMP Community named by the community of

SAID Message Is Called An Authentic SNMP Message. The Set of Rules

By Which An SNMP Message Is Identified as an Authentic SNMP Message

For a particular snmp community is caled an automation scheme.

An Implementation of a Function That Identifies Authentic SNMP

Messages according to one or more authentication schemes is caled an

Authentication service.

Clearly, Effective Management Of Administrative Relationships Among

SNMP Application Entities Requires Authentication Services That (By

The use of encryption or other techniques) Are Aable to Identify

Authentic SNMP Messages with a high degree of certainty. Some SNMP

Implementations May wish To Support Only A Trivial Authentication

Service That Identifies All SNMP Messages As Authentic SNMP Messages.

For Any Network Element, A Subset of Objects in The Mib That Pertain

TO THAT Element is Called A SNMP MIB View. Note That The names of

The Object Types Represented in A SNMP MIB View NEED NOT Belong TO A

Case, Fedor, Schoffstall, & Davin [Page 8]

RFC 1157 SNMP May 1990

Single Sub-Tree of The Object Type Name Space.

An Element of the set {read-only, read-write} IS CALLED AN SNMP

Access mode.

A Pairing of a SNMP Access Mode with a SNMP MIB View IS CALLED AN

SNMP Community Profile. A SNMP Community Profile Repesents

Specified Access Privileges To Variables in A Specified MIB View. for

EVERY VARIABLE IN THE MIB VIEW IN A GIVEN SNMP Community Profile,

Access to That Variable is represented by the profile accounting to

The Following Conventions:

(1) IF said variable is defined in the mib with "access:" of "OF] OF SAID VARIABLE

"None," IT IS UNAVAILABLE AS An Operand for Any Operator

(2) IF said variable is defined in the mib with "access:" of "of" OF] OF SAID VARIABLE

"read-write" or "write-only" and the access mode of the

Given Profile Is Read-Write, That Variable Is Available

AS An Operand for the Get, Set, And Trap Operations;

(3) Otherwise, The Variable Is Available as an OPERAND FOR

The Get and Trap Operations.

(4) In Those Cases Where A "Write-Only" variable is an

Operand buy for the get or trap operations, The value

Given for the variable is usually-specific.

A Pairing of a SNMP Community with a SNMP Community Profile IS Called

A SNMP Access Policy. An Access Policy Represts a Specified

Community Profile Afforded by The SNMP Agent of A Specified SNMP

Community to Other Members of That Community. All Administrative. ADMINISTRATIVE

RELATIONSHIPS AMONG SNMP Application Entities Are Architecturally

Defined in Terms of SNMP Access Policies.

For EVERY SNMP Access Policy, IF The Network Element On Which T

SNMP Agent for the specified SNMP Community Resides Is Not That To

Which the mib view for the specified profile pertains, the THAT

Policy Is Called A SNMP Proxy Access Policy. The SNMP Agent

Associated with a proxy access policy is called a snmp proxy agent.While Careless definition of proxy access policies can result in

Management loops, Prudent Definition of Proxy Policies Is Uses Uses

AT Least Two Ways:

(1) IT Permits The Monitoring and Contault of Network Elements

Which Are Otherwise Not Addressable Using The Management

Protocol and The Transport Protocol. That IS, A Proxy

Agent May Provide a protocol conversion function allowing

a management station to apply a consistent management

Case, Fedor, Schoffstall, & Davin [Page 9]

RFC 1157 SNMP May 1990

Framework to All Network Elements, Including Devices Such

As Modems, Multiplexors, And Other Devices Which Support

Different Management Frameworks.

(2) IT Potentially Shields Network Elements from Elaborate

Access Control Policies. For Example, A Proxy Agent May

Implement Sophistated Access Control Whereby Diverse

Subsets of variables forin the Mib Are Made Accessible

To Different Management Station without increasing the

Complexity of the network element.

BY WAY OF EXAMPLE, Figure 1 Illustrate The Relationship Between

Management stats, Proxy Agents, And Management Agents. in this

Example, The Proxy Agent Is Envisioned to Be a Normal Internet

NetWork Operations Center (Inoc) of some administrative domain which

HAS A Standard Managerial Relationship with a set of management

Agents.

Case, Fedor, Schoffstall, & Davin [Page 10]

RFC 1157 SNMP May 1990

---------------------- ----------- -----

| Region # 1 inoc | | Region # 2 inoc | | PC in Region # 3 || | | | | |

| DOMAIN = Region # 1 | | Domain = Region # 2 | | Domain = Region # 3 |

| CPU = Super-mini-1 | | CPU = Super-mini-1 | | CPU = Clone-1 |

PCOMMUNITY = PUB | | PCOMMUNITY = PUB | | PCOMMUNITY = SLATE |

| | | | | | |

---------------------- ----------- -----

/ | / / | / | /

| | | | |

| | | | |

| / | / |

| ----------------- |

--------------> | Region # 3 inoc | <-------------

| | |

| Domain = Region # 3 |

| CPU = Super-mini-2 |

| Pcommunity = pub, |

| slet |

| DCOMMUNITY = SECRET |

------------> | | <-------------

| ----------------- |

| / | / |

| | | | |

| | | | |

/ | / / | / | /

---------------- ----------------- --------- ------

Domain = Region # 3 | | Domain = Region # 3 | | Domain = Region # 3 |

| CPU = router-1 | | CPU = mainframe-1 | | CPU = Modem-1 |

| DCOMMUNITY = SECRET | | DCOMMUNITY = Secret | | DCOMMUNITY = SECRET |

---------------- ----------------- --------- ------ Domain: The Administrative Domain of the Element

PCOMMUNITY: THE Name of a community utilizing a proxy agent

DCOMMUNITY: THE NAME OF A DIRECT Community

Figure 1

EXAMPLE NetWork Management Configuration

Case, Fedor, Schoffstall, & Davin [Page 11]

RFC 1157 SNMP May 1990

3.2.6. Form and meaning of references to managed Objects

The SMI Requires That The Definition of A Conformant Management

Protocol Address:

(1) The Resolution of Ambiguous Mib References,

(2) The resolution of mib References in The Presence Multiple

MIB Versions, And

(3) The Identification of Particular Instances of Object

Types defined in the mib.

3.2.6.1. Resolution of Ambiguous MIB References

Because the scope of any snmp operation is concertually confined to

Objects Relevant to a Single Network Element, And Because All SNMP

References to Mib Objects Are (Implicitly or Explicitly by Unique

Variable names, there is no pictibility triany snmp revance to

Any Object Type Defined in the Mib Could Resolve To Multiple

INSTANCES OF THAT TYPE.

3.2.6.2. Resolution of References Across MIB Versions

The Object Instance Referred to by any snmp operation is exactly That

Specified As Part of The Operation Request OR (In The Case of A Get

Next Operation) ITS IMMEDIATE SUCCESSOR in The MIB AS A WHOLE. IN

Particular, A Reference to an Object As Part of Some Version of The

Internet-Standard Mib Does Not Resolve To Any Object That IS Not Part

Of Said Version of The Internet-Standard Mib, Except in The Case That

THE REQUESTED OPERATION IS GET-Next AND The Specified Object Name Islexicographical Last Among The Names of All Objects Presented AS

Part of Said Version of the Internet-Standard MIB.

3.2.6.3. Identification Of Object Instances

The names for all Object Types in the mib area defined explicitly

Either in The Internet-Standard Mib OR in Other Documents Which

Conform to the naming conferenceions of the smi. The smi request thing

Conformant Management Protocols Define Mechanisms for Identifying

Individual Instances of Those Object Types for a Particular Network

ELEMENT.

Each Instance of Any Object Type Defined in the MIB IDENTIFIED IN

SNMP Operations by a unique name called its "variable name." In

General, THE NAME OF An SNMP Variable Is An Object Identifier of The

Form x.y, where x is the name of a non-aggregate object type defined

In the mib and y is an Object Identifier Fragment That, in A Way

Case, Fedor, Schoffstall, & Davin [Page 12]

RFC 1157 SNMP May 1990

Specific to the named Object Type, Identifier The Desired Instance.

This Naming Strategy Admits The Fullest Exploitation of The Semantics

Of the getnextRequest-PDU (See Section 4), Because IT Assigns Names

For related variables so as to be contiguous in the lexicographical

ORDERING OF All Variable Names Known in The MIB.

The Type-Specific Naming of Object Instances Is Defined Below for A

Number of classes of Object type. instances of an Object Type To

Which None of the Following Naming Conventions Are Applicable Are

Named by Object Identifiers of the Form X.0, Where x is the name of

SAID Object Type in the mib definition.

For example, suppose one wanted to identify an instance of thevariable sysdescriber the object class for sysdescribhip:

Iso Org Dod Internet Mgmt Mib System Sysdescr

1 3 6 1 2 1 1 1

Hence, The Object Type, X, Would BE 1.3.6.1.2.1.1.1 To Which IS

Appended An Instance Sub-Identifier of 0. That IS, 1.3.6.1.2.1.1.0

Identifies the one and only instance of sysdescrib.

3.2.6.3.1. Iftable Object Type Names

The Name of a Subnet Interface, S, is The Object Identifier Value Of

The Form i, WHERE I HAS The Value of That Instance of the iFindex

Object Type Associated with s.

For Each Object Type, T, For Which The defined name, n, HAS a prefix

Of ifentry, an instance, i, of t is name by an Object Identifier of

The form n.s, Where s is the name of the subnet interface about Which on the Subnet INTERFA

I represents information.

For example, suppose one wanted to ide Identify the instance of the

Variable iftype associated with interface 2. Accordingly, iftype.2

Would Identify The Desired Instance.

3.2.6.3.2. Attable Object Type Names

The name of an at-cached network address, x, is an Object Identifier

Of the form 1.a.b.c.d, where a.b.c.d is the value (in the familiar

"DOT" notation) of the atnetdress Object Type Associated with x.

The name of an address translation Equivalence E Is An Object

Identifier Value of The Form S.W, Such That S Is The Value of That

Instance of the atindex Object Type Associated with E and Such That W

Is The Name of The At-Cached Network Address Associated with e.

Case, Fedor, Schoffstall, & Davin [Page 13]

RFC 1157 SNMP May 1990

For Each Object Type, T, For Which The defined name, n, HAS a prefix

Of atentry, an instance, i, of t is name by an object identifier of

The form n.y, where y is the name of the address translation

Equivalence About Which I represents information.

For example, suppose one wanded to find the physical address of an

Entry in the address translation table (arp cache) Associated with an an

IP Address of 89.1.1.42 and interface 3. Accordingly,

Atphysaddress.3.1.89.1.1.42 Would Identify The Desired Instance.

3.2.6.3.3. IPaddrtable Object Type Names

The name of an ip-addressable network element, x, is the object

Identifier of the form a.b.c.d Such That a.b.c.d is the value (in the

Familiar "DOT" notation) of this instance of the ipadaddr Object

Type associated with x.

For Each Object Type, T, For Which The defined name, n, HAS a prefix

Of ipaddre, i, of t is name by an Object Identifier

Of the form n.y, where y is the name of the ip-addressable network

Element About Which I Represents Information.

For example, suppose one wanded to find the network mask of an entry

In The IP Interface Table Associated with An IP Address Of 89.1.1.42.

Accordingly, ipadentnetmask.89.1.1.42 1099.1.1.42 would Identify the desired

INSTANCE.

3.2.6.3.4. IProutingTable Object Type Names

The name of an ip route, x, is the object Identifier of The Form

A.b.c.d Such That A.b.c.d is the value (in the family "dot"

NOTATION) of this instance of the iProutedEST Object Type Associated

WITH X.

For Each Object Type, T, For Which The defined name, n, HAS a prefix

Of iProutIngentry, An Instance, I, of T is name by an Object

Identifier of the form n.y, where y is the name of the ip route About

Which I represents information.

.

Accordingly, iProutenexthop.89.1.1.42 1011

INSTANCE.

3.2.6.3.5. TCPConNTable Object Type Names

The name of a TCP Connection, X, is The Object Identifier of the Form

A.b.c.d.e.f.g.h.i.j Such That a.b.c.d is the value (in the family

Case, Fedor, Schoffstall, & Davin [Page 14]

RFC 1157 SNMP May 1990

"DOT" notation) of this instance of the tcpConnlocaladdress object Object

Type Associated with x and much That f.g.h.i is the value (in The Value

Familiar "DOT" notation) of this instance of the tcpconnremoteaddress

Object type associated with x and such That e is the value of this

Instance of the tcpConnlocalport Object Type Associated with x and

Such That J Is The Value of That Instance of the TcpConnremoteport

Object Type Associated with x.

For Each Object Type, T, For Which The defined name, n, HAS a prefix

Of TcpConnentry, An Instance, I, of T IS named by an Object

Identifier of the form n.y, where y is the name of the tcp connection

About Which I Represents Information.

For example, suppose one wanted to find the state of a TCP Connection

Between the local address of 89.1.1.42 on TCP port 21 and the remote

Address of 10.0.0.51 on TCP port 2059. Accordingly,

TcpConnState.89.1.1.42.21.10.0.51.2059 Would Identify The Desired

INSTANCE.

3.2.6.3.6. Egpneightable Object Type Names

The name of an egp neighbor, x, is the object Identifier of The Form

A.b.c.d Such That A.b.c.d is the value (in the family "dot"

NOTATION) OF THATATION OF THE EGPNEIGHADDR Object Type AssociatedWith X.

For Each Object Type, T, For Which The defined name, n, HAS a prefix

Of EgpneighenTry, An Instance, I, of T IS named by an Object

Identifier of the form n.y, where y is the name of the egp neighbor

About Which I Represents Information.

For example, suppose one wanted to find the neighbor stat States for the ip

Address of 89.1.1.42. Accordingly, EgpneighState.89.1.1.42 would

Identify the desired instance.

Case, Fedor, Schoffstall, & Davin [Page 15]

RFC 1157 SNMP May 1990

4. Protocol Specification

The Network Management Protocol is an Application Protocol by Which

The Variables of An Agent's Mib May Be Inspected OR Altered.

Communication Among Protocol Entities Is Acccomplished by The Exchange

Of Messages, Each of Which is entirely and independently represented

WITHIN a Single UDP DataGram Using The Basic Encoding Rules of Asn.1

(AS Discussed In Section 3.2.2). A Message Consists of a Version

Identifier, AN SNMP Community Name, And A Protocol Data Unit (PDU).

A protocol entity receivers Messages at udp port 161 on the host with

Which it is associated for All Messages Except for Those Which Report

Traps (I.E., All Messages Except Those Which Contain The Trap-PDU).

Messages Which Report Traps Should Be Received on UDP Port 162 for

Further Processing. An Implement of this Protocol NEED NOT

Accept Messages Whose Length Exceeds 484 OCTES. HOWEVER, IS IS

Recommended That Implementations Support Larger DataGrams WHENEVER

Feasible.

IT Is Mandatory That All Implementations of The SNMP Support The Five

PDUS: GetRequest-PDU, GetNextRequest-PDU, GetResponse-PDU, SetRequest-PDU, and Trap-PDU.

RFC1157-SNMP definitions :: = begin

Imports

Objectname, ObjectSyntax, NetworkAddress, ipaddress, Timeticks

From RFC1155-SMI;

- Top-Level Message

Message :: =

SEQUENCE {

Version - Version-1 for This RFC

INTEGER {

Version-1 (0)

}

Community - Community Name

OcTet string,

Data - E.G., PDUS IF Trivial

Any - Authentication is Being Used

}

Case, Fedor, Schoffstall, & Davin [Page 16]

RFC 1157 SNMP May 1990

- Protocol Data Units

PDUS :: =

Choice {

Get-Request

GetRequest-PDU,

Get-next-request

GetNextRequest-PDU,

Get-response

GetResponse-PDU,

Set-request

SetRequest-PDU,

TRAP

TRAP-PDU

}

- The Individual PDUS and Commonly Used

Data Types Will Be Defined Later

End

4.1. Elements of procedure

THIS Section Describes The Actions of a protocol entity implemening

THE SNMP. NOTE, HOWEVER, That it is not intended to connection

INTERNAL Architecture of Any Conformant Implementation.

In The Text That Follows, The Term Transport Address IS Used. In The THE

Case of the UDP, a Transport Address Consists of An IP Address Along

WITH A UDP Port. Other Transport Services May BE Used To Support Thae

SNMP. In There Cases, The Definition of a Transport Address Should

BE Made Accordingly.

Top-Level Actions of A Protocol Entity Which Generates a Message

Are As Follows:

(1) IT First Constructs The Appropriate PDU, E.G., THE

GetRequest-PDU, as an asn.1 Object.

(2) IT THEN PASSES this Asn.1 Object Along with a community

Name ITS Source Transport Address and The Destination

THEDESIRED Authentication Scheme. This Authentication

Case, Fedor, Schoffstall, & Davin [Page 17]

RFC 1157 SNMP May 1990

Service returns another asn.1 object.

(3) THE Protocol Entity Ten Constructions An asn.1 Message

Object, using the community name and the resulting asn.1

Object.

(4) This new asn.1 Object is life serialized, using the Basic

ENCODING Rules of Asn.1, And Then Sent Using a Transport

Service to the peer protocol entity.

Similarly, The Top-Level Actions of A Protocol Entity Which Receives

A Message Are As Follows:

(1) IT Performs a Rudimentary Parse of the Incoming DataGram

To build an asn.1 Object Corresponding to an asn.1

Message Object. If The Parse Fails, IT Discards The

DataGram and Performs No further actions.

(2) It kilifies The Version Number of the SNMP Message.

If there is a mismatch, it discards the datagram and

Performs no further actions.

(3) The Protocol Entity Then Passes The Community Name and

User Data Found in The Asn.1 Message Object, Along with

The DataGram's Source and Destination TRANSPORT Addresses

To The Service Which Implements The Desired

Authentication scheme. this Entity Returns another asn.1

Object, or signals an authentication failure. in the

Latter Case, The Protocol Entity Notes This Failure,

(POSSIBLY) GENERATES A TRAP, AND Discards The DataGram

And Performs No further actions.

(4) The Protocol Entity Then Performs a Rudimentary Parse ON

The Asn.1 Object Returned from the Authentication Service

To build an asn.1 Object Corresponding to an asn.1 PDUS

Object. if The Parse Fails, It Discards The DataGram andPerForms No further actions. Otherwise, Using the name

SNMP Community, The Appropriate Profile Is SELECTED, AND

The PDU IS Processed Accordingly. IF, AS A Result of

This processing, a message is returned dam

Transport Address That The Response Message Is Sent from

Shall Be Identical To The Destination Transport Address

That The Original Request Message Was Sent To.

Case, Fedor, Schoffstall, & Davin [Page 18]

RFC 1157 SNMP May 1990

4.1.1. Common Construction

Before Introducing The Six PDU Types of The Protocol, IT IS

ApproPriate to Consider some of the asn.1 constructs buyfuently:

- Request / Response Information

REQUESTID :: =

Integer

ErrorStatus :: =

INTEGER {

Noerror (0),

TOOBIG (1),

NOSUCHNAME (2),

Badvalue (3),

READONLY (4)

Generr (5)

}

Errorindex :: =

Integer

- Variable Bindings

Varbind :: =

SEQUENCE {

Name

Objectname,

Value

Objectsyntax

}

Varbindlist :: =

SEQUENCE OF

Varbind

Requestids Are Used to Distinguish Among Outstanding Requests. By

Use of the requestid, an SNMP Application Entity Can Correlate

Incoming response with outstanding requests. in case where an

Unreliable DataGram Service is Being Used, The Requestid Also

PROVIDES A Simple Means Of Identifying Messages Duplicated by The

NetWork.

A non-zero instance of errorstatus is buy to indeicate what an

Case, Fedor, Schoffstall, & Davin [Page 19]

RFC 1157 SNMP May 1990

Exception Occurred While Processing A Request. In There Case,

Errorindex May Provide Additional Information by Indicating Whichvariable in a list caused The Exception.

The Term Variable Refers to An Instance of a Managed Object. A

Variable binding, or varbind, refers to the pairing of the name of a

Variable to the variable's value. a varbindlist is a simple list of

Variable names and corresponding values. Some Pdus Are Concerned

Only with the name of a variable and not its value (e.g., the

GetRequest-PDU). In this case, the value portion of the binding is

Ignored by The Protocol Entity. However, The Value Portion MUST

Still Have Valid Asn.1 Syntax and Encoding. it is recommented That

The asn.1 value null be used for the value portion of so bindings.

4.1.2. The getRequest-PDU

The form of the getRequest-PDU IS:

GetRequest-PDU :: =

[0]

Implicit sequence {

REQUEST-ID

REQUESTID,

Error-Status - Always 0

ErrorStatus,

Error-Index - Always 0

Errorindex,

Variable-bindings

Varbindlist

}

The getRequest-PDU IS generated by a protocol entity only at the

Request of its snmp application entity.

Upon receipt of the getRequest-PDU, The Receiving Protocol Entity

Responds According to Any Applicable Rule In The List Below:

(1) IF, for any Object named in the variable-bindings field,

The Object's Name Does NOT EXACTLY MATCH THE Name of Some

Object Available for get Operations in the Relevant MIB

View, Then the receiving entity sends to the Originator

of the receific message the getresponse-pdu of iDRESPONSE-PDU

Form, Except That The Value of the Error-Status Field IS

Nosuchname, and the value of the error-index field is the the ilro

Index of Said Object Name Component in The Received

Case, Fedor, Schoffstall, & Davin [Page 20] RFC 1157 SNMP May 1990

Message.

(2) IF, for any Object named in the variable-bindings field,

The Object Is An Aggregate Type (As Defined In The SMI),

THE Receiving Entity Sends to the Originator of The

Received Message the getResponse-PDU of Identical Form,

Except That The Value of The Error-Status Field IS

Nosuchname, and the value of the error-index field is the the ilro

Index of Said Object Name Component in The Received

Message.

(3) IF the size of the getresponse-pdu generated as described

BELOW WOULD EXCEED a Local Limitation, Then the Receive

Entity Sends to the Originator of The Received Message

The GetResponse-PDU of Identical Form, Except That the

Value of the Error-Status Field Is Toobig, And The Value

Of the error-index field is zero.

(4) IF, for any Object named in the variable-bindings field,

The value of the object cannot be retrieved for Reasons

NOT COVERED by any of the foregoing rules, dam

Receiving Entity Sends to the Originator of The Received

Message the getResponse-PDU of Identical Form, Except

That the value of the error-status field is menerr and

The value of the error-index field is the index of said

Object Name Component in The Received Message.

IF none of the process protopply, the receiving protocol

Entity Sends to the Originator of The Received Message THE

GetResponse-PDU Such That, for Each Object Named in the variable-

Bindings Field of The Received Message, The Corresponding Component

Of the getresponse-pdu represents the name and value of what

Variable. The value of the error- status field of the getresponse-

PDU is norror and the value of the error-index field is zero. Thevalo. The request-id field of the getresponse-pdu is this

Received Message.

4.1.3. The getNextRequest-PDU

The form of the getnextrequest-pdu is identical to what of the

GetRequest-PDU Except for the indexness of the PDU Type. In the

Asn.1 Language:

GetNextRequest-PDU :: =

[1]

Implicit sequence {

REQUEST-ID

REQUESTID,

Case, Fedor, Schoffstall, & Davin [Page 21]

RFC 1157 SNMP May 1990

Error-Status - Always 0

ErrorStatus,

Error-Index - Always 0

Errorindex,

Variable-bindings

Varbindlist

}

THE GETNEXTREQUEST-PDU IS generated by a protocol entity online

Request of its snmp application entity.

Upon receipt of the getnextRequest-PDU, The Receiving Protocol Entity

Responds According to Any Applicable Rule In The List Below:

(1) IF, for Any Object Name in the variable-bindings field,

That name does not Lexicographical Precede the name of

Some Object Available for Get Operations in The Relevant

MIB View, THE Receiving Entity Sends to the Receiving Entity Sends

Originator of The Received Message The getResponse-PDU of

Identical Form, Except That The Value of The Error-Status

Field is nosuchname, and the value of the error-index

Field Is The Index of Said Object Name Component in The

Received Message.

(2) If the size of the getresponse-pdu generated as described

BELOW WOULD EXCEED a Local Limitation, Then the Receive

Entity Sends to the Originator of The Received Message

The GetResponse-PDU of Identical Form, Except That the

Value of the Error-Status Field Is Toobig, And The Value

Of the error-index field is zero.

(3) IF, for any Object named in the variable-bindings field, the value of the lexicographical successor to the name

Object Cannot Be Retrieved for Reasons Not Covered by Any

of the foregoing rules, the receiving entity sends

To the Originator of The Received Message THE

GetResponse-PDU of Identical Form, Except That The Value

Of the error-status field is merr and the value of the

Error-Index Field Is The INDEX of SAID Object Name

Component in the received message.

IF none of the process protopply, the receiving protocol

Entity Sends to the Originator of The Received Message THE

GetResponse-PDU Such That, for Each Name In the variable-bindings

Field of The Received Message, The Corresponding Component of The Corresponding Company

Case, Fedor, Schoffstall, & Davin [Page 22]

RFC 1157 SNMP May 1990

GetResponse-PDU represents the name and value of this object whose

Name is, in the lexicographical ordering of the names of all Objects

Available for get Operations in The Relevant Mib View, Together with

The value of the name field of the given component, the immediate

Success to this value. The value of the error-status field of the ilro

GetResponse-PDU Is Noerror and The Value of The Errorindex Field IS

Zero. The value of the request-id filter of the getresponse-pdu IS

That of the received message.

4.1.3.1. EXAMPLE of TABLE TRAVERSAL

One Important Use of The GetNextRequest-PDU Is The Traversal of

Conceptual Tables of Information Withnin the mib. The semantics of

THIS TYPE OF SNMP MESSAGE, TOGETHER with THE Protocol-Specific

Mechanisms for Identifying Individual Instances of Object Types in

The Mib, Affords Access To Related Objects in The MIB As If Theyenjoyed a Tabular Organization.

By The SNMP Exchange Sketched Below, an SNMP Application Entity Might

Extract The Destination Address and Next Hop Gateway for EACH Entry

In The Routing Table of a Particular Network Element. Suppose That. INTICULAR NETIN

This Routing Table Has Three Entries:

Destination nextop metric

10.0.0.99 89.1.1.42 5

9.1.2.3 99.0.0.3 3

10.0.0.51 89.1.1.42 5

The Management Station Sends to the SNMP Agent A getnextRequest-PDU

Containing the indeicated object Identifier Values ​​as The Requester

Variable names:

GetNextRequest (iProutedEST, iProutenextHop, iProutemetric1)

The SNMP Agent Responds with a getResponse-PDU:

GetResponse ((iProutedSt.9.1.2.3 = "9.1.2.3"),

(iProutenexThop.9.1.2.3 = "99.0.0"),

(iProuteMetric1.9.1.2.3 = 3)))

The Management Station Continues with: THE MANAGEMENT STATION

GetNextRequest (iProutedSt.9.1.2.3,

iProutenexThop.9.1.2.3,

Case, Fedor, Schoffstall, & Davin [Page 23]

RFC 1157 SNMP May 1990

iProuteMetric1.9.1.2.3)

The SNMP Agent Responds:

GetResponse ((iProutedSt.10.0.0.51 = "10.0.0.51"),

(iProutenexthop.10.0.0.51 = "89.1.1.42"),

(iProuteMetric1.10.0.0.51 = 5)))

The Management Station Continues with: THE MANAGEMENT STATION

GetNextRequest (iProutedest.10.0.0.51,

iProutenexThop.10.0.0.51,

iProuteMetric1.10.0.0.51)

The SNMP Agent Responds:

GetResponse ((iProutedSt.10.0.0.99 = "10.0.0.99"),

(iProutenexThop.10.0.0.0.99 = "89.1.1.42"),

(iProuteMetric1.10.0.0.99 = 5)) The Management Station Continues with:

GetNextRequest (iProutedSt.10.0.0.99,

iProutenexThop.10.0.0.99,

iProuteMetric1.10.0.0.99)

As there is no further entries in the table, The SNMP Agent Returns

Those Objects That Are Next In The Lexicographical Order of The Lexicographical ORDERING OF THE

KNown Object Names. This Response Signals The End of the Routing

Table to the management station.

4.1.4. The getResponse-PDU

The form of the getresponse-pdu is identical to what of the

GetRequest-PDU Except for the indexness of the PDU Type. In the

Asn.1 Language:

GetResponse-PDU :: =

[2]

Implicit sequence {

REQUEST-ID

REQUESTID,

Case, Fedor, Schoffstall, & Davin [Page 24]

RFC 1157 SNMP May 1990

Error-Status

ErrorStatus,

Error-Index

Errorindex,

Variable-bindings

Varbindlist

}

The getResponse-pdu is generated by a protocol entity only Upon

Receipt of the getRequest-PDU, GetNextRequest-PDU, Or SetRequest-PDU,

As Described elsewhere in this document.

Upon Receipt of the getResponse-PDU, The Receiving Protocol Entity

Presents ITS Contents To Its SNMP Application Entity.

4.1.5. The setRequest-PDU

THE FORM of the setquest-PDU is identical to what of the

GetRequest-PDU Except for the indexness of the PDU Type. In the

Asn.1 Language:

SetRequest-PDU :: =

[3]

Implicit sequence {

REQUEST-ID

REQUESTID,

Error-Status - Always 0

ErrorStatus,

Error-Index - Always 0

Errorindex,

Variable-bindings

Varbindlist

}

THE setquest-PDU is generated by a protocol entity only at the

Request of its snmp application entity.

Upon receipt of the setRequest-PDU, The Receiving Entity Responds

According to any applicable rule in the list below:

(1) IF, for any Object named in the variable-bindings field,

Case, Fedor, Schoffstall, & Davin [Page 25]

RFC 1157 SNMP May 1990

The Object Is Not Available for Set Operations in Thebe

Relevant Mib View, Then the receiving entity sends to the receiving equipment

Originator of The Received Message The getResponse-PDU of

Identical Form, Except That The Value of The Error-Status

Field is nosuchname, and the value of the error-index

Field Is The Index of Said Object Name Component in The

Received Message.

(2) IF, for any Object named in the variable-bindings field,

The Contents of the Value Field Does NOT, According To

The Asn.1 Language, Manifest a Type, Length, And Value

That Is Consistent with That Required for the Variable,

THE Receiving Entity Sends to the Originator of The

Received Message the getResponse-PDU of Identical Form,

Except That The Value of The Error-Status Field IS

Badvalue, and the value of the error-index field is the ilror-index field is the

Index of Said Object Name in The Received Message.

(3) If the size of the get response type message generated as

Described BELOW WOULD EXCEED a Local Limitation, THEN

Receiving Entity Sends to the Originator of The Received

Message the getResponse-PDU of Identical Form, Except

That the value of the error, ing, s t s

The value of the error-index field is zero.

(4) IF, for any Object named in the variable-bindings field,

The value of the named Object Cannot Be Altered for

Reasons Not Covered by Any of The Foregoing Rules, THEN

The receiving entity sends to the Originator of The

Received Message The getResponse-PDU of Identical Form, Except That the value of the error-status field is me

And the value of the error-index field is the index of the ing

Said Object Name Component in The Received Message.

IF None of the foregoing rules Apply, The for Each Object Named in

THE VARIABLE-BINDINGS FIELD of The Received Message, THE

Corresponding Value is Assigned to The Variable. Each Variable

Assignment Specified by The SetRequest-PDU Should Be Effected As IF

SIMULTASLY SET with respect to all other assignments specified in

The Same Message.

The receiving entity the receiving originator of the received

Message the getresponse-pdu of identical form Except That the value

Of the error-status field of the generated message is norror and the

Value of the error-index field is zero.

Case, Fedor, Schoffstall, & Davin [Page 26]

RFC 1157 SNMP May 1990

4.1.6. The trap-PDU

The form of the trap-pdu is:

Trap-PDU :: =

[4]

Implicit sequence {

Enterprise - Type of Object Generating

- Trap, See sysobjectid in [5]

Object Identifier,

Agent-Addr - Address Of Object Generating

NetWorkaddress, - 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 Time Elapsed Between Time ELAPSED

Timeticks, - (Re) Initialization of the network

- Entity and the generation of the

TRAP

Variable-bindings - "Interesting" informationvarbindlist

}

THE TRAP-PDU IS generated by a protocol Entity Only at the request of

The SNMP Application Entity. The means by Which an SNMP Application

Entity Selects The Destination Addresses of the SNMP Application

Entities IS IMPLEMENTATION-SPECIFIC.

Upon Receipt of the Trap-PDU, The Receiving Protocol Entity Presents

ITS Contents to Its SNMP Application Entity.

Case, Fedor, Schoffstall, & Davin [Page 27]

RFC 1157 SNMP May 1990

THE SIGNIFICANCE OF THE VARIABLE-BINDINGS Component of The Trap-PDU

IS IMPLEMENTATION-SPECIFIC.

Interpretation of the value of the generic-trap field area:

4.1.6.1. The ColdStart Trap

A ColdStart (0) Trap Signifies That The Sending Protocol Entity IS

Reinitializing Itself Such That The Agent's Configuration or THE

Protocol Entity Implementation May Be Altered.

4.1.6.2. The WarmStart Trap

A WarmStart (1) Trap Signifies That The sending protocol entity is

Reinitializing Itself Such That Neither The Agent Configuration NOR

The Protocol Entity Implementation is altered.

4.1.6.3. The Linkdown Trap

A linkdown (2) trap signifies That The sending protocol entity

Recognizes a failure in One of the Communication Links Represented in

The agent's configuration.

The Trap-PDU of Type Linkdown Contains As The First Element of ITS

Variable-bindings, the name and value of the ifindex instance for the iFindex instance for

Affected interface.

4.1.6.4. The Linkup Trap

A Linkup (3) Trap Signifies That The sending protocol entity

Recognizes That One of the Communication Links Represented in The COMMUNICATION

Agent's Configuration Has Come Up.

THE TRAP-PDU of Type Linkup Contains As The First Element of Itsvariable-Bindings, The Name and Value of The IfINDEX Instance for THE

Affected interface.

4.1.6.5. The AuthenticationFail TRAP

An AuthenticationFailure (4) Trap Signifies That The sending protocol

Entity Is The Addressee of A Protocol Message That IS Not Properly

Authenticated. While Implementations of The SNMP Must Be Capable of the SNMP MUST BE

Generating this trap, They Must Also BE Capable of Suppressing To

Emission of Such Traps Via An Implementation-Specific Mechanism.

4.1.6.6. The Egpneighborloss Trap

An Egpneighborloss (5) Trap Signifies That An EGP NEIGHBOR for Whom

Case, Fedor, Schoffstall, & Davin [Page 28]

RFC 1157 SNMP May 1990

The sending protocol entity was an EGP Peer Has Been Marked Down and

The Peer Relationship No Longer Obtains.

The Trap-PDU of Type Egpneighborloss Contains As The First Element of

ITS Variable-Bindings, The Name and Value of The Egpneighhaddr

Instance for the affected neighbor.

4.1.6.7. The Enterprisespecific Trap

A Enterprisespecific (6) Trap Signifies That The sending protocol

Entity Recognizes That Some Enterprise-Specific Event Has Occurred.

THE SPECIFIC-TRAP FIELD IDENTIFIES The Particular Trap Which

Occurred.

Case, Fedor, Schoffstall, & Davin [Page 29]

RFC 1157 SNMP May 1990

5. Definitions

RFC1157-SNMP definitions :: = begin

Imports

Objectname, ObjectSyntax, NetworkAddress, ipaddress, Timeticks

From RFC1155-SMI;

- Top-Level Message

Message :: =

SEQUENCE {

Version - Version-1 for This RFC

INTEGER {

Version-1 (0)

}

Community - Community Name

OcTet string,

Data - E.G., PDUS IF Trivial

Any - Authentication is Being Used

}

- Protocol Data Units

PDUS :: =

Choice {

Get-Request

GetRequest-PDU,

Get-next-request

GetNextRequest-PDU,

Get-response

GetResponse-PDU,

Set-request

SetRequest-PDU,

TRAP

TRAP-PDU

}

Case, Fedor, Schoffstall, & Davin [Page 30]

RFC 1157 SNMP May 1990

- PDUS

GetRequest-PDU :: =

[0]

Implicit PDU

GetNextRequest-PDU :: =

[1]

Implicit PDU

GetResponse-PDU :: =

[2]

Implicit PDU

SetRequest-PDU :: =

[3]

Implicit PDU

PDU :: =

SEQUENCE {

REQUEST-ID

Integer,

Error-Status - Sometimes Ignored

INTEGER {

Noerror (0),

TOOBIG (1),

NOSUCHNAME (2),

Badvalue (3),

READONLY (4),

Generr (5)

}

Error-Index - Sometimes Ignored

Integer,

Variable-Bindings - Values ​​Are Sometimes Ignored

Varbindlist

}

Trap-PDU :: =

[4]

Implicit sequence {

Enterprise - Type of Object Generating

- Trap, See sysobjectid in [5]

Object Identifier,

Case, Fedor, Schoffstall, & Davin [Page 31]

RFC 1157 SNMP May 1990

Agent-Addr - Address Of Object Generating

NetWorkaddress, - 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 Time Elapsed Between Time ELAPSED

Timeticks, - (Re) Initialization of the

NetWork

- Entity and The Generation of Thet

Variable-bindings - "Interesting" Information

Varbindlist

}

- Variable Bindings

Varbind :: =

SEQUENCE {

Name

Objectname,

Value

Objectsyntax

}

Varbindlist :: =

SEQUENCE OF

Varbind

End

Case, Fedor, Schoffstall, & Davin [Page 32]

RFC 1157 SNMP May 1990

6. ACKNOWLEDGEMENTS

This Memo Was Influenced by the Ietf SNMP EXTENSIONS WORKING

Group:

Karl Auerbach, Epilogue Technology

K. Ramesh Babu, Excelan

Amatzia Ben-Artzi, 3COM / Bridge

Lawrence BESAW, Hewlett-Packard

Jeffrey D. Case, University of Tennessee At Knoxville

Anthony Chung, Sytek

James Davidson, The Wollongong Group

James R. Davin, Mit Laboratory for Computer Science

Mark S. Fedor, NYSERNET

Phill Gross, The Mitre Corporation

Satish Joshi, ACC

Dan Lynch, Advanced Computing Environments

Keith McCloghrie, The Wollongong Group

Marshall T. Rose, The Wollongong Group (chair)

Greg Satz, Cisco

Martin Lee Schoffstall, Rensselaer Polytechnic Institute

Wengyik Yeong, NYSERNET

Case, Fedor, Schoffstall, & Davin [Page 33]

RFC 1157 SNMP May 1990

7. References

[1] CERF, V., "IAB Recommendations for the development of

Internet Network Management Standards ", RFC 1052, IAB,

April 1988.

[2] Rose, M., And K. McCloghrie, "Structure and Identification

Of Management Information for TCP / IP-BASED INTERNES,

RFC 1065, TWG, August 1988.

[3] McCloghrie, K., And M. Rose, "Management Information Base

For Network Management Of TCP / IP-BASED INTERNETS ",

RFC 1066, TWG, August 1988.

[4] CERF, V., "Report of The Second Ad Hoc Network ManagementreView Group", RFC 1109, IAB, August 1989.

[5] Rose, M., And K. McCloghrie, "Structure and Identification

Of Management Information for TCP / IP-BASED INTERNES,

RFC 1155, Performance Systems International and hughes lan

Systems, May 1990.

[6] McCloghrie, K., And M. Rose, "Management Information Base

For Network Management Of TCP / IP-BASED INTERNETS ",

RFC 1156, HUGHES LAN SYSTEMS AND Performance Systems

INTERNATIONAL, MAY 1990.

[7] Case, J., M. Fedor, M. Schoffstall, And J. Davin,

"A Simple Network Management Protocol", Internet

Engineering Task Force Working Note, Network Information

Center, Sri International, Menlo Park, California,

March 1988.

[8] Davin, J., J. Case, M. Fedor, And M. Schoffstall,

"A Simple Gateway Monitoring Protocol", RFC 1028,

Proteon, University of Tennessee At Knoxville,

Cornell University, And Rensselaer Polytechnic

Institution, November 1987.

[9] Information Processing Systems - Open Systems

InterConnection, "Specification of Abstract Syntax

Notation One (ASN.1) ", International Organization for

Standardization, INTERNATIONAL Standard 8824,

December 1987.

[10] Information Processing Systems - Open Systems

Interconnection, "Specification of Basic Encoding Rules

For Abstract Notation One (ASN.1) ", INTERNATIONAL

Case, Fedor, Schoffstall, & Davin [Page 34]

RFC 1157 SNMP May 1990

Organization for Standardization, International Standard, INTERNATIONAL STANDARD

8825, December 1987.

[11] Postel, J., "User DataGram Protocol", RFC 768,

USC / INFORMATION sciences institute, NOVEMBER 1980.

Security Considerationssecurity Issues Are Not Discussed in this Memo.

Authors' Addresses

Jeffrey D. Case

SNMP Research

P.O. Box 8593

KNOXVILLE, TN 37996-4800

PHONE: (615) 573-1434

Email: cas@cs.utk.edu

Mark Fedor

Performance Systems International

Rensselaer Technology Park

125 Jordan Road

Troy, NY 12180

Phone: (518) 283-8860

Email: fedor@patton.nyser.net

Martin Lee Schoffstall

Performance Systems International

Rensselaer Technology Park

165 Jordan Road

Troy, NY 12180

Phone: (518) 283-8860

Email: Schoff@nisc.Nyser.net

Case, Fedor, Schoffstall, & Davin [Page 35]

RFC 1157 SNMP May 1990

James R. Davin

Mit Laboratory for Computer Science, NE43-507

545 TECHNOLOGY SQUARE

Cambridge, MA 02139

Phone: (617) 253-6020

Email: jrd@ptt.lcs.mit.edu

Case, Fedor, Schoffstall, & Davin [Page 36]

转载请注明原文地址:https://www.9cbs.com/read-73263.html

New Post(0)