CN102833091A - Remote management method for switchboards - Google Patents

Remote management method for switchboards Download PDF

Info

Publication number
CN102833091A
CN102833091A CN2011104155154A CN201110415515A CN102833091A CN 102833091 A CN102833091 A CN 102833091A CN 2011104155154 A CN2011104155154 A CN 2011104155154A CN 201110415515 A CN201110415515 A CN 201110415515A CN 102833091 A CN102833091 A CN 102833091A
Authority
CN
China
Prior art keywords
switch
switchboard
message
communication
slave
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
CN2011104155154A
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.)
SHANGHAI UTT TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI UTT TECHNOLOGY 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 SHANGHAI UTT TECHNOLOGY Co Ltd filed Critical SHANGHAI UTT TECHNOLOGY Co Ltd
Priority to CN2011104155154A priority Critical patent/CN102833091A/en
Publication of CN102833091A publication Critical patent/CN102833091A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a remote management method for switchboards. The method comprises the following steps of: executing the following communication on a data link layer, namely executing Get communication: S11, a master switchboard sends a Get message to a slave switchboard and is required to read values of parameters of the slave switchboard, and S12, the slave switchboard sends a Get Reply message to the master switchboard and submits the values of the parameters; executing Set communication: S21, the master switchboard sends a Set message to the slave switchboard and is required to set the values of the parameters of the slave switchboard, and S22, the slave switchboard sets the values of the parameters according to the requirement of the master switchboard, sends a Set Reply message to the master switchboard, and submits the values of the parameters; and executing Trap communication: S31, the slave switchboard sends a Trap message to the master switchboard to report abnormal events to the master switchboard. By utilizing the method, the switchboards can be remotely managed conveniently and efficiently.

Description

The method for remote management of switch
Technical field
The present invention relates to a kind of management method of switch, particularly relate to a kind of method for remote management of switch.
Background technology
In LAN, if think remotely to check the information of a switch, or remotely the information of a switch is operated, be comparatively inconvenient for the network manager.
At present, can utilize snmp protocol (Simple Network Management Protocol, Simple Network Management Protocol) to realize the relevant information of a switch long-range checked and operate.Yet when utilizing snmp protocol that one equipment is carried out telemanagement, this equipment of accepting management must be equipped with the special-purpose client software (agent process) of snmp protocol in advance, and actual management will be accomplished through communicating by letter between managing process and the agent process.
Above-mentioned management method exists following defective: one, need carry out the installation of client software extraly, and this can increase network manager's work load undoubtedly; Two; Communicating by letter between managing process and the agent process is at OSI (Open System Interconnection; Open system interconnection) the 3rd layer of last execution that defines in the seven layer network models, just on network layer, carry out, because network layer is based on Routing Protocol; If therefore two equipment hope on network layer, to communicate; Then must know the other side's information such as IP (Internet Protocol, the agreement that interconnects between the network) address, comparatively inconvenience and communication efficiency are lower beyond doubt for such communication process.
Summary of the invention
The technical problem that the present invention will solve is can't realize the defective to the telemanagement of switch efficiently in order to overcome in the prior art, and a kind of method for remote management of can convenient and efficient ground realizing the switch of the telemanagement of switch is provided.
The present invention solves above-mentioned technical problem through following technical proposals: a kind of method for remote management of switch, its characteristics are that this method is included in Get communication, Set communication and the Trap communication of carrying out on the data link layer,
This Get communication comprises:
S 11, host exchange is to sending a Get message from switch, require to read this value from least one parameter of switch;
S 12, should send a Get Reply message to this host exchange from switch, report the value of this at least one parameter that this host exchange requirement reads;
This Set communication comprises:
S 21, host exchange is to sending a Set message from switch, require to be provided with this value from least one parameter of switch;
S 22, should according to the requirement of this host exchange the value of this at least one parameter be set from switch, and send a Set Reply message to this host exchange, report the value of this at least one parameter that this host exchange requirement is provided with;
This Trap communication comprises:
S 31, send a Trap message from switch to host exchange, to have anomalous event to take place to the report of this host exchange.
Preferably, this anomalous event comprises: receive ARP and attack that (to a kind of attack technology of ethernet address resolution protocol), MAC Address (hardware address, be used for the position of define grid equipment) shift, equipment is restarted and the equipment netting twine is pulled out.
Positive progressive effect of the present invention is: the present invention arranges to the host exchange in the LAN and from the communication format between the switch; Thereby directly communicate on the second layer that makes them in OSI seven layer network models, to define; Just on data link layer, directly communicate; The essence of data link layer has determined such communication process can avoid relating to the information such as IP address of communicating pair fully, therefore communicate by letter simple and convenient and communication efficiency high.Utilize such communication process, the user only needs just can view the relevant information of other switch at the enterprising line operate of host exchange convenient and efficient, can also carry out Remote configuration to other switch in convenient and efficient ground; In addition, when a switch generation anomalous event, it also can notify another switch or a router with this event information quickly.
Embodiment
Provide preferred embodiment of the present invention below, to specify technical scheme of the present invention.
Following elder generation carries out brief description to the communication format that the signal post that on data link layer, carries out that arranges among the present invention adopts.But what declare is; Those skilled in the art are to be understood that; The specific descriptions of hereinafter this agreement being done are only as exemplary illustration of the present invention; And should not be used to limit the present invention, various conventional modification that those skilled in the art make the form in the following agreement or Field Definition according to the common practise in this area all belongs to protection scope of the present invention.
Utilize the agreement of this following communication format, the present invention can realize command transfer and the transfer of data between each network equipment in the Ethernet simply, thereby reaches the purpose of interlock control between those network equipments.Hereinafter, abbreviate user login and the network equipment (for example, host exchange) that initiatively send order as main frame, thereby and the interlock order that will accept main frame is abbreviated as slave by the operated network equipment of main frame (for example, from switch).
Table 1 is depicted as the frame structure in the data link layer:
Figure DEST_PATH_GDA0000131266350000031
Table 1
Each Field Definition in the table 1 is following:
DA: destination-mac address.
SA: source MAC.
TYPE: be fixed as 0x8899.
URCP PDU:URCP protocol Data Unit.
Table 2 is depicted as the form of URCP PDU:
Figure DEST_PATH_GDA0000131266350000041
Table 2
Each Field Definition in the table 2 is following:
Version: the version of the agreement of among the present invention communication format being done.
PDU Type: the type of message, can be for for example: Get/Get Reply/Set/SetReply/Trap/Msg.Wherein, this several types of Get/Get Reply/Set/Set Reply will be described below, and the Msg type then is used to transmit upper-layer protocol, for example Topology Discovery, switch closed end mouth or the like.
IP: message sender's IP.
Authkey: be fixed as 0x237B.
Flag: marker bit for example is used for expression: whether need password authentification, burst or the like whether.
Passwd: slave combined operation password, if the password mistake then slave will not respond.
Request Id: overall unique ID of each request message that main frame sends, the Request Id of response message should be identical with the Request Id of request message, to be used for matching request and response.
Error Status: the state when slave returns the processing host request, i.e. make a mistake or do not make a mistake during processing host request.If make mistakes, then concrete bad command and type of error thereof all are positioned among the Cmd Buffer.
CmdNo: the order bar number in the current message.
Next Header: when this communication format of arranging in later on to the present invention is further expanded; This field then can be used to add header message; The type that promptly is used for the next stem of mark, and if current when not having extension header, the value of this field just is 0.
Cmd Buffer: comprise many command informations, indefinite length, the concrete bar number of order is then determined by CmdNo.
Table 3 is depicted as the form of Cmd Buffer:
Cmd?type
Cmd?len
Cmd?status
Cmd?data
Cmd?type
Cmd?len
Cmd?status
Cmd?data
Table 3
Each Field Definition in the table 3 is following:
Cmd type: command type.
Cmd len: the length of this order, the i.e. total length of Cmd type, Cmd len, Cmd status and Cmddata.
Cmd status: the execution result of order, promptly type is success or makes mistakes.
Cmd data: the data division of order.
According to the concrete numerical value of order bar number, Cmd Buffer can comprise many group Cmd type, Cmdlen, Cmd status and Cmd data.
Table 4 is depicted as the form of Trap PDU:
Figure DEST_PATH_GDA0000131266350000061
Table 4
Each Field Definition in the table 4 is following:
Version: the version of the agreement that the present invention does communication format.
PDU type: the type of message, promptly type is Trap.
IP: message sender's IP.
AuthKey: be fixed as 0x237B.
Flag: marker bit.
Level: alert levels, for example attack class, failure classes, common event or the like, the recipient of this Trap PDU then can carry out corresponding action according to different ranks.
Code: the concrete event type that definition is taken place.
After having set up above-mentioned communication format agreement, just can carry out telemanagement to the switch in the LAN.Hereinafter will be temporarily specifically be decided to be example approximately with above-mentioned communication format; Principle of the present invention is elaborated; And if those skilled in the art have made modification to form in the above-mentioned agreement or Field Definition; Then hereinafter principle part also should be carried out conspicuous adaptability revision, this is not then done at this give unnecessary details.
The Get communication process:
When a main frame need read the value of one or more parameters of a slave, just can send a Get message to this slave.Main field in this message is set to: PDU Type is Get, and the Cmd type among the Cmd Buffer is set to the ID of the parameter that this main frame wants to read.
This slave can be to this host response one Get Reply message after receiving orders, and the Request Id in this message is identical with Request Id in the Get message that this main frame is sent, with matching request and answer.If the success of this slave processing command then will be deposited the ID and the value thereof of the parameter that this main frame wants to read successively among the Cmd Buffer; If ordered mistake and should take the post as one of meaning, and then represented to make mistakes with ErrorStatus from machine check; In addition, the executing state of every order is represented with Cmd status, makes a mistake and can be arranged to for example unkonowCmd, noSuchName, badValue or the like, and if do not make a mistake and just be arranged to noError.
The Set communication process:
When a main frame wants to be provided with the value of one or more parameters of a slave, just can send a Set message to this slave.Main field in this message is set to: PDU Type is Set, and the Cmd type among the Cmd Buffer is set to the ID of the parameter that this main frame wants to be provided with.
This slave can be to this host response one Set Reply message after receiving orders, and the Request Id in this message is identical with Request Id in the Set message that this main frame is sent, with matching request and answer.If the success of this slave processing command has promptly been accomplished parameter task is set, then will deposit the ID and the value thereof of the parameter that this main frame wants to be provided with among the Cmd Buffer successively; If ordered mistake and should take the post as one of meaning, and then represented to make mistakes with Error Status from machine check; In addition, the executing state of every order is then represented with Cmd status equally, makes a mistake and can be arranged to for example unkonowCmd, noSuchName, badValue or the like, and if do not make a mistake and just be arranged to noError.
The Trap communication process:
When some anomalous events have taken place in a switch; For example receive that ARP attacks, MAC Address shifts, equipment is restarted and equipment netting twine when being pulled out or the like; Just need predefined another equipment of this advisory; For example another switch or a router, this switch that this moment, anomalous event took place just can initiatively send a Trap message to this another equipment, to send warning to it.
The method for remote management of this switch of the present invention can be realized following the application in convenient and efficient ground:
1) through landing a switch; Just can send order to other switch; Find other switch, some parameter that other switch is set that exists in the network thus or read some data on other switch, the port working pattern of other switch, the IP address of revising other switch, the running status of checking other switch and daily record or the like for example are set.
2) when router detection goes out in the network to take place some and attacks, just can be automatically inside network switch transmission related command, for example detect the attack source the position, close certain port or the like, to reach the effect of resisting attack.
3) when incident that the switch generation need to be reported to the police, just can report to certain switch or the router of appointment.
Though more than described embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited appended claims.Those skilled in the art can make numerous variations or modification to these execution modes under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.

Claims (2)

1. the method for remote management of a switch is characterized in that, this method is included in Get communication, Set communication and the Trap communication of carrying out on the data link layer,
This Get communication comprises:
S11, host exchange require to read this value from least one parameter of switch to send a Get message from switch;
S12, should send a Get Reply message to this host exchange from switch, report the value of this at least one parameter that this host exchange requirement reads;
This Set communication comprises:
S21, host exchange require to be provided with this value from least one parameter of switch to send a Set message from switch;
S22, should according to the requirement of this host exchange the value of this at least one parameter be set, and send a Set Reply message, report the value of this at least one parameter that this host exchange requirement is provided with to this host exchange from switch;
This Trap communication comprises:
S31, send a Trap message to host exchange, to have anomalous event to take place to this host exchange report from switch.
2. the method for remote management of switch as claimed in claim 1 is characterized in that, this anomalous event comprises: receive that ARP attacks, MAC Address shifts, equipment is restarted and the equipment netting twine is pulled out.
CN2011104155154A 2011-12-13 2011-12-13 Remote management method for switchboards Pending CN102833091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104155154A CN102833091A (en) 2011-12-13 2011-12-13 Remote management method for switchboards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104155154A CN102833091A (en) 2011-12-13 2011-12-13 Remote management method for switchboards

Publications (1)

Publication Number Publication Date
CN102833091A true CN102833091A (en) 2012-12-19

Family

ID=47336070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104155154A Pending CN102833091A (en) 2011-12-13 2011-12-13 Remote management method for switchboards

Country Status (1)

Country Link
CN (1) CN102833091A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746842A (en) * 2013-12-31 2014-04-23 迈普通信技术股份有限公司 Method and system for detecting fault restarting of line card
CN104410530A (en) * 2014-12-12 2015-03-11 杭州奥博瑞光通信有限公司 Method of finding and utilizing MAC address to manage industrial switches
CN105471651A (en) * 2015-12-04 2016-04-06 武汉烽火网络有限责任公司 VLAN synchronization method in two-layer network, local switch and remote switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076028A (en) * 2007-06-21 2007-11-21 中兴通讯股份有限公司 Method for interacting telecommunication system and message by SNMP protocol
CN101309169A (en) * 2008-06-11 2008-11-19 华为技术有限公司 Network management method and network management system, network apparatus
US20100250739A1 (en) * 2009-03-30 2010-09-30 Fujitsu Limited Network monitoring control device and monitoring control method
CN101958878A (en) * 2009-07-15 2011-01-26 华为终端有限公司 Equipment remote management method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076028A (en) * 2007-06-21 2007-11-21 中兴通讯股份有限公司 Method for interacting telecommunication system and message by SNMP protocol
CN101309169A (en) * 2008-06-11 2008-11-19 华为技术有限公司 Network management method and network management system, network apparatus
US20100250739A1 (en) * 2009-03-30 2010-09-30 Fujitsu Limited Network monitoring control device and monitoring control method
CN101958878A (en) * 2009-07-15 2011-01-26 华为终端有限公司 Equipment remote management method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746842A (en) * 2013-12-31 2014-04-23 迈普通信技术股份有限公司 Method and system for detecting fault restarting of line card
CN103746842B (en) * 2013-12-31 2017-06-06 迈普通信技术股份有限公司 The method and system that a kind of detection line card failure is restarted
CN104410530A (en) * 2014-12-12 2015-03-11 杭州奥博瑞光通信有限公司 Method of finding and utilizing MAC address to manage industrial switches
CN105471651A (en) * 2015-12-04 2016-04-06 武汉烽火网络有限责任公司 VLAN synchronization method in two-layer network, local switch and remote switch
CN105471651B (en) * 2015-12-04 2019-03-08 烽火通信科技股份有限公司 VLAN synchronous method, local switch and distant-end switch in a kind of double layer network

Similar Documents

Publication Publication Date Title
US6628623B1 (en) Methods and systems for determining switch connection topology on ethernet LANs
US11374857B2 (en) Network device management method and apparatus, and system for indicating a network device to perform management operation
CN101390342B (en) Techniques for network protection based on subscriber-aware application proxies
CN101589595B (en) A containment mechanism for potentially contaminated end systems
EP2215489B1 (en) Scalable connectivity fault management in a bridged/virtual private lan service environment
CN105207853B (en) A kind of LAN method for managing and monitoring
CN102035676B (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
CN107438016A (en) Network management, equipment, system and storage medium
JP5764820B2 (en) Transmission system and transmission system control method
CN105721457A (en) Network security defense system and network security defense method based on dynamic transformation
CN102821009A (en) Method for monitoring ring network on basis of link layer discovery protocol and device
CN107257300B (en) A kind of 4G access devices of wireless backup, system and method
CN101841424B (en) EMS network management system and method based on SOCKS proxy connection
CN108737183A (en) A kind of monitoring method and device of forwarding-table item
US8670299B1 (en) Enhanced service status detection and fault isolation within layer two networks
CN102833091A (en) Remote management method for switchboards
CN106803803B (en) Virtual local area network restoration method, system and device
CN104618491B (en) A kind of proxy server and data forwarding method
WO2019170085A1 (en) Fault diagnosis method and apparatus therefor
CN108259442B (en) Slow protocol message processing method and related device
CN101404594A (en) Hot backup performance test method and apparatus, communication equipment
CN110380966A (en) A kind of method and its relevant device finding forward-path
CN103534995A (en) Router cluster inter-board communication method, router, and router cluster
CN115695204A (en) Method, system and storage medium for automatically discovering network equipment
Kuliesius et al. Sdn/legacy hybrid network control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121219