TCP/IP 详解 卷1 ch25 SNMP:简单网络管理协议

本文介绍基于TCP/IP的网络管理三个核心组成部分:MIB(管理信息库)、SMI(结构化管理信息)和SNMP(简单网络管理协议)。详细解析了SNMP的五种消息类型及其工作流程,并解释了对象标识符的概念以及实例识别方式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


1. 基于TCP/IP的网络管理包含3个部分:
1) MIB, specifies what variables the network elements maintain (the information that can be queried and set by the manager).包含所有代理进程的所有可以查询和修改的参数
2) SMI, A set of common structures and an identification scheme used to reference the variables in the MIB
3) SNMP,The protocol between the manager and the element, called the Simple Network Management Protocol (SNMP).

2. SNMP
5 messages
1) get-request
2) get-next-request
3) set-request
4) get-response
5) trap
The first three messages are sent from the manager to the agent, and the last two are from the agent to the manager.The manager sends its three requests to UDP port 161. The agent sends traps to UDP port 162. using ASN1 and BER encoding rule.

3. Object Identifier
An object identifier is a data type specifying an authoritatively named object. An object identifier is a sequence of integers separated by decimal points.All variables in the MIB start with the object identifier 1.3.6.1.2.1

Case Diagrams visually illustrate the relationships between the various MIB variables in a given group.

4. Instance Identification

1) Simple variables are referenced by appending ".0" to the variable's object identifier.
2) Tables
All the entries in MIB tables are lexicographically ordered by their object identifiers. tables are accessed in a column-row order.

5. 应用举例
1) 接口MTU
2) 路由表

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值