CN107682202B - Network equipment management method and device - Google Patents

Network equipment management method and device Download PDF

Info

Publication number
CN107682202B
CN107682202B CN201711018711.1A CN201711018711A CN107682202B CN 107682202 B CN107682202 B CN 107682202B CN 201711018711 A CN201711018711 A CN 201711018711A CN 107682202 B CN107682202 B CN 107682202B
Authority
CN
China
Prior art keywords
management
management device
equipment
mac address
broadcast
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.)
Active
Application number
CN201711018711.1A
Other languages
Chinese (zh)
Other versions
CN107682202A (en
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 H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201711018711.1A priority Critical patent/CN107682202B/en
Publication of CN107682202A publication Critical patent/CN107682202A/en
Application granted granted Critical
Publication of CN107682202B publication Critical patent/CN107682202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure relates to a method and an apparatus for managing network devices, including: responding to the first login instruction, and setting the network equipment as management equipment; periodically sending a broadcast message; wherein, the broadcast message includes: a MAC address of the management device; receiving a first broadcast response message sent by member equipment; the first broadcast response message is a message sent to the management device by the member device according to the MAC address of the management device under the condition that no management device identification information is locally recorded in the member device, and the first broadcast response message includes: the MAC address of the member device; and when the member device information is not recorded in the management domain, adding the member device to the management domain, wherein the management domain is used for storing the member device which can be managed by the management device and the MAC address of the member device. According to the management method and the management device of the network equipment, the management and active control of the management equipment on the member equipment can be realized, and the management efficiency of the network equipment in the local area network is improved.

Description

Network equipment management method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for managing network devices.
Background
A network environment may include a plurality of network devices, for example, a network environment may include: the same type of network device from the same vendor, different types of network devices from the same vendor, network devices from different vendors, etc. Since the configurations of the network devices in a network environment are different and the physical locations are isolated from each other, it is inconvenient to manage the network devices in the network environment.
In order to manage network devices in a network environment, Link Layer Discovery Protocol (LLDP) is proposed in the industry, and network devices located in the same network environment may organize their information (including main functions, network device identifiers, interface identifiers, management addresses, etc.) into TLV (type-length-value) information and send the TLV information to neighbor network devices directly connected to themselves. After receiving the TLV Information, the neighbor may store the TLV Information in the form of MIB (Management Information Base) for the network Management device to query and determine the communication status of the network link.
However, in actual products of various manufacturers, all devices do not support LLDP, and even if the devices support LLDP, the messages issued by the protocols are different, so that the devices exchange information differently, which causes management difficulty. In addition, the management scheme of the network device is that the network device automatically sends self information to the directly connected neighbor device to manage the network device, and the message transmission and reception in the network environment are not controllable, so that the active network device cannot be controlled, for example: the management address of the network device cannot be actively modified, and when a user needs to modify the configuration of the network device and other operations, a network administrator needs to operate on each network device, so that the management efficiency of the network device is low.
Disclosure of Invention
In view of this, the present disclosure provides a management method for a network device, so as to implement management and active control of a member device by a management device, and improve management efficiency of the network device in a local area network.
According to an aspect of the present disclosure, there is provided a method for managing a network device, the method being applied to a network device in a local area network, and including:
responding to a first login instruction, and setting the network equipment as management equipment;
periodically sending a broadcast message; wherein, the broadcast message includes: a MAC address of the management device;
receiving a first broadcast response message sent by member equipment; wherein the first broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device under the condition that no management device identification information is locally recorded by the member device, and the first broadcast response packet includes: the MAC address of the member device;
and when the member equipment information is not recorded in a management domain, adding the member equipment to the management domain, wherein the management domain is used for storing the member equipment which can be managed by the management equipment and the MAC address of the member equipment.
According to another aspect of the present disclosure, there is provided a method for managing a network device, the method being applied to a network device in a local area network, and including:
responding to a second login instruction, and setting the network equipment as member equipment;
receiving a broadcast message from a management device, wherein the broadcast message comprises: a MAC address of the management device;
when the management device identifier is not recorded locally by the member device, recording the MAC address of the management device as the management device identifier, and sending a first broadcast response packet to the management device according to the MAC address of the management device, where the first broadcast response packet includes: the MAC address of the member device.
According to another aspect of the present disclosure, there is provided a management apparatus for a network device, the apparatus being applied to a network device in a local area network, and including:
the first setting module is used for responding to a first login instruction and setting the network equipment as management equipment;
the first sending module is used for periodically sending the broadcast message; wherein, the broadcast message includes: a MAC address of the management device;
the first receiving module is used for receiving a first broadcast response message sent by the member equipment; wherein the first broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device under the condition that no management device identification information is locally recorded by the member device, and the first broadcast response packet includes: the MAC address of the member device;
and the adding module is used for adding the member equipment to the management domain when the information of the member equipment is not recorded in the management domain, wherein the management domain is used for storing the member equipment which can be managed by the management equipment and the MAC address of the member equipment.
According to another aspect of the present disclosure, there is provided a management apparatus for a network device, the apparatus being applied to a network device in a local area network, and including:
the third setting module is used for responding to the second login instruction and setting the network equipment as member equipment;
a fourth receiving module, configured to receive a broadcast packet from a management device, where the broadcast packet includes: a MAC address of the management device;
a third sending module, configured to record, when a management device identifier is not locally recorded in the member device, an MAC address of the management device as the management device identifier, and send a first broadcast response packet to the management device according to the MAC address of the management device, where the first broadcast response packet includes: the MAC address of the member device.
In this way, the network device can set itself as a management device by responding to the first login instruction and send out a broadcast message carrying the MAC address of the management device, so that the member device can send a first broadcast response message carrying the MAC address of the member device to the management device after receiving the broadcast message, the management device can add the MAC addresses of the member device and the member device to the management domain, and the management device can manage and control the member device stored in the management domain according to the MAC address of the corresponding member device. According to the management method of the network device in the embodiment of the present disclosure, the member device can be managed by the management device, active control over the member device can be realized, and control over message transmission and reception can be realized, for example: the management address of the member device is actively modified through the management device, when the user needs to modify the configuration of the network device and the like, the member device is controlled to modify and the like through the management device, so that the repetitive labor of the user in the process of managing the network device can be released, the labor intensity of the user is reduced, and the management efficiency of the network device in the local area network can be improved.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flow chart of a method for managing network devices according to an embodiment of the present disclosure;
fig. 2 shows a flow chart of a management method of a network device according to an embodiment of the present disclosure;
fig. 3 shows a flow chart of a method of managing network devices according to an embodiment of the present disclosure;
fig. 4 shows a flow chart of a method of managing network devices according to an embodiment of the present disclosure;
fig. 5 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure;
FIG. 6 shows a schematic diagram of a network topology of an example of the present disclosure;
FIG. 7 is a flow chart of a method for managing network devices according to an embodiment of the present disclosure;
fig. 8 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure;
fig. 9 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure;
FIG. 10 illustrates a flow diagram of message interaction between a management device and a member device of the present disclosure;
fig. 11 is a block diagram illustrating a structure of a management apparatus of a network device according to an embodiment of the present disclosure;
fig. 12 is a block diagram illustrating a structure of a management apparatus of a network device according to an embodiment of the present disclosure;
fig. 13 is a block diagram illustrating a structure of a management apparatus of a network device according to an embodiment of the present disclosure;
fig. 14 is a block diagram illustrating a structure of a management apparatus of a network device according to an embodiment of the present disclosure;
fig. 15 is a block diagram illustrating an apparatus 900 for managing network devices according to an example embodiment.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Example 1
Fig. 1 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure. The method is applied to a network device in a local area network, the local area network may include a plurality of network devices, and the plurality of network devices may include: the management device (the network device logging in the management system with the management device identity), and the member device (the network device logging in the management system with the member device identity), wherein the management device can manage information such as the network environment in the local area network and the configuration of the member device.
Each network device in the local area network can be installed with management software to form a management system. In a possible implementation manner, the user may log in the management system through a client or a web page, or may log in the management system through a command line. The user may instruct the network device to log into the management system with a different identity, for example, the management system may be logged into with an identity of the management device or the member device.
In a possible implementation manner, the management method of the network device may be applied to a management device in a local area network, as shown in fig. 1, the management method of the network device may include:
step 101, responding to a first login instruction, and setting the network equipment as management equipment;
in a possible implementation manner, the first login instruction may be a control instruction generated by the network device in response to a login operation of the user. The first login instruction may instruct the network device to log in the management system in order to manage the identity of the device, and after receiving the instruction, the network device may set itself as the management device in response to the first login instruction.
As described above, optionally, the user may log in the management system through a client or a web page, or may log in the management system in a command line manner. The user logs in the management system by adopting a client or a webpage login mode, wherein the login operation can be the click operation of the user on a management equipment option (such as a management equipment option in a drop-down box or a radio button of a radio control part corresponding to the management equipment option) in a login interface; when the user logs in the management system in a command line login manner, the login operation of the user may be to input a login instruction in the command line manner, where the login instruction may instruct the network device to log in the management system in the identity of the management device.
Step 102, periodically sending a broadcast message; wherein, the broadcast message includes: a MAC address of the management device;
the management device may periodically send the broadcast packet, and the sending period may be set according to the requirement of the application scenario. The broadcast message may include: the MAC address of the management device enables the member device receiving the broadcast packet to communicate with the management device according to the MAC address of the management device. The broadcast message may also carry relevant information such as an IP address/mask code, a host name, etc. of the management device.
The management device and the member device may communicate based on a network management protocol of a data link layer to periodically send a broadcast packet. For example, the Management device and the member device may communicate via HLNMP (H3C light Network Management protocol, H3C Lightweight Network Management protocol), and the broadcast message sent between the Management device and the member device may include: a destination MAC address, a source MAC address, a message protocol type, a custom data message type field, custom format data, etc., wherein the custom data message type field may be used to distinguish different communication messages, for example: the custom data message type field can identify the types of messages such as scanning requests, local area network address setting requests, backup configuration requests, file downloading requests, software version upgrading requests and the like. The management device and the member device communicate based on the HLNMP protocol, and the communication process is independent of software and hardware environments of the network device, so that the management method of the network device in the embodiment of the disclosure can be compatible with different network devices of different manufacturers, and can improve the compatibility of a management system.
When the management device communicates with the member device through the HLNMP, the destination MAC address in the broadcast message may be null, the source MAC address may be the MAC address of the management device, and the custom data message type field may be identified as a message of the scan request type.
After receiving the broadcast message, the member device may respond to the broadcast message, detect the management state of the member device, and respond to the management device according to the management state of the member device, for example, under the condition that the member device is not managed by any management device, the member device may send a first broadcast response message carrying the MAC address of the member device to the management device corresponding to the MAC address of the management device.
Step 103, receiving a first broadcast response message sent by the member device; wherein the first broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device under the condition that no management device identification information is locally recorded by the member device, and the first broadcast response packet includes: the MAC address of the member device;
after receiving the broadcast packet sent by the management device, the member device may detect a management state of the member device in response to the broadcast packet, for example, the member device may read a locally recorded management device identifier, where the management device identifier is an identifier of a management device that manages the member device, and in a case where no management device identifier is locally recorded (management device identifier information is null), it may be determined that the member device is not managed by any management device, and the member device may send a first broadcast response packet to the management device corresponding to the MAC address of the management device, where the first broadcast response packet may include the MAC address of the member device.
The management device may receive the first broadcast response packet sent by the member device, so that the management device may obtain the MAC address of the member device according to the first broadcast response packet, and further may implement management on the member device through the MAC address of the member device, for example: and sending configuration request messages corresponding to various configuration commands to the member equipment through the MAC address of the member equipment.
And 104, when the member device is not recorded in the management domain, adding the member device to the management domain, wherein the management domain is used for storing the member device which can be managed by the management device and the MAC address of the member device.
For example, the management domain may be a folder, a database, or a list storing information such as member devices managed by the management device and MAC addresses of the member devices. The management device may query information of the member devices managed by the management device from the management domain in response to a query instruction of the user. After receiving the first broadcast response packet sent by the member device, the management device may query whether the management domain already records the information of the corresponding member device, and when the management domain does not record the information of the member device corresponding to the member device, the management device adds the member device to the management domain of the management device.
It should be noted that, for a member device that is not installed with the management system, a user may add the member device to the management domain of the management device in a manual manner, and the manually added member device cannot respond to the request message sent by the management device, but may be displayed in the topology structure diagram generated by the management device. Therefore, for network devices of different manufacturers, the network device can be added to the management domain in a manual adding manner, and the related information of the network device can be added in a manual manner, so as to establish a complete management information base.
In this way, the network device can set itself as a management device by responding to the first login instruction and send out a broadcast message carrying the MAC address of the management device, so that the member device can send a first broadcast response message carrying the MAC address of the member device to the management device after receiving the broadcast message, the management device can add the MAC addresses of the member device and the member device to the management domain, and the management device can manage and control the member device in the management domain according to the member device stored in the management domain and the MAC address of the member device.
In the prior art, network equipment performs information interaction through a neighbor network equipment directly connected with the network equipment by an LLDP protocol, and manages the network equipment in a manner of inquiring by a network management system by storing TLV information of the neighbor network equipment, so that the network equipment cannot be actively controlled, message receiving and sending are uncontrollable, and the LLDP protocol does not define a management function, so that a management address of the equipment cannot be actively modified, and a topological relation between an equipment list and the equipment in a network cannot be intensively displayed. According to the management method of the network device in the above embodiment of the present disclosure, the management device can be set, and the management device manages the member device, so that the management device can actively control the member device, for example: the management address of the member equipment is modified through the management equipment, and when a user needs to modify the configuration of the member equipment and the like, the member equipment is controlled to modify and the like through the management equipment, so that the repetitive labor of the user in managing the network equipment can be released, the labor intensity of the user is reduced, and the management efficiency of the network equipment in the local area network can be improved;
in the prior art, management software provided by a network equipment provider is adopted to manage the network equipment, but the management software is independently customized and purchased independently from the network equipment, so that the price is high, and the operation is complex. According to the management method of the network equipment, independent customized purchase is not needed, the management cost is reduced, the operation is simple, and the management efficiency of the network equipment can be improved.
Fig. 2 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure.
In a possible implementation, referring to fig. 2, the method may further include:
step 105, responding to a configuration command to a target member device, and sending a corresponding configuration request message to the target member device according to the MAC address of the target member device;
the target member device may be a member device to be managed stored in a management domain of the management device. The configuration command may be a command instructing the management device to control the target member device to perform corresponding configuration. The configuration command may be a command generated in response to a configuration operation of the target member device on the management device by a user.
For example, a user may query member devices managed by the management device on the management device, the management device may respond to the query operation to display all the managed member devices on a display interface, the user may select a target member device to be managed by clicking, the management device may respond to the clicking and other operations to display configuration operation function options for the target member device on the display interface, and then the user may select a corresponding configuration operation function option by clicking and other operations, so that the management device may send a configuration request message corresponding to the configuration operation function option to the target member device according to an MAC address of the target member device; or the configuration command may also be a command that is input by the user through a command line and performs corresponding configuration on the target member device, and the management device may send, in response to the configuration command, a configuration request packet to the target member device according to the MAC address of the target member device.
Wherein, the configuration command may include: setting a member device local area network address command, a backup configuration command, a file download command, a version upgrade command, and the like, where the configuration request message may include: setting local area network address request message, backup configuration request message, file downloading request message, software version upgrading request message and the like. After receiving the configuration request message, the target member device may perform a corresponding configuration operation, for example: after receiving the request message for setting the local area network address, the local area network address can be set; after receiving the backup configuration command, the backup operation of the local data can be carried out; after receiving the file downloading command, corresponding file downloading operation can be carried out; after receiving the software version upgrading command, corresponding software version upgrading operation can be carried out.
Step 106, receiving a configuration request response message returned by the target member equipment; the configuration request response message is a message replied after the target member device responds to the received configuration request message and executes the configuration operation corresponding to the configuration request message.
The configuration request response message may be: and the target member equipment responds to the received configuration request message, executes configuration operation corresponding to the configuration request message, and then sends a response message to the management equipment. After receiving the configuration request response message, the management device may determine that the target member device has received the configuration request message and performs a corresponding configuration operation.
In this way, the management device may send a configuration request packet to the target device according to the MAC address of the target device, so as to control the target member device to execute the corresponding configuration operation through the configuration request packet. According to the management method of the network equipment of the embodiment of the disclosure, the active control of the member equipment can be realized through the management equipment in the local area network, the management efficiency of the network equipment in the local area network can be improved, the repetitive labor of a user in managing the network equipment can be released, and the labor intensity of the user is reduced; the compatibility of the management system can be improved, and different network devices of different manufacturers can be managed compatibly.
Fig. 3 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure.
In a possible implementation manner, the configuring command may include a command for setting a local area network address of a member device, and referring to fig. 3, the step 105, in response to the configuring command for the target member device, of sending the corresponding configuration request packet to the target member device according to the MAC address of the target member device may include:
step 1051, responding to the command of setting the local area network address of the target member device, and sending a corresponding local area network address setting request message to the target member device according to the MAC address of the target member device.
The above-mentioned command for configuring the member device local area network address may be a command for instructing the management device to control the target member device to perform local area network address configuration, and the management device may send a request message for setting the local area network address to the target member device according to the MAC address of the target member device in response to the command for configuring the member device local area network address. After receiving the request message for setting the lan address, the target member device may start a Dynamic Host Configuration Protocol (DHCP) to obtain the lan address according to the DHCP.
The step 106 of receiving the configuration request response packet returned by the target member device may include:
step 1061, receiving a local area network address setting response message returned by the target member device, where the local area network address setting response message is a message sent to the management device after the target member device responds to the local area network address setting request message and starts a dynamic host configuration protocol DHCP.
The setting of the local area network address response message may be: and the target member equipment responds to the received local area network address setting request message, starts a DHCP protocol and then sends a response message to the management equipment. After receiving the response message of setting the local area network address, the management device can determine that the target member device has received the request message of setting the local area network address, and complete the opening operation of the DHCP protocol.
Fig. 4 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure.
In a possible implementation manner, the method may further include:
step 107, receiving a second broadcast response packet from the member device, where the second broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device under the condition that the member device locally records the MAC address of the management device, and the second broadcast response packet includes: the local area network address of the member equipment and the system login information of the member equipment;
the management device may periodically send broadcast messages to the member devices. The second broadcast response packet may be a response packet sent to the management device in response to the broadcast packet when the member device determines that the management device identifier recorded locally is consistent with the MAC address of the management device carried in the broadcast packet after receiving the broadcast packet.
For example, the management device 1 sends a broadcast message, where the broadcast message includes an MAC address of the management device 1; after receiving the broadcast message, the member device may read the locally recorded management device identifier, and when no management device identifier is locally recorded, may locally record the MAC address of the management device 1 carried in the broadcast message, and send a first broadcast response message carrying the MAC address of the member device to the management device. The management device 1 sends the broadcast message again in the next period; after receiving the broadcast message, the member device may read the management device identifier of the local record, where the management device identifier of the local record is the MAC address of the management device 1, and when determining that the management device identifier of the local record is consistent with the MAC address of the management device 1 carried in the broadcast message, the member device sends a second broadcast response message to the management device 1 in response to the broadcast message.
The second broadcast response message may include a local area network address of the member device and system login information of the member device, where the local area network address of the member device may be a local area network address obtained by the member device according to a DHCP protocol, the system login information may be information for managing a device to remotely connect to the member device, and the system login information may include: the login username and password of the member device operating system. The second broadcast response message may also include a serial number, a vendor name, etc. of the member device. The management device may store the local area network address of the member device, the system login information of the member device, the serial number, the vendor name, and the like of the member device in a management domain, so as to monitor and manage the member device.
And 108, remotely connecting the member equipment according to the local area network address and the system login information of the member equipment, and establishing long connection with the member equipment.
The management device may remotely connect the member device according to the lan address of the member device and the system login information of the member device (for example, the management device may establish a long connection with the member device through a Telnet, after the management device sends a long connection request to the member device, the member device may send an authentication request to the management device after receiving the long connection request, the management device may send authentication information to the member device according to the authentication request, the authentication information may include the system login information of the member device, after receiving the authentication information, when the system login information is consistent with the local system login information, the member device passes authentication and succeeds in remote connection), and then establish a long connection between the management device and the member device, so as to implement monitoring and management of the member device. For example, when the member device responds to a shutdown operation of a user or the member device is offline due to network disconnection, the management device may monitor changes of the member device in time, and further may set the state of the member device to be the offline state, and update the topology structure diagram corresponding to the management domain in time.
In a possible implementation manner, the method may further include:
and under the condition that the long connection is disconnected or the closing message from the member equipment is received, setting the member equipment to be in the offline state.
The management device may remotely connect to the member devices to establish a long connection with the member devices to listen to the member devices. When the member device is disconnected due to shutdown operation, network disconnection, or the like, or when a close message (a message sent by the member device to the management device by exiting the management system) sent by the member device is received, the management device may determine that the member device is offline, may set the state of the member device to the offline state, or may delete the member device from the management domain. Therefore, the management device can respond to the state change of the member device in time and can feed back the state change of the member device to the topology structure diagram of the management domain of the management device, thereby improving the management efficiency of the management device on the member device.
In a possible implementation manner, when exiting from the management system, the management device may send a broadcast closing message to the member device to notify the member device that the management device is closed, so that after receiving the broadcast closing message, the member device may update the management device identifier recorded locally. For example, the member device may delete the management device identification of the local record, so that the member device may join the management domain of the other management device to be managed by the other management device.
Fig. 5 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure.
In one possible implementation manner, referring to fig. 5, the method may further include:
step 109, setting the level of the management device as level 1, and acquiring Link Layer Discovery Protocol (LLDP) information of the management device;
the hierarchy may be a location hierarchy of the network device in the topology structure diagram, and the network device in the hierarchy 1 is a root node of the topology structure diagram. The management device may set its own level as level 1, that is, the management device is a root node in the topology structure diagram. The management device may read its LLDP information, and the LLDP protocol provides that each device may automatically issue its own information to a device directly connected to the LLDP device, so that the LLDP information may include member device information directly connected to the management device, and a hierarchy of the member device included in the LLDP information may be set as a 2 nd hierarchy. For example, the management device may read its own LLDP information, where a destination address of the LLDP information may be a MAC address of a member device directly connected to the management address, and the management device may determine, according to all its LLDPs, the member device directly connected to the management device, and may set a level of the member device directly connected to the management device to be a level 2.
And step 110, acquiring the LLDP information of the member device, and determining the hierarchy of the member device according to the LLDP information of the management device and the LLDP information of the member device.
The management device may determine all member devices stored in the management domain, and acquire all LLDP information of all the member devices, where the LLDP information of the member device may include information of the member device directly connected to the member device, and the management device may determine, according to the LLDP information, a hierarchy of the member device directly connected to the member device in the network topology, for example: if the level of the member device is determined to be the nth level, the level of the member device directly connected to the member device in the LLDP information of the member device may be determined to be the N +1 th level.
For example: the hierarchy of the management device is level 1, the hierarchy of the member device included in the LLDP information of the management device may be set to level 2, the hierarchy of the member device included in the LLDP information of the member device of the level 2 may be set to level 3, and so on, the hierarchy of each member device recorded in the management domain may be determined.
Step 111, generating a topology structure diagram with the management device as a root node and the member devices as child nodes according to the hierarchy of the member devices;
for example, the topology structure diagram may be: the management device of the level 1 is a root node, the member device of the level 2 can be connected with the management device, the member device of the level 3 can be connected with the member device of the level 2, … …, and the member device of the level N is connected with the member device of the level N-1.
FIG. 6 is a schematic diagram of a network topology diagram of an example of the present disclosure, wherein TM is a management device and the level of TM is level 1; recording member devices directly connected with the TM in the LLDP information of the TM, including TC1, TC2, and TC3, the above TC1, TC2, and TC3 levels may be set as level 2; if the member device directly connected to the TC1 recorded in the LLDP information of the TC1 includes the TC4, the hierarchy of the TC4 may be set to the 3 rd hierarchy; if the member device directly connected to the TC4 is recorded in the LLDP information of the TC4 and includes the TC5, the hierarchy of the TC5 may be set to the 4 th hierarchy.
The management device may also detect an STP (Spanning Tree Protocol) state of each member device, so as to sense a loop in the topology, and may disconnect the loop if the loop exists.
The management device can adopt a breadth-first-based graph algorithm to calculate the topological relation of all the devices according to the LLDP information of the member devices, and if the hierarchy of the member device is calculated to be an invalid value, the member device can be placed under the cloud identification of 'Unknown' to identify that the member device can respond to the message of the management device, but the device hierarchy of the member device cannot be calculated according to the LLDP information.
And step 112, responding to the viewing operation of the user, and displaying the topology structure diagram on a display interface of the management device.
The management device can respond to the operation of viewing the topology structure diagram by a user, and the topology structure diagram is displayed on a display interface of the management device. Optionally, the operation of viewing the topology structure diagram may be a selection operation of clicking a topology structure diagram viewing function option on the management device interface by a user, or may also be a topology structure diagram viewing instruction input by the user in a command line manner, which is not specifically limited in this embodiment of the present disclosure.
Therefore, the management device can generate a topology structure diagram corresponding to the management domain according to the LLDP information of the management device and the LLDP information of the member devices stored in the management domain, and provide a visual topology structure diagram of the network for users, so that the users can know the connection and communication conditions of the network devices conveniently.
Fig. 7 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure.
In a possible implementation manner, the management method of the network device may be applied to a management device in a local area network, as shown in fig. 7, the management method of the network device may include:
step 701, responding to a second login instruction, and setting the network device as a member device.
In a possible implementation manner, the second login instruction may be a control instruction generated by the network device in response to a login operation of the user. The second login instruction may be an instruction instructing the network device to log in the management system with the identity of the member device, and after receiving the instruction, the network device may set itself as the member device in response to the second login instruction.
As described above, optionally, the user may log in the management system through a client or a web page, or may log in the management system in a command line manner. The user logs in the management system by adopting a client or a webpage login mode, wherein the login operation can be the click operation of the user on member equipment options (such as member equipment options in a drop-down box or radio buttons of radio corresponding to the member equipment options) in a login interface; when the user logs in the management system in a command line login manner, the login operation of the user may be to input a login instruction in the command line manner, where the login instruction may instruct the network device to log in the management system in the identity of the member device.
Step 702, receiving a broadcast message from a management device, wherein the broadcast message includes: a MAC address of the management device;
the member device may receive the broadcast packet from the management device, and may detect the management state of the member device in response to the broadcast packet, and may respond to the management device according to the management state of the member device, for example, the member device may read a locally recorded management device identifier, and may determine the management state of the member device according to the locally recorded management device identifier, for example: when the local record does not record any management device identification, the member device can be determined not to be managed by any management device; when the management device identifier is recorded locally, it may be determined that the member device is already managed by the management device corresponding to the locally recorded management device identifier. The management device identifier of the local record may be identification information of a management device that manages the member device, for example: the management device identifier may be a MAC address of the management device.
Step 703, when the management device identifier is not recorded locally in the member device, recording the MAC address of the management device as the management device identifier, and sending a first broadcast response packet to the management device according to the MAC address of the management device, where the first broadcast response packet includes: the MAC address of the member device.
For example, when the member device is not managed by any management device, the member device does not locally record any management device identifier (the management device identifier is null), at this time, the member device may be managed by the management device corresponding to the MAC address of the management device, and the member device may record the MAC address of the management device carried in the broadcast packet locally as the management device identifier to identify that the member device is managed by the management device.
The member device may send a first broadcast response message to the management device according to the MAC address of the management device, where the first broadcast response message may carry the MAC address of the member device, so that the management device may add the member device to a management domain of the management device according to the first broadcast response message, and may send a request message corresponding to a relevant configuration command to the member device through the MAC address of the member device, so as to complete control and management of the member device.
In this way, the network device may set itself as a member device by responding to the second login instruction, record the management device identifier that the MAC address of the management device is local when the member device is not managed by any management device after receiving the broadcast message that is sent by the management device and carries the MAC address of the management device, and send the first broadcast response message that carries the MAC address of the member device to the management device, so that the management device may add the member device and the MAC address of the member device to the management domain, and implement management of the member device according to the MAC address of the member device.
According to the management method of the network device in the above embodiment of the present disclosure, the member device can be managed by the management device, and further, active control of the member device can be realized, for example: the management address of the member device is actively modified through the management device, when the user needs to modify the configuration of the network device and the like, the member device is controlled to modify and the like through the management device, so that the repetitive labor of the user in the process of managing the network device can be released, the labor intensity of the user is reduced, and the management efficiency of the network device in the local area network can be improved.
Fig. 8 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure.
In one possible implementation, referring to fig. 8, the method may further include:
step 704, when the locally recorded management device identifier is consistent with the MAC address of the management device, sending a second broadcast response packet to the management device according to the MAC address of the management device, where the second broadcast response packet includes: the local area network address of the member equipment and the system login information of the member equipment.
The member device may detect its own management state after receiving the broadcast packet from the management device, for example, the member device may read a locally recorded management device identifier, and when the locally recorded management device identifier is recorded, it may be determined that the member device is managed by the management device corresponding to the management device identifier. When the management device identifier of the local record is inconsistent with the MAC address of the management device carried in the broadcast packet, it may be determined that the member device has been managed by another management device, and the member device may discard the broadcast packet without responding to the broadcast packet.
When the management device identifier of the local record is consistent with the MAC address of the management device carried in the broadcast packet, it may be determined that the member device is managed by the management device corresponding to the MAC address of the management device. The member device may send a second broadcast response message carrying the local area network address of the member device and the system registration information of the member device to the management device in response to the broadcast message, so that after the management device receives the second broadcast response message, the member device may be remotely connected according to the local area network address of the member device and the system registration information of the member device carried in the second broadcast response message, so as to establish a long connection between the management device and the member device.
Therefore, the management device can monitor and manage the member device according to the long connection. For example, when the member device responds to a shutdown operation of a user or the member device is offline due to network disconnection, the management device may monitor a change of the member device in time, and further may set the state of the member device to be the offline state, and update the topology structure diagram of the network in time.
Fig. 9 shows a flowchart of a management method of a network device according to an embodiment of the present disclosure.
In one possible implementation, referring to fig. 9, the method may further include:
step 705, receiving a configuration request message from the management device;
the configuration request message may be a request message sent by the management device in response to a configuration command of the user to the member device, where the configuration command may be a command generated in response to a configuration operation of the user on the management device on the target member device.
The configuration command may include: setting a member device local area network address command, a backup configuration command, a file download command, a software version upgrade command, and correspondingly, the configuration request message may include: setting local area network address request message, backup configuration request message, file downloading request message, software version upgrading request message and the like.
Step 706, responding to the configuration request message to perform corresponding configuration on the member device;
after receiving the configuration request message, the member device may perform corresponding configuration, for example: after receiving the request message for setting the local area network address, the local area network address can be set; after receiving the backup configuration command, the backup operation of the local data can be carried out; after receiving the file downloading command, corresponding file downloading operation can be carried out; after receiving the software version upgrading command, corresponding software version upgrading operation can be carried out.
And 707, sending a configuration request response message to the management device after the configuration is finished.
The member device may send a configuration request response packet to the management device after completing the configuration corresponding to the configuration request packet, so that after the management device receives the configuration request response packet, the member device may determine that the member device has received the configuration request packet and executes the corresponding configuration.
Thus, according to the management method of the network device in the above embodiment of the present disclosure, the member device may receive the configuration request packet from the management device, and may perform a corresponding configuration operation according to the configuration request packet, so as to implement active control of the member device in the local area network by the management device, and may improve the control efficiency of the network device in the local area network.
In a possible implementation manner, the configuring request message may include a request message for setting a local area network address, and the performing corresponding configuration on the member device in response to the configuring request message may include:
and responding to the local area network address setting request message, and starting a DHCP protocol to acquire the local area network address of the member equipment.
The request message for setting the local area network address may be a message sent by the management device and instructing the member device to perform local area network address configuration. After receiving the request message for setting the local area network address, the member device can start a DHCP protocol to obtain the local area network address of the member device according to the DHCP protocol. For example, the member device may send a local area network address configuration request to the DHCP server according to the DHCP protocol, so that the DHCP server may assign a local area network address to the member device in response to the local area network address configuration request.
After the member device opens the DHCP protocol, the member device may send a local area network address setting response message corresponding to the local area network address setting request message to the management device, so that after the management device receives the local area network address setting response message, it may be determined that the member device has received the local area network address setting request message and performed the operation of opening the DHCP protocol.
After the member device starts a DHCP protocol to obtain a local area network address, when receiving a broadcast message sent by the management device, the member device can respond to the broadcast message and send a second broadcast response message to the management device, wherein the second broadcast response message can carry the local area network address and system login information of the management device, so that the management device can be remotely connected with the member device according to the local area network address and the system login information of the management device to establish long connection with the member device.
In a possible implementation manner, the method may further include:
the management device identification of the local record is periodically cleared.
The member device may periodically clear the management device identifier of the local record, where a period for the member device to clear the management device identifier of the local record may be greater than a period for the management device to send the broadcast packet, for example: the period of clearing the management device identifier of the local record by the member device is three times of the period of sending the broadcast message by the management device.
Therefore, the problem that the member device cannot be managed by other management devices due to the fact that the management device for managing the member device is offline due to a fault and the like and the member device is not notified that the management device is offline can be avoided.
In a possible implementation manner, when the member device is offline (for example, exits from the management system), the member device may send a close message to the management device to notify the management device that the member device is offline, so that the management device may update the state of the member device in the management domain according to the close message, and update the topology structure diagram corresponding to the management domain according to the state of the member device.
Fig. 10 shows a flow chart of message interaction between a management device and a member device according to the present disclosure.
Referring to fig. 10, the management device and the member device may communicate based on HLNMP, and the management device may send a broadcast message (e.g., a broadcast SCAN request message SCAN _ REQ), where the broadcast message may carry identification information of the management device (including relevant information such as a MAC address, an IP address/mask, a host name, and the like of the management device).
After receiving the broadcast message, the member device in the local area network can judge the identity state of the member device, and if the network device is not the member device, the broadcast message is discarded; if the network equipment is member equipment and the member equipment does not locally record any management equipment identification information, sending a first broadcast response message to the management equipment, wherein the first broadcast response message comprises an MAC (media access control) address of the member equipment, and adding the member equipment to a management domain when the management equipment does not record the member equipment information in the local management domain; if the network equipment is member equipment, but the management equipment identification recorded locally is not consistent with the management equipment identification information carried in the broadcast message, discarding the broadcast message; if the network device is a member device and the management device identifier recorded locally is consistent with the management device identifier information carried in the broadcast message, a second broadcast response message (e.g., SCAN request acknowledgement message (SCAN _ ACK)) may be sent to the management device, where the second broadcast response message may carry a local area network address of the member device and login information (information such as a user name/password of the system, a serial number of the member device, a manufacturer name, and a local area network address of the member device) for the management device to remotely connect to the member device.
After receiving the second broadcast response message, the management device may parse the second broadcast response message to obtain information, such as a user name/password of the system and a local area network address of the member device, in the second broadcast response message, and remotely connect the member device according to the information, such as the user name/password of the system and the local area network address of the member device, to establish a long connection with the member device.
The management device may send a configuration request message to the member device stored in the management domain in a management page or command line manner of the management system, for example: the configuration request message corresponding to the configuration file backup, the configuration request message corresponding to the equipment software version upgrade and the like, so that the member equipment can carry out corresponding configuration according to the configuration request message, and the member equipment can be actively managed and controlled through the management equipment.
Fig. 11 is a block diagram illustrating a management apparatus of a network device according to an embodiment of the present disclosure, where the apparatus may be applied to a network device in a local area network. As shown in fig. 11, the management apparatus of the network device may include: a first setting module 1101, a first sending module 1102, a first receiving module 1103 and an adding module 1104. Wherein the content of the first and second substances,
a first setting module 1101, configured to set the network device as a management device in response to a first login instruction;
a first sending module 1102, configured to send a broadcast packet periodically; the broadcast packet may include: a MAC address of the management device;
a first receiving module 1103, configured to receive a first broadcast response packet sent by a member device; the first broadcast response packet may be a packet sent by the member device to the management device according to the MAC address of the management device under the condition that no management device identification information is locally recorded in the member device, and the first broadcast response packet may include: the MAC address of the member device;
the adding module 1104 may be configured to add the member device to a management domain when the member device information is not recorded in the management domain, where the management domain is used to store the member device manageable by the management device and the MAC address of the member device.
Fig. 12 is a block diagram illustrating a management apparatus of a network device according to an embodiment of the present disclosure.
In a possible implementation manner, referring to fig. 12, the apparatus may further include:
a second sending module 1105, configured to respond to a configuration command for a target member device, and send a corresponding configuration request packet to the target member device according to the MAC address of the target member device;
a second receiving module 1106, configured to receive a configuration request response packet returned by the target member device; the configuration request response message is a message replied after the target member device executes configuration corresponding to the configuration request message in response to the received configuration request message.
In a possible implementation manner, referring to fig. 12, the apparatus may further include:
a third receiving module 1107, configured to receive a second broadcast response packet from the member device, where the second broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device when the member device locally records the MAC address of the management device, and the second broadcast response packet may include: the local area network address of the member equipment and the system login information of the member equipment;
the login module 1108 may be configured to remotely connect the member device according to the local area network address and the system connection information of the member device, and establish a long connection with the member device.
In a possible implementation manner, referring to fig. 12, the apparatus may further include:
a second setting module 1109, configured to set a hierarchy of the management device to be a level 1, and obtain link layer discovery protocol LLDP information of the management device;
the determining module 1110 may be configured to obtain LLDP information of the member device, and determine a hierarchy of the member device according to the LLDP information of the management device and the LLDP information of the member device;
a topology map generation module 1111, configured to generate a topology map structure diagram with the management device as a root node and the member devices as child nodes according to the hierarchy of the member devices;
a display module 1112, configured to display the topology structure diagram on a display interface of the management device in response to a viewing operation of a user.
Fig. 13 is a block diagram illustrating a structure of a management apparatus of a network device according to an embodiment of the present disclosure, and as shown in fig. 13, the management apparatus of the network device may include: a third setting module 1301, a fourth receiving module 1302, and a third sending module 1303. Wherein the content of the first and second substances,
a third setting module 1301, which may be configured to set the network device as a member device in response to the second login instruction;
a fourth receiving module 1302, configured to receive a broadcast packet from a management device, where the broadcast packet includes: a MAC address of the management device;
the third sending module 1303 may be configured to, when the management device identifier is not locally recorded in the member device, record the MAC address of the management device as the management device identifier, and send a first broadcast response packet to the management device according to the MAC address of the management device, where the first broadcast response packet may include: the MAC address of the member device.
Fig. 14 is a block diagram illustrating a structure of a management apparatus of a network device according to an embodiment of the present disclosure.
In one possible implementation, referring to fig. 14, the apparatus may further include:
a fourth sending module 1304, configured to send a second broadcast response packet to the management device according to the MAC address of the management device when the locally recorded management device identifier is consistent with the MAC address of the management device, where the second broadcast response packet includes: the local area network address of the member equipment and the system login information of the member equipment.
In one possible implementation, referring to fig. 14, the apparatus may further include:
a fifth receiving module 1305, configured to receive a configuration request packet from the management device;
a configuration module 1306, configured to perform corresponding configuration on the member device in response to the configuration request packet;
the fifth sending module 1307 may be configured to send a configuration request response packet to the management device after the configuration is finished.
Fig. 15 is a block diagram illustrating an apparatus 900 for managing network devices according to an example embodiment. Referring to fig. 15, the apparatus 900 may include a processor 901, a machine-readable storage medium 902 having stored thereon machine-executable instructions. The processor 901 and the machine-readable storage medium 902 may communicate via a system bus 903. Also, the processor 901 performs the above-described management method of the network device by reading a machine-executable instruction in the machine-readable storage medium 902, which logically corresponds to the management method of the network device.
The machine-readable storage medium 902 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (14)

1. A management method for network equipment is applied to the network equipment in a local area network, and the method comprises the following steps:
responding to a first login instruction, and setting the network equipment as management equipment;
periodically sending a broadcast message; wherein, the broadcast message includes: a MAC address of the management device;
receiving a first broadcast response message sent by member equipment; wherein the first broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device under the condition that no management device identification information is locally recorded by the member device, and the first broadcast response packet includes: the MAC address of the member device;
and when the member equipment information is not recorded in a management domain, adding the member equipment to the management domain, wherein the management domain is used for storing the member equipment which can be managed by the management equipment and the MAC address of the member equipment, a configuration request message sent to the member equipment by the management equipment comprises the MAC address of the member equipment, and the configuration request message is used for indicating the member equipment to carry out corresponding configuration.
2. The method of managing of claim 1, further comprising:
responding to a configuration command of target member equipment, and sending a corresponding configuration request message to the target member equipment according to the MAC address of the target member equipment;
receiving a configuration request response message returned by the target member equipment; the configuration request response message is a message replied after the target member device executes configuration corresponding to the configuration request message in response to the received configuration request message.
3. The method for managing according to claim 1 or 2, characterized in that it further comprises:
receiving a second broadcast response message from the member device, where the second broadcast response message is a message sent to the management device by the member device according to the MAC address of the management device under the condition that the member device locally records the MAC address of the management device, and the second broadcast response message includes: the local area network address of the member equipment and the system login information of the member equipment;
and remotely connecting the member equipment according to the local area network address and the system login information of the member equipment, and establishing long connection with the member equipment.
4. The method of managing of claim 3, further comprising:
setting the hierarchy of the management device as a level 1, and acquiring Link Layer Discovery Protocol (LLDP) information of the management device;
acquiring the LLDP information of the member device, and determining the hierarchy of the member device according to the LLDP information of the management device and the LLDP information of the member device;
generating a topology structure diagram which takes the management device as a root node and the member device as a child node according to the hierarchy of the member device;
and responding to the viewing operation of the user, and displaying the topology structure diagram on a display interface of the management equipment.
5. A management method for network equipment is applied to the network equipment in a local area network, and the method comprises the following steps:
responding to a second login instruction, and setting the network equipment as member equipment;
receiving a broadcast message from a management device, wherein the broadcast message comprises: a MAC address of the management device;
when the management device identifier is not recorded locally by the member device, recording the MAC address of the management device as the management device identifier, and sending a first broadcast response packet to the management device according to the MAC address of the management device, where the first broadcast response packet includes: the MAC address of the member device, where a configuration request message sent by the management device to the member device includes the MAC address of the member device, and the configuration request message is used to instruct the member device to perform corresponding configuration.
6. The method of managing as set forth in claim 5, further comprising:
when the management device identifier locally recorded by the member device is consistent with the MAC address of the management device, sending a second broadcast response packet to the management device according to the MAC address of the management device, where the second broadcast response packet includes: the local area network address of the member equipment and the system login information of the member equipment.
7. The method of managing of claim 6, further comprising:
receiving a configuration request message from the management equipment;
responding to the configuration request message to perform corresponding configuration on the member equipment;
and after the configuration is finished, sending a configuration request response message to the management equipment.
8. An apparatus for managing network devices, the apparatus being applied to network devices in a local area network, the apparatus comprising:
the first setting module is used for responding to a first login instruction and setting the network equipment as management equipment;
the first sending module is used for periodically sending the broadcast message; wherein, the broadcast message includes: a MAC address of the management device;
the first receiving module is used for receiving a first broadcast response message sent by the member equipment; wherein the first broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device under the condition that no management device identification information is locally recorded by the member device, and the first broadcast response packet includes: the MAC address of the member device, wherein a configuration request message sent by the management device to the member device includes the MAC address of the member device, and the configuration request message is used to instruct the member device to perform corresponding configuration;
and the adding module is used for adding the member equipment to the management domain when the information of the member equipment is not recorded in the management domain, wherein the management domain is used for storing the member equipment which can be managed by the management equipment and the MAC address of the member equipment.
9. The apparatus of claim 8, further comprising:
a second sending module, configured to send, in response to a configuration command for a target member device, a corresponding configuration request packet to the target member device according to the MAC address of the target member device;
a second receiving module, configured to receive a configuration request response packet returned by the target member device; the configuration request response message is a message replied after the target member device executes configuration corresponding to the configuration request message in response to the received configuration request message.
10. The apparatus of claim 8 or 9, further comprising:
a third receiving module, configured to receive a second broadcast response packet from the member device, where the second broadcast response packet is a packet sent to the management device by the member device according to the MAC address of the management device when the MAC address of the management device is locally recorded in the member device, and the second broadcast response packet includes: the local area network address of the member equipment and the system login information of the member equipment;
and the login module is used for remotely connecting the member equipment according to the local area network address and the system login information of the member equipment and establishing long connection with the member equipment.
11. The apparatus of claim 10, further comprising:
the second setting module is used for setting the hierarchy of the management device as the 1 st hierarchy and acquiring the Link Layer Discovery Protocol (LLDP) information of the management device;
the determining module is used for acquiring the LLDP information of the member equipment and determining the hierarchy of the member equipment according to the LLDP information of the management equipment and the LLDP information of the member equipment;
a topology graph generation module, configured to generate a topology structure graph with the management device as a root node and the member devices as child nodes according to the hierarchy of the member devices;
and the display module is used for responding to the viewing operation of a user and displaying the topology structure chart on a display interface of the management equipment.
12. An apparatus for managing network devices, the apparatus being applied to network devices in a local area network, the apparatus comprising:
the third setting module is used for responding to the second login instruction and setting the network equipment as member equipment;
a fourth receiving module, configured to receive a broadcast packet from a management device, where the broadcast packet includes: a MAC address of the management device;
a third sending module, configured to record, when a management device identifier is not locally recorded in the member device, an MAC address of the management device as the management device identifier, and send a first broadcast response packet to the management device according to the MAC address of the management device, where the first broadcast response packet includes: the MAC address of the member device, where a configuration request message sent by the management device to the member device includes the MAC address of the member device, and the configuration request message is used to instruct the member device to perform corresponding configuration.
13. The apparatus of claim 12, further comprising:
a fourth sending module, configured to send a second broadcast response packet to the management device according to the MAC address of the management device when the management device identifier locally recorded by the member device is consistent with the MAC address of the management device, where the second broadcast response packet includes: the local area network address of the member equipment and the system login information of the member equipment.
14. The apparatus of claim 13, further comprising:
a fifth receiving module, configured to receive a configuration request packet from the management device;
the configuration module is used for responding to the configuration request message to correspondingly configure the member equipment;
and a fifth sending module, configured to send a configuration request response packet to the management device after configuration is completed.
CN201711018711.1A 2017-10-26 2017-10-26 Network equipment management method and device Active CN107682202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711018711.1A CN107682202B (en) 2017-10-26 2017-10-26 Network equipment management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711018711.1A CN107682202B (en) 2017-10-26 2017-10-26 Network equipment management method and device

Publications (2)

Publication Number Publication Date
CN107682202A CN107682202A (en) 2018-02-09
CN107682202B true CN107682202B (en) 2021-03-02

Family

ID=61143098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711018711.1A Active CN107682202B (en) 2017-10-26 2017-10-26 Network equipment management method and device

Country Status (1)

Country Link
CN (1) CN107682202B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900421A (en) * 2018-06-29 2018-11-27 郑州云海信息技术有限公司 A kind of Topological Structure Generation of distributed memory system, apparatus and system
CN111182012B (en) * 2018-11-09 2022-06-14 中移(杭州)信息技术有限公司 Intelligent equipment management method, device and system
CN109361682B (en) * 2018-11-12 2021-06-29 深圳鳍源科技有限公司 Communication method, device, equipment and storage medium
CN111769960B (en) * 2019-03-30 2022-04-12 华为技术有限公司 Configuration method and device
CN110677479B (en) * 2019-09-29 2022-06-07 苏州浪潮智能科技有限公司 Equipment management method, system and storage medium of local area network
CN111131435A (en) * 2019-12-19 2020-05-08 浙江源创建筑智能科技有限公司 Method for discovering and configuring Ethernet link layer equipment
CN112737883B (en) * 2020-12-28 2022-07-29 咪咕音乐有限公司 Two-layer network data packet transmission method, device and network equipment
CN115396318A (en) * 2021-05-06 2022-11-25 中兴通讯股份有限公司 D2D network topology control method, network device and storage medium
CN115567380A (en) * 2021-05-31 2023-01-03 浙江大华技术股份有限公司 Device processing method and device, authentication method and device, and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100550763C (en) * 2005-08-26 2009-10-14 杭州华三通信技术有限公司 The management method of the network equipment and network management system
CN102983988B (en) * 2012-10-26 2016-04-06 杭州迪普科技有限公司 A kind of proxy for equipment device and network administration apparatus
CN103916278B (en) * 2014-04-11 2017-08-08 新华三技术有限公司 A kind of method and device being managed collectively based on LAN, SAN network
CN105991450B (en) * 2015-03-02 2019-05-07 杭州迪普科技股份有限公司 Mac address table update method and device
JP6623869B2 (en) * 2016-03-16 2019-12-25 株式会社リコー Device management system, device management device, program, and device management method

Also Published As

Publication number Publication date
CN107682202A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN107682202B (en) Network equipment management method and device
US8966018B2 (en) Automated network device configuration and network deployment
EP1719311B1 (en) Automatic provisioning of phones in packet voice networks
US8312115B2 (en) Network booting apparatus and method
US10534600B2 (en) Method and system for uniform remote management of network devices
JP5743239B2 (en) Technology to control gateway functions to support device management in communication systems
US20070268516A1 (en) Automated policy-based network device configuration and network deployment
US20070268515A1 (en) System and method for automatic configuration of remote network switch and connected access point devices
US20070268514A1 (en) Method and business model for automated configuration and deployment of a wireless network in a facility without network administrator intervention
US8762584B2 (en) System and method for automatic provisioning of onsite networking services
US20070268506A1 (en) Autonomous auto-configuring wireless network device
JP4500118B2 (en) Storage device
JP2009500759A (en) Method and system for data management based on simple network management protocol
US9716623B2 (en) Automatic and secure activation of a universal plug and play device management device
JP2008301011A (en) Network communication device
JP2008507200A (en) Integrated management of wireless networks
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
KR101478570B1 (en) Method for installation of an application
CN109218055B (en) Method and device for rapidly configuring network element equipment for plug and play
US20150381416A1 (en) Method for automatic provisioning of devices
JP2023539009A (en) Erasing network device data
CN107248935B (en) System and method for network management to discover and monitor network elements
CN114125843B (en) Intelligent equipment network distribution method, device and equipment
CN115242857B (en) Network camera access method, network video recorder, electronic device and storage medium
US20230006999A1 (en) Methods for authenticating and integrating user equipment into an information system, corresponding devices and computer programs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant