2. SNMPv2 网络管理框架
SNMPv2 网络管理框架由四个主要组件组成. 它们是:
o RFC 1442 which defines the SMI, the mechanisms used for
describing and naming objects for the purpose of management.
o STD 17, RFC 1213 defines MIB-II, the core set of managed objects
for the Internet suite of protocols.
o RFC 1445 which defines the administrative and other architectural
aspects of the framework.
o RFC 1448 which defines the protocol used for network access to
managed objects.
The Framework permits new objects to be defined for the purpose of
experimentation and evaluation.
2.1. 对象定义
受管对象 (managed object) 通过一个虚拟信息存储来访问, 该存储称为管理信息库 (Management Information Base, MIB). MIB 中的对象使用 SMI 中定义的抽象语法标记一 (Abstract Syntax Notation One, ASN.1) 子集来定义. 特别是, 每个对象对象类型都由一个 OBJECT IDENTIFIER 命名, 这是一个由管理方分配的名称. 对象类型与对象实例一起用于唯一标识该对象的一个特定实例. 为方便人类使用, 我们经常使用一个文本字符串 (称为描述符) 来指代对象类型.