博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Protocol Framework - SNMP Tutorial
阅读量:6773 次
发布时间:2019-06-26

本文共 3816 字,大约阅读时间需要 12 分钟。

30.4 Protocol Framework

  TCP/IP network management protocols2 divide the management problem into two parts and specify separate standards for each part. The first part concerns communication of information. A protocol specifies how client software running on a manager's host communicates with an agent. The protocol defines the format and meaning of messages clients and servers exchange as well as the form of names and addresses. The second part concerns the data being managed. A protocol specifies which data items a managed device must keep as well as the name of each data item and the syntax used to express the name.

30.4.1 A Standard Network Management Protocol

  The TCP/IP standard for network management is the Simple Network Management Protocol (SNMP). The protocol has evolved through three generations. Consequently,the current version is known as SNMPv3, and the predecessors are known as SNMPvl and SNMPv2. The changes have been minor -- allthree versions use the same generalframework, and many features are backward compatible.

  In addition to specifying details such as the message format and the use of transport protocols, the SNMP standard defines the set of operations and the meaning of each. We will see that the approach is minimalistic; a few operations provide all functionality.

30.4.2 A Standard For Managed Information

  A device being managed must keep control and status information that the manager can access. For example, a router keeps statistics on the status of its network interfaces, incoming and outgoing packet traffic, dropped datagrams, and error messages generated; a modem keeps statistics about the number of characters sent and received, baud rate, and calls accepted. Although it allows a manager to access statistics, SNMP does not specify exactly which data can be accessed on which devices. Instead, a separate standard specifies the details for each type of device. Known asa Management Information Base (MIB), the standard specifies the data items a managed device must keep, the operations allowed on each, and the meanings. For example, the MIBfor IP specifies that the software must keep a count of all octets that arrive over each network interface and that network management software can only read the count.

  The MIB for TCP/IP divides management information into many categories. The choice of categories is important because identifiers used to specify items include a code for the category. Figure 30.2 lists a few examples.

  Keeping the MIB definition independent of the network management protocol has advantages for both vendors and users. A vendor can include SNMP agent software in a product such as a router, with the guarantee that the software will continue to adhere to the standard after new MIB items are defined. A customer can use the same network management client software to manage multiple devices that have slightly different versions of a MIB. Of course, a device that does not have new MIB items cannot provide the information in those items. However, because all managed devices use the same language for communication, they can all parse a query and either provide the requested information or send an error message explaining that they do not have the requested item.

 

2Technically, there is a distinction between internet management protocols and network management protocols. Historically, however, TCP/IP internet management protocols are known as network managementprotocols; we will follow the accepted terminology.

 

Abstract from Internetworking With TCP/IP Vol I: Principles, Protocols, and Architecture Fourth Edition,

DOUGLAS E. COMER,

Department of Computer Sciences Purdue University, West Lafayette, IN 47907,

PRENTICE HALL,

Upper Saddle River, New Jersey 07458

转载于:https://www.cnblogs.com/klchang/p/5189180.html

你可能感兴趣的文章
一步一步重写 CodeIgniter 框架 (6) —— 实现在控制器Controller中加载Vi
查看>>
阿里云专访Redisson作者Rui Gu:构建开源企业级Redis客户端之路
查看>>
直击KubeCon 2018 |云原生正在改变你的衣食住行
查看>>
pku 2081
查看>>
你应该知道的 HBase 基础,都在这儿了
查看>>
sublime速查手册
查看>>
Nginx+Redis+Tomcat实现session共享的集群
查看>>
nagios整理安装
查看>>
Java的JAR文件
查看>>
Cocos2d-x笔记
查看>>
简历中千万不要出现的 3 个问题
查看>>
Android处理java的date数据的问题
查看>>
SQL 时间计算总结。
查看>>
《编写可读代码的艺术》读书文摘--第五章 该写什么样的注释 第六章 写出言简意赅的注释...
查看>>
js全选作为按钮实现全选和不全选的操作
查看>>
DRBD8.4.4配置Primary-Secondary冗余模式(完全是自己手动做的)
查看>>
无路由权限的情况下让外网访问内网服务器——SSH反向隧道
查看>>
Python实现Linux中简单du命令
查看>>
利用Prometheus和Grafana监控MySQL
查看>>
思科Router和Switch的最基本配置
查看>>