CN100440801C - A method to realize the fusion of multi-standard management information base on the agent side - Google Patents
A method to realize the fusion of multi-standard management information base on the agent side Download PDFInfo
- Publication number
- CN100440801C CN100440801C CNB200510126196XA CN200510126196A CN100440801C CN 100440801 C CN100440801 C CN 100440801C CN B200510126196X A CNB200510126196X A CN B200510126196XA CN 200510126196 A CN200510126196 A CN 200510126196A CN 100440801 C CN100440801 C CN 100440801C
- Authority
- CN
- China
- Prior art keywords
- standard
- mib
- management information
- agent
- snmp
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000004927 fusion Effects 0.000 title claims abstract description 21
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000007726 management method Methods 0.000 description 42
- 108700010388 MIBs Proteins 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开一种实现代理侧多标准管理信息库融合的方法,先建立多个MIB标准融合的包括这些库中所有OID节点的融合MIB;将融合MIB的各个OID节点加入到SNMP代理器的管理信息库树中,并为每个OID节点提供处理函数GET/SET;根据代理器需要工作的网络管理环境支持的MIB标准,配置用于标识该代理器当前支持的MIB标准的配置项;代理器向简单SNMP管理器上报Trap消息时,根据所述配置项的配置值识别出当前支持的MIB标准,将该标准中的OID绑定到Trap消息中上报给管理器。本发明使得SNMP管理器和SNMP代理器都不需要升级,SNMP代理设备就能工作在不同的网络管理环境中。
The invention discloses a method for realizing the fusion of multi-standard management information databases on the agent side. First, a fusion MIB including all OID nodes in these databases is established for the fusion of multiple MIB standards; and each OID node of the fusion MIB is added to the management of the SNMP agent. In the information base tree, and provide processing function GET/SET for each OID node; according to the MIB standard supported by the network management environment that the agent needs to work, configure the configuration item used to identify the MIB standard currently supported by the agent; the agent When reporting the Trap message to the simple SNMP manager, identify the currently supported MIB standard according to the configuration value of the configuration item, bind the OID in the standard to the Trap message and report it to the manager. The invention makes the SNMP manager and the SNMP agent do not need to be upgraded, and the SNMP agent device can work in different network management environments.
Description
技术领域 technical field
本发明涉及网络管理技术,尤其涉及SNMP的网络管理方法。The invention relates to network management technology, in particular to an SNMP network management method.
背景技术 Background technique
随着网络技术的高速发展,NGN(下一代网络:Next Generation Network)网络已经走出实验室,发展到规模化商用的时代。在NGN网络中存在着大量的终端设备,例如:HGW(家庭网关:Home Gateway),IAD(集成接入设备:Integrated Access Device)等。随着网络的规模运营,对这些设备的有效管理成了必须解决的问题。现在对这些终端设备的管理通常采用SNMP(简单网络管理协议:Simple Network Management Protocol)协议。如图1所示,SNMP协议的实现由SNMP管理器10和SNMP代理器11共同完成。SNMP管理器10和SNMP代理器11共用一个MIB(管理信息库:ManagementInformation Base)12来描述SNMP代理器11所在设备的信息,SNMP管理器10通过GET/GET-NEXT/SET/GET-RESPONSE/操作来与SNMP代理器11通信,SNMP代理器11使用TRAP(自陷)主动和SNMP管理器10通信。SNMP管理器10是一个服务器,SNMP代理器11则在被SNMP管理器10管理的终端设备上实现。With the rapid development of network technology, NGN (Next Generation Network: Next Generation Network) network has stepped out of the laboratory and developed into the era of large-scale commercial use. There are a large number of terminal devices in the NGN network, such as: HGW (Home Gateway: Home Gateway), IAD (Integrated Access Device: Integrated Access Device) and so on. With the large-scale operation of the network, the effective management of these devices has become a problem that must be solved. Now the management of these terminal devices usually adopts SNMP (Simple Network Management Protocol: Simple Network Management Protocol) protocol. As shown in FIG. 1 , the implementation of the SNMP protocol is completed jointly by the SNMP
终端设备有一个特点,那就是使用环境不定,比如同样一个IAD设备,可能工作在不同的网络管理环境下,即在不同的SNMP网络管理器下工作,各个SNMP管理器有着不同的MIB。这样问题就出现了,当终端设备改变环境时,能否要求网管环境也跟着改变,支持更多的MIB?现实环境中SNMP管理器是运营商来维护的,不会因为被管理的设备改变而频繁升级。因此为了增强终端设备对网络管理环境的适应能力,需要在SNMP代理侧实现多标准MIB融合。One characteristic of terminal equipment is that the use environment is variable. For example, the same IAD equipment may work in different network management environments, that is, work under different SNMP network managers, and each SNMP manager has a different MIB. So the question arises, when the terminal equipment changes the environment, can the network management environment also be required to change to support more MIBs? In the actual environment, the SNMP manager is maintained by the operator and will not be updated frequently due to changes in the managed devices. Therefore, in order to enhance the adaptability of terminal equipment to the network management environment, it is necessary to implement multi-standard MIB integration on the SNMP agent side.
专利申请号为CN200410009251.2的中国专利公开了一种“SNMP管理站和代理之间MIB版本协调的方法”,该专利只提出了标识MIB版本的办法,没有将不同标准的MIB融合,不能达到一个具有SNMP代理的设备支持多种网络管理环境的要求。The Chinese patent with the patent application number CN200410009251.2 discloses a "MIB version coordination method between SNMP management station and agent". A device with an SNMP agent supports the requirements of various network management environments.
专利申请号为US6854011B2的美国专利“SYSTEM AND METHODFOR CONTROLLING TRAP GENERATION OF SIMPLE NETWORKMANAGEMENT PROTOCOL(SNMP)BY DEFINING AND USING A TRAPFLAG FIELD AND A TRAP PEER FIELD IN THE MANAGEDINFORMATION BASE(MIB)”,公开了一种通过标志位控制产生TRAP的方法。该专利只提出了产生不同TRAP的方法,同样没有将不同标准的MIB融合,不能达到一个具有SNMP代理的设备支持多种网络管理环境的要求。The U.S. patent "SYSTEM AND METHODFOR CONTROLLING TRAP GENERATION OF SIMPLE NETWORKMANAGEMENT PROTOCOL (SNMP) BY DEFINING AND USING A TRAPFLAG FIELD AND A TRAP PEER FIELD IN THE MANAGE DINFORMATION passed the BASE (MI Controls the method by which TRAP is generated. This patent only proposes a method for generating different TRAPs, but also does not integrate MIBs of different standards, and cannot meet the requirement that a device with an SNMP agent support multiple network management environments.
发明内容 Contents of the invention
本发明所要解决的技术问题是提供一种实现代理侧多标准管理信息库融合的方法,使得SNMP管理器和SNMP代理器都不需要升级,SNMP代理设备就能工作在不同的网络管理环境中。The technical problem to be solved by the present invention is to provide a method for realizing the fusion of multi-standard management information bases on the agent side, so that neither the SNMP manager nor the SNMP agent needs to be upgraded, and the SNMP agent device can work in different network management environments.
本发明提供了一种实现代理侧多标准管理信息库融合的方法,包括以下步骤:The invention provides a method for realizing the fusion of multi-standard management information bases on the agent side, which includes the following steps:
(a)建立多个标准管理信息库融合得到的包括这些标准管理信息库所有对象识别符节点的融合管理信息库;(a) Establishing a fusion management information base obtained by merging multiple standard management information bases including all object identifier nodes of these standard management information bases;
(b)将所述融合管理信息库的各个对象识别符节点加入到简单网络管理协议代理器的管理信息库树中,并为每个所述对象识别符节点提供处理函数GET/SET;(b) adding each object identifier node of the fusion management information base to the management information base tree of the simple network management protocol agent, and providing a processing function GET/SET for each of the object identifier nodes;
(c)根据所述代理器需要工作的网络管理环境支持的管理信息库标准,配置用于标识该代理器当前支持的管理信息库标准的配置项;(c) according to the management information base standard supported by the network management environment where the agent needs to work, configuring configuration items for identifying the management information base standard currently supported by the agent;
(d)所述代理器向简单网络管理协议管理器上报Trap消息时,根据所述配置项的配置值识别出当前支持的管理信息库标准,将该标准中的对象识别符绑定到Trap消息中上报给所述管理器。(d) When the agent reports the Trap message to the Simple Network Management Protocol manager, it recognizes the currently supported MIB standard according to the configuration value of the configuration item, and binds the object identifier in the standard to the Trap message reported to the manager.
进一步地,上述方法还可具有以下特点:所述步骤(a)中,建立融合管理信息库是通过以任何一个标准管理信息库树为基础,将其他标准管理信息库树中不相同的对象识别符节点添加到该基础的管理信息库树中实现的。Further, the above method can also have the following characteristics: in the step (a), the establishment of the integrated management information base is based on any standard management information base tree, and the different objects in other standard management information base trees are identified A symbol node is added to the base MIB tree for implementation.
进一步地,上述方法还可具有以下特点:还包括以下步骤:所述管理器通过对所述代理器中自己所支持的管理信息库标准包含的对象识别符节点的操作对其进行管理。Further, the above-mentioned method may also have the following features: it also includes the following step: the manager manages the object identifier nodes contained in the management information base standards supported by itself in the agent by operating them.
进一步地,上述方法还可具有以下特点:当需要将所述代理器连接到支持另一管理信息库标准的简单网络管理协议管理器上时,只需修改所述代理器所述配置项的配置值为标识所述另一管理信息库标准的配置值。Further, the above method may also have the following characteristics: when the agent needs to be connected to a simple network management protocol manager supporting another management information base standard, only the configuration of the configuration item of the agent needs to be modified The value is a configuration value that identifies the other MIB criteria.
由上可知,本发明方法使得终端设备大大增强了对网络管理环境的适应性。当网络管理环境改变时,只需将标识当前MIB标准的配置项修改即可,不需要终端设备升级版本,也不需要SNMP管理站升级版本。It can be seen from the above that the method of the present invention greatly enhances the adaptability of the terminal equipment to the network management environment. When the network management environment changes, it is only necessary to modify the configuration item identifying the current MIB standard, and there is no need to upgrade the version of the terminal device or the SNMP management station.
附图说明 Description of drawings
图1是现有的SNMP管理器和SNMP代理器工作过程示意图。Fig. 1 is a schematic diagram of the working process of the existing SNMP manager and SNMP agent.
图2是本发明实施例中SNMP管理系统的结构框图。Fig. 2 is a structural block diagram of the SNMP management system in the embodiment of the present invention.
图3是本发明实施例实现多标准MIB融合方法的流程图。Fig. 3 is a flowchart of a method for realizing multi-standard MIB fusion according to an embodiment of the present invention.
具体实施方式 Detailed ways
下面结合附图和具体实施方式对本发明作进一步描述。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
本实施例以两个标准MIB的融合为例,图2将同一SNMP代理器与SNMP管理器MANAGER_A连接构成的系统以及该SNMP代理器与SNMP管理器MANAGER_B连接构成的系统画在一张图上表示。SNMP管理系统的结构包括SNMP管理器、SNMP代理器和MIB模块。其中:This embodiment takes the fusion of two standard MIBs as an example. Figure 2 shows the system formed by connecting the same SNMP agent to SNMP manager MANAGER_A and the system formed by connecting the SNMP agent to SNMP manager MANAGER_B. . The structure of SNMP management system includes SNMP manager, SNMP agent and MIB module. in:
SNMP管理器不必做任何变化。MIB模块应存储有包含各个标准MIB的融合MIB文件,该文件包含各个标准MIB中所有的OID节点。而SNMP代理器为了实现多标准MIB融合,需要保存融合MIB_AB中的各个OID节点,并为各个OID节点添加的GET/SET处理函数。还需要通过一个配置接口,完成对用来标识SNMP代理器当前支持的MIB标准的配置项MIB_CFG_STANDARD的配置。此外,SNMP在向SNMP管理器发送TRAP消息时,应根据当前配置的MIB标准绑定该标准中的OID。The SNMP manager does not have to make any changes. The MIB module shall store a fusion MIB file containing each standard MIB, and the file includes all OID nodes in each standard MIB. In order to achieve multi-standard MIB fusion, the SNMP agent needs to save each OID node in the fusion MIB_AB, and add GET/SET processing functions for each OID node. It is also necessary to complete the configuration of the configuration item MIB_CFG_STANDARD used to identify the MIB standard currently supported by the SNMP agent through a configuration interface. In addition, when SNMP sends a TRAP message to the SNMP manager, it should bind the OID in the standard according to the currently configured MIB standard.
本实施例实现两个标准MIB融合的方法,如图3所示,包括以下步骤:This embodiment realizes the method for two standard MIB fusions, as shown in Figure 3, comprising the following steps:
步骤110,建立标准MIB_A和标准MIB_B融合得到的MIB_AB文件,该MIB_AB文件包含标准MIB-A和标准MIB_B的所有OID节点;
由于MIB是树状结构,融合时只需将MIB_A树中MIB_B树中没有的OID(对象识别符:Object Identifier)节点添加到MIB_B树中,添加完后MIB_B树中包括了MIB_A和MIB_B中所有的OID节点,则MIB_B即为融合后的MIB_AB。MIB_A和MIB_B之间是对等关系,把MIB_B树中MIB_A树中没有的OID节点添加到MIB_A树中,也可以得到融合的MIB_AB。Since the MIB is a tree structure, it is only necessary to add the OID (Object Identifier: Object Identifier) node that is not in the MIB_B tree in the MIB_A tree to the MIB_B tree during fusion. OID node, MIB_B is the fused MIB_AB. There is an equivalence relationship between MIB_A and MIB_B. Adding OID nodes that are not in the MIB_A tree in the MIB_B tree to the MIB_A tree can also obtain the integrated MIB_AB.
步骤120,将融合MIB_AB的各个OID节点加入到SNMP代理器的MIB树中,并为每个OID节点提供处理函数GET/SET;
步骤130,根据SNMP代理器需要工作的网络管理环境支持的MIB标准,通过配置接口配置用于标识当前SNMP代理器支持的MIB标准的配置项MIB_CFG_STANDARD;
当SNMP代理器被连接到SNMP管理器MANAGER_A上时,将配置项MIB_CFG_STANDARD的配置值设为A_MIB,表示该SNMP管理器MANAGER_A使用的是MIB_A标准的MIB;当SNMP代理器被连接到SNMP管理器MANAGER_B上时,将配置项MIB_CFG-STANDARD的配置值设为B_MIB,表示该SNMP管理器MANAGER_B使用的是MIB_B标准的MIB。When the SNMP agent is connected to the SNMP manager MANAGER_A, set the configuration value of the configuration item MIB_CFG_STANDARD to A_MIB, indicating that the SNMP manager MANAGER_A uses the MIB_A standard MIB; when the SNMP agent is connected to the SNMP manager MANAGER_B When above, set the configuration value of the configuration item MIB_CFG-STANDARD to B_MIB, indicating that the SNMP manager MANAGER_B uses the MIB_B standard MIB.
步骤140,SNMP管理器MANAGER_A或者MANAGER_B通过对SNMP代理器中MIB_A或者MIB_B包含的OID节点的GET/SET等操作对其进行管理;
本实施例中,融合的MIB_AB对SNMP管理器来说是透明的,不需要对SNMP管理器做任何改动。In this embodiment, the merged MIB_AB is transparent to the SNMP manager, and there is no need to make any changes to the SNMP manager.
步骤150,SNMP代理器向SNMP管理器上报TRAP时,根据当前MIB_CFG_STANDARD的配置值识别出当前配置的MIB标准,将该标准中的OID绑定到TRAP消息中上报给SNMP管理器;
步骤160,当需要将SNMP代理器连接到支持另一MIB标准的SNMP管理器上时,只需要修改SNMP代理器的配置项MIB_CFG_STANDARD即可,当然,该SNMP管理器使用的MIB标准应是融合后的MIB标准。
例如,SNMP代理器原来与SNMP管理器MANAGER_A相连接,改为与SNMP管理器MANAGER_B连接时,只需要通过配置接口修改SNMP代理器的配置项MIB_CFG_STANDARD的配置值为B_MIB,就可以使SNMP代理器工作在SNMP管理器MANAGER_B的网络管理环境中。For example, when the SNMP agent is originally connected to the SNMP manager MANAGER_A and is changed to connect to the SNMP manager MANAGER_B, only need to modify the configuration value of the configuration item MIB_CFG_STANDARD of the SNMP agent through the configuration interface to B_MIB to make the SNMP agent work In the network management environment of SNMP manager MANAGER_B.
在本发明的另一个实施例中,在SNMP代理器中建立了融合多个标准MIB的MIB文件,因为各个标准MIB之间是对等的树形关系,总可以不断的将多个标准的MIB合成一个融合MIB,因此融合多个标准MIB是方便可行的。相应地,在本实施例中,MIB_CFG_STANDARD配置项也采用多个配置值,来标识多个不同标准的MIB,使该SNMP代理器在多个采用不同MIB标准的SNMP管理器的网络管理环境中都可以工作。In another embodiment of the present invention, set up the MIB file that merges a plurality of standard MIBs in the SNMP agent, because be peer-to-peer tree relationship between each standard MIB, always can constantly combine the MIB of a plurality of standards It is convenient and feasible to combine multiple standard MIBs by synthesizing a fusion MIB. Correspondingly, in this embodiment, the MIB_CFG_STANDARD configuration item also adopts multiple configuration values to identify multiple MIBs of different standards, so that the SNMP agent can be used in a network management environment of multiple SNMP managers using different MIB standards. can work.
综上所述,采用本发明的系统和方法,当SNMP代理器工作在不同的网络管理环境中时,SNMP代理器只需要改变配置项的配置值即可,不需要SNMP代理器或者SNMP网络管理器升级或者重新启动。In summary, with the system and method of the present invention, when the SNMP agent works in different network management environments, the SNMP agent only needs to change the configuration value of the configuration item, without the need for an SNMP agent or SNMP network management upgrade or reboot.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510126196XA CN100440801C (en) | 2005-12-01 | 2005-12-01 | A method to realize the fusion of multi-standard management information base on the agent side |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510126196XA CN100440801C (en) | 2005-12-01 | 2005-12-01 | A method to realize the fusion of multi-standard management information base on the agent side |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1980147A CN1980147A (en) | 2007-06-13 |
CN100440801C true CN100440801C (en) | 2008-12-03 |
Family
ID=38131168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200510126196XA Expired - Fee Related CN100440801C (en) | 2005-12-01 | 2005-12-01 | A method to realize the fusion of multi-standard management information base on the agent side |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100440801C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104506366B (en) * | 2014-12-29 | 2017-11-14 | 瑞斯康达科技发展股份有限公司 | A kind of method and apparatus in maintenance management information MIB storehouses |
CN105407009B (en) * | 2015-12-23 | 2018-07-13 | 成都广达新网科技股份有限公司 | A kind of network management test competitor alarm method and device |
CN107453949A (en) * | 2017-07-31 | 2017-12-08 | 郑州云海信息技术有限公司 | A kind of method and device of monitoring management |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002084279A (en) * | 2000-09-08 | 2002-03-22 | Toyo Commun Equip Co Ltd | System and method for managing snmp network |
CN1442800A (en) * | 2002-03-05 | 2003-09-17 | 友讯科技股份有限公司 | Dynamic SNMP Network Devices |
CN1520095A (en) * | 2003-01-24 | 2004-08-11 | 华为技术有限公司 | Implementation method of loading information management library tree in network management standard agent |
US6854011B2 (en) * | 1999-12-29 | 2005-02-08 | Lg Electronics Inc. | System and method for controlling trap generation of simple network management protocol (SNMP) by defining and using a trapflag field and a trappeer field in the managed information base (MIB) |
CN1595889A (en) * | 2004-06-25 | 2005-03-16 | 港湾网络有限公司 | Method of MIB version coordination between SNMP management station and proxy |
-
2005
- 2005-12-01 CN CNB200510126196XA patent/CN100440801C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6854011B2 (en) * | 1999-12-29 | 2005-02-08 | Lg Electronics Inc. | System and method for controlling trap generation of simple network management protocol (SNMP) by defining and using a trapflag field and a trappeer field in the managed information base (MIB) |
JP2002084279A (en) * | 2000-09-08 | 2002-03-22 | Toyo Commun Equip Co Ltd | System and method for managing snmp network |
CN1442800A (en) * | 2002-03-05 | 2003-09-17 | 友讯科技股份有限公司 | Dynamic SNMP Network Devices |
CN1520095A (en) * | 2003-01-24 | 2004-08-11 | 华为技术有限公司 | Implementation method of loading information management library tree in network management standard agent |
CN1595889A (en) * | 2004-06-25 | 2005-03-16 | 港湾网络有限公司 | Method of MIB version coordination between SNMP management station and proxy |
Also Published As
Publication number | Publication date |
---|---|
CN1980147A (en) | 2007-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112020844B (en) | Systems, functions, and interfaces for the control and management of interconnected multi-domain network shards | |
CN100499498C (en) | A device, system and method for realizing MIB adaptation | |
CN103501249B (en) | A kind of NM client topology management system and method | |
CN101083557B (en) | A Method of IP Network Cluster Management Based on SNMP | |
US9350611B2 (en) | Apparatus and method for locating a target operation object | |
EP1793529A1 (en) | A method and system for configuring network devices through an operations support system interface | |
CN104883266A (en) | Network configuration accessing method and device thereof | |
CN103036732B (en) | A kind of method of network monitoring process, system and equipment | |
EP2416538B1 (en) | Method for providing node information, method for obtaining node information and equipment thereof | |
EP3742786A1 (en) | Network alarm method, device, system and terminal | |
CN101582806A (en) | Method for MIB management of multi-vendor equipment and device | |
US10069715B2 (en) | Method for deploying resource in cloud computing environment | |
CN102684894B (en) | Method and device for realizing northboundbound interface | |
CN100440801C (en) | A method to realize the fusion of multi-standard management information base on the agent side | |
CN109274715A (en) | The platform resource management system of vehicle-mounted multi-channel communication systems | |
CN105050028A (en) | Method and device for controlling household appliances | |
CN101099398A (en) | Method and apparatus for matching information between managers and agents in a management network | |
EP2573978B1 (en) | Method, apparatus and system for device management | |
CN116193299A (en) | Business management method, device and storage medium | |
CN100401684C (en) | A method for the network management layer to implement information management through the network element management layer | |
CN106612207B (en) | Method and device for managing and controlling RSTP information of Ethernet equipment | |
CN108683540A (en) | A kind of lightweight realization method and system that Network Management Protocol channel is cross-platform | |
Saheb et al. | Auto-discovery and monitoring of network resources: Snmp-based network mapping and fault management | |
CN115941422B (en) | Method, device, switch and storage medium for dynamically generating configuration file | |
CN102546237A (en) | Device management server, client and target operation object positioning method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081203 Termination date: 20141201 |
|
EXPY | Termination of patent right or utility model |