CN111769960B - Configuration method and device - Google Patents

Configuration method and device Download PDF

Info

Publication number
CN111769960B
CN111769960B CN201910253812.XA CN201910253812A CN111769960B CN 111769960 B CN111769960 B CN 111769960B CN 201910253812 A CN201910253812 A CN 201910253812A CN 111769960 B CN111769960 B CN 111769960B
Authority
CN
China
Prior art keywords
management information
layer
network
configuration
information
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
CN201910253812.XA
Other languages
Chinese (zh)
Other versions
CN111769960A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910253812.XA priority Critical patent/CN111769960B/en
Publication of CN111769960A publication Critical patent/CN111769960A/en
Application granted granted Critical
Publication of CN111769960B publication Critical patent/CN111769960B/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/0803Configuration setting
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • 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/12Discovery or management of network topologies

Abstract

The application provides a configuration method and a configuration device, relates to the technical field of communication, and can realize automatic configuration of network equipment with three layers or more and reduce the steps of manual deployment. The method comprises the following steps: the method comprises the steps that first equipment receives a first configuration request message sent by second equipment; the method comprises the steps that a first device determines a hierarchy where a second device is located, and generates first configuration information according to the hierarchy where the second device is located, wherein the first configuration information comprises first management information and second management information, the first management information is used for configuring the second device, the second management information is management information of layers below the hierarchy where the second device is located, and the second management information is used for the second device to distribute management information for network devices managed by the second device in next-layer network devices of the second device; the first device sends the first configuration information to the second device.

Description

Configuration method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a configuration method and apparatus.
Background
With the development of Software Defined Networking (SDN) technology, network devices will be deployed hierarchically, and the deployment level is often more than two layers. In a network architecture of a multi-layer network device, each time a network device is extended, the network device needs to be managed only by configuring configuration information such as an address, a user name and a password for the network device.
At present, the configuration of network devices is implemented based on a two-layer network device. That is, the configuration information required by the next layer of network equipment needs to be manually configured in the previous layer of network equipment in advance, and then after the deployment of the next layer of network equipment is completed, the next layer of network equipment applies for the configuration information to the previous layer of network equipment, so that the configuration of the next layer of network equipment is completed. In this process, when the network device is deployed more than two layers, each additional layer of network device needs to be configured with the relevant configuration information manually in the network device on the layer above the additional layer. Therefore, in the current configuration scheme of the network device, aiming at the network architecture of three-layer or more network devices, the manual steps are complicated, and automatic configuration cannot be realized.
Disclosure of Invention
According to the configuration method and device, automatic configuration of three-layer or more network equipment can be achieved, manual deployment steps are reduced, and automatic configuration efficiency of network deployment is improved.
In a first aspect, the present application provides a configuration method, including: the method comprises the steps that a first device receives a first configuration request message sent by a second device, the first device and the second device are network devices in an N-layer network device, the first device is a network device which manages the second device in a network device on the upper layer of the second device, and N is an integer larger than 1; the first equipment determines the level of the second equipment; the method comprises the steps that first configuration information is generated by first equipment according to a level where second equipment is located, the first configuration information comprises first management information and second management information, the first management information is used for configuring the second equipment, the second management information is management information of layers below the level where the second equipment is located, and the second management information is used for distributing management information for network equipment managed by the second equipment in next-layer network equipment of the second equipment by the second equipment; the first device sends the first configuration information to the second device.
By adopting the configuration method provided by the application, when the first equipment distributes the management information to the second equipment in the next layer of network equipment, the first equipment simultaneously issues the management information of each layer below the level where the second equipment is located, so that the second equipment subsequently distributes the management information to the network equipment managed by the second equipment in the next layer of network equipment of the second equipment, and the network equipment of each layer below the level where the second equipment is located can realize automatic configuration based on the management information of each layer below the level where the second equipment is located, thereby reducing the steps of manual deployment and improving the efficiency of automatic configuration of network deployment.
Optionally, the first device is a top-level network device in the N-layer network device, management information of the N-layer network device is preconfigured in the first device, and the first device generates the first configuration information according to a level where the second device is located, where the method includes: the first equipment distributes first management information for the second equipment according to the management information of the level where the second equipment is located in the management information of the N-layer network equipment; the first equipment determines second management information in the management information of the N-layer network equipment according to the level of the second equipment; the first device generates first configuration information according to the first management information and the second management information.
Based on the optional mode, the management information of the N-layer network equipment is pre-configured in the top-layer network equipment, so that the N-layer network equipment can automatically complete configuration based on the management information of the N-layer network equipment, the steps of manual deployment are reduced, and the efficiency of automatic configuration of network deployment is improved.
Optionally, the first device is an intermediate layer network device in the N-layer network device, and before the first device receives the configuration request message sent by the second device, the method further includes: the first device sends a second configuration request message to a third device, wherein the third device is a network device in the N-layer network device and is a network device managing the first device in a network device on the upper layer of the first device; the first device receives second configuration information sent by a third device, the second configuration information includes third management information and fourth management information, the third management information is used for configuring the first device, the fourth management information is management information of each layer below a layer where the first device is located, and the fourth management information is used for the first device to distribute management information for network devices managed by the first device in a next layer of network devices of the first device.
Optionally, the generating, by the first device, the first configuration information according to the hierarchy where the second device is located includes: the first equipment determines first management information and second management information according to the hierarchy of the second equipment and the fourth management information; the first device generates the first configuration information according to the first management information and the second management information.
Based on the two optional modes, when the first device is an intermediate layer network device of the N-layer network device, the first device can obtain the management information of each layer below the level where the first device is located, that is, the fourth management information, while applying for its own management information. The first device pre-configures the fourth management information in the first device, so that the second device can directly distribute the management information to the second device according to the pre-configured fourth management information without manual configuration when applying for configuration, thereby reducing the steps of manual deployment and providing the efficiency of automatic configuration of network deployment.
Optionally, the method further includes: the first device receives a third configuration request message sent by a fourth device, wherein the fourth device is a network device in the N-layer network device, and the first device is a network device which manages the second device in a network device on the upper layer of the fourth device; the first equipment determines the level of the fourth equipment; when the management information of the hierarchy where the preconfigured fourth device is located is used, the first device sends a fourth configuration request message to the third device, wherein the fourth configuration request message carries first indication information, and the first indication information is used for indicating the management information which needs to be added in the hierarchy where the fourth device is located; the first equipment receives third configuration information sent by the third equipment, wherein the third configuration information carries the added management information; the first device distributes fifth management information for the fourth device from the added management information, wherein the fifth management information is used for configuring the fourth device; the first device transmits the fifth management information to the fourth device.
Based on the optional mode, when the N-layer network equipment is expanded, the expanded network equipment can be automatically configured by presetting the expanded management information of the N-layer network equipment in the top-layer network equipment, manual configuration is not required to be performed once when one network equipment is expanded, the steps of manual deployment are reduced, and the efficiency of automatic configuration of network deployment is improved.
Optionally, the determining, by the first device, the hierarchy where the second device is located includes: and the first equipment determines the hierarchy of the second equipment according to the second indication information of the hierarchy of the second equipment carried in the first configuration request message.
Optionally, the determining, by the first device, the hierarchy where the second device is located includes: the first device determines that the second device is a network device next to the first device.
In a second aspect, an apparatus, which may be a network device or a chip within a network device, is provided in an embodiment of the present application. The apparatus may be used as a first device belonging to a layer N network device, having the functionality of implementing the method of the first aspect described above. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The device comprises a processing unit, a receiving unit and a sending unit, and optionally, the device also comprises a storage unit. The processing unit may complete the reception of the information by the receiving unit, complete the transmission of the information by the transmitting unit, and process the information, so that the apparatus implements the method according to the first aspect.
The receiving unit is configured to receive a first configuration request message sent by a second device, where the second device belongs to the N-layer network device, the first device is a network device that manages the second device in a network device on a layer above the second device, and N is an integer greater than 1; the processing unit is used for determining the level of the second equipment; the processing unit is further configured to generate first configuration information according to a hierarchy where the second device is located, where the first configuration information includes first management information and second management information, the first management information is used to configure the second device, and the second management information is management information of each layer below the hierarchy where the second device is located, where the second management information is used for the second device to allocate management information to a network device managed by the second device in a network device on a next layer of the second device; the sending unit is configured to send the first configuration information to the second device.
Optionally, the first device is a top-level network device in the N-level network device, management information of the N-level network device is preconfigured in the first device, and the processing unit generates the first configuration information according to a level where the second device is located, where the generating includes: distributing first management information for the second equipment according to the management information of the hierarchy of the second equipment in the management information of the N-layer network equipment; determining second management information in the management information of the N-layer network equipment according to the level of the second equipment; and generating first configuration information according to the first management information and the second management information.
Optionally, the first device is an intermediate layer network device in the N-layer network device, and the sending unit is further configured to send a second configuration request message to a third device before the receiving unit receives the configuration request message sent by the second device, where the third device belongs to an N-layer network device and is a network device that manages the first device in a network device on a layer above the first device; the receiving unit is further configured to receive second configuration information sent by a third device, where the second configuration information includes third management information and fourth management information, the third management information is used to configure the first device, the fourth management information is management information of each layer below a layer where the first device is located, and the fourth management information is used by the processing unit to allocate management information to a network device managed by the first device in a network device on a next layer of the first device.
Optionally, the generating, by the processing unit, the first configuration information according to the hierarchy where the second device is located includes: determining first management information and second management information according to the hierarchy of the second equipment and the fourth management information; and generating first configuration information according to the first management information and the second management information.
Optionally, the receiving unit is further configured to receive a third configuration request message sent by a fourth device, where the fourth device belongs to the N-layer network device, and the first device is a network device that manages the second device in a network device on a layer above the fourth device; the processing unit is further used for determining the level of the fourth equipment; the sending unit is further configured to send a fourth configuration request message to the third device when all the management information of the hierarchy where the preconfigured fourth device is located is used, where the fourth configuration request message carries first indication information, and the first indication information is used to indicate that management information needs to be added to the hierarchy where the fourth device is located; the receiving unit is further configured to receive third configuration information sent by a third device, where the third configuration information carries added management information; the processing unit is further used for distributing fifth management information for the fourth device from the added management information, and the fifth management information is used for configuring the fourth device; and the sending unit is further used for sending the fifth management information to the fourth equipment.
Optionally, the determining, by the processing unit, the hierarchy where the second device is located includes: and determining the hierarchy of the second equipment according to the second indication information of the hierarchy of the second equipment carried in the first configuration request message.
Optionally, the determining, by the processing unit, the hierarchy where the second device is located includes: and determining that the second equipment is the next layer network equipment of the first equipment.
As an alternative design, when the apparatus is a network device, the processing unit may be a processor, for example, and the receiving unit and the transmitting unit may include a transceiver and a communication interface. Optionally, the network device further comprises a storage unit, which may be, for example, a memory. When the network device comprises a storage unit, the storage unit is used for storing computer-executable instructions, the processing unit is connected with the storage unit, and the processing unit executes the computer-executable instructions stored by the storage unit, so that the network device is used as a first device to execute the method of the first aspect.
In another possible design, when the apparatus is a chip within a network device, the processing unit may be, for example, a processor, and the receiving unit and the sending unit may be, for example, input/output interfaces, pins, or circuits. The processing unit may execute the computer executable instructions stored by the storage unit to cause the chip in the network device to perform the method of the first aspect. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, and the like, and the storage unit may also be a storage unit located outside the chip in the network device, such as a read-only memory (ROM) or another type of static storage device that can store static information and instructions, a Random Access Memory (RAM), and the like.
For technical effects of the apparatus provided by the present application, reference may be made to the technical effects of the first aspect or each implementation manner of the first aspect, and details are not described here.
The processor mentioned in any of the above may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the method of the second aspect.
In a third aspect, an embodiment of the present application provides a computer storage medium storing a program for implementing the method in the first aspect. When the program is run on an apparatus, the apparatus is caused to perform the method of the first aspect described above.
In a fourth aspect, embodiments of the present application provide a computer program product, which includes a program, when executed, causes the method of the first aspect to be performed.
Drawings
Fig. 1 is a schematic diagram of a network architecture of a layer 3 network device provided in the present application;
fig. 2 is a schematic structural diagram of a network device provided in the present application;
FIG. 3 is a first flowchart of an embodiment of a configuration method provided herein;
FIG. 4 is a second flowchart of an embodiment of a configuration method provided by the present application;
fig. 5 is a schematic partial structure diagram of an N-layer network device provided in the present application;
FIG. 6 is a flowchart III of an embodiment of a configuration method provided by the present application;
FIG. 7 is a fourth flowchart of an embodiment of a configuration method provided by the present application;
fig. 8 is a schematic structural diagram of an apparatus provided in the present application.
Detailed Description
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for limiting a particular order.
In the description of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or illustrations. The embodiments or designs of the hot river described herein as "exemplary" or "e.g.," should not be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Unless otherwise indicated, "/" herein generally indicates that the former and latter associated objects are in an "or" relationship, e.g., a/B may represent a or B. The term "and/or" is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the present application, "a plurality" means two or more.
The configuration method provided by the application is suitable for a network architecture adopting N (N is an integer greater than 1) layer network equipment, namely, the network equipment is deployed in a layered mode, and in the adjacent upper and lower layers of network equipment, the upper layer of network equipment comprises management equipment of the lower layer of network equipment. For example, a network architecture of a 3-layer network device in a data center room cloud project (CloudCO) standard or a data center reconfiguration project (center office-as a data center) architecture is taken as an example. The layer 1 network devices include SDN controllers (controllers), and the layer 2 network devices include broadband access abstraction layers (BAAs) and/or virtual optical line termination hardware abstraction layers (vcolthas). The layer 3 network devices include Virtual Network Functions (VNFs) and/or Physical Network Functions (PNFs). Illustratively, as shown in fig. 2, the first-layer network device includes an SDN controller, the second-layer network device includes BAA1, BAA2, and vcoltha 1, and the SDN controller is a management device of BAA1, BAA2, and vcoltha 1. The third layer comprises PNF1, PNF2, PNF3, VNF4, VNF5, PNF6, VNF7, PNF8, VNF 9. Among them, BAA1 is a management device of PNF1, PNF2 and VNF4, BBA2 is a management device of PNF3, VNF5, VNF7 and PNF8, and vcoltha 1 is a management device of PNF6 and VNF 9.
It should be noted that, in this application, a first layer network device in an N-layer network device may be referred to as a top layer device, for example, the SDN controller in fig. 1 is a top layer network device. A layer N network device may be referred to as an underlying network device, e.g., PNF1 in fig. 1 is an underlying network device. When N is greater than 2, layer 2 to N-1 network devices may be referred to as intermediate layer network devices, e.g., BAA1, BAA2, and vcoltha 1 in fig. 1 are intermediate layer network devices.
In the present application, the network architecture of the N-layer network device may be a communication system supporting a third Generation (3rd-Generation, 3G) mobile communication technology, or a communication system supporting a fourth Generation (4G) access technology, such as a Long Term Evolution (LTE) access technology; or support a fifth generation (5G) access technology communication system, such as a New Radio (NR) access technology; but may also be a communication system supporting multiple wireless technologies, such as future-oriented communication technologies.
Referring to fig. 2, the network device referred to in the present application may comprise at least one processor 201, at least one memory 202, at least one communication interface 203. The processor 201, the memory 202 and the communication interface 203 are connected, for example by a bus. The processor 201 in the embodiment of the present application may include at least one of the following types: a general-purpose Central Processing Unit (CPU), a Digital Signal Processor (DSP), a microprocessor, an application-specific integrated circuit (ASIC), a Microcontroller (MCU), a Field Programmable Gate Array (FPGA), or an integrated circuit for implementing logic operations. For example, the processor 201 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The at least one processor 201 may be integrated in one chip or located on a plurality of different chips.
The memory 202 in the embodiment of the present application may include at least one of the following types: read-only memory (ROM) or other types of static memory devices that may store static information and instructions, Random Access Memory (RAM) or other types of dynamic memory devices that may store information and instructions, and may also be electrically erasable programmable read-only memory (EEPROM). In some scenarios, the memory may also be, but is not limited to, a compact disk-read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 202 may be separate and coupled to the processor 201. Optionally, the memory 202 may also be integrated with the processor 201, for example, within one chip. The memory 202 can store a program for executing the technical solution of the embodiment of the present application, and is controlled by the processor 201 to execute, and various executed computer program codes can also be regarded as a driver of the processor 201. For example, the processor 201 is configured to execute the computer program code stored in the memory 202, so as to implement the technical solution in the embodiment of the present application.
As shown in fig. 3, which is a flowchart of an embodiment of a configuration method provided in the present application, the method includes:
in step 301, a first device receives a first configuration request message sent by a second device.
The first device and the second device are both network devices in an N-layer network device, and the first device is a network device in the upper layer of the second device, which manages the second device. The first device may be a top-level network device in an N-layer network device and the second device may be one of the network devices in layer 2. For example, the first device is the SDN controller in fig. 1, and the second device is BAA1 in fig. 1. Alternatively, the first device may be a middle-layer network device, and the second device is a network device managed by the first device in a network device of a next layer of the first device. For example, the first device is BAA1 in fig. 1 and the second device is PNF1 in fig. 1.
Step 302, the first device determines a hierarchy level where the second device is located.
In a possible implementation manner, the second device may carry, in the first configuration request message, second indication information of a tier where the second device is located, so that the first device may determine the tier where the second device is located according to the second indication information.
Alternatively, in another possible implementation manner, the configuration request message received by any network device in the N-layer network devices may be all sent by a network device in a layer below the network device. Therefore, after receiving the first configuration request message sent by the second device, the first device may determine that the second device is a next-layer network device of the first device, and determine the hierarchy of the second device based on the hierarchy of the first device.
Step 303, the first device generates first configuration information according to a hierarchy where the second device is located, where the first configuration information includes first management information and second management information, the first management information is used to configure the first device, and the second management information is management information of each layer below the hierarchy where the second device is located, where the second management information is used for the second device to allocate management information to a network device managed by the second device in a network device of a next layer of the second device.
In the present application, the first device is configured with management information of a hierarchy in which the second device is located and layers below the hierarchy in which the second device is located in advance. The first device may allocate the first management information to the second device from the management information of the hierarchy in which the second device is located, and determine the management information of all layers below the hierarchy in which the second device is located as the second management information.
Step 304, the first device sends the first configuration information to the second device.
After receiving the first configuration information, the second device may complete configuration of the first device according to the first management information in the first configuration information, and pre-configure the second management information in the first device, so as to subsequently allocate management information to a network device managed by the second device in a next layer of network devices of the second device.
In this application, the top layer network device in the N-layer network device is configured with management information of the N-layer network device. The management information of the N-layer network device includes the management information of the top-layer network device itself (i.e., the management information of the 1 st layer) and the management information of the remaining layers (i.e., the 2 nd, 3rd, … …, N-th layer).
Then, when the first device is a top-level network device, based on fig. 3, as shown in fig. 4, step 303 may specifically be:
in step 303a, the first device allocates the first management information to the second device according to the management information of the hierarchy where the second device is located in the management information of the N-layer network device.
I.e., the second device is at layer 2, the first device may allocate management information for configuring the second device, i.e., the first management information, to the second device from the management information of layer 2 pre-configured in the first device.
Step 303b, the first device determines second management information in the management information of the N-layer network device according to the hierarchy where the second device is located.
The first device determines … … the layer 3 according to the hierarchy of the second device, and the management information of the nth layer is the second management information.
Step 303c, the first device generates first configuration information according to the first management information and the second management information.
In one possible implementation, the N-layer network device implements configuration of the network device through a Dynamic Host Configuration Protocol (DHCP). Based on the implementation manner, the first configuration Request message may specifically be a DHCP Request (DHCP Request) message, and is used to Request configuration of management information such as management ip (management ip), authentication information, and the like. The first configuration information may specifically be option information in DHCP.
An exemplary description is given below of a process in which a network device at layer 2 requests configuration from a network device at the top layer, with reference to DHCP and a schematic diagram of a local architecture of an N-layer network device shown in fig. 5.
As shown in fig. 5, the network device 1 of the layer 1 is a management device of the network device 2 of the layer 2, the network device 2 of the layer 2 is a management device of the network device 3 of the layer 3, and so on, the network device N-1 of the layer N-1 is a management device of the network device N of the layer N. The network device 1 is a top layer network device, the network devices 2 to N-1 are middle layer network devices, and the network device N is a bottom layer network device.
The network device 1 is configured with management information of an N-layer network device, including management information of the network device 1 and management information of the remaining layers (i.e., layer 2, layer 3, … …, N-th layer).
It is assumed that the management information of the layer 2, layer 3, … …, and layer N preconfigured in the network device 1 is:
network Layers N-1
Management Info Layer 2: subnet 192.168.0.0netmask 255.255.0.0{ range 192.168.2.1192.168.2.111; }
Management Info Layer 3:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.3.1 192.168.3.111;}
Management Info Layer 4:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.4.1 192.168.4.111;}
Management Info Layer N:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.N.1 192.168.N.111;}
The network layer number indicates the network layer number below the layer level of the network device 1, that is, N-1 layers below the layer 1.
When the network device 2 requests the configuration from the network device 1, the network device 2 transmits a DHCP request message 1 to the network device 1. The network device 1 determines that the network device 2 is a layer 2 network device, and allocates management information for the network device 2 from management information (i.e., management information recorded by the management information layer 2) preconfigured for the layer 2. That is, the network device 1 allocates the management ip (management ip) to the network device 2 according to the address range (i.e., between 192.168.2.1 to 192.168.2.111) allowed to be allocated by the management information of the layer 2. Assume that the management IP assigned by the network device 1 to the network device 2 is 192.168.2.2, and therefore the management information 1 assigned by the network device 1 to the network device 2 is 192.168.2.2.
The network device 1 determines the management information recorded from the management information layer 3 to the management information layer N as the management information 2. The network device 1 generates option information 1 from the management information 1 and the management information 2.
In this example, the option information generated by the network device 1 may be:
and (6) an Option: (XX) Management Info (Management information)
Length: XXX
Management IP:192.168.2.2
Sub Network Layers N-2
Sub Management Info Layer 3: subnet 192.168.0.0netmask 255.255.0.0
range 192.168.3.1192.168.3.111;}
Sub Management Info Layer 4:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.4.1192.168.4.111;}
Sub Management Info Layer N:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.N.1192.168.N.111;}
In the option information 1, the number of network layers below the level of the network device 2 is indicated by the number of sub-network layers, and the sub-management information layer indicates management information of a layer below the level of the network device 2.
After receiving the configuration information 1, the network device 2 may configure itself according to the management information 1, that is, the management IP of the network device 2 is set to 192.168.1.2. And knows the management information of layer 3, … …, layer N according to the management information 2, so as to provide configuration for the layer 3 network device managed by the network device 2 subsequently.
It can be understood that, based on the example shown in fig. 5, when the first device is a network device 1 and the second device is a network device 2, the first configuration request message in step 301 is the DHCP request message 1, the first configuration information in step 303 is the configuration information 1, the first management information is the management information 1, and the second management information is the management information 2.
When the first device is an intermediate layer network device, the first device needs to request management information for configuring the first device and management information of a hierarchy in which the second device is located and layers below the hierarchy in which the second device is located from a management device of the first device. As shown in fig. 6 in conjunction with fig. 3, before step 301, the method further includes:
in step 300a, the first device sends a second configuration request message to the third device.
The third device is a network device in the N-layer network device, and the third device is a network device in the upper layer network device of the first device that manages the first device.
Step 300b, the first device receives second configuration information sent by the third device, where the second configuration information includes third management information and fourth management information, the third management information is used to configure the first device, the fourth management information is management information of each layer below a layer where the first device is located, and the fourth management information is used for the first device to allocate management information to a network device managed by the first device in a network device of a next layer of the first device.
After the first device applies for the second configuration information from the third device, the configuration of the first device can be completed according to the third management information, and the management information of each layer below the level where the first device is located is obtained. For example, if the first device is a layer 2 network device, the fourth management information applied by the first device to the third device includes layer 3 to layer N management information. The first device may pre-configure the fourth management information in the first device so that the first device can allocate the management information to the network device managed by the first device when the network device is in a network device of a lower layer of the first device according to the fourth management information.
As shown in fig. 6, when the first device is an intermediate layer network device, step 303 may specifically be:
step 303d, the first device determines the first management information and the second management information according to the hierarchy where the second device is located and the fourth management information.
The fourth management information includes management information of a hierarchy in which the second device is located and management information of each layer below the hierarchy in which the second device is located. The first device allocates a first management new to the second device from the management information of the hierarchy where the second device is located, and determines the management information of all layers below the hierarchy where the second device is located as second management information.
Step 303e, the first device generates first configuration information according to the first management information and the second management information.
For example, assuming that the first device is a layer 2 network device, the third device is a top layer network device, and the second device is a network device managed by the first device in layer 3. For example, referring to the example shown in fig. 4, when the first device is a network device 2 and the third device is a network device 1, the first configuration request message in step 300a is the DHCP request message 1, the second configuration information in step 300b is the configuration information 1, the third management information is the management information 1, and the fourth management information is the management information 2.
After the network device 2 finishes applying configuration, the management IP of the network device 2 is set to 192.168.2.2 according to the configuration information 1 in the option information. The configuration information 1 is then pre-configured in the network device 2.
After the pre-configuration is completed, the management information of the pre-configured layer 3, … …, in the network device 2, is:
Network Layers:N-2
Management Info Layer 3:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.3.1 192.168.3.111;}
Management Info Layer 4:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.4.1 192.168.4.111;}
Management Info Layer N:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.N.1 192.168.N.111;}
when the network device 3 requests configuration from the network device 2, the network device 3 sends a DHCP request message 2 to the network device 2. The network device 2 determines that the network device 3 is a layer 3 network device, and assigns management information to the network device 3 from the management information (i.e., the management information recorded by the management information layer 3) of which the layer 3 is preconfigured. That is, the network device 2 allocates the management IP to the network device 3 according to the address range (i.e., between 192.168.3.1 and 192.168.3.111) allowed to be allocated by the management information of layer 3. Assume that the management IP allocated by the network device 1 to the network device 2 is 192.168.3.13, and therefore the management information 3 allocated by the network device 2 to the network device 3 is 192.168.3.13.
The network device 3 then determines the management information recorded by the management information layers 4 to N (i.e., the network information of the 4 th to N th layers preconfigured in the network device 2) as the management information 4. The network device 2 generates option information 2 from the management information 3 and the management information 4.
In this example, the option information generated by the network device 2 may be:
Option:(XX)Management Info
length: XXX
Management IP:192.168.3.13
Sub Network Layers:N-3
Sub Management Info Layer 4:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.4.1192.168.4.111;}
Sub Management Info Layer N:subnet 192.168.0.0netmask 255.255.0.0{
range 192.168.N.1192.168.N.111;}
After receiving the configuration information 2, the network device 3 may configure itself according to the management information 2, that is, the management IP of the network device 3 is set to 192.168.3.13. And knows the management information of layer 4, … …, layer N from the management information 4, so as to provide configuration for the layer 4 network device managed by the network device 3 subsequently.
Then, based on the example shown in fig. 5, when the first device is the network device 2 and the second device is the network device 3, the first configuration request message in step 301 is the DHCP request message 2, the first configuration information in step 303 is the configuration information 2, the first management information is the management information 3, and the second management information is the management information 4.
It can be understood that, in the configuration method provided by the present application, management information of an N-layer network device is preconfigured in a top-layer network device, and when a layer 2 network device applies for configuration to the top layer, the top-layer network device distributes management information for the layer 2 network device, and also simultaneously issues layer 3, … …, and N-layer management information, so as to be preconfigured in the layer 2 network device. When the layer 3 network device applies for configuration to the layer 2 network device, the layer 2 network device distributes management information for the layer 3 network device, and also simultaneously issues layer 4, … …, layer N management information to be preconfigured in the layer 3 network device. And repeating the steps until the network equipment of the Nth layer finishes applying configuration. Therefore, the configuration of the N-layer network equipment is automatically completed through one-time manual configuration, the steps of manual deployment are reduced, and the efficiency of automatic configuration of network deployment is improved.
In one example, the N-layer network devices may randomly expand according to user requirements, for example, in the network architecture shown in fig. 1, a VNF needs to be added at layer 3, or a BBA needs to be added at layer 2, and so on. With the expansion of N-layer network devices, there may be insufficient management information that was initially preconfigured. For example, BAA1 initially applied 100 management IPs from the SDN controller for allocation to 100 VNFs and/or PNFs managed by BBA1 in layer 3. But when the sub-BAA 1 extends below the 101 st VNF or PNF, it may result in no management IP remaining in the BAA1 being assignable to that VNF or PNF.
As shown in fig. 7, when the first device is an intermediate layer network device, the method further includes:
in step 701, the fourth device sends a third configuration request message to the first device.
The fourth device may be a network device that is extended in an N-layer network device, and the first device is a network device that manages the second device in a network device on a layer higher than the fourth device.
The fourth device transmits a third configuration request message to the first device to request the first device to allocate management information.
In step 702, the first device determines a hierarchy in which the fourth device is located.
Step 703, when the management information of the hierarchy where the preconfigured fourth device is located is used, the first device sends a fourth configuration request message to the third device, where the fourth configuration request message carries first indication information, and the first indication information is used to indicate that the management information needs to be added in the hierarchy where the fourth device is located.
After receiving the third configuration request message, the first device may search the management information of the hierarchy where the fourth device is located in the pre-configuration for the management information that is not allocated. If the management information of the hierarchy where the fourth device is pre-configured is used, the first device may determine that the management information of the hierarchy where the fourth device is added (i.e., the next layer of the hierarchy where the first device is located) needs to be applied for adding. The first device may send a configuration request message to the third device to request the third device to allocate the added management information.
The fourth configuration request message may be a configuration request message obtained by modifying the third configuration request message by the first device, for example, a management IP of the first device is encapsulated for the third configuration request message, and the first indication information is added.
The management information to which the first device applies for addition may be a preset number of management information. For example, if there is a fourth device currently applying for the management IP from the first device, the first device may apply for the addition of 100 management IPs to the third device for the hierarchy where the fourth device is located. One may be assigned to the fourth device and the remainder may be preconfigured in the first device for subsequent expansion needs.
Step 704, the first device receives third configuration information sent by the third device, where the third configuration information carries the added management information.
The third device may be a top level network device or a middle level network device.
If the third device is a top-level network device, the first device is a layer 2 network device, and the fourth device is a layer 3 network device. The third device is preconfigured with the extended management information of the N-layer network device, and the extended management information of each layer is allowed to be extended. The third device may determine that management information needs to be added for layer 3 based on the first indication information. The third device determines the management information added for the layer 3, and then carries the added management information in the third configuration information to send to the first device.
The management information added to the layer 3 by the third device may be all pre-configured layer 3 extended management information. For example, 200 pieces of extended management information of layer 3, i.e., address ranges 192.168.3.112 to 192.168.3.312 of extended management IPs, are preconfigured in the third device. The third device may carry all the 200 management IPs in the third configuration information and send the third configuration information to the first device.
If the number of pieces of management information that need to be added is indicated in the first indication information, the third device may perform allocation of the extended management information according to the number indicated by the first indication information. For example, if the first indication information indicates that 100 management IPs need to be added, the third device may send 192.168.3.112 to 192.168.3.212 of 192.168.3.112 to 192.168.3.312 to the first device, with the third configuration information.
If the third device is an intermediate layer network device, for example, the third device is a layer 2 network device, the first device is a layer 3 network device, and the fourth device is a layer 4 network device. And after receiving the fourth configuration request message sent by the first device, the third device determines that the third device requests to add management information for the layer 4. The third device may package, for the fourth configuration request message, the management IP of the third device, and then send the management IP to the top-level network device, where the top-level network device divides the extended management information of the layer 3. And after receiving the third configuration information sent by the top layer network device, the third device forwards the third configuration information to the first device.
In step 705, the first device allocates fifth management information to the fourth device from the added management information.
The first device assigns fifth management information to the fourth device from the added management information. For example, the increased address range carried in the third configuration information is 192.168.3.112 to 192.168.3.312, then the first device may allocate one, e.g., address 192.168.3.112, to the fourth device from the increased address range. That is, the fifth management information allocated by the first device to the fourth device is management IP192.168.3.112.
The first device pre-configures remaining management information, e.g., address ranges 192.168.3.113 through 192.168.3.312, in the first device for subsequent management information for the extended other management devices.
In step 706, the first device sends the fifth management information to the fourth device.
And after receiving the fifth management information, the fourth device completes the configuration of the fourth device by adopting the fifth management information.
It is worth mentioning that when the N-layer network device is expanded, by adopting the configuration method provided by the present application, the expanded network device can be automatically configured by presetting the expanded management information of the N-layer network device in the top-layer network device, and manual configuration is not required to be performed every time one network device is expanded, thereby reducing the steps of manual deployment and improving the efficiency of automatic configuration of network deployment.
An apparatus provided by an embodiment of the present application is described below. As shown in fig. 8:
the apparatus 800 comprises a processing unit 801, a receiving unit 802 and a transmitting unit 803. Optionally, the apparatus further comprises a storage unit 802. The processing unit 801, the receiving unit 802, the transmitting unit 803, and the storage unit 804 are connected by a communication bus 805.
The receiving unit 802 may be an apparatus having a receiving function, the transmitting unit 803 may be an apparatus having a transmitting function, and the receiving unit 802 and the transmitting unit 803 are used for communication with other network devices or a communication network.
The storage unit 804 may include one or more memories, which may be devices in one or more devices or circuits for storing programs or data.
The storage unit 804 may be separate and coupled to the processing unit 801 via a communication bus 805. The memory unit 804 may also be integrated with the processing unit 801.
The apparatus 800 may be used in a network device, circuit, hardware component, or chip.
The apparatus 800 may be a network device in this embodiment, and is used as a first device to perform the steps performed by the first device in the above method embodiments. Such as network device 1, network device 2, network device 3, network device 4, … …, network device N. A schematic diagram of a network device may be as shown in fig. 2. Optionally, the receiving unit 802 and the sending unit 803 of the apparatus 800 may include a communication interface of a network device, for example, the communication interface 203 in fig. 2.
The apparatus 800 may be a chip in a network device in the embodiment of the present application, such as a chip in the network device 1, a chip in the network device 2, a chip in the network device 3, and the like. The receiving unit 802 and the transmitting unit 803 may be input or output interfaces, pins or circuits, etc. Optionally, the storage unit 804 may store computer executable instructions to enable the processing unit 801 to execute the method performed by the first device in the above embodiments. For example, the receiving unit 802 is configured to receive a first configuration request message sent by a second device, where the second device belongs to the N-layer network device, and the first device is a network device that manages the second device in a network device on a layer above the second device, where N is an integer greater than 1; the processing unit 801 is configured to determine a hierarchy where the second device is located; the processing unit 801 is further configured to generate first configuration information according to a hierarchy where the second device is located, where the first configuration information includes first management information and second management information, the first management information is used to configure the second device, and the second management information is management information of each layer below the hierarchy where the second device is located, where the second management information is used for the second device to allocate management information to a network device managed by the second device in a network device on a next layer of the second device; the sending unit 803 is configured to send the first configuration information to the second device.
Optionally, the first device is a top-level network device in an N-level network device, management information of the N-level network device is preconfigured in the first device, and the processing unit 801 generates the first configuration information according to a level where the second device is located, where the generating includes: distributing first management information for the second equipment according to the management information of the hierarchy of the second equipment in the management information of the N-layer network equipment; determining second management information in the management information of the N-layer network equipment according to the level of the second equipment; and generating first configuration information according to the first management information and the second management information.
Optionally, the first device is an intermediate layer network device in the N-layer network device, and the sending unit 803 is further configured to send, before the receiving unit 802 receives the configuration request message sent by the second device, a second configuration request message to a third device, where the third device belongs to an N-layer network device and is a network device that manages the first device in a network device on a layer above the first device; the receiving unit 802 is further configured to receive second configuration information sent by a third device, where the second configuration information includes third management information and fourth management information, the third management information is used to configure the first device, the fourth management information is management information of each layer below a layer where the first device is located, and the fourth management information is used by the processing unit 801 to allocate management information to a network device managed by the first device in a network device of a next layer of the first device.
Optionally, the processing unit 801 generates the first configuration information according to the hierarchy where the second device is located, where the first configuration information includes: determining first management information and second management information according to the hierarchy of the second equipment and the fourth management information; and generating first configuration information according to the first management information and the second management information.
Optionally, the receiving unit 802 is further configured to receive a third configuration request message sent by a fourth device, where the fourth device belongs to the N-layer network device, and the first device is a network device that manages the second device in a network device on a layer above the fourth device; the processing unit 801 is further configured to determine a hierarchy where the fourth device is located; the sending unit 803 is further configured to send a fourth configuration request message to the third device when all the management information of the hierarchy where the preconfigured fourth device is located is used, where the fourth configuration request message carries first indication information, and the first indication information is used to indicate that management information that needs to be added in the hierarchy where the fourth device is located; the receiving unit 802 is further configured to receive third configuration information sent by a third device, where the third configuration information carries added management information; a processing unit 801, further configured to assign fifth management information to the fourth device from the added management information, where the fifth management information is used to configure the fourth device; the sending unit 803 is further configured to send the fifth management information to the fourth device.
Optionally, the determining, by the processing unit 801, the hierarchy of the second device includes: and determining the hierarchy of the second equipment according to the second indication information of the hierarchy of the second equipment carried in the first configuration request message.
Optionally, the determining, by the processing unit 801, the hierarchy of the second device includes: and determining that the second equipment is the next layer network equipment of the first equipment.
The storage unit 804 may be a register, a cache, a RAM, or the like, and the storage unit 804 may be integrated with the processing unit 801; the storage unit 804 may be a ROM or other type of static storage device that may store static information and instructions, and the storage unit 804 may be separate from the processing unit 801.
The embodiment of the application also provides a computer readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media may include computer storage media and communication media, and may include any medium that can communicate a computer program from one place to another. A storage media may be any available media that can be accessed by a computer.
As an alternative design, a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The embodiment of the application also provides a computer program product. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in the above method embodiments are generated in whole or in part when the above computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a computer network, a network appliance, a user device, or other programmable apparatus.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (15)

1. A method of configuration, the method comprising:
a first device receives a first configuration request message sent by a second device, wherein the first device and the second device are both network devices in an N-layer network device, the first device is a network device which manages the second device in a network device on the upper layer of the second device, and N is an integer greater than 1;
the first equipment determines the level of the second equipment;
the first device generates first configuration information according to a hierarchy where the second device is located, where the first configuration information includes first management information and second management information, the first management information is used to configure the second device, and the second management information is management information of each layer below the hierarchy where the second device is located, where the second management information is used for the second device to allocate management information to a network device managed by the second device in a network device of a next layer of the second device;
the first device sends the first configuration information to the second device.
2. The configuration method according to claim 1, wherein the first device is a top-level network device in the N-layer network devices, the first device is preconfigured with management information of the N-layer network devices, and the first device generates the first configuration information according to a hierarchy in which the second device is located, and the method includes:
the first equipment distributes the first management information for the second equipment according to the management information of the level where the second equipment is located in the management information of the N-layer network equipment;
the first equipment determines the second management information in the management information of the N-layer network equipment according to the level of the second equipment;
and the first equipment generates the first configuration information according to the first management information and the second management information.
3. The method of claim 1, wherein the first device is a middle layer network device of the N-layer network devices, and wherein before the first device receives the configuration request message sent by the second device, the method further comprises:
the first device sends a second configuration request message to a third device, wherein the third device is a network device in the N-layer network devices, and the third device is a network device which manages the first device in a network device on a layer above the first device;
the first device receives second configuration information sent by the third device, where the second configuration information includes third management information and fourth management information, the third management information is used to configure the first device, the fourth management information is management information of each layer below a layer where the first device is located, and the fourth management information is used for the first device to allocate management information to a network device managed by the first device in a network device of a next layer of the first device.
4. The method according to claim 3, wherein the first device generates the first configuration information according to a hierarchy in which the second device is located, and the method comprises:
the first device determines the first management information and the second management information according to the hierarchy of the second device and the fourth management information;
and the first equipment generates the first configuration information according to the first management information and the second management information.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
the first device receives a third configuration request message sent by a fourth device, where the fourth device is a network device in the N-layer network device, and the first device is a network device in a layer of network devices above the fourth device that manages the fourth device;
the first equipment determines the hierarchy of the fourth equipment;
when the management information of the hierarchy where the preconfigured fourth device is located is used, the first device sends a fourth configuration request message to the third device, where the fourth configuration request message carries first indication information, and the first indication information is used to indicate that the management information of the hierarchy where the fourth device is located needs to be added;
the first device receives third configuration information sent by the third device, wherein the third configuration information carries the added management information;
the first device allocates fifth management information to the fourth device from the added management information, wherein the fifth management information is used for configuring the fourth device;
the first device sends the fifth management information to the fourth device.
6. The method according to any one of claims 1-4, wherein the first device determining the hierarchy of the second device comprises:
and the first equipment determines the hierarchy of the second equipment according to the second indication information of the hierarchy of the second equipment carried in the first configuration request message.
7. The method according to any one of claims 1-4, wherein the first device determining the hierarchy of the second device comprises:
the first device determines that the second device is a next layer network device of the first device.
8. A network device belonging to a layer-N network device, serving as a first device, comprising a receiving unit, a processing unit, and a transmitting unit,
the receiving unit is configured to receive a first configuration request message sent by a second device, where the second device belongs to the N-layer network device, the first device is a network device that manages the second device in a network device on a layer above the second device, and N is an integer greater than 1;
the processing unit is used for determining the level of the second equipment;
the processing unit is further configured to generate first configuration information according to a hierarchy where the second device is located, where the first configuration information includes first management information and second management information, the first management information is used to configure the second device, and the second management information is management information of each layer below the hierarchy where the second device is located, where the second management information is used for the second device to allocate management information to a network device managed by the second device in a network device of a next layer of the second device;
a sending unit, configured to send the first configuration information to the second device.
9. The network device according to claim 8, wherein the first device is a top-level network device in the N-layer network devices, the first device is preconfigured with management information of the N-layer network devices, and the generating, by the processing unit, first configuration information according to a hierarchy in which the second device is located includes:
distributing the first management information to the second equipment according to the management information of the level where the second equipment is located in the management information of the N-layer network equipment;
determining the second management information in the management information of the N-layer network equipment according to the level of the second equipment;
and generating the first configuration information according to the first management information and the second management information.
10. The network device of claim 8, wherein the first device is an intermediate layer network device of the N-layer network devices,
the sending unit is further configured to send a second configuration request message to a third device before the receiving unit receives the configuration request message sent by the second device, where the third device belongs to the N-layer network device and is a network device that manages the first device in a network device on a layer above the first device;
the receiving unit is further configured to receive second configuration information sent by the third device, where the second configuration information includes third management information and fourth management information, the third management information is used to configure the first device, the fourth management information is management information of each layer below a layer where the first device is located, and the fourth management information is used by the processing unit to allocate management information to a network device managed by the first device in a network device in a next layer of the first device.
11. The network device according to claim 10, wherein the processing unit generates the first configuration information according to a hierarchy in which the second device is located, and includes:
determining the first management information and the second management information according to the level of the second device and the fourth management information;
and generating the first configuration information according to the first management information and the second management information.
12. The network device of claim 10 or 11,
the receiving unit is further configured to receive a third configuration request message sent by a fourth device, where the fourth device belongs to the N-layer network device, and the first device is a network device that manages the fourth device in a network device on a layer above the fourth device;
the processing unit is further configured to determine a hierarchy in which the fourth device is located;
the sending unit is further configured to send a fourth configuration request message to the third device when all the management information of the hierarchy where the preconfigured fourth device is located is used, where the fourth configuration request message carries first indication information, and the first indication information is used to indicate that the management information of the hierarchy where the fourth device is located needs to be added;
the receiving unit is further configured to receive third configuration information sent by the third device, where the third configuration information carries the added management information;
the processing unit is further configured to allocate fifth management information to the fourth device from the added management information, where the fifth management information is used to configure the fourth device;
the sending unit is further configured to send the fifth management information to the fourth device.
13. The network device of any of claims 8-11, wherein the processing unit determines that the second device is in a hierarchy comprising:
and determining the hierarchy of the second equipment according to second indication information of the hierarchy of the second equipment carried in the first configuration request message.
14. The network device of any of claims 8-11, wherein the processing unit determines that the second device is in a hierarchy comprising:
and determining that the second device is a next layer network device of the first device.
15. A computer storage medium storing a program for implementing the method according to any one of claims 1 to 7.
CN201910253812.XA 2019-03-30 2019-03-30 Configuration method and device Active CN111769960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910253812.XA CN111769960B (en) 2019-03-30 2019-03-30 Configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910253812.XA CN111769960B (en) 2019-03-30 2019-03-30 Configuration method and device

Publications (2)

Publication Number Publication Date
CN111769960A CN111769960A (en) 2020-10-13
CN111769960B true CN111769960B (en) 2022-04-12

Family

ID=72717968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910253812.XA Active CN111769960B (en) 2019-03-30 2019-03-30 Configuration method and device

Country Status (1)

Country Link
CN (1) CN111769960B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452832A (en) * 2016-08-26 2017-02-22 广西广播电视信息网络股份有限公司 C-CMTS equipment method for precisely acquiring configuration parameters
CN106685734A (en) * 2017-01-25 2017-05-17 上海易杵行智能科技有限公司 Intelligent configuration method and system based on Ethernet
CN107332695A (en) * 2017-06-15 2017-11-07 迈普通信技术股份有限公司 A kind of method and device for disposing double layer network
CN107682202A (en) * 2017-10-26 2018-02-09 新华三技术有限公司 The management method and device of the network equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1643679B1 (en) * 2004-09-29 2007-11-07 Siemens Aktiengesellschaft Configuration of modules in automation systems
WO2009114743A2 (en) * 2008-03-14 2009-09-17 Aastra Technologies Limited Method & system for configuring a network communications device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452832A (en) * 2016-08-26 2017-02-22 广西广播电视信息网络股份有限公司 C-CMTS equipment method for precisely acquiring configuration parameters
CN106685734A (en) * 2017-01-25 2017-05-17 上海易杵行智能科技有限公司 Intelligent configuration method and system based on Ethernet
CN107332695A (en) * 2017-06-15 2017-11-07 迈普通信技术股份有限公司 A kind of method and device for disposing double layer network
CN107682202A (en) * 2017-10-26 2018-02-09 新华三技术有限公司 The management method and device of the network equipment

Also Published As

Publication number Publication date
CN111769960A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
US11895577B2 (en) Network slice selection method and apparatus
JP7074880B2 (en) How to deploy network slices and equipment
CN108924268B (en) Container cloud service system and pod creation method and device
EP3327992B1 (en) Method of selecting network slice and system utilizing same
US10375015B2 (en) Methods and system for allocating an IP address for an instance in a network function virtualization (NFV) system
US11765563B2 (en) Method for startup configuration of a Bluetooth Mesh network
US20200323029A1 (en) Session Processing Method and Apparatus
CN109889586B (en) Communication processing method and device, computer readable medium and electronic equipment
CN110049504B (en) Session management method and device
US20170195256A1 (en) Method and system of providing carrier grade nat (cgn) to a subset of a subscriber base
US11115826B2 (en) Method for managing network slicing resources in communication system and apparatus for the same
CN106031116A (en) Method, apparatus and system for associating NS with VNF
WO2017206572A1 (en) Ip address management method for use in network environment having multiple dhcp servers, and dhcp client
CN102857370A (en) Resource allocating method and device
CN103957288A (en) Method, device and equipment for IP address dynamic allocation
US20150237003A1 (en) Computerized techniques for network address assignment
US10243920B1 (en) Internet protocol address reassignment between virtual machine instances
CN111683159A (en) IP address allocation method, device, system and storage medium
CN111769960B (en) Configuration method and device
CN111371578B (en) Method and device for deploying virtualized network function
CN107295112B (en) Method and system for distributing domain names in limited network environment
US11416299B2 (en) Method and resource scheduler for enabling a computing unit to map remote memory resources based on optical wavelength
JP5452527B2 (en) Address management device, address management method, and address management program
KR102056606B1 (en) Control apparatus, and control method thereof
JP5432963B2 (en) Computer equipment management apparatus, network connection information management apparatus, management method and program

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