SNMP/SMI研究总结

本文探讨了SNMP的相关RFC,重点介绍了SMIv2,包括其包含的RFC2578、2579和2580。内容涉及SMIv2的数据结构、文本约定、保留关键字以及OBJECT IDENTIFIER的解析。同时,文章讲解了MIB中的类型、宏以及MAX-ACCESS和STATUS字段的含义。
摘要由CSDN通过智能技术生成

 这些日子因为要做一个模型适配的东西,一直在看SNMP相关的RFC,总结些东西,放到这里。

SMIv2包括:

RFC2578        SMIv2(对syntax的说明:The data structure must be one of the following: a base type, the BITS construct??(这个不是太懂,有了解的请赐教), or a textual convention. (SEQUENCE OF and SEQUENCE are also possible for conceptual tables, see section 7.1.12). The base types are those defined in the ObjectSyntax CHOICE. A textual convention is a newly-defined type defined as a sub-type of a base type [RFC2579].

RFC2579        Textual Conventions for SMIv2When designing a MIB module, it is often useful to define new types similar to those defined in the SMI. In comparison to a type defined in the SMI, each of these new types has a different name, a similar syntax, but a more precise semantics. These newly defined types are termed textual conventions, and are used for the convenience of humans reading the MIB module. It is the purpose of this document to define the initial set of textual conventions available to all MIB modules.

RFC2580        SMIv2 Conformance Statements for SMIvIt may be useful to define the acceptable lower-bounds of implementation, along with the actual level of implementation achieved. It is the purpose of this document to define the notation used for these purposes.

表格 1   SMI发展概览(SMI第一版)

SMI首次定义

1988.8

1065

SMI修订

1990.5

1155

精确MIB格式的定义

1991.3

1212

陷阱的定义

1991.3

1215

 

表格 2   MIB发展概览

MIB-1首次定义

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值