A network management system and method supporting device initialization configuration and discovery
Through the BDARP and BDIP protocol modules, the network element IP address and network element discovery are automatically configured in the communication gateway device, which solves the serious problem of operation and maintenance resource consumption in the network start, and achieves a fast and efficient network start and flexible enterprise networking.
Patent Information
- Application Number
- CN202211585145.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-09
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-12-09
AI Technical Summary
In the beginning of the existing network, the IP address configuration of the network element device needs to be managed separately through the console port, which consumes a lot of operation and maintenance resources.
The BDARP protocol module uses the layer 2 MAC frame to verify and configure the device IP. The BDIP protocol module collects basic management information of network elements through UPD broadcast, and the network management system embedded in the communication gateway device automatically configures the IP address and discovers the network elements.
It realizes the rapid automatic configuration and discovery of network element IP addresses, saves operation and maintenance resources, and supports fast and efficient network planning and deployment.
Smart Images

Figure CN115941466B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to local area network technology, and in particular to network element IP address configuration and network element discovery solutions. Background Art
[0002] In a network deployment environment, NEs are configured with IP addresses and SNMP communities through their console ports. The NMS detects the NE's IP address reachability and SNMP community availability to determine whether the NE can be managed.
[0003] However, in existing network deployments, each network element must be individually configured with a management IP address through the console port, which consumes a large amount of operation and maintenance resources. Summary of the Invention
[0004] In view of the problem that existing network deployment solutions have serious consumption of operation and maintenance resources, the purpose of the present invention is to provide a network management solution that supports device initialization configuration and discovery, which can quickly and automatically configure IP addresses for network elements and automatically discover them by the network management system.
[0005] In order to achieve the above-mentioned objectives, the present invention provides a network management system that supports device initialization configuration and discovery. The network management system is embedded in a communication gateway device and includes a BDARP protocol module and a BDIP protocol module; the BDARP protocol module supports the BDARP protocol stack and can specify IP addresses for network element devices in the network through the BDARP protocol; the BDIP protocol module supports the BDIP protocol stack and discovers configured network element devices in the network through the BDIP protocol.
[0006] Furthermore, the network management system further includes a port identification module, which obtains the LAN port of the gateway device and cooperates with the BDARP protocol module and the BDIP protocol module.
[0007] Furthermore, the BDARP protocol module performs permission verification and configures device IP based on the layer 2 MAC frame.
[0008] Furthermore, the BDIP protocol module uses the BDIP protocol to collect basic management information of network elements based on UPD broadcast.
[0009] In order to achieve the above-mentioned objectives, the present invention provides a network deployment configuration method that supports device initialization configuration and discovery, wherein the network deployment configuration method configures the IP address of the network element in the network through the BDARP protocol; discovers the configured network element devices in the network through the BDIP protocol and obtains the basic information of the network element.
[0010] Furthermore, the network deployment configuration method includes the following steps:
[0011] First, after the network element device is powered on, the network management system embedded in the gateway device identifies the WAN and LAN ports of the gateway device;
[0012] Next, the network management system embedded in the gateway device uses the LAN port to periodically send Layer 2 MAC broadcast frames to the network elements to query the network elements in the LAN. After receiving this query information, the network elements that support the BDARP protocol will respond to the network management system to cooperate in completing the IP configuration of all network elements.
[0013] Then, after the network management system completes the configuration of the network element, it regularly broadcasts AGENT-QUERY messages to the network element through the LAN port of the gateway device according to the BDIP protocol to query the network element management information in the local area network.
[0014] Furthermore, when configuring the network element IP address, the network startup configuration method sends a Layer 2 private BDARP broadcast message through the LAN port of the gateway device and obtains the response of the network element device to the broadcast message. The network management system uses the default username and password to verify whether the network element is in the factory state through the Layer 2 message. If the verification is successful, the Layer 2 message is sent to configure the network element IP address.
[0015] The network element network management solution provided by the present invention can quickly and automatically configure the IP address of the network element, and the network management system can automatically discover it, thereby realizing fast network startup configuration and saving a lot of operation and maintenance resources.
[0016] The network element network management solution provided by the present invention is conducive to fast and efficient network planning and deployment in actual application, greatly facilitates enterprise network construction, and makes the enterprise networking structure more flexible, laying a solid foundation for meeting the enterprise networking needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The present invention is further described below with reference to the accompanying drawings and specific embodiments.
[0018] Figure 1 A topology diagram of the network management system involved in the present invention;
[0019] Figure 2 The BDARP protocol stack message format involved in the present invention;
[0020] Figure 3 The payload format of the BDARP protocol stack broadcast message involved in the present invention;
[0021] Figure 4 The payload format discovered by the BDARP protocol stack network element response involved in the present invention;
[0022] Figure 5The payload format of the BDARP protocol stack network management system login network element message involved in the present invention;
[0023] Figure 6 The payload format of the BDARP protocol stack network element response login result message involved in the present invention;
[0024] Figure 7 Configuring the IP message payload format for the BDARP protocol stack involved in the present invention;
[0025] Figure 8 The payload format of the BDARP protocol stack configuration result message involved in the present invention;
[0026] Figure 9 This is the BDIP protocol stack message format involved in the present invention;
[0027] Figure 10 The payload format of the AGENT-QUERY message sent by the BDIP protocol stack network management system to the network element involved in the present invention;
[0028] Figure 11 The BDIP protocol stack device involved in the present invention responds to the AGENT-QUERY message payload format;
[0029] Figure 12 This is an example of the format of encrypted data in the network element response AGENT-QUERY message involved in the present invention. DETAILED DESCRIPTION
[0030] In order to make the technical means, creative features, objectives and effects achieved by the present invention easier to understand, the present invention is further described below with reference to specific illustrations.
[0031] The process of initializing a Layer 2 network involves various devices (switches, routers, wireless AC / APs, firewalls, etc.) that do not have assigned IP addresses. To avoid the cumbersome out-of-band configuration and management of these devices and ensure normal network connectivity, the present invention innovatively uses the BDARP and BDIP protocols to form a unified mechanism for discovering and managing network elements within the local area network. This mechanism uses BDARP and BDIP to configure device IP addresses and obtain network element management information, effectively overcoming the need for manual intervention in network element address allocation and management during initial network deployment.
[0032] Based on this, the present invention provides a network management system that supports device initialization configuration and discovery. Based on this network management system, the IP address of the network element can be quickly and automatically configured and automatically discovered by the network management system, thereby realizing fast network startup configuration.
[0033] In some embodiments, see Figure 1 This network management system is embedded in the corresponding communication gateway device to form a cross-platform unified communication gateway device. After the cross-platform unified communication gateway device is connected to the corresponding local area network, it can perform initial configuration of network elements in the entire network, as well as discover and manage them based on the running network management system.
[0034] The network management system provided by the present invention specifically comprises a BDARP protocol module, a BDIP protocol module and a port identification module.
[0035] The BDARP protocol module in this network management system supports the BDARP protocol stack and can assign IP addresses to all devices in the Layer 2 network through the BDARP protocol;
[0036] The BDIP protocol module in this network management system supports the BDIP protocol stack, and quickly discovers configured devices through the BDIP protocol and brings them under management.
[0037] The port identification module in this network management system is used to automatically identify the WAN and LAN ports of the gateway device, and obtain the LAN port of the gateway device to cooperate with the BDARP protocol module and BDIP protocol module to achieve rapid configuration and discovery of network elements.
[0038] In order to cooperate with the network management system, the present invention performs corresponding configuration for the network element devices in the network, and each network element device supports and configures the BDARP protocol and the BDIP protocol by default.
[0039] At the same time, after the corresponding network element equipment is started and powered on, only the default configuration VLAN 1 exists in the default state, so all network elements are in the same Layer 2 network; accordingly, after the network element equipment receives the MAC frame, it identifies the BDARP protocol message according to the specific identifier in the MAC frame header, parses the BDARP message sent by the network management system, and responds to it; for BDIP messages, the device monitors the fixed UPD port to capture them.
[0040] As a further explanation, the BDARP protocol supported by the BDARP protocol module in the solution of the present invention is a management protocol that runs within a local area network and configures network element IP information based on MAC frames.
[0041] As an example, on this basis, a network management system with a BDARP protocol module will be able to form a corresponding BDARPServer (used to send request messages to network elements and receive network element response information), which is used to cooperate with the BDARP protocol module to broadcast MAC frames to discover network elements, verify network elements, and configure network element IP addresses.
[0042] In coordination with this, the corresponding network element device will form a corresponding BDARP Client (used to receive the request message of the network management system and parse and respond) to respond to the network management system's broadcast discovery, verification request, and IP configuration request.
[0043] As a further explanation, the BDIP protocol supported by the BDIP protocol module in the solution of the present invention is an exchange protocol between a network management system and network elements running within a local area network.
[0044] Based on this, even if there is a three-layer switch in the network connected to the cross-platform unified communication gateway device running this network management system, the VLAN configuration of the cross-platform unified communication gateway device and all network elements in the network must make the network management system in the cross-platform unified communication gateway device reachable to each network element in the local area network, that is, for each network element, the network management system can be reachable at the second layer within a certain VLAN, thereby ensuring the effective operation of the BDIP protocol.
[0045] Specifically, after the corresponding network element device is powered on, only the default configuration VLAN 1 exists in the default state, and all network elements are in the same Layer 2 network; based on this, the network management system in the cross-platform unified communication gateway device can achieve reachability for each network element in the local area network, thereby ensuring that the BDIP protocol can run effectively.
[0046] As an example, on this basis, a network management system with a BDIP protocol module will be able to form a corresponding BDIP Server (used to send request messages to network elements and receive network element response information) to broadcast query equipment basic information; in conjunction with this, the corresponding network element device will form a corresponding BDIP Client (used to receive the network management system's request message and parse and respond), thereby responding to the network management system's query request.
[0047] As a further explanation, the network management system in the present invention manages all network elements in the network through the SNMP protocol.
[0048] Specifically, taking the network elements as Layer 2 Ethernet switches and Layer 3 Ethernet switches as an example, the network management system uses the BDIP protocol to exchange information with the network elements and collect network element attribute information. Here, the network management system needs to use the BDIP protocol to collect the following information from all network elements:
[0049] MAC address;
[0050] Manage IP;
[0051] SNMP port number;
[0052] SNMP version;
[0053] SNMP community;
[0054] Enterprise OID.
[0055] After the above information is collected, it is stored in the database of the network management system for management and use.
[0056] It can be seen from this that the cross-platform unified communication gateway device in the present invention not only includes conventional gateway functions, but also can realize high-performance network management services because it is embedded with the network management system of the present invention, facilitates rapid network deployment, and facilitates unified configuration management and management of all network devices, greatly improving network operation and maintenance efficiency.
[0057] When such a cross-platform unified communications gateway device is connected to the network, after all network element devices are powered on, the port identification module in the network management system embedded in the cross-platform unified communications gateway device will identify the LAN port of the gateway device. The BDARP protocol module in the network management system will use the LAN port to first configure the IP of all network elements through the BDARP protocol; then the BDIP protocol module will obtain the basic management information of all network elements through the BDIP protocol and bring all network elements under management.
[0058] As an example, the BDARP protocol module in the present invention performs permission verification and configures device IP based on the layer 2 MAC frame.
[0059] In specific implementation, the BDARP protocol module in the network management system uses the LAN port to send a Layer 2 private BDARP broadcast message. After receiving the message, the network element device will return a response message if it supports BDARP configuration. At this point, the network management system has known the network element to be configured. The network management system generates a login-related MAC frame with the default username and password and sends it to the designated network element. After receiving the login request from the network management system, the network element parses and verifies the username and password. If the verification is successful, it generates a corresponding MAC frame and replies to the network management system, and records the network management system MAC address as having successfully logged in. After receiving the response from the network element, the network management system determines whether the login is successful. If the login is successful, the BDARP protocol module selects an IP address from the system's built-in address pool and sends the configuration to the designated network element via a Layer 2 MAC frame. After receiving the response, the network element determines whether the network manager has successfully logged in to itself based on the source MAC address in the MAC frame. If so, it configures its own IP address based on the IP address information in the MAC frame and responds to the network management system with the configuration result. If not, it responds to the network management system that it needs to log in.
[0060] Based on this, the BDARP protocol module in this network management system can realize fast authority verification and management IP address configuration of factory equipment based on the BDARP protocol.
[0061] As an example, the BDIP protocol module in the present invention uses the BDIP protocol to collect basic management information of network elements based on UPD broadcast.
[0062] In specific implementation, the BDIP protocol module in the network management system regularly broadcasts AGENT-QUERY messages to network elements according to the BDIP protocol to query the network element management information in the local area network.
[0063] After enabling the BDIP client function, network elements supporting the BDIP protocol listen for AGENT-QUERY messages from the network management system and verify their signatures. Signature verification uses the HMAC method, which uses the SHA-1 hash function and a configurable 20-byte key length. If signature verification fails, the message is not replied. If it passes, a SOLICITED-REPORT message is replied as required. The report information must also be encrypted. The encryption algorithm is not specified and can be selected based on actual needs. For example, DES can be used.
[0064] On this basis, if the network element is configured with multiple IP addresses, its management IP address should be selected, and the IP address of each response should remain unchanged.
[0065] Accordingly, the BDIP protocol module in this network management system can realize fast and secure collection of network element management information based on the BDIP protocol.
[0066] As a further example, the BDIP protocol module in this network management system is specifically implemented as an application based on UDP socket. The network element side is implemented by a task or Linux thread. The task is named BDIP, has a priority of 128, and a stack size of 8K. The corresponding BDIP task is created and started when the network element is initialized. The network element listens for messages from the network management system on UDP port 61015. The network management side listens for messages from the network element on UDP port 61014 when the network management system is started.
[0067] The BDIP protocol module on the NE side establishes a basic information query interface with the NE's system module, IP module, SNMP module, and encryption module. This interface allows it to obtain the required basic NE management information and perform encryption and HMAC signing. This allows the BDIP protocol module to quickly, securely, and efficiently collect device management information based on the BDIP protocol and upload it to the network management system.
[0068] When the network management system formed by the present invention is used in a specific application, the network management system collects all the devices to be managed in the local area network, and the user can access the cross-platform unified communication gateway device through a Web browser and further quickly perform service configuration through a visual interface.
[0069] Based on the above-mentioned network management system and the cross-platform unified communication gateway device running the network management system, the present invention further provides a network deployment configuration method that supports device initialization configuration and discovery.
[0070] The network deployment configuration method provided by the present invention configures the IP address of the device through the BDARP protocol; obtains the basic information of the network element through the BDIP protocol; thereby, the IP address of the network element can be quickly and automatically configured after the network element is powered on, and the network management system can automatically discover it, thereby realizing fast network deployment construction and saving a large amount of operation and maintenance resources.
[0071] In specific implementation, the network management system provided by the present invention is embedded in the corresponding communication gateway device to form a corresponding cross-platform unified communication gateway device; in conjunction with it, the network element devices in the network are configured to support BDARP and BDIP protocols by default.
[0072] The network deployment process to implement device-based initial configuration and discovery is as follows:
[0073] (1) After the cross-platform unified communication gateway device is connected to the network and all network element devices in the network are powered on, the network management system embedded in the cross-platform unified communication gateway device automatically identifies the WAN and LAN ports;
[0074] (2) The network management system queries the network elements in the local area network by calling the LAN port to periodically send Layer 2 MAC broadcast frames to the network elements. After receiving this query information, the network elements that support the BDARP protocol will respond to the network management system to cooperate in completing the IP configuration of all network elements.
[0075] When implementing this step, the network management system first sends a Layer 2 private BDARP broadcast message through the LAN port on the cross-platform unified communication gateway device according to the BDARP protocol definition. After receiving the message, the network element devices in the network respond to the network management system. At that time, the network management system uses the default username and password to verify whether the network element is in the factory state through the Layer 2 message. If the verification is successful, the network management system selects an available IP address from the built-in IP address pool and sends it to the corresponding network element through the Layer 2 MAC frame, thereby completing the IP configuration of all network elements.
[0076] (3) After the network management system completes the BDARP configuration process, it periodically sends UPD broadcasts through the LAN port of the cross-platform unified communications gateway device to query the network elements in the local area network. The network elements with BDIP client enabled in the network will reply with SOLICITED-REPORT messages as required and obtain the attribute information of the network elements based on the SOLICITED-REPORT messages.
[0077] Therefore, this network deployment configuration method is based on the network management system and network elements that support BDARP and BDIP protocols to achieve the purpose of rapid deployment and network configuration and collection of network element management information.
[0078] The following further illustrates the specific implementation process of the network management and network deployment configuration solution supporting device initialization configuration and discovery provided by the present invention through specific examples.
[0079] During implementation of this example, a corresponding network management system is constructed based on the network management system solution supporting device initialization configuration and discovery provided by the present invention, and the network management system is embedded in the corresponding communication gateway device to form a cross-platform unified communication gateway device.
[0080] For the cross-platform unified communication gateway device formed, connect it to the corresponding network, such as Figure 1 shown.
[0081] Based on this, the quick network deployment configuration process based on the cross-platform unified communications gateway device includes the following steps:
[0082] 1) Connect all network elements and power on.
[0083] 2) The network management system sends a layer 2 broadcast frame to discover all network elements to be initialized, where the message format is as follows: Figure 2 , Figure 3 As shown; the message body is divided into two parts, the first part is the MAC frame header, and the second part is the private protocol body part (Command protocol).
[0084] The MAC frame header includes: destination MAC address (DA), source MAC address (SA), type (type), hardware type (H / Wtype), and protocol (Protocal). Except for the source and destination MAC addresses, all the values in the MAC frame header are fixed.
[0085] The private protocol body contains the following contents:
[0086] Protocol version (Version): used to identify the private protocol version.
[0087] Length: Used to identify the length of the Command data portion.
[0088] Connection ID: Used to uniquely identify this interaction.
[0089] Operation code (OP): used to identify the operation type.
[0090] Private protocol content (Command data): Private protocol data. The content of this part varies depending on the OP.
[0091] Figure 3 The figure shows the private protocol body of a broadcast MAC frame sent by the network management system. The OP field is 0x0001, indicating that the network management system has discovered a device to be configured. The Command data field is a 2-byte Device ID with a fixed value of 0xFF 0xFF. This message is a Layer 2 MAC broadcast frame and can be quickly delivered to all network elements.
[0092] 3) The network element device responds to the private protocol body of its own information, in which the message format is as follows Figure 4 As shown, for specific details, refer to the Version and Length described in step 2. The Connection ID must be consistent with the Connection ID received from the network management system so that the network management system can identify the NE's response message. The OP field is 0x0002, indicating that the message is a network element response to the network management system discovery type. The next 8 bytes are reserved for future expansion and contain 4 bytes of the current IP address, 4 bytes of the current mask, and 4 bytes of the gateway address. The resulting message is a unicast MAC frame, in which the NE responds with its own MAC address to the network management system.
[0093] 4) The network management system logs into the network element through the corresponding layer 2 message, in which the format of the private protocol body part is as follows Figure 5 As shown, specifically, OP is 0x0007, which identifies the network management system logging into the network element; Login ID is the unique identifier for this login, and the network element's subsequent login response must be consistent with it; Length of username and Length of password represent the length of the username and password, and Detail Data contains the username and password in sequence; the message thus constructed is a unicast MAC frame, and the network management system attempts to use the default username and password to log in to the network element for verification.
[0094] 5) The network element responds with the login result, in which the private protocol body part message format is as follows Figure 6 As shown in the figure, OP is 0x0008, indicating the network element's response to the network management system's login result; Login ID remains the same as in step 4; Result is a 1-byte login result. The resulting message is a unicast MAC frame, and the network element responds to the network management system with the login verification result.
[0095] 6) The network management system sets the network element IP address according to the preset IP address pool, where the private protocol body message format is as follows: Figure 7As shown in the figure, OP (0x0201) indicates that the network management system is configuring an IP address for the NE; IP Address is a 4-byte IP address; IP Mask is a 4-byte mask; and IP Getaway is a 4-byte gateway. Based on this, the network management system selects an available IP address, mask, and gateway from its built-in address pool, inserts them into this unicast MAC frame, and sends it to the NE.
[0096] 7) The network element responds with the configuration result, in which the private protocol body part message format is as follows Figure 8 As shown, OP is 0x0202, which indicates the configuration result of the network management system configuring the IP address for the network element; Result is a 1-byte configuration result; the message thus constructed is a unicast MAC frame, and the network element responds to the IP configuration result to the network management system.
[0097] 8) The network management system sends a BDIP AGENT-QUERY message to discover the network element devices that have been configured with IP. The BDIP message format here is as follows Figure 9 The figure shows the application layer message on UDP, where the MAC header, IP header, and UDP header are all defined by public standards and are not described here. The BDIP payload is the BDIP private protocol body. Figure 10 The figure shows the format of the BDIP protocol payload in the AGENT-QUERY message. Ver is the current version number of the BDIP protocol. Type is reserved and has a value of 0x1. Code is the message type, which includes AGENT-QUERY, SOLICITED-REPORT, and UNSOLICITED-REPORT. Their values and meanings are as follows:
[0098] AGENT-QUERY=1: The agent sends a query to all network elements on the network, asking for their IP addresses, SNMP configuration, and other related information.
[0099] SOLICITED-REPORT=2: The NE with the BDIP protocol client enabled receives the AGENT-QUERY sent by the Agent and responds with a SOLICITED-REPORT, reporting its own IP address and other configuration information.
[0100] Agent-id is a 24-byte string that identifies the network management system. Signature is a 20-byte HMAC message authentication code, or signature, used to verify the authenticity of the network management system at the network element.
[0101] For example, the destination IP address of the AGENT-QUERY message sent by the NMS to the NE is the restricted broadcast IP address 255.255.255.255, and the corresponding destination MAC address is ff:ff:ff:ff:ff:ff. The destination IP address of the SOLICITED-REPORT message sent by the NE in response to the AGENT-QUERY message is the IP address of the NMS.
[0102] Furthermore, the UDP Destination Port of the AGENT-QUERY message is 61015, and the UDP Source Port and Destination Port of the SOLICITED-REPORT message replied by the network element are the UDP Source Port and Destination Port of the AGENT-QUERY message swapped.
[0103] 9) The network element responds to the AGENT-QUERY message, namely the SOLICITED-REPORT message, the format of which is as follows: Figure 11 As shown, Ver, Code, Agent-id are the same as described in step 8); the encrypted data in the message contains information such as Figure 12 The information content shown is as follows: fixed-length fields are placed first, and all variable-length fields are placed after the fixed-length fields using TLV (type-length-value) encoding. The reserved field in the fixed-length field area is reserved for possible future expansion. This ensures that after the information content is expanded, the offset positions of the remaining fields in the message remain unchanged, ensuring software stability and compatibility. The type field of all TLVs occupies 2 bytes, and the length field occupies 2 bytes. The length value reflects the actual length, in bytes, of the following value portion.
[0104] 10) Based on the SOLICITED-REPORT message that the network element responds to the network management system in step 9), the network element's own attributes are obtained, including:
[0105] MAC address; management IP; SNMP port number; SNMP version; SNMP community; enterprise OID.
[0106] At this point, the network management system has collected information about a network element and written it into the database for management; until the network management system receives responses from all network elements, the collection of information about all network devices is completed.
[0107] The aforementioned methods, or specific system units, or portions thereof, of the present invention are purely software-based and can be implemented as program code on physical media, such as a hard drive, optical disk, or any electronic device (e.g., a smartphone or computer-readable storage medium). When a machine loads and executes the program code (e.g., a smartphone), the machine becomes a device for implementing the present invention. The aforementioned methods and devices of the present invention can also be transmitted in program code form via some transmission medium, such as a cable, optical fiber, or any other transmission method. When the program code is received, loaded, and executed by a machine (e.g., a smartphone), the machine becomes a device for implementing the present invention.
[0108] The basic principles, main features, and advantages of the present invention are shown and described above. Those skilled in the art should understand that the present invention is not limited to the foregoing embodiments. The foregoing embodiments and descriptions are merely illustrative of the principles of the present invention. Various changes and modifications may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and modifications are intended to fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.
Claims
1. A network management system that supports device initialization configuration and discovery, characterized in that: The network management system is embedded in the communication gateway device, and includes a BDARP protocol module and a BDIP protocol module; the BDARP protocol module supports the BDARP protocol stack, and the BDIP protocol module supports the BDIP protocol stack; After all network element devices are powered on, the BDARP protocol module in the communication gateway device first uses the LAN port to send a Layer 2 private BDARP broadcast message. After receiving the message, the network element device returns a response message if it supports BDARP configuration, so that the network management system knows the network element device to be configured; the network management system generates a login-related MAC frame carrying the default username and password and sends it to the designated network element device; after receiving the login request from the network management system, the designated network element device parses and verifies the username and password. If the verification is successful, it generates a corresponding MAC frame to reply to the network management system and records the network management system MAC address in the network element device as having successfully logged in; After receiving the response from the designated network element device, the network management system determines whether the login is successful; If the login is successful, the BDARP protocol module selects an IP address from the system's built-in address pool and sends the configuration to the designated network element device through a Layer 2 MAC frame. After receiving the configuration, the network element device determines whether the network management device has successfully logged in to itself based on the source MAC address in the MAC frame. If it has logged in, it configures its own IP address based on the IP address information in the MAC frame and responds to the configuration result to the network management system. If it has not logged in, it responds to the network management system that it needs to log in. The BDIP protocol module in the communication gateway device discovers the network element devices that have completed IP configuration in the network through the BDIP protocol, and obtains the basic management information of all network element devices through the BDIP protocol and brings all network elements under management. The BDIP protocol module is implemented by a task or Linux thread on the network element device side. The BDIP task is created and started when the network element device is initialized. The network element device listens to the messages from the network management system through the corresponding port. The BDIP protocol module formed on the network element device side has a basic information query interface with the system module, IP module, SNMP module, and encryption function module in the network element device, thereby obtaining the required network element basic management information, as well as encrypting and signing.
2. The network management system supporting device initialization configuration and discovery according to claim 1, characterized in that: The network management system further includes a port identification module, which obtains the LAN port of the gateway device and cooperates with the BDARP protocol module and the BDIP protocol module.
3. The network management system supporting device initialization configuration and discovery according to claim 2, characterized in that: The BDARP protocol module performs permission verification and configures device IP based on the Layer 2 MAC frame.
4. The network management system supporting device initialization configuration and discovery according to claim 2, characterized in that: The BDIP protocol module uses the BDIP protocol to collect basic management information of network elements based on UPD broadcast.
5. A network deployment configuration method supporting device initialization configuration and discovery, characterized in that: The network startup configuration method is as follows: after all network element devices are powered on, the communication gateway device first uses the LAN port to send a Layer 2 private BDARP broadcast message through the BDARP protocol module that supports the BDARP protocol stack. After receiving the message, the network element device returns a response message if it supports BDARP configuration, so that the network management system knows the network element device to be configured; the network management system generates a login-related MAC frame carrying a default username and password and sends it to the designated network element device; after receiving the login request from the network management system, the designated network element device parses and verifies the username and password, and if the verification is successful, generates a corresponding MAC frame to reply to the network management system, and records the network management system MAC address in the network element device as having successfully logged in; After receiving the response from the designated network element device, the network management system determines whether the login is successful; If the login is successful, the BDARP protocol module selects an IP address from the system's built-in address pool and sends the configuration to the designated network element device through a Layer 2 MAC frame. After receiving the configuration, the network element device determines whether the network management device has successfully logged in to itself based on the source MAC address in the MAC frame. If it has logged in, it configures its own IP address based on the IP address information in the MAC frame and responds to the configuration result to the network management system. If it has not logged in, it responds to the network management system that it needs to log in. Then the communication gateway device discovers the configured network element devices in the network through the BDIP protocol, obtains the basic management information of all network element devices through the BDIP protocol and brings all network elements under management. On the network element device side, the BDIP protocol module is implemented by a task or Linux thread. The BDIP task is created and started when the network element device is initialized. The network element device listens to the messages from the network management system through the corresponding port. The BDIP protocol module formed on the network element device side has a basic information query interface with the system module, IP module, SNMP module, and encryption function module in the network element device, thereby obtaining the required basic management information of the network element, as well as encrypting and signing.
6. The network deployment configuration method according to claim 5, characterized in that: The network deployment configuration method comprises the following steps: First, after the network element device is powered on, the network management system embedded in the gateway device identifies the WAN and LAN ports of the gateway device; Next, the network management system embedded in the gateway device uses the LAN port to periodically send Layer 2 MAC broadcast frames to the network elements to query the network elements in the LAN. After receiving this query information, the network elements that support the BDARP protocol will respond to the network management system to cooperate in completing the IP configuration of all network elements. Then, after the network management system completes the configuration of the network element, it regularly broadcasts AGENT-QUERY messages to the network element through the LAN port of the gateway device according to the BDIP protocol to query the network element management information in the local area network.
7. The network deployment configuration method according to claim 6, characterized in that: When configuring the network element IP address, the network management system sends a Layer 2 private BDARP broadcast message through the LAN port of the gateway device and obtains the response of the network element device to the broadcast message. The network management system uses the default username and password to verify whether the network element is in the factory state through the Layer 2 message. If the verification is successful, the Layer 2 message is sent to configure the network element IP address.
Citation Information
Patent Citations
Method for discovery and automatic configuration for IP address of device
CN102025799A
Method and system for accessing Internet of Things terminal equipment to gateway
CN112714027A