当前位置:网站首页>SNMP (Simple Network Management Protocol)
SNMP (Simple Network Management Protocol)
2022-07-27 13:39:00 【Weisi xmws】

Simple Network Management Protoco——SNMP( Simple network management protocol )
In the current increasingly complex network environment , There are various network devices in the whole environment , In order to better manage these devices , Early detection of existing or future problems in the network ,SNMP It provides a technical basis for effective management of these network devices .
SNMP By IETF(Internet Engineeriing Task Force, Internet Engineering Task Force ) The set of definitions is based on SGMP(Simple Gateway Monitor Protocol, Simple Gateway Monitoring Protocol ) Network management protocol . With SNMP Network management system for Technology (NMS) in , Manage host utilization SNMP Conduct remote monitoring and management of all devices supporting this protocol on the network ( Such as computer workstation 、 terminal 、 Router 、Hub、 Network printer, etc ), Mainly responsible for monitoring equipment status 、 Modify the device configuration 、 Accept the event warning, etc
SNMP It mainly works between the management host and network equipment .
Some basic concepts

Manager: Installed SNMP Host of management software
Managed Device: Managed network devices ( Including computers 、 Router 、 Switches and so on )
Agent: On network devices SNMP Management system ( You can simply say Managed Device Namely Agent)
MIB(Management Information Base): Used to save all kinds of OID The database of
OID(Object Identifies): Used to describe all kinds of information about network devices ( event ), such as :CPU Utilization ratio 、 Interface status 、 Routing table, etc
MIB Divided into criteria MIB And private MIB, standard MIB Applicable to all network devices , And private MIB The equipment manufacturer shall define by itself after applying to relevant institutions .MIB Tree structure , Each node is assigned a string and a small integer as labels , namely OID(Object Identifier)

MIB The name of any object in the structure tree is the label sequence of each node on the path from the root to the object node , The labels are separated by dots . For example, for each network interface in the managed device IP The address information is expressed as :iso.org.dod.internet.mgmt.mid.ip, Its number is expressed as :1.3.6.1.2.1.4.
standard MIB Basic OID think 1.3.6.1.2.1 Prefix , And private MIB Basic OID think 1.3.6.1.4.1 Prefix . If there are multiple messages under a certain node , Exists in a list , such as IP The address information includes the subnet mask 、 Gateway address, etc .
SNMP There are five message types :

Get_Request:Manager To the end Agent The client sends a request to read information ;
Get_Next_Request:Manager To the end Agent The client sends a request to read information ;
Set_Request:Manager To the end Agent End sending device setting information ,Agent The terminal can change the device state according to the setting information ;
Get_Response:Agent End to Manager Response to end request ;
Trap: When Agent When something happens on the end ,Agent Take the initiative to Manager Send trap information at the end , Such as shutdown events .
Two kinds of Community:
RO: read-only —— Only those sent by network devices can be received trap news
RW: Reading and writing —— It can receive messages sent by network devices trap news , It can also modify the configuration of network devices
Community It is like a clear password to match between the manager and the managed ;
for example :
Suppose there is... Between the manager and the managed Community yes CCIE;
When the manager receives trap First detect Community Fields follow CCIE Is it consistent 、 Receive only when it is consistent, otherwise discard !
To configure SNMP:
Switch(config)# access-list 10 permit 10.1.1.0 0.0.0.255
Switch(config)# snmp-server community wisdom RO 10
Switch(config)# snmp-server community xmws RW 10
Switch(config)# snmp-server enable trap
Switch(config)# snmp-server host 10.1.1.100 xmws
边栏推荐
- QT excellent open source project 13: qscintilla
- [basic knowledge] ~ IC design process and EDA tools used in each stage
- clear
- Rotation chart
- 数据库内核开发人员,值一个马克杯!!!
- Deliver temperature with science and technology, vivo appears at the digital China Construction Summit
- Verilog的系统任务----$fopen、$fclose和$fdisplay, $fwrite,$fstrobe,$fmonitor
- 字节跳动 AI Lab 总监李航:语言模型的过去、现在和未来
- "Digital economy, science and technology for the good" talk about dry goods
- PAT乙级 1109 擅长C(详解)
猜你喜欢

v-show

MFC FTP creates multi-level folders and uploads files to the specified directory of FTP

leetcode——83,24;机器学习——神经网络

实现新增加硬盘的磁盘分区和文件系统挂载

for .. of可用于哪些数据的遍历

电气成套企业如何借助ERP系统,做好成本利润管理?

OPPO 自研大规模知识图谱及其在数智工程中的应用

Amd adrenalin 22.7.1 driver update: double the performance of OpenGL and support Microsoft win11 22h2 system

Getting started for beginners: build your own blog with WordPress

Product manager experience 100 (XI) - Strategic Product Manager: model and methodology
随机推荐
eBPF/Ftrace
网络异常流量分析系统设计
Build mtk6765 compilation environment
leetcode——83,24; Machine learning - neural networks
插入排序,正序,倒序
v-text
How can electric complete set enterprises do well in cost and profit management with the help of ERP system?
Arrays and functions of knowledge in every corner of C language
力扣 1480. 一维数组的动态和 383. 赎金信412. Fizz Buzz
W3School导航栏练习
Pat class B 1109 good at C (detailed)
Common types of electric slip rings
C ftp add, delete, modify, query, create multi-level directory, automatic reconnection, switch directory
Icon Font
Write a program, accept a string consisting of letters, numbers and spaces, and a character, and then output the number of characters in the input string. Case insensitive.
【2023复旦微电子提前批笔试题】~ 题目及参考答案
【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(九)
腾讯云联合中国工联院发布工业AI质检标准化研究成果加速制造业智能化转型
Set up SSH key based authentication using putty
Image features and extraction