Summary of the invention
The invention provides a kind of network beginning collocation method and device, system, deposit the problem of application limitation in order to solve existing beginning collocation method.
First aspect the invention provides a kind of network beginning collocation method, comprising:
Network topology structure is set, comprises at least an equipment to be configured in described network topology structure;
According to described network topology structure, described equipment to be configured is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address;
Receive the request message that obtains beginning configuration that described equipment to be configured sends, the described request message that obtains beginning configuration comprises the sign of described equipment to be configured;
According to the sign of described equipment to be configured, beginning configuration information of described equipment to be configured is sent to described equipment to be configured.
Based on first aspect, in the possible implementation of the first, according to described network topology structure, described equipment to be configured is carried out beginning configuration, after generating beginning configuration information of described equipment to be configured, comprising:
IP address according to the described equipment to be configured of IP Address Velocity rule verification, make the IP address of described equipment to be configured not exist the network segment overlapping, and make the IP address of other equipment in the IP address of described equipment to be configured and described network topology structure not repeat.
Based on the possible implementation of the first of first aspect and first aspect, in the possible implementation of the second, describedly according to described network topology structure, described equipment to be configured is carried out beginning configuration, after generating beginning configuration information of described equipment to be configured, comprising:
According to beginning configuration information of described equipment to be configured, generate beginning configuration file of described equipment to be configured;
After the request message that obtains beginning configuration that the described equipment to be configured of described reception sends, comprising:
Beginning configuration file of described equipment to be configured is sent to described equipment to be configured.
Based on first aspect, in the third possible implementation, if described network topology structure is new network topology structure, and described network topology structure comprises a plurality of equipment to be configured; Network topology structure is set, comprises:
Create the information of described a plurality of equipment to be configured, the sign, title and/or the type that comprise respectively corresponding equipment to be configured in the information of described a plurality of equipment to be configured are according to the network topology structure of the default described a plurality of equipment to be configured of network topology plane-generating; Perhaps
If described network topology structure is the network topology structure of dilatation, and described network topology structure comprises a plurality of existing network equipment and a plurality of equipment to be configured; Network topology structure is set, comprises:
Obtain the configuration information of described a plurality of existing network equipment, comprise respectively the physical interface information, logic interfacing information of corresponding existing network equipment, affiliated subnet information, virtual LAN VLAN information and IP address in the configuration information of described a plurality of existing network equipment;
Import the configuration information of described a plurality of existing network equipment, reduction existing network topological structure;
Create the information of described a plurality of equipment to be configured, comprise respectively sign, title and/or the type of corresponding equipment to be configured in the information of described a plurality of equipment to be configured;
Network topology structure according to the default described a plurality of equipment to be configured of network topology plane-generating.
Second aspect the invention provides a kind of network beginning inking device, comprising:
Module is set, is used for network topology structure is set, comprise at least an equipment to be configured in described network topology structure;
Configuration module, be used for according to described network topology structure, described equipment to be configured being carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address;
Receiver module is used for receiving the request message that obtains beginning configuration that described equipment to be configured sends, and the described request message that obtains beginning configuration comprises the sign of described equipment to be configured;
Sending module is used for the sign according to described equipment to be configured, and beginning configuration information of described equipment to be configured is sent to described equipment to be configured.
Based on second aspect, in the possible implementation of the first, described device also comprises:
Correction verification module, be used for the IP address according to the described equipment to be configured of IP Address Velocity rule verification, make the IP address of described equipment to be configured not exist the network segment overlapping, and make the IP address of other equipment in the IP address of described equipment to be configured and described network topology structure not repeat.
Based on the possible implementation of the first of second aspect and second aspect, in the possible implementation of the second, described configuration module also is used for beginning configuration information according to described equipment to be configured, generates beginning configuration file of described equipment to be configured;
Described sending module also is used for the request message basis that obtains beginning configuration that sends receiving described equipment to be configured, and beginning configuration file of described equipment to be configured is sent to described equipment to be configured.
Based on second aspect, in the third possible implementation, if described network topology structure is new network topology structure, and described network topology structure comprises a plurality of equipment to be configured; The described module that arranges specifically is used for:
Create the information of described a plurality of equipment to be configured, the sign, title and/or the type that comprise respectively corresponding equipment to be configured in the information of described a plurality of equipment to be configured are according to the network topology structure of the default described a plurality of equipment to be configured of network topology plane-generating; Perhaps
If described network topology structure is the network topology structure of dilatation, and described network topology structure comprises a plurality of devices to be configureds and a plurality of equipment to be configured; The described module that arranges specifically is used for:
Obtain the configuration information of described a plurality of existing network equipment, comprise respectively the physical interface information, logic interfacing information of corresponding existing network equipment, affiliated subnet information, virtual LAN VLAN information and IP address in the configuration information of described a plurality of existing network equipment; Import the configuration information of described a plurality of existing network equipment, reduction existing network topological structure; Create the information of described a plurality of equipment to be configured, comprise respectively sign, title and/or the type of corresponding equipment to be configured in the information of described a plurality of equipment to be configured; Network topology structure according to the default described a plurality of equipment to be configured of network topology plane-generating.
The third aspect the invention provides a kind of network management server, comprising: above-mentioned network beginning inking device.
Fourth aspect the invention provides a kind of network beginning configuration-system, comprising: network management server and at least one equipment to be configured;
Described network management server comprises above-mentioned network beginning inking device;
Described equipment to be configured is used for sending to described network management server the request message that obtains beginning configuration, and the described request message that obtains beginning configuration comprises the sign of described equipment to be configured; So that described network management server is according to the sign of described equipment to be configured, beginning configuration information of described equipment to be configured is sent to described equipment to be configured.
The network topology structure of the present invention by arranging, equipment to be configured in network topology structure is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; When receive that described equipment to be configured sends obtain the request message of beginning configuration the time, the sign of the described equipment to be configured that comprises according to the described request message that obtains beginning configuration sends to described equipment to be configured with beginning configuration information of described equipment to be configured; Beginning configuration information of the equipment to be configured that generates due to the present invention comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address, needing to go for the scene of double layer network or two or three layers of hybrid network of vlan information, can solve the problem that there is application limitation in existing beginning collocation method.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The following described network beginning of each embodiment collocation method of the present invention can be realized by network planning software, this network planning software comprises the instruction that realizes network beginning collocation method, wherein, this network planning software can be arranged on network management server, and perhaps this network planning software also can be arranged on other physical machine.
The schematic flow sheet of network beginning collocation method that Fig. 1 provides for one embodiment of the invention; Be applied to the remote exchange deployment configuration under multiple networking scene, the principle schematic that network beginning that Fig. 8 provides for another embodiment of the present invention configures, as Fig. 1 and shown in Figure 8, network beginning collocation method of the present embodiment comprises:
101, network topology structure is set, comprises at least an equipment to be configured in described network topology structure;
In an optional execution mode of the present invention, the network topology structure of supposing the present embodiment setting is brand-new network topology structure, and this network topology structure comprises a plurality of equipment to be configured; Step 101 comprises: the information that creates described a plurality of equipment to be configured, the sign, title and/or the type that comprise respectively corresponding equipment to be configured in the information of described a plurality of equipment to be configured are according to the network topology structure of the default described a plurality of equipment to be configured of network topology plane-generating.
During specific implementation, by the operational network planning software, add the information of a plurality of equipment to be configured, the information of each equipment to be configured comprises sign, title and/or the type etc. of described equipment to be configured, after the information of adding a plurality of equipment to be configured is completed, network engineers specify network topology planning in network planning software, network topology is planned to predefined network topology create-rule, according to default network topology create-rule and the information of a plurality of equipment to be configured, automatically generate the network topology structure of a plurality of equipment to be configured; For example, predefined network topology create-rule is the topological classification of annular, automatically generates the network topology structure of the annular of a plurality of equipment to be configured according to the topological classification of annular.
In an optional execution mode of the present invention, the network topology structure of supposing the present embodiment setting is brand-new network topology structure, that is to say, during dilatation on existing network topological structure basis, step 101 comprises: obtain the configuration information of described a plurality of existing network equipment, comprise respectively the physical interface information, logic interfacing information of corresponding existing network equipment, affiliated subnet information, virtual LAN VLAN information and IP address in the configuration information of described a plurality of existing network equipment; Import the configuration information of described a plurality of existing network equipment, reduction existing network topological structure; Create the information of described a plurality of newly-increased equipment to be configured, comprise respectively sign, title and/or the type of corresponding equipment to be configured in the information of described a plurality of equipment to be configured; Network topology structure according to the default described a plurality of equipment to be configured of network topology plane-generating.Wherein, for convenience, with devices to be configured in existing network referred to as existing network equipment.
During specific implementation, gather the information of existing network topological structure by network management server, usually, the information of existing network topological structure comprises the configuration information of existing network equipment, wherein, usually, the configuration information of each existing network equipment comprises the physical interface information, logic interfacing information of corresponding existing network equipment, affiliated subnet information, virtual LAN VLAN information and IP address; Afterwards, the configuration information of a plurality of existing network equipment of network management server collection is imported in network planning software, reduce existing network topology.
Afterwards, add the information of a plurality of equipment to be configured, the information of each equipment to be configured comprises the sign of described equipment to be configured, title and/or type etc.After the information of adding a plurality of equipment to be configured is completed, network engineers (for example specify network topology planning in network planning software, the ring topology type), network planning software carry out network capacity extension design on the basis of existing network topological structure, generates loop network topological structure corresponding to a plurality of equipment to be configured according to the ring topology type automatically automatically.
Need to prove, the topological classification of the present embodiment is not limited to the topological classification of annular, can also comprise the types of topologies such as star, chain, full connection.
102, according to described network topology structure, described equipment to be configured is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address.
During specific implementation, for example, under the scene of three-layer network topological structure, adopt (English: planning mode BACK-TO-BACK) back-to-back, adopt the main interface distributing IP address of link, every link assignment pair of IP address, namely the IP address of both link ends is at the same network segment.The concrete configuration process comprises:
Interface configuration: in the network topology structure of reality, generally include a plurality of equipment to be configured, add respectively veneer at first for a plurality of equipment to be configured, interface normally is attached on veneer.Secondly, give a pair of physical interface of every link assignment in the multilink that forms between a plurality of equipment to be configured, first method is according to the Linktype in the network topology structure of obtaining, and automatically selects corresponding interface assignment to link from veneer; Second method is to be assigned on link in manual option interface on veneer by the Web designer.For large-scale network topology structure, usually, the interface assignment rule is fixed, and therefore, adopts first method to carry out the efficient that the LI(link interface) configuration can promote interface assignment.
Subnet is divided: according to the network topology structure of obtaining, equipment to be configured and the link that will belong to same IP network section are divided in same subnet.
IP address assignment: be one of every link assignment in each subnet IP address pair.Alternatively, in order to save the IP address resource, the right mask in IP address can be made as 30 or 31 bit lengths.When mask-length is 30, get host address and be two IP addresses of 1 and 2 as the IP address of both link ends.When mask-length is 31, only have two host addresses, corresponding IP address is respectively as the IP address of both link ends.
Alternatively, the concrete configuration process also comprises: IP reserves the address: reserve a part of IP address to each subnet, convenient follow-up dilatation is used.For example, the IP number of addresses that can specify a subnet altogether to distribute, untapped IP reserves the address; Again for example, can reserve according to the ratio of the IP address of reserving/distributing, such as reservation/distributing IP address ratio is 1/1, an IP address is reserved in one of every distribution IP address.
IP Address Velocity: when carrying out IP address assignment, the legitimacy verification is carried out in the IP address, avoid IP address conflict.The verification rule comprises the verification of IP address network segment and IP address uniqueness verification, and wherein, the IP address that the IP address network segment is verified as on same equipment to be configured can not exist the network segment overlapping.The IP address that IP address uniqueness is verified as in whole network topology structure is all unique, can not exist the IP address to repeat.
Fig. 2 is the configuration schematic diagram of the three-layer network topological structure of embodiment of the present invention application, as shown in Figure 2, supposes to comprise two subnets (subnet 1 and subnet 2) according to the network topology of network planning setting.It is 192.10.1.1 that start ip address is set, and mask is 30 bit lengths, and the IP number of addresses that each subnet distributes is 32.Adopt network beginning collocation method that the present embodiment provides can be automatically to be every link assignment IP address.
Again for example, under the scene of double layer network structure, adopt hop-by-hop (English: planning mode HOP-BY-HOP): to each devices allocation IP to be configured address, upstream Interface and the downstream interface of equipment to be configured joined in same VLAN.Wherein, upstream Interface refers to the interface that equipment to be configured is connected with the upstream node of this equipment to be configured, and downstream interface refers to the interface that equipment to be configured is connected with the descendant node of this equipment to be configured.The concrete configuration process comprises:
Interface configuration: the interface in the present embodiment comprises physical interface and logic interfacing.Wherein, the configuration rule of physical interface is, add respectively veneer at first for a plurality of equipment to be configured, secondly, give a pair of physical interface of every link assignment in the multilink that forms between a plurality of equipment to be configured, specifically can according to the Linktype in the network topology structure of obtaining, automatically select corresponding interface assignment to link from veneer; Logic interfacing generally includes VLAN interface and loopback (English: Loopback) interface.VLAN interface is applicable to Ethernet interface, and the Loopback interface is applicable to all networks, comprises point to point network.The configuration rule of logic interfacing is, for each equipment to be configured creates a logic interfacing as upstream Interface, and distributes 1 IP address.
VLAN configuration: under the Ethernet scene, if adopt VLAN interface as upstream Interface, need to carry out the design of VLAN.The design rule of VLAN is: 1 identical Management VLAN of the devices allocation to be configured of all in each subnet.On the up-downgoing physical interface of each equipment to be configured, configuration allows this Management VLAN to pass through.The VLAN sign of VLAN interface is set to identical with the VLAN sign of Management VLAN.
IP address assignment: be to save the IP address resource, distribute 1 IP address for the logic interfacing of each equipment to be configured, mask is 32 bit lengths.If what adopt is the Loopback interface, the up-downgoing physical interface of equipment to be configured is quoted this Loopback interface IP address.
IP Address Velocity: during IP address assignment, need to carry out the legitimacy verification to the IP address, avoid IP address conflict.The rule of verification is: the IP address in whole network topology structure is all unique, can not exist the IP address to repeat.
Fig. 3 is the configuration schematic diagram of the double layer network topological structure of embodiment of the present invention application, as shown in Figure 3, supposes that the network topology that planning arranges according to network topology comprises two subnets (subnet 1 and subnet 2).Adopt VLAN interface as logic interfacing.The VLAN interface of subnet 1 is set to 100, and the VLAN interface of subnet 2 is set to 200.The network beginning collocation method that adopts the present embodiment to provide can be the VLAN interface distributing IP address of each equipment to be configured automatically.
Again for example, under the scene of two or three layers of mixed networking, adopt and mix (English: HYBRID) planning mode: for three layers of interconnecting interface, adopt BACK-TO-BACK planning mode; For two layers of interconnecting interface, adopt HOP-BY-HOP planning mode; For two or three layers of interconnecting interface, adopt the estimator mode of VLAN interface+sub-interface.The concrete configuration process comprises:
Interface and VLAN configuration: under the HYBRID mode, have two kinds of logic interfacings: three straton interface and VLAN interfaces.Create VLAN interface on two-layer equipment, and will join in this VLAN with the interconnected physical interface of three-layer equipment; Simultaneously, create logical subinterface on the interconnected physical interface of three-layer equipment, and configure identical VLAN on this logical subinterface.Further, in order to guarantee the interface intercommunication, the VLAN sign of the logical subinterface of three layers and VLAN interface configuration must be identical.
IP address assignment: for two or three layers of interconnecting interface on the same link, logical subinterface and VLAN interface distribute 1 IP address pair, and the right mask in IP address is made as 31 bit lengths.Both save the IP resource, guaranteed simultaneously the continuity of IP address.
IP Address Velocity: the verification rule comprises the verification of IP address network segment and IP address uniqueness verification, and wherein, the verification of IP address network segment refers to that the IP address on same equipment can not exist the network segment overlapping.The uniqueness verification of IP address refers to that the IP address of the whole network is all unique, can not exist the IP address to repeat.
Fig. 4 is the configuration schematic diagram of two or three layers of hybrid network topological structure of embodiment of the present invention application, as shown in Figure 4, supposes to comprise two subnets (subnet 1 and subnet 2) according to the network topology of network planning setting.Device A and equipment B are three-layer network appliance, lower extension Layer 2 switch.Adopting network beginning collocation method that the present embodiment provides can be two-layer equipment establishment VLAN interface automatically for three-layer equipment creates logical subinterface, and the distributing IP address.
table 1 is beginning configuration information table of the equipment to be configured of embodiment of the present invention application, as shown in table 1, beginning configuration information of equipment to be configured comprises the sign of equipment to be configured, interface message, affiliated subnet information, vlan information and IP address, further, in the network topology structure of reality, each equipment to be configured need to could communicate with network management server through gateway device, therefore, also comprise gateway interface information in beginning configuration information of equipment to be configured, wherein, gateway interface refers to the interface direct-connected with the upstream Interface of equipment to be configured.
Table 1:
103, receive the request message that obtains beginning configuration that described equipment to be configured sends, the described request message that obtains beginning configuration comprises the sign of described equipment to be configured;
during specific implementation, for instance, after equipment to be configured is installed and is powered on, can broadcasting obtain the request message of beginning configuration to the upstream node of equipment to be configured, wherein, the request message that obtains beginning configuration is specifically as follows DynamicHost protocol discovery (English: Dynamic Host ConfigurationProtocol Discovery) message is set, usually, the upstream node of equipment to be configured is the gateway device that is connected with the upstream Interface of equipment to be configured, upstream node possesses the function that DynamicHost arranges the protocol DHCP relaying, DHCP DISCOVERY message can be transparent to Dynamic Host Configuration Protocol server, usually, carry Dynamic Host Configuration Protocol server in network management server, wherein, upstream node is when transparent transmission DHCPDISCOVERY message, can (English: Option) 82 attributes carry the sign of equipment to be configured by DHCP option, further, can also carry the upstream Interface sign of equipment to be configured in DHCP Option 82 attributes, the gateway device title, the information such as gateway interface.
104, according to the sign of described equipment to be configured, beginning configuration information of described equipment to be configured is sent to described equipment to be configured.
Usually, carry Dynamic Host Configuration Protocol server in network management server, the sign of the equipment to be configured that Dynamic Host Configuration Protocol server is entrained according to OPTION 82, search and determine beginning configuration information of the to be configured equipment corresponding with the sign of this equipment to be configured, Dynamic Host Configuration Protocol server returns to a DHCP OFFER message for equipment to be configured, carries beginning configuration information of equipment to be configured by OPTION 125 attributes of DHCP OFFER message; Wherein, for the scene of two layers of networking and two or three layers of mixed networking, can also carry logic interfacing information and vlan information by OPTION 125 attributes.Accordingly, equipment to be configured extracts beginning configuration information from DHCP OFFER message, beginning configuration information comprises the information such as physical interface information, logic interfacing information, the IP address, VLAN of equipment to be configured, equipment to be configured need to generate beginning configuration script according to beginning configuration information, and the refreshing a device configuration file.
Alternatively, after step 102, network management server can also according to beginning configuration information of equipment to be configured, generate beginning configuration file of this equipment to be configured, after equipment to be configured obtains beginning configuration information and normally reaches the standard grade, automatically beginning configuration file is sent to equipment to be configured.Wherein, include but not limited to the information such as physical interface information, logic interfacing information, IP address, VLAN of equipment to be configured in beginning configuration file of equipment to be configured, restart equipment to be configured beginning configuration file is come into force.
The embodiment of the present invention is when arranging network topology structure, can be according to default network topology planning Lookup protocol network topology structure, further, according to the network topology structure that arranges, equipment to be configured in network topology structure is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; When receive that described equipment to be configured sends obtain the request message of beginning configuration the time, the sign of the described equipment to be configured that comprises according to the described request message that obtains beginning configuration sends to described equipment to be configured with beginning configuration information of described equipment to be configured;
Owing to treating before configuration device carries out beginning configuration, carry out the setting of network topology structure according to information and the network topology planning of equipment to be configured, further, according to the network topology structure that arranges, automatically generate beginning configuration information of described equipment to be configured, do not need the configuration information by network engineers' manual configuration equipment to be configured on network management server, can improve beginning allocative efficiency, the IP address conflict of avoiding manual configuration to cause.
Again because beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; Needing to go for double layer network or two or three layers of hybrid network scene of vlan information, can solve the problem that there is application limitation in existing beginning collocation method.
The structural representation of network beginning inking device that Fig. 5 provides for another embodiment of the present invention; Be applied to the remote exchange deployment configuration under multiple networking scene, as shown in Figure 5, comprise:
Module 51 is set, is used for network topology structure is set, comprise at least an equipment to be configured in described network topology structure;
Configuration module 52, be used for according to described network topology structure, described equipment to be configured being carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address;
Receiver module 53 is used for receiving the request message that obtains beginning configuration that described equipment to be configured sends, and the described request message that obtains beginning configuration comprises the sign of described equipment to be configured;
Sending module 54 is used for the sign according to described equipment to be configured, and beginning configuration information of described equipment to be configured is sent to described equipment to be configured.
For instance, described device also comprises: correction verification module 55, be used for the IP address according to the described equipment to be configured of IP Address Velocity rule verification, make the IP address of described equipment to be configured not exist the network segment overlapping, and make the IP address of other equipment in the IP address of described equipment to be configured and described network topology structure not repeat.
For instance, configuration module 52 also is used for beginning configuration information according to described equipment to be configured, generates beginning configuration file of described equipment to be configured;
Sending module 53 also is used for the request message basis that obtains beginning configuration that sends receiving described equipment to be configured, and beginning configuration file of described equipment to be configured is sent to described equipment to be configured.
For instance, if described network topology structure is new network topology structure, and described network topology structure comprises a plurality of equipment to be configured; Module 51 is set specifically to be used for:
Create the information of described a plurality of equipment to be configured, the sign, title and/or the type that comprise respectively corresponding equipment to be configured in the information of described a plurality of equipment to be configured are according to the network topology structure of the default described a plurality of equipment to be configured of network topology plane-generating; Perhaps
For instance, if described network topology structure is the network topology structure of dilatation, and described network topology structure comprises a plurality of devices to be configureds and a plurality of equipment to be configured; Module 51 is set specifically to be used for:
Obtain the configuration information of described a plurality of existing network equipment, comprise respectively the physical interface information, logic interfacing information of corresponding existing network equipment, affiliated subnet information, virtual LAN VLAN information and IP address in the configuration information of described a plurality of existing network equipment; Import the configuration information of described a plurality of existing network equipment, reduction existing network topological structure; Create the information of described a plurality of equipment to be configured, comprise respectively sign, title and/or the type of corresponding equipment to be configured in the information of described a plurality of equipment to be configured; On the basis of the configuration information of the described a plurality of existing network equipment that obtain, according to the network topology structure of the default described a plurality of equipment to be configured of network topology plane-generating.
The embodiment of the present invention is when arranging network topology structure, can be according to default network topology planning Lookup protocol network topology structure, further, according to the network topology structure that arranges, equipment to be configured in network topology structure is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; When receive that described equipment to be configured sends obtain the request message of beginning configuration the time, the sign of the described equipment to be configured that comprises according to the described request message that obtains beginning configuration sends to described equipment to be configured with beginning configuration information of described equipment to be configured;
Owing to treating before configuration device carries out beginning configuration, carry out the setting of network topology structure according to information and the network topology planning of equipment to be configured, further, according to the network topology structure that arranges, automatically generate beginning configuration information of described equipment to be configured, do not need the configuration information by network engineers' manual configuration equipment to be configured on network management server, can improve beginning allocative efficiency, the IP address conflict of avoiding manual configuration to cause.
Again because beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; Needing to go for double layer network or two or three layers of hybrid network scene of vlan information, can solve the problem that there is application limitation in existing beginning collocation method.
The structural representation of the network management server that Fig. 6 provides for another embodiment of the present invention; Be applied to the remote exchange deployment configuration under multiple networking scene, as shown in Figure 6, the network management server of the present embodiment comprises processor, memory and communication bus, and processor is connected with memory by communication bus, preserves the instruction that realizes network beginning collocation method in memory; Further, also comprise communication interface in network management server, communicate by letter with other network element devices (for example equipment to be configured) by communication interface.
When processor is transferred instruction in memory, can carry out following steps:
Network topology structure is set, comprises at least an equipment to be configured in described network topology structure;
According to described network topology structure, described equipment to be configured is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address;
Receive the request message that obtains beginning configuration that described equipment to be configured sends, the described request message that obtains beginning configuration comprises the sign of described equipment to be configured;
According to the sign of described equipment to be configured, beginning configuration information of described equipment to be configured is sent to described equipment to be configured.
For instance, according to described network topology structure, described equipment to be configured is carried out beginning configuration, after generating beginning configuration information of described equipment to be configured, comprising:
IP address according to the described equipment to be configured of IP Address Velocity rule verification, make the IP address of described equipment to be configured not exist the network segment overlapping, and make the IP address of other equipment in the IP address of described equipment to be configured and described network topology structure not repeat.
For instance, describedly according to described network topology structure, described equipment to be configured is carried out beginning configuration, after generating beginning configuration information of described equipment to be configured, comprising:
According to beginning configuration information of described equipment to be configured, generate beginning configuration file of described equipment to be configured;
After the request message that obtains beginning configuration that the described equipment to be configured of described reception sends, comprising:
Beginning configuration file of described equipment to be configured is sent to described equipment to be configured.
For instance, if described network topology structure is new network topology structure, and described network topology structure comprises a plurality of equipment to be configured; Network topology structure is set, comprises:
Create the information of described a plurality of equipment to be configured, the sign, title and/or the type that comprise respectively corresponding equipment to be configured in the information of described a plurality of equipment to be configured are according to the network topology structure of the default described a plurality of equipment to be configured of network topology plane-generating; Perhaps
If described network topology structure is the network topology structure of dilatation, and described network topology structure comprises a plurality of existing network equipment and a plurality of equipment to be configured; Network topology structure is set, comprises:
Obtain the configuration information of described a plurality of existing network equipment, comprise respectively the physical interface information, logic interfacing information of corresponding existing network equipment, affiliated subnet information, virtual LAN VLAN information and IP address in the configuration information of described a plurality of existing network equipment;
Import the configuration information of described a plurality of existing network equipment, reduction existing network topological structure;
Create the information of described a plurality of equipment to be configured, comprise respectively sign, title and/or the type of corresponding equipment to be configured in the information of described a plurality of equipment to be configured;
Network topology structure according to the default described a plurality of equipment to be configured of network topology plane-generating.
The embodiment of the present invention can be passed through network management server Lookup protocol network topology structure, further, according to the network topology structure that arranges, automatically the equipment to be configured in network topology structure is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; When receive that described equipment to be configured sends obtain the request message of beginning configuration the time, the sign of the described equipment to be configured that comprises according to the described request message that obtains beginning configuration sends to described equipment to be configured with beginning configuration information of described equipment to be configured;
The embodiment of the present invention can be carried out the setting of network topology structure by network management server, expanded the application function of existing network management server, has improved user's Experience Degree;
Simultaneously, network topology structure according to the network management server setting, automatically the equipment to be configured in network topology structure is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; When receive that described equipment to be configured sends obtain the request message of beginning configuration the time, the sign of the described equipment to be configured that comprises according to the described request message that obtains beginning configuration sends to described equipment to be configured with beginning configuration information of described equipment to be configured; Not only can improve beginning allocative efficiency, the IP address conflict of avoiding manual configuration to cause, and double layer network and two or three layers of hybrid network application scenarios can solve the problem that there is application limitation in existing beginning collocation method.
The structural representation of network beginning configuration-system that Fig. 7 provides for another embodiment of the present invention is applied to the remote exchange deployment configuration under multiple networking scene, and as shown in Figure 7, described system comprises: network management server 71 and equipment to be configured 72;
Wherein, the network beginning inking device that provides as Fig. 5 embodiment is provided network management server 71; Associated description in network beginning inking device that detailed content provides with reference to figure 5 embodiment repeats no more.
Equipment 72 to be configured is wherein any equipment to be configured in the individual equipment to be configured of N in network topology structure, be used for sending to described network management server the request message that obtains beginning configuration, the described request message that obtains beginning configuration comprises the sign of described equipment to be configured; So that described network management server is according to the sign of described equipment to be configured, beginning configuration information of described equipment to be configured is sent to described equipment to be configured.
The embodiment of the present invention is when arranging network topology structure, can be according to default network topology planning Lookup protocol network topology structure, further, according to the network topology structure that arranges, equipment to be configured in network topology structure is carried out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; When receive that described equipment to be configured sends obtain the request message of beginning configuration the time, the sign of the described equipment to be configured that comprises according to the described request message that obtains beginning configuration sends to described equipment to be configured with beginning configuration information of described equipment to be configured;
Owing to treating before configuration device carries out beginning configuration, carry out the setting of network topology structure according to information and the network topology planning of equipment to be configured, further, according to the network topology structure that arranges, automatically generate beginning configuration information of described equipment to be configured, do not need the configuration information by network engineers' manual configuration equipment to be configured on network management server, can improve beginning allocative efficiency, the IP address conflict of avoiding manual configuration to cause.
Again because beginning configuration information of described equipment to be configured comprises the sign, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual LAN VLAN information and IP address; Needing to go for the double layer network of vlan information or two or three layers of hybrid network can solve the problem that there is application limitation in existing beginning collocation method.
The those skilled in the art can be well understood to, and is the convenience described and succinct, the system of foregoing description, and the specific works process of device and unit can with reference to the corresponding process in preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that, disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be also physically to separate, and the parts that show as the unit can be or can not be also physical locations, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
The above-mentioned integrated unit of realizing with the form of SFU software functional unit can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the part steps of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, abbreviation ROM), the various media that can be program code stored such as random access memory (Random Access Memory is called for short RAM), magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.