CN101098256A - Simple network management protocol based cluster management method and system - Google Patents

Simple network management protocol based cluster management method and system Download PDF

Info

Publication number
CN101098256A
CN101098256A CNA2007101084697A CN200710108469A CN101098256A CN 101098256 A CN101098256 A CN 101098256A CN A2007101084697 A CNA2007101084697 A CN A2007101084697A CN 200710108469 A CN200710108469 A CN 200710108469A CN 101098256 A CN101098256 A CN 101098256A
Authority
CN
China
Prior art keywords
message
switch
snmp
port numbers
command switch
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
CNA2007101084697A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2007101084697A priority Critical patent/CN101098256A/en
Publication of CN101098256A publication Critical patent/CN101098256A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a group management method based on SNMP, comprising that appointing an exchanger as a command exchanger provided with an IP address of public network, distributing SNMP port numbers projected for member exchangers, when the command exchanger receives a SNMP request report sent from requester, according to the target port number of the report, to transfer the report to relative target member exchanger or treat the report by self, when the member exchanger feedbacks a SNMP answer report to the command exchanger, the command exchanger transfers the SNMP answer report to the requester, and when the command exchanger receives a trap report sent from member exchangers, transfers the report to the target address. The invention also discloses a relative group management system based on SNMP. The invention can resolve the problems of prior art, which public network IP address is wasted and disable to realize remote grouped management, to provide an economic and effective method for realizing network management.

Description

A kind of cluster management method and system based on Simple Network Management Protocol
Technical field
The present invention relates to communication field, relate in particular to a kind ofly, Ethernet switch is carried out the method for cluster management based on SNMP (Simple NetworkManagement Protocol, Simple Network Management Protocol).
Background technology
Along with developing rapidly of network, the expansion gradually of digital network related resource occurred and has occurred phenomenon in short supply again and again, and IP address resource in short supply is exactly one of wherein the most severe resource scarcity.A lot of scheme and agreements in order to solve or avoid the IP address resource to exhaust have appearred in recent years, as NAT, and IPV6 or the like.The way to manage of in the past taking is disperseed, every network equipment distributes the public network IP address of a management usefulness, for the very huge network equipment of this use number of Ethernet switch, to carry out distributed management and monitoring must be wasted a large amount of IP address resources to switch network, also increase simultaneously the complexity of management greatly.
Under present data network environment, the way to manage of clustering switch is mainly contained following two kinds: local management (serial ports) and telemanagement (utilizing network interface) by Simple Network Management Protocol SNMP or Telnet agreement.
For local management, management means is simple relatively, and shortcoming is that every equipment all needs on-site maintenance because switch too disperses, and workload is bigger.
For SNMP, it is the NMP of framework on procotol, needs the public network IP address support.
Summary of the invention
The technical problem that will solve of the present invention just provides a kind of cluster management method based on snmp protocol, solve public network IP address waste and the problem that can't realize the remote centralized management in the prior art, for network management provides a kind of cost-effective implementation method.
In order to solve the problems of the technologies described above, the invention provides a kind of cluster management method based on Simple Network Management Protocol SNMP, comprising:
(1) specifying a switch is command switch, and on described command switch the IP address of a public network of configuration, the SNMP port numbers of the member switch allocation map that connects for described command switch;
(2) if described command switch receives the SNMP request message that the requesting party sends, then the destination slogan according to this message is transmitted to corresponding target member switch or oneself processing with message; If member switch is replied message with SNMP and returned to command switch, then this command switch is transmitted this SNMP and is replied message to the requesting party;
If described command switch receives the trap message that member switch sends, command switch is transmitted to this message the destination address of this message.
Further, in the step (2), described command switch comprises the step that message is transmitted to corresponding target member switch or oneself processing according to the destination slogan of this message:
Command switch is judged the purpose switch that this message sends according to the destination slogan of this message, if the purpose switch is a member switch, then it is transmitted to the purpose member switch; If the purpose switch is exactly described command switch, command switch oneself is handled this message, sends SNMP and replys message to the requesting party.
Further, the SNMP port numbers that described command switch uses is default port numbers, and this default port numbers also is the SNMP port numbers that member switch uses.
Further, in the step (2), described command switch is monitored the SNMP port of mapping of all member switch and the SNMP port that oneself uses; Member switch is monitored the SNMP port of its use, or the SNMP port that it shone upon.
Further, in the step (2), after described command switch receives the SNMP request message that the requesting party sends,, the source IP address of this message and source port number and keyword message are stored for keyword is set up in forwarding.
Further, in the step (2), described command switch comprises the step that message is transmitted to the corresponding target member switch:
If member switch is monitored the SNMP port numbers of its use, then the destination slogan with the transmission of this SNMP message changes default port numbers into, again this message is issued the corresponding target member switch;
If this member switch is monitored its SNMP port numbers of shining upon, then the destination slogan of the transmission of this SNMP message is the SNMP port numbers of the mapping of this member switch; Command switch is issued the corresponding target member switch according to the SNMP port numbers of this mapping with message.
Further, in the step (2), after command switch receives that SNMP that member switch sends replys message, by canned data according to keyword search and take out source IP address and source port number in this information, this message is issued source IP address, and the port of transmission is a source port number.
In order to solve the problems of the technologies described above, the present invention also provides a kind of cluster management system based on Simple Network Management Protocol SNMP, it is characterized in that, comprising:
One command switch, and member switch, described command switch links to each other with member switch;
Dispose the IP address of a public network on the described command switch, described command switch comprises message forwarding processing module, described message is transmitted processing module and is used to receive the SNMP request message that the requesting party sends, destination slogan according to this message is transmitted to the corresponding target member switch with described message, and will be transmitted to the requesting party from the SNMP answer message that described member switch is received; Described message is transmitted the destination address that processing module also is used for the trap message that member switch sends is transmitted to this message.
Described member switch is used to receive the SNMP request message that command switch sends, and handles, and returns SNMP and reply message to command switch; Be assigned the SNMP port numbers of mapping on the described member switch.
Further, command switch is used for judging the purpose switch that this message sends according to the destination slogan of this message, if the purpose switch is a member switch, then it is transmitted to the purpose member switch; If the purpose switch is exactly described command switch, command switch oneself is handled this message, sends SNMP and replys message to the requesting party.
Further, the SNMP port numbers that described command switch uses is default port numbers, and this default port numbers also is the SNMP port numbers that member switch uses.
Further, if member switch is monitored the SNMP port numbers of its use, then the message of described command switch is transmitted processing module and is used for changing the destination slogan of the transmission of this SNMP message into default port numbers, again this message is issued the corresponding target member switch;
If this member switch is monitored its SNMP port numbers of shining upon, then the message of described command switch forwarding processing module is used for directly according to the transmission destination slogan of this SNMP message this message being issued the corresponding target member switch.
Further, the command switch message is transmitted processing module and also is used to transmit and sets up keyword, and the source IP address of described SNMP request message and source port number and keyword message are stored; And after receiving that corresponding SNMP replys message, according to keyword search and take out source IP address and source port number in this information, this message is issued source IP address by canned data, the port of transmission is a source port number.
Compared with prior art, the present invention has following advantage: save a large amount of public network IP address; Satisfied the requirement of telemanagement and centralized management; Requesting party and command switch all are the snmp protocol interactive interfacing by standard between command switch and the member switch; Development difficulty is little.
Description of drawings
Fig. 1 is the cluster topology graph of embodiment of the invention relevant device;
Fig. 2 is that the SNMP message of the embodiment of the invention is transmitted process chart.
Embodiment
The present invention is described in detail below in conjunction with drawings and the specific embodiments.
In cluster management protocol,, finish management to an Ethernet switch set by only using the IP address of a public network.Specifying a switch earlier is command switch, and public network address of configuration manages its member switch on command switch.Command switch can link to each other with many member switch.Command switch with the member switch exchange message, is collected topological corresponding message by its collecting topology protocol module, and the network topological information in the arrangement message is finished network topology and collected.
The present invention uses an IP address in order to support in the cluster management, the advantage that makes full use of the snmp protocol way to manage reaches the purpose that large-scale Ethernet switch is managed.As shown in Figure 1, the present invention distributes the IP address 100.1.1.2 of a public network according to the topological structure of cluster management to command switch A; And to cluster in command switch have each member switch of topological connection relation all to distribute the SNMP port numbers of a mapping, from 19501-19505; Described command switch is SNMPManager Station (management station), and described member switch is SNMP Agent (agency), and the SNMP port numbers of described mapping is UDP (User Datagram Protoco (UDP)) port numbers of SNMP factorage; Have a message to transmit processing module on command switch, it receives the SNMP message, and the message that the requesting party is sent is transmitted to member switch B or the member switch C or the member switch E that will visit, or the like; Command switch will reply to the requesting party from the answer message that member switch is received again then, thereby, realized cluster management method based on snmp protocol.
In order to realize above-mentioned cluster management method based on snmp protocol, the requesting party need send to the SNMP message command switch of cluster under this managed device, the port numbers that sends is the SNMP port numbers (if command switch self then is the SNMP port numbers of self) of mapping; Illustrate as follows, as needs management be member switch E, the SNMP port numbers that it shines upon in this cluster is 19504, then this SNMP message is sent to command switch 100.1.1.2, the port numbers of transmission is 19504.
Command switch just can be judged the managed device that the requesting party will visit according to the SNMP port numbers of mapping like this, the SNMP message is transmitted processing module message is transmitted to managed device, managed device receives issues command switch after message is handled, after command switch is received message, the requesting party is issued in forwarding, finishes the random access of requesting party to equipment.
Also might initiatively report command switch by member switch, use Trap (trap) message of SNMP, generally be used to describe the generation of a certain incident; Then command switch is transmitted to this message the destination address that reports.
What the embodiment of the invention provided comprises following step based on snmp protocol to the way to manage of large-scale Ethernet switch in the cluster management:
1, in a cluster management, command switch distributes the SNMP port numbers of a mapping respectively for its all member switch, the SNMP port numbers that command switch is monitored all mapping SNMP port numbers of distributing to member switch and self used, member switch is monitored the SNMP port numbers that self uses; All switches are all supported snmp protocol;
2, have a SNMP message to transmit processing module on command switch: this forwarding module is mainly finished the SNMP message of reception from the requesting party; Message is transmitted to managed device; The SNMP message that managed device is replied is transmitted to the requesting party again; Concrete steps are as shown in Figure 2:
Step 201: the requesting party sends the SNMP message, sends to the command switch of the affiliated cluster of managed device, and the port numbers of transmission is the SNMP port numbers of the mapping of transmission purpose member switch; If supplicant access is exactly command switch, then send to 161 ports of command switch, (default SNMP port numbers is 161 to the 161 SNMP port numbers of using for command switch self, suppose that hereinafter the SNMP port numbers that command switch oneself uses is exactly 161, the SNMP port numbers that member switch uses also is 161); The SNMP message that reception sends from the requesting party;
Step 202: command switch judges that according to the port numbers that receives message message is given own processing still gives the member switch processing; If port numbers is not 161, but be its mapped port number of distributing to member switch, execution in step 204; If port numbers is 161, then execution in step 203;
Step 203: command switch oneself is handled this SNMP message, execution in step 206;
Step 204: the port numbers of the SNMP message that command switch receives is not 161, but is its mapped port number of distributing to member switch; Port numbers according to mapping is determined the member switch that message is forwarded, and message is transmitted processing module and set up keyword for transmitting, and at this moment, the source IP address source port number and the keyword message of this message is stored; Message is transmitted processing module and is changed the destination slogan of the transmission of this SNMP message into default 161 port numbers, transmits this message and gives corresponding member switch, receives that carrying out normal SNMP behind the SNMP message handles;
Step 205: after member switch is handled SNMP is replied message and sends, the SNMP message that command switch receive to be replied, and by canned data according to keyword search; Take out source IP address and source port number in this information, and this message is issued source IP address, the port of transmission is a source port number;
Step 206: command switch sends a reply message and gives the requesting party.
In whole implement process, message is transmitted processing module and has only been finished message forwarding work, and true processing is also at accessed equipment, and is little to the load of command switch.Realized cluster management method based on snmp protocol.
In addition, also can command switch distribute each member's mapping SNMP port numbers after, what notify that all member machines monitor is own SNMP port numbers of being shone upon.The destination slogan of the message of giving member switch of command switch forwarding is the mapping SNMP port numbers of member switch like this, also can finish above-mentioned functions.
In sum, adopt cluster management mode, effectively solved public network IP address waste or shortcoming that can't remote management apparatus, for network management system provides a kind of cost-effective method based on snmp protocol.In addition, the present invention does not revise the snmp protocol of standard, as long as member switch is supported the snmp protocol of standard, just can manage, and is compatible strong.

Claims (12)

1. cluster management method based on Simple Network Management Protocol SNMP comprises:
(1) specifying a switch is command switch, and on described command switch the IP address of a public network of configuration, the SNMP port numbers of the member switch allocation map that connects for described command switch;
(2) if described command switch receives the SNMP request message that the requesting party sends, then the destination slogan according to this message is transmitted to corresponding target member switch or oneself processing with message; If member switch is replied message with SNMP and returned to command switch, then this command switch is transmitted this SNMP and is replied message to the requesting party;
If described command switch receives the trap message that member switch sends, command switch is transmitted to this message the destination address of this message.
2. the method for claim 1 is characterized in that: in the step (2), described command switch is transmitted to the corresponding target member switch according to the destination slogan of this message with message or the step oneself handled comprises:
Command switch is judged the purpose switch that this message sends according to the destination slogan of this message, if the purpose switch is a member switch, then it is transmitted to the purpose member switch; If the purpose switch is exactly described command switch, command switch oneself is handled this message, sends SNMP and replys message to the requesting party.
3. the method for claim 1, it is characterized in that: the SNMP port numbers that described command switch uses is default port numbers, this default port numbers also is the SNMP port numbers that member switch uses.
4. the method for claim 1 is characterized in that: in the step (2), described command switch is monitored the SNMP port of mapping of all member switch and the SNMP port that oneself uses; Member switch is monitored the SNMP port of its use, or the SNMP port that it shone upon.
5. the method for claim 1, it is characterized in that: in the step (2), after described command switch receives the SNMP request message that the requesting party sends,, the source IP address of this message and source port number and keyword message are stored for keyword is set up in forwarding.
6. the method for claim 1, it is characterized in that: in the step (2), described command switch comprises the step that message is transmitted to the corresponding target member switch:
If member switch is monitored the SNMP port numbers of its use, then the destination slogan with the transmission of this SNMP message changes default port numbers into, again this message is issued the corresponding target member switch;
If this member switch is monitored its SNMP port numbers of shining upon, then the destination slogan of the transmission of this SNMP message is the SNMP port numbers of the mapping of this member switch; Command switch is issued the corresponding target member switch according to the SNMP port numbers of this mapping with message.
7. method as claimed in claim 5, it is characterized in that: in the step (2), after command switch receives that the SNMP of member switch transmission replys message, by canned data according to keyword search and take out source IP address and source port number in this information, this message is issued source IP address, and the port of transmission is a source port number.
8. the cluster management system based on Simple Network Management Protocol SNMP is characterized in that, comprising:
One command switch, and member switch, described command switch links to each other with member switch;
Dispose the IP address of a public network on the described command switch, described command switch comprises message forwarding processing module, described message is transmitted processing module and is used to receive the SNMP request message that the requesting party sends, destination slogan according to this message is transmitted to the corresponding target member switch with described message, and will be transmitted to the requesting party from the SNMP answer message that described member switch is received; Described message is transmitted the destination address that processing module also is used for the trap message that member switch sends is transmitted to this message.
Described member switch is used to receive the SNMP request message that command switch sends, and handles, and returns SNMP and reply message to command switch; Be assigned the SNMP port numbers of mapping on the described member switch.
9. system as claimed in claim 8 is characterized in that: command switch is used for judging the purpose switch that this message sends according to the destination slogan of this message, if the purpose switch is a member switch, then it is transmitted to the purpose member switch; If the purpose switch is exactly described command switch, command switch oneself is handled this message, sends SNMP and replys message to the requesting party.
10. system as claimed in claim 8 is characterized in that: the SNMP port numbers that described command switch uses is default port numbers, and this default port numbers also is the SNMP port numbers that member switch uses.
11. system as claimed in claim 8, it is characterized in that: if member switch is monitored the SNMP port numbers of its use, then the message of described command switch is transmitted processing module and is used for changing the destination slogan of the transmission of this SNMP message into default port numbers, again this message is issued the corresponding target member switch;
If this member switch is monitored its SNMP port numbers of shining upon, then the message of described command switch forwarding processing module is used for directly according to the transmission destination slogan of this SNMP message this message being issued the corresponding target member switch.
12. system as claimed in claim 8 is characterized in that: the command switch message is transmitted processing module and also is used to transmit and sets up keyword, and the source IP address of described SNMP request message and source port number and keyword message are stored; And after receiving that corresponding SNMP replys message, according to keyword search and take out source IP address and source port number in this information, this message is issued source IP address by canned data, the port of transmission is a source port number.
CNA2007101084697A 2007-06-14 2007-06-14 Simple network management protocol based cluster management method and system Pending CN101098256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101084697A CN101098256A (en) 2007-06-14 2007-06-14 Simple network management protocol based cluster management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101084697A CN101098256A (en) 2007-06-14 2007-06-14 Simple network management protocol based cluster management method and system

Publications (1)

Publication Number Publication Date
CN101098256A true CN101098256A (en) 2008-01-02

Family

ID=39011794

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101084697A Pending CN101098256A (en) 2007-06-14 2007-06-14 Simple network management protocol based cluster management method and system

Country Status (1)

Country Link
CN (1) CN101098256A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873232A (en) * 2010-07-27 2010-10-27 迈普通信技术股份有限公司 Judgment method of equipment uniqueness and IP network discovery server
CN101577841B (en) * 2008-05-09 2011-10-05 上海未来宽带技术及应用工程研究中心有限公司 Method and system for realizing SNMP management of optical-fiber coaxial cable access network terminal equipment
CN102377835A (en) * 2010-08-20 2012-03-14 杭州华三通信技术有限公司 Communication method and device for network element group network
CN101714926B (en) * 2009-11-02 2013-01-30 福建星网锐捷网络有限公司 Method, device and system for managing network equipment
CN103209127A (en) * 2012-01-17 2013-07-17 迈普通信技术股份有限公司 Method and device for achieving virtual routing and forwarding on basis of Linux system
CN104380660A (en) * 2012-04-13 2015-02-25 思杰系统有限公司 Systems and methods for trap monitoring in multi-core and cluster systems
CN107154872A (en) * 2017-05-05 2017-09-12 烽火通信科技股份有限公司 The method and system of distributed asynchronous management telecommunication apparatus based on snmp protocol
CN107241207A (en) * 2016-03-29 2017-10-10 中兴通讯股份有限公司 device management method and device
CN113726548A (en) * 2021-07-19 2021-11-30 电信科学技术第五研究所有限公司 Method for automatically discovering switching equipment in two-layer network and remotely configuring and managing IP

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577841B (en) * 2008-05-09 2011-10-05 上海未来宽带技术及应用工程研究中心有限公司 Method and system for realizing SNMP management of optical-fiber coaxial cable access network terminal equipment
CN101714926B (en) * 2009-11-02 2013-01-30 福建星网锐捷网络有限公司 Method, device and system for managing network equipment
CN101873232A (en) * 2010-07-27 2010-10-27 迈普通信技术股份有限公司 Judgment method of equipment uniqueness and IP network discovery server
CN102377835A (en) * 2010-08-20 2012-03-14 杭州华三通信技术有限公司 Communication method and device for network element group network
CN102377835B (en) * 2010-08-20 2014-04-16 杭州华三通信技术有限公司 Communication method and device for network element group network
CN103209127B (en) * 2012-01-17 2016-01-20 迈普通信技术股份有限公司 Virtual flow-line retransmission method and device is realized based on linux system
CN103209127A (en) * 2012-01-17 2013-07-17 迈普通信技术股份有限公司 Method and device for achieving virtual routing and forwarding on basis of Linux system
CN104380660A (en) * 2012-04-13 2015-02-25 思杰系统有限公司 Systems and methods for trap monitoring in multi-core and cluster systems
CN104380660B (en) * 2012-04-13 2017-09-29 思杰系统有限公司 System and method for carrying out trap monitoring in multinuclear and group system
CN107241207A (en) * 2016-03-29 2017-10-10 中兴通讯股份有限公司 device management method and device
CN107154872A (en) * 2017-05-05 2017-09-12 烽火通信科技股份有限公司 The method and system of distributed asynchronous management telecommunication apparatus based on snmp protocol
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

Similar Documents

Publication Publication Date Title
CN101098256A (en) Simple network management protocol based cluster management method and system
CN108199897B (en) OPC UA multi-server aggregation method supporting cache management
CN110191148B (en) Statistical function distributed execution method and system for edge calculation
CN101197856B (en) IP address space planning-free and private domain name access method in VPN network
CN104052759A (en) System for realizing add-and-play technology of internet of things
CN102160328A (en) Central controller for coordinating multicast message transmissions in distributed virtual network switch environment
CN105119787B (en) A kind of public internet access system and method based on software definition
KR20130068849A (en) Hierarchical message delivery system and method among devices in heterogeneous networks environment
CN101951325A (en) Network terminal configuration system based on automatic discovery and configuration method thereof
CN101785283A (en) Methods and devices for communicating diagnosis data in a real time communication network
KR100661006B1 (en) Home network device management system and method thereof
CN101577841B (en) Method and system for realizing SNMP management of optical-fiber coaxial cable access network terminal equipment
CN101345657A (en) Method and system for cluster management of multiple network elements based on simple network management protocol
CN103428269B (en) A kind of resource rapid deployment method under distributed environment
CN107623752A (en) Network management and device based on link layer
CN103873369B (en) Gateway and method for supporting interaction of heterogeneous network
CN102075588B (en) Method and system for realizing network address translation (NAT) transversing and equipment
CN106210166B (en) A kind of system of the capacity of extended wireless controller equiment mac address forwarding table
CN203071969U (en) System for collecting, gathering and distributing data on the basis of cloud computing system
CN101621528B (en) Conversation system based on Ethernet switch cluster management and method for realizing conversation passage
CN102377830A (en) IP (Internet Protocol) address configuration method
CN102857953A (en) Self-configuration method and device of base station
CN112910959B (en) SDN-based network interconnection method for multiple Kubernetes clusters
CN102263669B (en) Network management system and method for controlled multicast system based on multicast conversion
CN100521691C (en) Method for realizing relocation based on EML-NML interface of CORBA

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

Open date: 20080102