CN102984006A - Network management implementation method based on simple network management protocol - Google Patents

Network management implementation method based on simple network management protocol Download PDF

Info

Publication number
CN102984006A
CN102984006A CN2012105187797A CN201210518779A CN102984006A CN 102984006 A CN102984006 A CN 102984006A CN 2012105187797 A CN2012105187797 A CN 2012105187797A CN 201210518779 A CN201210518779 A CN 201210518779A CN 102984006 A CN102984006 A CN 102984006A
Authority
CN
China
Prior art keywords
message
equipment
snmp
address
protocol
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.)
Pending
Application number
CN2012105187797A
Other languages
Chinese (zh)
Inventor
陶阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan FiberHome Networks Co Ltd
Original Assignee
Wuhan FiberHome Networks Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan FiberHome Networks Co Ltd filed Critical Wuhan FiberHome Networks Co Ltd
Priority to CN2012105187797A priority Critical patent/CN102984006A/en
Publication of CN102984006A publication Critical patent/CN102984006A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a network management implementation method based on a simple network management protocol (SNMP). The method comprises the following steps: an NMS (Network Management System) is connected with equipment A, to which a public network IP (Internet Protocol) address is allocated, and operational commands carrying an equipment MAC (Media Access Control) address are sent through the NMS; the equipment A receives standard SNMP (Simple Network Management Protocol) message sent by the NMS and analyzes and compares the MAC address in the message with an MAC address of the equipment A; if the MAC addresses are not the same, the equipment A searches a forwarding table of the equipment according to the analyzed MAC address, packages the complete SNMP message to a specific protocol message when finding out a forwarding table item, and then forwards the message to specified equipment operated according to the forwarding table item; when the equipment operated receives the protocol message, standard SNMP message is analyzed and processed, so as to obtain response message; the response message is packaged into a specific protocol and fed back to the equipment A; and response message is analyzed through the equipment A and sent to the NMS. By adopting the method, the network management efficiency can be improved, and limited public network IP address resources can be saved.

Description

Webmaster implementation method based on Simple Network Management Protocol
Technical field
The present invention relates to internet communication and network device management technology, relate in particular to a kind of webmaster implementation method based on Simple Network Management Protocol (SNMP).
Background technology
The in the last few years broadband access technology of China development is rapid, and the broadband optical cable has all been accessed in the places such as community, building, family, makes increasing user can pass through broadband optical cable accessing Internet.
But, when the broadband technology develop rapidly provides huge commercial opportunities for Virtual network operator, the continuous expansion of network size, the continuous increase of network equipment quantity have also brought huge difficulty and challenge to Virtual network operator to the operation management of network and the network equipment.The equipment that at present domestic and international each large operation commercial city mandatory requirement communication apparatus manufacturer provides is supported Simple Network Management Protocol (SNMP), and operator manages numerous equipment by snmp protocol.But snmp protocol is based on User Datagram Protoco (UDP) (UDP), and the equipment that requires to be managed must have public network IP address to be communicated with.And before the large scale deployment of IPV6 agreement, nervous and rare publicly-owned IPV4 protocol address can't satisfy this demand at all.If all dispose private network IP address, then cause NM server (NMS) also must in private network, be unfavorable for that like this network manager visits NM server by the internet at any time, cause huge management difficulty.Even IPV6 agreement large scale deployment commercialization is all disposed publicly-owned IPV6 address to all devices in the network and also can be brought great managing risk.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of webmaster implementation method based on Simple Network Management Protocol (SNMP), in the limited situation of public network IP address resources, utilize the existing network realization to the management of the network equipment, improve network management efficiency, and save a large amount of valuable public network IP address resources.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of webmaster implementation method based on Simple Network Management Protocol (SNMP), the method mainly comprises:
A, connect any equipment that is assigned public network IP address by network management server (NMS);
B, issue the operational order that carries management equipment medium access control (MAC) address by described NMS;
C, the described equipment that disposes public network IP address receive the standard SNMP operation message that described NMS issues, and resolve MAC Address in the described standard SNMP operation message, and compare with self MAC, if described two MAC Address are identical, then explanation will operate self, then execution in step D, otherwise, execution in step E then;
D, according to the standard handling process, process this SNMP message, then result is returned NMS;
E, the described equipment that disposes public network IP address are searched self according to the MAC Address that parses and are transmitted, if do not find forwarding-table item, then to described NMS return failure information; Otherwise execution in step F;
F, complete SNMP message is encapsulated in the specific or self-defining protocol massages, then according to the described forwarding-table item that finds, is given to the equipment that is operated of appointment, then execution in step G;
G, described when being operated equipment and receiving described specific protocol message or custom protocol message, the SNMP message that parses standard is processed and is obtained result, then execution in step H;
H, be that the SNMP response message of standard is encapsulated in the specific protocol by the described equipment that is operated with the result of described SNMP message, then feed back to the described equipment that disposes public network IP address, again execution in step I;
After I, the described equipment that disposes public network IP address are received the specific protocol message of replying, parse the wherein standard SNMP response message of encapsulation, and this message is replied to described NMS.
Wherein: only need have an equipment to have public network IP address in the network that is managed.
The described mode of carrying MAC Address of step B mainly comprises by community issuing or issuing by the SNMP binding variable.
Described specific protocol be two-layer protocol, three layer protocols, self-defining agreement or the Extended Protocol on existing publicly-owned/proprietary protocol basis one of them.
Require described agreement support to realize MAC Address and physical port announcement, and support SNMP standard message encapsulation function.
Webmaster implementation method based on Simple Network Management Protocol (SNMP) provided by the present invention has the following advantages.
1) adopts method of the present invention, only be required to be public network IP address of any devices allocation, and need not be all the devices allocation public network IP address that need to manage in the current network, saved greatly public network IP address resources;
2) the inventive method is not specifically limited the specific protocol that adopts, as long as realize 2 simple functions, even can existing publicly-owned/proprietary protocol expands, and also do not affect original protocol function application fully;
3) specific protocol functionality newly-increased or new expansion is simple and clear, development difficulty is little, workload is little, cost of device is little, technology maturation, deployment are fast.;
4) the inventive method is based on the technology of maturation, and is safe, and reliability is high, and efficient is high, and it is convenient flexibly to realize, to equipment almost without any constraints.
5) adopt the inventive method, can greatly improve the efficient of network management, enrich the obtainable management information of network manager, multiple important management information that can help on-line network manager monitor network equipment, stop the generation of hidden danger, alleviated network maintenance staff's burden.
Description of drawings
Fig. 1 is the webmaster implementation method flow chart of the Simple Network Management Protocol based on two layers of forwarding (SNMP) of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing and embodiments of the invention method of the present invention is described in further detail.
Thought of the present invention is, carry out simple extension by a kind of agreement newly developed or at existing certain publicly-owned/proprietary protocol, can satisfy the function by self MAC address and physical port number and encapsulation standard SNMP message, and then can realize the network equipment is managed by any equipment with public network IP address (no matter IPV4 agreement or IPV6 agreement) in the interconnection network.
Fig. 1 is the webmaster implementation method flow chart of the Simple Network Management Protocol based on two layers of forwarding (SNMP) of the embodiment of the invention, utilize the method, by operating any equipment that public network IP address is arranged, can realize other equipment in the network are managed.In the present embodiment, network management server (NMS) has the device A of public network IP address to come other equipment in the supervising the network by connecting any one.As shown in Figure 1, the method mainly comprises the steps:
Step S1: preparation process.Connect any equipment with public network IP address by network management server (NMS).
Step S2: issue operational order by described NMS, operational order carries medium access control (MAC) address of management equipment.The method of carrying MAC Address here, includes but not limited to issue and issue by the SNMP binding variable by community.
Like this, the network manager only need monitor NMS and get final product each equipment in the supervising the network.
Step S3: the device A that disposes public network IP address receives the standard SNMP operation message that NMS issues.
Step S4: device A is by resolving the MAC Address in this standard SNMP operation message, and with the self MAC address relatively, judge that NMS will operate self or other equipment.If MAC Address and self equate that explanation will operate oneself, execution in step S5 then, otherwise execution in step S6.
Step S5: according to the standard handling process, process this SNMP message, then result is returned NMS and get final product.
Step S6: device A is searched self according to the MAC Address that parses and is transmitted, if do not find forwarding-table item, and execution in step S7 then, otherwise execution in step S8.
Step S7: to NMS return failure information.
Step S8: complete SNMP message is encapsulated in the specific or self-defining protocol massages, then according to the forwarding-table item that finds, carries out two layers of forwarding to be given to the equipment that is operated of appointment, then execution in step S9.
Step S9: when the equipment of being operated was received described specific protocol message or self-defining protocol massages, the SNMP message that parses standard was processed, and obtains result, then execution in step S10.
Step S10: the equipment that is operated is that the SNMP response message of standard is encapsulated in the specific protocol with the result of described SNMP message, then feeds back to device A, again execution in step S11.
Step S11: after device A is received the specific protocol message of replying, parse the wherein standard SNMP response message of encapsulation, and this message is replied to NMS, then execution in step S12.
After step S12:NMS received the SNMP response message of standard, can finish a bookkeeping flow process was step S13.
The above step S1 is to step S13, is once the complete network management operation flow process of carrying out.
Here, every equipment periodic ground in the described network is by the specific protocol message, announces the MAC Address of oneself and connects into the physical port number of network; After every equipment is received above-mentioned announcement, be recorded in oneself transmit, be used for this specific protocol message of follow-up forwarding; All pass through the specific protocol message interaction between the distinct device, for standard SNMP message, then adopt the method that complete SNMP message all is encapsulated in the specific protocol message to process.
The specific protocol of mentioning among the present invention has extremely strong autgmentability, it can be a kind of proprietary protocol of new definition, also can in existing some publicly-owned/proprietary protocol, expand, even can realize by in the agreement of some standards, increasing the means such as advertisement field, concrete realization means are not limited, can be selected arbitrarily according to self present situation by each company, producer.
In addition, described specific protocol can be two-layer protocol, also can be three layer protocols, and the applied network equipment can be two-layer equipment, can be three-layer equipment also, and flexibility is strong, without Special Constraint Conditions.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.

Claims (5)

1. webmaster implementation method based on Simple Network Management Protocol SNMP is characterized in that the method comprises:
A, connect any equipment that is assigned public network IP address by network management server NMS;
B, issue the operational order that carries management equipment medium access control MAC Address by described NMS;
C, the described equipment that disposes public network IP address receive the standard SNMP operation message that described NMS issues, and resolve MAC Address in the described standard SNMP operation message, and compare with self MAC, if described two MAC Address are identical, then explanation will operate self, then execution in step D, otherwise, execution in step E then;
D, according to the standard handling process, process this SNMP message, then result is returned NMS;
E, the described equipment that disposes public network IP address are searched self according to the MAC Address that parses and are transmitted, if do not find forwarding-table item, then to described NMS return failure information; Otherwise execution in step F;
F, complete SNMP message is encapsulated in the specific protocol message, then according to the described forwarding-table item that finds, is given to the equipment that is operated of appointment, then execution in step G;
G, described when being operated equipment and receiving described specific protocol message, the SNMP message that parses standard is processed and is obtained result, then execution in step H;
H, be that the SNMP response message of standard is encapsulated in the specific protocol by the described equipment that is operated with the result of described SNMP message, then feed back to the described equipment that disposes public network IP address, again execution in step I;
After I, the described equipment that disposes public network IP address are received the specific protocol message of replying, parse the wherein standard SNMP response message of encapsulation, and this message is replied to described NMS.
2. the webmaster implementation method based on SNMP according to claim 1 is characterized in that, only need have an equipment to have public network IP address in the network that is managed.
3. the webmaster implementation method based on SNMP according to claim 1 is characterized in that, the described mode of carrying MAC Address of step B mainly comprises by community issuing or issuing by the SNMP binding variable.
4. the webmaster implementation method based on SNMP according to claim 1 is characterized in that, described specific protocol be two-layer protocol, three layer protocols, self-defining agreement or the Extended Protocol on existing publicly-owned/proprietary protocol basis one of them.
5. according to claim 1 or 4 described webmaster implementation methods based on SNMP, it is characterized in that, require described agreement support to realize MAC Address and physical port announcement, and support SNMP standard message encapsulation function.
CN2012105187797A 2012-12-06 2012-12-06 Network management implementation method based on simple network management protocol Pending CN102984006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105187797A CN102984006A (en) 2012-12-06 2012-12-06 Network management implementation method based on simple network management protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105187797A CN102984006A (en) 2012-12-06 2012-12-06 Network management implementation method based on simple network management protocol

Publications (1)

Publication Number Publication Date
CN102984006A true CN102984006A (en) 2013-03-20

Family

ID=47857767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105187797A Pending CN102984006A (en) 2012-12-06 2012-12-06 Network management implementation method based on simple network management protocol

Country Status (1)

Country Link
CN (1) CN102984006A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763195A (en) * 2014-01-23 2014-04-30 中国联合网络通信集团有限公司 Method and device for transmitting message
CN109147306A (en) * 2018-09-07 2019-01-04 迈普通信技术股份有限公司 Management method, equipment and the management system of the network equipment
CN113726548A (en) * 2021-07-19 2021-11-30 电信科学技术第五研究所有限公司 Method for automatically discovering switching equipment in two-layer network and remotely configuring and managing IP
CN114257545A (en) * 2021-12-09 2022-03-29 北京奇艺世纪科技有限公司 Message forwarding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1505323A (en) * 2002-12-02 2004-06-16 深圳市中兴通讯股份有限公司 Network administration method for no-IP address device
CN1549499A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Proxy network management realizing method based on SNMP protocol
CN1635742A (en) * 2003-12-26 2005-07-06 尚阳科技(中国)有限公司 Method for identifying and locating network element by using community name in network management protocol
CN101599865A (en) * 2009-07-03 2009-12-09 武汉烽火网络有限责任公司 A kind of management method of the cluster network based on unique public network IP address

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1505323A (en) * 2002-12-02 2004-06-16 深圳市中兴通讯股份有限公司 Network administration method for no-IP address device
CN1549499A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Proxy network management realizing method based on SNMP protocol
CN1635742A (en) * 2003-12-26 2005-07-06 尚阳科技(中国)有限公司 Method for identifying and locating network element by using community name in network management protocol
CN101599865A (en) * 2009-07-03 2009-12-09 武汉烽火网络有限责任公司 A kind of management method of the cluster network based on unique public network IP address

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763195A (en) * 2014-01-23 2014-04-30 中国联合网络通信集团有限公司 Method and device for transmitting message
CN103763195B (en) * 2014-01-23 2017-07-28 中国联合网络通信集团有限公司 A kind of method and device of transmitting message
CN109147306A (en) * 2018-09-07 2019-01-04 迈普通信技术股份有限公司 Management method, equipment and the management system of the network equipment
CN113726548A (en) * 2021-07-19 2021-11-30 电信科学技术第五研究所有限公司 Method for automatically discovering switching equipment in two-layer network and remotely configuring and managing IP
CN113726548B (en) * 2021-07-19 2024-02-02 电信科学技术第五研究所有限公司 Method for automatically discovering two-layer network switching equipment and capable of remotely configuring and managing IP
CN114257545A (en) * 2021-12-09 2022-03-29 北京奇艺世纪科技有限公司 Message forwarding method and device
CN114257545B (en) * 2021-12-09 2023-09-05 北京奇艺世纪科技有限公司 Message forwarding method and device

Similar Documents

Publication Publication Date Title
EP2482502B1 (en) Message handling method and apparatus
US8892723B2 (en) Method and apparatus for enabling communication between iSCSI devices and SAS devices
JP5855630B2 (en) Management server and management method for managing cloud appliance of virtual local area network
WO2020135574A1 (en) Message processing method and apparatus, control plane device, and computer storage medium
WO2012094898A1 (en) Virtual machine migration method, switch, virtual machine system
CN103269278A (en) Terminal equipment real-time connecting and disconnecting sensing method based on SDN
CN104581419A (en) Dual-network realizing method based on android intelligent set-top box
WO2019128273A1 (en) Method, device and system for determining connection relation of network devices
CN102984006A (en) Network management implementation method based on simple network management protocol
CN103023702A (en) Method for processing batched management information bases (MIB)
CN112769602B (en) System and method for unified configuration management of white box switch and network operating system
CN105359458A (en) Network device communication method and network device
CN105812502A (en) OpenFlow-based implementation method for address resolution protocol proxy technology
WO2013170818A2 (en) Error code conversion method and system, pppoe server and mobile terminal
CN104954333A (en) Method and system for message transmission
CN102438017B (en) Routing function-based conversion apparatus of Modbus protocol and BACnet Ethernet protocol and conversion method thereof
CN103873271A (en) Gateway EoC terminal, and management system and management method thereof
CN101119374B (en) iSCSI communication method and corresponding initiation equipment and objective equipment
CN102647432A (en) Authentication information transmission method, device and authentication middleware
CN104243198A (en) Network management method and system based on network configuration protocol
JP5091217B2 (en) Home device information collecting apparatus and home device information collecting method
CN102752135B (en) A kind of method realizing network equipments configuration
CN104683491B (en) A kind of method and system for the Internet Protocol address for obtaining virtual machine
CN101662391B (en) SNMPv3-based cluster management method of Ethernet switches
CN103997411A (en) Power line system and information interaction method thereof, and power line WiFi terminal and local side

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130320