CN104410530A - Method of finding and utilizing MAC address to manage industrial switches - Google Patents

Method of finding and utilizing MAC address to manage industrial switches Download PDF

Info

Publication number
CN104410530A
CN104410530A CN201410758053.XA CN201410758053A CN104410530A CN 104410530 A CN104410530 A CN 104410530A CN 201410758053 A CN201410758053 A CN 201410758053A CN 104410530 A CN104410530 A CN 104410530A
Authority
CN
China
Prior art keywords
industrial ethernet
layers
server
mac address
ethernet 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
CN201410758053.XA
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.)
HANGZHOU AOBO RUIGUANG COMMUNICATION Co Ltd
Zhejiang Windey Co Ltd
Original Assignee
HANGZHOU AOBO RUIGUANG COMMUNICATION Co Ltd
Zhejiang Windey 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 HANGZHOU AOBO RUIGUANG COMMUNICATION Co Ltd, Zhejiang Windey Co Ltd filed Critical HANGZHOU AOBO RUIGUANG COMMUNICATION Co Ltd
Priority to CN201410758053.XA priority Critical patent/CN104410530A/en
Publication of CN104410530A publication Critical patent/CN104410530A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method of finding and utilizing MAC (Media Access Control) address to manage industrial switches. The method is used for remotely controlling, managing and monitoring level-two industrial Ethernet switches in a local area network. The local area network comprises a server, and the level-two industrial Ethernet switches; the server automatically finds MAC address information of the level-two industrial Ethernet switches and utilizes the found MAC address information to directly and remotely monitor configuration management and operating state of the designated level-two industrial Ethernet switches. With application of the method disclosed by the invention, the level-two industrial Ethernet switches are not required to be provided with any setting comprising IP (Internet Protocol) address setting; the plug and play effect of the level-two industrial Ethernet switches can be achieved actually, so as to bring convenience to mounting and maintenance of the switches in the field; the operating state of the level-two industrial Ethernet switches can be managed and monitored remotely and uniformly within the range of the local area network.

Description

A kind ofly find and utilize the management method of MAC Address to industrial switch
Technical field
The present invention relates to computer communication technology field, especially relate to and a kind ofly find and utilize the management method of MAC Address to industrial switch.
Background technology
At present, the fast development of industrial information technology, ethernet technology becomes the communications protocol of most main flow just gradually, industrial ethernet switch is mainly applicable to industrial communication field, for commercial switch, industrial switch can provide more reliable ethernet network transmission platform, most industrial communication networks is a large local area network (LAN), only need be provided by two layers of industrial ethernet switch can meet on-the-spot networking needs to the access function of situ industrial communicating terminal in industry spot.
In order to simply and easily Long-distance Control, management, monitor two layers of industrial ethernet switch, need to provide a kind of remote access mechanism or means, at present, on market, the webmaster type industrial ethernet switch of most of producer all adopts IP protocol access mode, also before namely industrial communication network engineering is installed, in advance switch is carried out to the setting of IP address, later stage is by Web configuration mode (inputting the IP address that switch inside is arranged in a browser), or by Telnet agreement, or the mode such as the special webmastering software to be provided by producer, switch device corresponding to remote access is realized by the IP address of correspondence.
But to all industrial switch, IP setting is carried out in advance for above-mentioned this needs, the mode of each field exchange machine of telemanagement could be realized, some problem following can be brought: 1) for the occasion that industry spot communication node is more in industrial communication site of deployment, field engineering installation personnel needs to carry out IP one by one to the switch of a greater number and arranges, before this, user needs study how to carry out IP setting to field exchange machine, and requirement can not repeat to arrange IP with wrong, otherwise the later stage may cause accessing field exchange machine equipment, just install to field engineering and bring more workload and work difficulty, 2) communicating terminal and the communication apparatus of more producer is related in industrial communication environment, these equipment often all possess IP address information, this just requires before arranging situ industrial switch ip address, what need to investigate the current IP address of this industry spot takies situation, to prevent from repeating because of IP network section or the IP address information planning conflict that causes is repeated in address, 3) for the switch arranged, need to carry out special marking (mark IP information or positional information to be installed), the switch device of correspondence is mounted to corresponding industrial communication rack according to IP address information to each switch, otherwise the false judgment of later stage engineering maintenance may be caused because of the entanglement of installation site, 4) adopt IP address information to conduct interviews to each switch, if want long-range, switch is configured, can only configures by platform, for identical network management configuration, batch configuration cannot be realized and download.
Summary of the invention
The present invention is to simplify the installation and maintenance difficulty of industrial switch at communication scene, there is provided a kind of without the need to carrying out any setting (comprising IP address to arrange) to switch, realize industrial switch and really accomplish plug and play effect, facilitate the installation and maintenance of field exchange machine, meanwhile can also realize unifying the discovery of the running status of configuration management and watch-dog at local area network (LAN) wide remote and utilizing MAC Address to the management method of industrial switch.
To achieve these goals, the present invention is by the following technical solutions: a kind ofly find and utilize the management method of MAC Address to industrial switch, for Long-distance Control in local area network (LAN), management, monitoring two layers of industrial ethernet switch, server, two layers of industrial ethernet switch are comprised in local area network (LAN), automatic discovering server two layers of industrial ethernet switch mac address information, and utilize the mac address information found, directly carry out the configuration management of appointment two layers of industrial ethernet switch and the remote monitoring of running status.The device that this programme is mainly concerned with has network management workstation, Industrial Ethernet Layer 2 switch, and network management workstation is equipped with the network management software supporting specific protocol, namely alleged server, and Industrial Ethernet Layer 2 switch supports specific protocol; Automatic discovering server Layer 2 switch MAC information, and utilize the MAC information found to carry out the configuration management of designated switch and the remote monitoring of running status, finally really realize industrial layer 2-switched plug and play effect, greatly facilitate industrial communication in-site installation and maintenance, execute-in-place is simple, and practicality, ease for use are strong.
As preferably, comprise the following steps: 1) adopt server by Radio Paging instruction, the mac address information of two layers of industrial ethernet switch in local area network (LAN) residing for automatic search, and the message frame containing MAC address of server information is sent to two layers of industrial ethernet switch; 2) after two layers of industrial ethernet switch receive message frame, judge whether it is the message frame issuing oneself, if it is send one to server contain the acknowledgement frame of own MAC address information and record MAC address of server information, if not then abandoning message frame; 3), after server receives the acknowledgement frame that equipment returns, the information of record two layers of industrial ethernet switch is also added in the maintenance management list of two layers of industrial ethernet switch; 4) repeat step 1), step 2), step 3) at least three times; 5) be presented in the mode of chart all two layers of industrial ethernet switchs that paging in this local area network (LAN) arrives at the graphical interfaces of server; 6) server is according to accessed each two layers of industrial ethernet switch mac address information, sends clean culture maintenance command frame for appointment two layers of industrial ethernet switch; 7) after two layers of industrial ethernet switch receive clean culture maintenance command frame, according to the value of message types difference corresponding operating in maintenance frame, then perform configuration operation according to specifying information content, execution result is transmitted a reply message frame to server by two layers of industrial ethernet switch.
As preferably, in described step 3), step 4), the mac address information of two layers of industrial ethernet switch occur once or once more than, server is considered as effective information and record.
Therefore, the present invention has following beneficial effect: (1), without the need to carrying out any setting to two layers of industrial ethernet switch, comprises IP address and arranges; (2) realize two layers of industrial ethernet switch and really accomplish plug and play effect, facilitate the installation and maintenance of field exchange machine; (3) running status unifying configuration management and monitoring two layers of industrial ethernet switch at local area network (LAN) wide remote is realized.
Accompanying drawing explanation
Fig. 1 is that server broadcast paging of the present invention finds client exchange machine MAC Address Principle of Process schematic diagram.
Fig. 2 is the repeatedly Radio Paging Principle of Process schematic diagram of server of the present invention and client exchange machine.
Fig. 3 is that the MAC information that server by utilizing of the present invention finds is managed for configuration flow process principle schematic to designated switch.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described.
A kind ofly find and utilize the management method of MAC Address to industrial switch, for Long-distance Control in local area network (LAN), management, monitoring two layers of industrial ethernet switch, server, two layers of industrial ethernet switch are comprised in local area network (LAN), automatic discovering server two layers of industrial ethernet switch mac address information, and utilize the mac address information found, directly carry out the configuration management of appointment two layers of industrial ethernet switch and the remote monitoring of running status;
Comprise the following steps: 1) adopt server by Radio Paging instruction, the mac address information of two layers of industrial ethernet switch in local area network (LAN) residing for automatic search, and the message frame containing MAC address of server information is sent to two layers of industrial ethernet switch; 2) after two layers of industrial ethernet switch receive message frame, judge whether it is the message frame issuing oneself, if it is send one to server contain the acknowledgement frame of own MAC address information and record MAC address of server information, if not then abandoning message frame; 3), after server receives the acknowledgement frame that equipment returns, the information of record two layers of industrial ethernet switch is also added in the maintenance management list of two layers of industrial ethernet switch; 4) repeat step 1), step 2), step 3) at least three times; 5) be presented in the mode of chart all two layers of industrial ethernet switchs that paging in this local area network (LAN) arrives at the graphical interfaces of server; 6) server is according to accessed each two layers of industrial ethernet switch mac address information, sends clean culture maintenance command frame for appointment two layers of industrial ethernet switch; 7) after two layers of industrial ethernet switch receive clean culture maintenance command frame, according to the value of message types difference corresponding operating in maintenance frame, then perform configuration operation according to specifying information content, execution result is transmitted a reply message frame to server by two layers of industrial ethernet switch;
In step 3), step 4), the mac address information of two layers of industrial ethernet switch occur once or once more than, server is considered as effective information and record.
Specific implementation process is, as shown in Figure 1, first server adopts Ethernet broadcast paging messages mode, all client devices in paging local area network (LAN), and the MAC Address of server is notified each client, and message frame is as following table:
Codomain Byte Apportioning cost
DMA 6 Broadcast: (0x) FF FF FF FF FF FF
SMA 6 MAC address of server
Ether Type 2 (0x) 88 A0
Organization Code 3 First three byte of device mac address
Message Type 1 (0x) 80 (GET)
Message Length 2 (0x) 00 3C (60 Byte)
Request ID 2 Sequence number, is mapped the request command of server and the commands in return of client by Request ID
MAC of the Switch 6 Same DMA, (0x) FF FF FF FF FF FF
Get Code 1 (0x) 00 (paging)
Result Status 1 (0x) 00 (OK)
Pad 27 Full 0, supplies 128 bytes
Wherein, DMA fills in equipment destination address, and when sending with broadcast mode, the content of DMA is FF FF FF FF FF FF.The content of Organization Code is the front three of fixing MAC Address, filters the switch device of Fei Ben producer with this, and Get Code content, in order to distinguish content and the form of message, carrys out the difference request that identified server is sent, and performs corresponding operation;
After two layers of industrial ethernet switch receive message frame, judge whether it is the message frame issuing oneself, if it is send one to server contain the acknowledgement frame of own MAC address information and record MAC address of server information, if not then abandoning message frame, acknowledgement frame form is as following table:
Codomain Byte Apportioning cost
DMA 6 MAC address of server
SMA 6 Device mac address
Ether Type 2 (0x) 88 A0
Organization Code 3 First three byte of device mac address
Message Type 1 (0x) 82 (Response)
Message Length 2 (0x) 00 3C (60 Byte)
Request ID 2 Sequence number, is mapped the request command of server and the commands in return of client by Request ID
MAC of the Switch 6 With SMA value
Get Code 1 (0x) 00 (paging)
Result Status 1 (0x) 00 (OK)
Res 1 (0x) 00
Pad 18 Supply 60 bytes
Wherein, DMA is MAC address of server, SMA is the MAC Address of this client exchange machine, Organization Code in two layers of industrial ethernet switch analysis message frame, if the content of Organization Code is identical with own MAC address front three, then think to issue oneself, and the information such as the MAC Address of the machine, unit type are sent to server;
Server is after the acknowledgement frame receiving two layers of industrial ethernet switch, the data messages such as the MAC Address in acknowledgement frame, device type are saved in the database of server, and the client maintenance managing listings of update server, simultaneously be presented in the mode of chart all switches that paging in this local area network (LAN) arrives at the graphical interfaces of server, so just reach the object of this local area network client switch of access;
As shown in Figure 2, for avoid producing once cannot paging to the situation of all switches, server will carry out at least three operating process described above, detailed process is: server finds all two layers of industrial ethernet switchs in local area network (LAN) by broadcast MAC address, server is every the Paging Time time, send a Paging message, send Paging Num bar altogether; Two layers of industrial ethernet switch often receive a Paging message, just reply a Response message immediately, and the MAC Address of server is recorded, as the server address confirmed, the wherein Paging Time(server pages time) default value be 80ms, Paging Num(server pages number of times) default value be 3; Generally, server can receive the every platform of client two layers of industrial ethernet switch equipment Paging Num message back, if client two layers of industrial ethernet switch equipment are in paging, part-time is only had to be connected into local area network (LAN), now server receive this client reply number of times be less than Paging Num time, if client two layers of industrial ethernet switch equipment are in paging, causes abandoning part messages because of busy, now server receives this client and replys number of times and be less than Paging Num time; Server statistics also records the MAC Address of all clients, and between paging periods, certain MAC Address occurs more than 1 time effectively;
As shown in Figure 3, server is after above-mentioned flow process, just according to accessed each switch mac address information, clean culture maintenance command can be sent for given client end two layers of industrial ethernet switch, is dealt into the clean culture maintenance command frame format of switch device as following table by server:
Codomain Byte Apportioning cost
DMA 6 Device mac address
SMA 6 MAC address of server
Ether Type 2 (0x) 0000 authorized manufacturer's agreement
Organization Code 3 First three byte of device mac address
Protocol Type 2 (0x) 00 00
Version 1 (0x) 00
Message Type 1 (0x) 00(SET)
Message Length 2
Request ID 2 Sequence number, is mapped the request command of server and the commands in return of client by Request ID
MAC of the Switch 6 With DMA value
Set Code 1 (0x) 00 (device mac address)
Result Status 1 (0x) 00 (OK)
Res 1 (0x) 00
Pad 20 The configuration information of management function
Set Code specifies content and the form of clean culture maintenance command frame, what fill in DMA is the MAC Address of client exchange machine, the configuration information of the management function that Pad value sends for user, such as VLAN, Port Mirroring etc., after client two layers of industrial ethernet switch receive the frame that server sends, analyze DMA and whether conform to determine whether it is the frame issuing oneself with the MAC of self, if not then abandoning, if it is according to the type of message Set Code value difference corresponding operating in maintenance frame, then configuration operation is performed according to the specifying information content in Pad region, execution result is transmitted a reply message frame to server by client two layers of industrial ethernet switch, reply message frame as following table:
Codomain Byte Apportioning cost
DMA 6 MAC address of server
SMA 6 Device mac address
Ether Type 2 (0x) 0000
Organization Code 3 First three byte of device mac address
Protocol Type 2 (0x) 00 00
Version 1 (0x) 00
Message Type 1 (0x) 00(Response)
Message Length 2
Request ID 2 Sequence number, is mapped the request command of server and the commands in return of client by Request ID
MAC of the Switch 6 With SMA value
Pad 20 Execution result back
So far, do not arranging in IP situation, achieving the maintenance management function based on the network of client exchange machine MAC Address within the scope of local area network (LAN).

Claims (3)

1. one kind finds and utilizes that MAC Address is to the management method of industrial switch, for Long-distance Control in local area network (LAN), management, monitoring two layers of industrial ethernet switch, server, two layers of industrial ethernet switch are comprised in local area network (LAN), it is characterized in that, automatic discovering server two layers of industrial ethernet switch mac address information, and utilize the mac address information found, directly carry out the configuration management of appointment two layers of industrial ethernet switch and the remote monitoring of running status.
2. according to claim 1ly a kind ofly find and utilize the management method of MAC Address to industrial switch, it is characterized in that, comprise the following steps: 1) adopt server by Radio Paging instruction, the mac address information of two layers of industrial ethernet switch in local area network (LAN) residing for automatic search, and the message frame containing MAC address of server information is sent to two layers of industrial ethernet switch; 2) after two layers of industrial ethernet switch receive message frame, judge whether it is the message frame issuing oneself, if it is send one to server contain the acknowledgement frame of own MAC address information and record MAC address of server information, if not then abandoning message frame; 3), after server receives the acknowledgement frame that equipment returns, the information of record two layers of industrial ethernet switch is also added in the maintenance management list of two layers of industrial ethernet switch; 4) repeat step 1), step 2), step 3) at least three times; 5) be presented in the mode of chart all two layers of industrial ethernet switchs that paging in this local area network (LAN) arrives at the graphical interfaces of server; 6) server is according to accessed each two layers of industrial ethernet switch mac address information, sends clean culture maintenance command frame for appointment two layers of industrial ethernet switch; 7) after two layers of industrial ethernet switch receive clean culture maintenance command frame, according to the value of message types difference corresponding operating in maintenance frame, then perform configuration operation according to specifying information content, execution result is transmitted a reply message frame to server by two layers of industrial ethernet switch.
3. according to claim 2ly a kind ofly find and utilize the management method of MAC Address to industrial switch, it is characterized in that, in described step 3), step 4), the mac address information of two layers of industrial ethernet switch occur once or once more than, server is considered as effective information and record.
CN201410758053.XA 2014-12-12 2014-12-12 Method of finding and utilizing MAC address to manage industrial switches Pending CN104410530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410758053.XA CN104410530A (en) 2014-12-12 2014-12-12 Method of finding and utilizing MAC address to manage industrial switches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410758053.XA CN104410530A (en) 2014-12-12 2014-12-12 Method of finding and utilizing MAC address to manage industrial switches

Publications (1)

Publication Number Publication Date
CN104410530A true CN104410530A (en) 2015-03-11

Family

ID=52648128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410758053.XA Pending CN104410530A (en) 2014-12-12 2014-12-12 Method of finding and utilizing MAC address to manage industrial switches

Country Status (1)

Country Link
CN (1) CN104410530A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897936A (en) * 2016-06-23 2016-08-24 北京东土科技股份有限公司 Method, device and system for processing control configuration information based on industrial internet
CN106162071A (en) * 2015-04-27 2016-11-23 四川效率源信息安全技术有限责任公司 Procotol is used automatically to detect the method for video monitoring main frame in LAN
CN106453678A (en) * 2016-09-29 2017-02-22 北京东土科技股份有限公司 IP address allocation method and system
CN107965350A (en) * 2017-12-21 2018-04-27 天地(常州)自动化股份有限公司 A kind of coal mine safety monitoring system sensor automatic identification, plug and play method
CN111130865A (en) * 2019-12-13 2020-05-08 深圳市乙辰科技股份有限公司 Network equipment firmware batch upgrading method and system based on two-layer switching
WO2023050666A1 (en) * 2021-09-30 2023-04-06 苏州浪潮智能科技有限公司 Bare metal detection method and system, and related component

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227404A (en) * 2008-02-05 2008-07-23 中兴通讯股份有限公司 Method and apparatus for in-band managing for Ethernet switch without network manage
CN101242295A (en) * 2007-02-09 2008-08-13 深圳市新格林耐特通信技术有限公司 A method for managing low-end switch
US7940700B2 (en) * 2007-01-31 2011-05-10 Hewlett-Packard Development Company, L.P. Method of distributing multiple spanning tree protocol configuration
CN102833091A (en) * 2011-12-13 2012-12-19 上海艾泰科技有限公司 Remote management method for switchboards
CN103117873A (en) * 2013-01-11 2013-05-22 杭州初灵信息技术股份有限公司 Equipment in-band management achieving method based on media access control (MAC) frame

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7940700B2 (en) * 2007-01-31 2011-05-10 Hewlett-Packard Development Company, L.P. Method of distributing multiple spanning tree protocol configuration
CN101242295A (en) * 2007-02-09 2008-08-13 深圳市新格林耐特通信技术有限公司 A method for managing low-end switch
CN101227404A (en) * 2008-02-05 2008-07-23 中兴通讯股份有限公司 Method and apparatus for in-band managing for Ethernet switch without network manage
CN102833091A (en) * 2011-12-13 2012-12-19 上海艾泰科技有限公司 Remote management method for switchboards
CN103117873A (en) * 2013-01-11 2013-05-22 杭州初灵信息技术股份有限公司 Equipment in-band management achieving method based on media access control (MAC) frame

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162071A (en) * 2015-04-27 2016-11-23 四川效率源信息安全技术有限责任公司 Procotol is used automatically to detect the method for video monitoring main frame in LAN
CN105897936A (en) * 2016-06-23 2016-08-24 北京东土科技股份有限公司 Method, device and system for processing control configuration information based on industrial internet
CN105897936B (en) * 2016-06-23 2019-04-26 北京东土科技股份有限公司 The processing method of control configuration information based on industry internet, apparatus and system
CN106453678A (en) * 2016-09-29 2017-02-22 北京东土科技股份有限公司 IP address allocation method and system
CN107965350A (en) * 2017-12-21 2018-04-27 天地(常州)自动化股份有限公司 A kind of coal mine safety monitoring system sensor automatic identification, plug and play method
CN111130865A (en) * 2019-12-13 2020-05-08 深圳市乙辰科技股份有限公司 Network equipment firmware batch upgrading method and system based on two-layer switching
WO2023050666A1 (en) * 2021-09-30 2023-04-06 苏州浪潮智能科技有限公司 Bare metal detection method and system, and related component

Similar Documents

Publication Publication Date Title
CN104410530A (en) Method of finding and utilizing MAC address to manage industrial switches
CN101631053B (en) EAPS ring-network topology monitoring method and system
CN101083557B (en) SNMP based IP network cluster managerial approach
CN108259215B (en) Equipment management method and device
US8984145B2 (en) Network management interface for heterogeneous data network and system using the same
CN105429883A (en) Long connection method of multiple intelligent devices and server equipment and intelligent device
WO2020249345A1 (en) Method for providing control applications, and configuration controller
CN104639497A (en) Remote access configuration method, remote access method, remote access configuration device, remote access device and remote access system
CN101420343B (en) Network topology discovery method for EPA network
CN101494561A (en) Network management method and system based on simple network management protocol
CN101404594B (en) Hot backup performance test method and apparatus, communication equipment
CN104936202A (en) CoAP protocol based 6LoWPAN wireless sensor network management system
CN104468497A (en) Data isolation method and device of monitoring system
CN102131072A (en) System and method for realizing network video monitoring under internet platform
CN103888289A (en) Gateway control method, gateway, management and control device and system
CN104468159A (en) Management method and device of dynamic host configuration protocol server and relay
JP5304200B2 (en) Network management system, network management method, manager and agent
CN102377830A (en) IP (Internet Protocol) address configuration method
JP4729969B2 (en) Gateway device
CN103441876A (en) Network device management method and system based on DHCP and SNMP
JP5135422B2 (en) Gateway device
KR20130110442A (en) Method and system for managing centralized programable logic controller using simple network management protocol
CN103873284A (en) Equipment management system and method
JP6002642B2 (en) Communication node, network system, and device control method
CN107248935B (en) System and method for network management to discover and monitor network elements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150311

RJ01 Rejection of invention patent application after publication