Summary of the invention
The invention provides a kind of network beginning collocation method and device, system, in order to solve existing beginning collocation methodDeposit the problem of application limitation.
First aspect, the invention provides a kind of network beginning collocation method, comprising:
Network topology structure is set, in described network topology structure, at least comprises an equipment to be configured;
According to described network topology structure, described equipment to be configured is carried out to beginning configuration, generate described equipment to be configuredBeginning configuration information, beginning configuration information of described equipment to be configured comprises mark, the physical interface letter of described equipment to be configuredBreath, logic interfacing information, 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, described in obtain the request of beginning configurationMessage comprises the mark of described equipment to be configured;
According to the mark of described equipment to be configured, described in being sent to, beginning configuration information of described equipment to be configured waits to joinInstall standby.
Based on first aspect, in the possible implementation of the first, according to described network topology structure, described waiting joinedInstall for carrying out beginning configuration, after generating beginning configuration information of described equipment to be configured, comprising:
According to the IP address of equipment to be configured described in the verification of IP Address Velocity rule, make the IP ground of described equipment to be configuredLocation does not exist the network segment overlapping, and makes other equipment in the IP address of described equipment to be configured and described network topology structureIP does not repeat address.
The possible implementation of the first based on first aspect and first aspect, in the possible implementation of the secondIn, describedly according to described network topology structure, described equipment to be configured is carried out to beginning configuration, generate described equipment to be configuredAfter beginning configuration information, 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 being new network, described network topology structure opens upFlutter structure, and described network topology structure comprises multiple equipment to be configured; Network topology structure is set, comprises:
Create the information of described multiple equipment to be configured, in the information of described multiple equipment to be configured, comprise respectively correspondingMark, title and/or the type of equipment to be configured, according to multiple equipment to be configured described in default network topology plane-generatingNetwork topology structure; Or
If described network topology structure is the network topology structure of dilatation, and described network topology structure comprises multiple existingNet equipment and multiple equipment to be configured; Network topology structure is set, comprises:
Obtain the configuration information of described multiple existing network equipment, it is right in the configuration information of described multiple existing network equipment, to comprise respectivelyThe physical interface information of the existing network equipment of answering, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IPAddress;
Import the configuration information of described multiple existing network equipment, reduction existing network topological structure;
Create the information of described multiple equipment to be configured, in the information of described multiple equipment to be configured, comprise respectively correspondingMark, title and/or the type of equipment to be configured;
According to the network topology structure of multiple equipment to be configured described in default network topology plane-generating.
Second aspect, the invention provides a kind of network beginning inking device, comprising:
Module is set, for network topology structure is set, in described network topology structure, at least comprises to be configured establishingStandby;
Configuration module, for according to described network topology structure, described equipment to be configured being carried out to beginning configuration, generates instituteBeginning configuration information of stating equipment to be configured, beginning configuration information of described equipment to be configured comprises the mark of described equipment to be configuredKnowledge, physical interface information, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address;
Receiver module, the request message that obtains beginning configuration sending for receiving described equipment to be configured, described in obtainThe request message of beginning configuration comprises the mark of described equipment to be configured;
Sending module, for according to the mark of described equipment to be configured, by beginning configuration information of described equipment to be configuredSend to described equipment to be configured.
Based on second aspect, in the possible implementation of the first, described device also comprises:
Correction verification module, for according to the IP address of equipment to be configured described in the verification of IP Address Velocity rule, treats described in makingThe IP address of configuration device does not exist the network segment overlapping, and makes IP address and the described network topology knot of described equipment to be configuredIn structure, does not repeat the IP address of other equipment.
The possible implementation of the first based on second aspect and second aspect, in the possible implementation of the secondIn, described configuration module, also, for according to beginning configuration information of described equipment to be configured, generates opening of described equipment to be configuredOffice's configuration file;
Described sending module, also for the request message base that obtains beginning configuration receiving described equipment transmission to be configuredOn plinth, 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 being new network, described network topology structure opens upFlutter structure, and described network topology structure comprises multiple equipment to be configured; Described arrange module specifically for:
Create the information of described multiple equipment to be configured, in the information of described multiple equipment to be configured, comprise respectively correspondingMark, title and/or the type of equipment to be configured, according to multiple equipment to be configured described in default network topology plane-generatingNetwork topology structure; Or
If described network topology structure is the network topology structure of dilatation, and described network topology structure comprises multipleConfiguration device and multiple equipment to be configured; Described arrange module specifically for:
Obtain the configuration information of described multiple existing network equipment, it is right in the configuration information of described multiple existing network equipment, to comprise respectivelyThe physical interface information of the existing network equipment of answering, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IPAddress; Import the configuration information of described multiple existing network equipment, reduction existing network topological structure; Create described multiple equipment to be configuredInformation, comprises respectively mark, title and/or the type of corresponding equipment to be configured in the information of described multiple equipment to be configured;According to the network topology structure of multiple equipment to be configured described in default 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 oneEquipment to be configured;
Described network management server comprises above-mentioned network beginning inking device;
Described equipment to be configured, for sending the request message that obtains beginning configuration, institute to described network management serverState the mark that the request message that obtains beginning configuration comprises described equipment to be configured; So that described network management server basisThe mark of described equipment to be configured, sends to described equipment to be configured by beginning configuration information of described equipment to be configured.
The present invention, by the network topology structure arranging, carries out beginning to the equipment to be configured in network topology structure and joinsPut, generate beginning configuration information of described equipment to be configured, described in beginning configuration information of described equipment to be configured comprises, wait to joinInstall standby mark, physical interface information, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IPAddress; In the time receiving the request message that obtains beginning configuration that described equipment to be configured sends, obtain beginning and join according to describedThe mark of the described equipment to be configured that the request message of putting comprises, sends to beginning configuration information of described equipment to be configuredDescribed equipment to be configured; Beginning configuration information of equipment to be configured generating due to the present invention comprises described equipment to be configuredMark, physical interface information, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address, canThe scene that is applicable to the double layer network or two or the three layers of hybrid network that need vlan information, can solve existing beginning collocation methodThere is the problem of application limitation.
Detailed description of the invention
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present inventionIn accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment isThe present invention's part embodiment, instead of whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the artNot making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of protection of the invention.
Network beginning collocation method described in the following embodiment of the present invention can be realized by network planning software, this netNetwork planning software comprises the instruction that realizes network beginning collocation method, and wherein, this network planning software can be arranged on networkOn management server, or this network planning software also can be arranged in 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 multiple networkingRemote exchange deployment configuration under scene, the principle schematic that network beginning that Fig. 8 provides for another embodiment of the present invention configures, as figure1 and Fig. 8 shown in, network beginning collocation method of the present embodiment comprises:
101, network topology structure is set, in described network topology structure, at least comprises an equipment to be configured;
In an optional embodiment of the present invention, the network topology structure of supposing the present embodiment setting is brand-new netNetwork topological structure, and this network topology structure comprises multiple equipment to be configured; Step 101 comprises: create described multiple waiting and joinInstall standby information, in the information of described multiple equipment to be configured, comprise respectively corresponding equipment to be configured mark, title and/Or type, according to the network topology structure of multiple equipment to be configured described in default network topology plane-generating.
When specific implementation, by operational network planning software, add the information of multiple equipment to be configured, each to be configured establishingStandby information comprises mark, title and/or the type etc. of described equipment to be configured, and the information of adding multiple equipment to be configured completesAfter, network engineers specify network topology planning in network planning software, and network topology is planned to predefined network and opens upFlutter create-rule, according to default network topology create-rule and the information of multiple equipment to be configured, automatically generate multiple treatingThe network topology structure of configuration device; For example, predefined network topology create-rule is annular topological classification, automaticGenerate the annular network topology structure of multiple equipment to be configured according to annular topological classification.
In an optional embodiment of the present invention, suppose that the network topology structure that the present embodiment arranges is brand-newNetwork topology structure, that is to say, when dilatation on existing network topological structure basis, step 101 comprises: described in obtainingThe configuration information of multiple existing network equipment, comprises respectively the thing of corresponding existing network equipment in the configuration information of described multiple existing network equipmentReason interface message, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address; Import described manyThe configuration information of individual existing network equipment, reduction existing network topological structure; Create the information of described multiple newly-increased equipment to be configured, described inIn the information of multiple equipment to be configured, comprise respectively mark, title and/or the type of corresponding equipment to be configured; According to what presetThe network topology structure of multiple equipment to be configured described in network topology plane-generating. Wherein, for convenience, by existing networkMiddle devices to be configured is referred to as existing network equipment.
When specific implementation, gather the information of existing network topological structure by network management server, conventionally, existing networkThe information of topological structure comprises the configuration information of existing network equipment, and wherein, conventionally, the configuration information of each existing network equipment comprisesThe physical interface information of corresponding existing network equipment, logic interfacing information, affiliated subnet information, virtual LAN VLAN information andIP address; Afterwards, the configuration information of multiple existing network equipment of network management server collection is imported in network planning software,Reduce existing network topology.
Afterwards, add the information of multiple equipment to be configured, the information of each equipment to be configured comprises described equipment to be configuredMark, title and/or type etc. After the information of adding multiple equipment to be configured completes, network engineers are soft in the network planningIn part, specify network topology planning (for example, ring topology type), network planning software is automatically at existing network topological structureBasis on carry out network capacity extension design, automatically generate loop network corresponding to multiple equipment to be configured according to ring topology typeTopological structure.
It should be noted that, the topological classification of the present embodiment is not limited to annular topological classification, can also comprise star, chainThe types of topologies such as shape, full connection.
102, according to described network topology structure, described equipment to be configured is carried out to beginning configuration, generate described to be configured establishingStandby beginning configuration information, beginning configuration information of described equipment to be configured comprises that the mark of described equipment to be configured, physics connectMessage breath, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address.
When specific implementation, for example, under the scene of three-layer network topological structure, adopt (English: BACK-TO-back-to-backBACK) planning mode, the main interface distributing IP address of employing link, every link assignment pair of IP address, i.e. both link endsIP address at the same network segment. Concrete configuration process comprises:
Interface configuration: in actual network topology structure, generally include multiple equipment to be configured, join first to multiple treatingInstall back-up and do not add veneer, interface is normally attached on veneer. Secondly, give many that between multiple equipment to be configured, formThe a pair of physical interface of every link assignment in link, first method is according to the link class in the network topology structure of obtainingType, selects corresponding interface assignment to link from veneer automatically; Second method is, can also be by Web designer at listOn plate, manual option interface is assigned on link. For large-scale network topology structure, conventionally, interface assignment rule is fixing, therefore, adopt first method to carry out LI(link interface) and configure the efficiency that can promote interface assignment.
Subnet is divided: according to the network topology structure of obtaining, will belong to equipment to be configured and the link of same IP network sectionBe divided in same subnet.
IP address assignment: be IP address pair of every link assignment in each subnet. Alternatively, in order to save IP groundLocation resource, can be made as mask right IP address 30 or 31 bit lengths. In the time that mask-length is 30, get host addressBe the IP addresses as both link ends, two IP addresses of 1 and 2. In the time that mask-length is 31, only have two host addresses, rightThe IP address of answering is respectively as the IP address of both link ends.
Alternatively, concrete configuration process also comprises: IP address is reserved: give the reserved a part of IP of each subnet address, and convenientFollow-up dilatation is used. For example, the IP number of addresses that can specify a subnet altogether to distribute, untapped IP address is reserved; AgainFor example, can reserve according to the ratio of reserved/IP address of distributing, such as reserved/distributing IP address ratio is 1/1,IP address of every distribution, a reserved IP address.
IP Address Velocity: in the time carrying out IP address assignment, legitimacy verification is carried out in IP address, avoid IP address conflict.Verification rule comprises the verification of IP address network segment and the uniqueness verification of IP address, and wherein, IP address network segment is verified as same to be configuredIP address on equipment can not exist the network segment overlapping. IP address uniqueness is verified as IP address in whole network topology structure allBe unique, can not exist 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 rootComprise two subnets (subnet 1 and subnet 2) according to the network topology of network planning setting. Start ip address is set is192.10.1.1, mask is 30 bit lengths, and the IP number of addresses that each subnet distributes is 32. The network that adopts the present embodiment to provideBeginning collocation method can be every link assignment IP address automatically.
Again for example, under the scene of double layer network structure, adopt the planning mode of hop-by-hop (English: HOP-BY-HOP): rightEach devices allocation IP to be configured address, joins the upstream Interface of equipment to be configured and downstream interface 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 be treatedThe interface that configuration device is connected with the descendant node of this equipment to be configured. Concrete configuration process comprises:
Interface configuration: the interface in the present embodiment comprises physical interface and logic interfacing. Wherein, the configuration of physical interface rule, add respectively veneer first to multiple equipment to be configured, secondly, give the multilink forming between multiple equipment to be configuredIn a pair of physical interface of every link assignment, specifically can be according to the Linktype in the network topology structure of obtaining, automaticallySelect corresponding interface assignment to link from veneer; Logic interfacing generally include VLAN interface and loopback (English:Loopback) interface. VLAN interface is applicable to Ethernet interface, and Loopback interface is applicable to all networks, and it is a little right to compriseSpot net. The configuration rule of logic interfacing is for each equipment to be configured creates a logic interfacing as upstream Interface, and to divideJoin 1 IP address.
VLAN configuration: under Ethernet scene, if adopt VLAN interface as upstream Interface, need to carry out VLANDesign. The design rule of VLAN is: 1 the identical Management VLAN of devices allocation all to be configured in each subnet. EachOn the up-downgoing physical interface of equipment to be configured, configuration allows this Management VLAN to pass through. By the VLAN mark and management of VLAN interfaceThe VLAN mark of VLAN is set to identical.
IP address assignment: for saving IP address resource, for the logic interfacing of each equipment to be configured is distributed 1 IP address,Mask is 32 bit lengths. If what adopt is Loopback interface, the up-downgoing physical interface of equipment to be configured is quoted to thisLoopback interface IP address.
IP Address Velocity: when IP address assignment, need to carry out legitimacy verification to IP address, avoid IP address conflict. SchoolThe rule of testing is: the IP address in whole network topology structure is all unique, can not exist 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 rootThe network topology arranging according to network topology planning comprises two subnets (subnet 1 and subnet 2). Adopt VLAN interface conductLogic interfacing. The VLAN interface of subnet 1 is set to 100, and the VLAN interface of subnet 2 is set to 200. Adopt the present embodiment to provideNetwork beginning collocation method 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 (English: HYBRID) the planning mode of mixing: for threeLayer interconnecting interface, adopts 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. Concrete configuration process comprises:
Interface and VLAN configuration: under HYBRID mode, have two kinds of logic interfacings: three straton interface and VLAN interfaces.On two-layer equipment, create VLAN interface, and will join in this VLAN with the interconnected physical interface of three-layer equipment; Meanwhile, threeOn the interconnected physical interface of layer equipment, create logical subinterface, and configure identical VLAN in this logical subinterface. FurtherGround, in order to ensure interface intercommunication, the VLAN mark 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 same link, logical subinterface and VLAN interface distribute 1Individual IP address pair, the right mask in IP address is made as 31 bit lengths. Both save IP resource, ensured the continuous of IP address simultaneouslyProperty.
IP Address Velocity: verification rule comprises the verification of IP address network segment and the uniqueness verification of IP address, wherein, IP address netSection verification refers to that the IP address on same equipment can not exist the network segment overlapping. The uniqueness verification of IP address refers to the IP address of the whole networkBe all unique, can not exist 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,Suppose to comprise two subnets (subnet 1 and subnet 2) according to the network topology of network planning setting. Device A and equipment B areThree-layer network appliance, lower extension Layer 2 switch. The network beginning collocation method that adopts the present embodiment to provide can be three layers automaticallyEquipment creates logical subinterface, for two-layer equipment creates VLAN interface, and distributing IP address.
Table 1 is for beginning configuration information table of the equipment to be configured of embodiment of the present invention application, as shown in table 1, to be configured establishingStandby beginning configuration information comprises the mark, interface message of equipment to be configured, affiliated subnet information, vlan information and IP groundLocation, further, in actual network topology structure, each equipment to be configured need to through gateway device could with network pipeReason server communicates, and therefore, in beginning configuration information of equipment to be configured, also comprises gateway interface information, wherein, and gatewayInterface 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, described in obtain beginning configurationRequest message comprises the mark of described equipment to be configured;
When specific implementation, for instance, after equipment to be configured is installed and powered on, can broadcast the request of obtaining beginning configuration and disappearBreath is to the upstream node of equipment to be configured, and wherein, the request message that obtains beginning configuration is specifically as follows DynamicHost association is setView is found (English: DynamicHostConfigurationProtocolDiscovery) message, conventionally, and equipment to be configuredUpstream node be the gateway device being connected with the upstream Interface of equipment to be configured, upstream node possesses DynamicHost agreement is setThe function of DHCP relay, can be transparent to Dynamic Host Configuration Protocol server by DHCPDISCOVERY message, conventionally, and in network management serverCarry Dynamic Host Configuration Protocol server, wherein, upstream node in the time of transparent transmission DHCPDISCOVERY message, can pass through DHCP option (English:Option) 82 attributes carry the mark of equipment to be configured, further, in DHCPOption82 attribute, can also carryThe information such as the upstream Interface mark of equipment to be configured, gateway device title, gateway interface.
104, according to the mark of described equipment to be configured, described in beginning configuration information of described equipment to be configured is sent toEquipment to be configured.
Conventionally, carry Dynamic Host Configuration Protocol server in network management server, Dynamic Host Configuration Protocol server is according to entrained the treating of OPTION82The mark of configuration device, searches and determines beginning configuration information of the to be configured equipment corresponding with the mark of this equipment to be configured,Dynamic Host Configuration Protocol server returns to a DHCPOFFER message to equipment to be configured, belongs to by the OPTION125 of DHCPOFFER messageProperty is carried beginning configuration information of equipment to be configured; Wherein, for the scene of two layers of networking and two or three layers of mixed networking, pass throughOPTION125 attribute can also carry logic interfacing information and vlan information. Accordingly, equipment to be configured is from DHCPOFFERIn message, extract beginning configuration information, beginning configuration information comprises physical interface information, the logic interfacing letter of equipment to be configuredThe information such as breath, IP address, VLAN, equipment to be configured need to generate beginning configuration script according to beginning configuration information, and refreshes and establishStandby configuration file.
Alternatively, after step 102, network management server can also be according to beginning configuration letter of equipment to be configuredBreath, generates beginning configuration file of this equipment to be configured, after equipment to be configured obtains beginning configuration information and normally reaches the standard grade, automaticallyBeginning configuration file is sent to equipment to be configured. Wherein, in beginning configuration file of equipment to be configured, include but not limited to treatThe information such as the physical interface information of configuration device, logic interfacing information, IP address, VLAN, restart equipment to be configuredBeginning configuration file is come into force.
The embodiment of the present invention, can be according to default network topology planning Lookup protocol net in the time that network topology structure is setNetwork topological structure, further, according to the network topology structure arranging, opens the equipment to be configured in network topology structureOffice configures, and generates beginning configuration information of described equipment to be configured, described in beginning configuration information of described equipment to be configured comprisesThe mark of equipment to be configured, physical interface information, logic interfacing information, affiliated subnet information, virtual LAN VLAN informationWith IP address; In the time receiving the request message that obtains beginning configuration of described equipment transmission to be configured, obtain out according to describedThe mark of the described equipment to be configured that the request message of office's configuration comprises, sends out beginning configuration information of described equipment to be configuredGive described equipment to be configured;
Due to treating before configuration device carries out beginning configuration, according to the information of equipment to be configured and network topology ruleDraw the setting of carrying out network topology structure, further, according to the network topology structure arranging, automatically generate described to be configured establishingStandby beginning configuration information, does not need the joining of manual configuration equipment to be configured on network management server by network engineersPut information, can improve beginning allocative efficiency, the IP address conflict of avoiding manual configuration to cause.
Comprise again mark, the physical interface letter of described equipment to be configured due to beginning configuration information of described equipment to be configuredBreath, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address; Go for needing VLANThe double layer network of information or two or three layers of hybrid network scene, can solve existing beginning collocation method and have application limitationProblem.
The structural representation of network beginning inking device that Fig. 5 provides for another embodiment of the present invention; Be applied to multiple groupRemote exchange deployment configuration under net scene, as shown in Figure 5, comprising:
Module 51 is set, for network topology structure is set, in described network topology structure, at least comprise one to be configuredEquipment;
Configuration module 52, for according to described network topology structure, described equipment to be configured being carried out to beginning configuration, generatesBeginning configuration information of described equipment to be configured, beginning configuration information of described equipment to be configured comprises described equipment to be configuredMark, physical interface information, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address;
Receiver module 53, the request message that obtains beginning configuration sending for receiving described equipment to be configured, described in obtainThe request message that takes away office's configuration comprises the mark of described equipment to be configured;
Sending module 54, for according to the mark of described equipment to be configured, believes beginning configuration of described equipment to be configuredBreath sends to described equipment to be configured.
For instance, described device also comprises: correction verification module 55, and for treating described in the verification of IP Address Velocity ruleThe IP address of configuration device, makes the IP address of described equipment to be configured not exist the network segment overlapping, and makes described to be configuredIn the IP address of equipment and described network topology structure, does not repeat the IP address of other equipment.
For instance, configuration module 52, also for according to beginning configuration information of described equipment to be configured, treats described in generationBeginning configuration file of configuration device;
Sending module 53, also for the request message basis that obtains beginning configuration receiving described equipment transmission to be configuredUpper, 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 wrap in described network topology structureDraw together multiple equipment to be configured; Arrange module 51 specifically for:
Create the information of described multiple equipment to be configured, in the information of described multiple equipment to be configured, comprise respectively correspondingMark, title and/or the type of equipment to be configured, according to multiple equipment to be configured described in default network topology plane-generatingNetwork topology structure; Or
For instance, if described network topology structure is the network topology structure of dilatation, and in described network topology structureComprise multiple devices to be configureds and multiple equipment to be configured; Arrange module 51 specifically for:
Obtain the configuration information of described multiple existing network equipment, it is right in the configuration information of described multiple existing network equipment, to comprise respectivelyThe physical interface information of the existing network equipment of answering, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IPAddress; Import the configuration information of described multiple existing network equipment, reduction existing network topological structure; Create described multiple equipment to be configuredInformation, comprises respectively mark, title and/or the type of corresponding equipment to be configured in the information of described multiple equipment to be configured;On the basis of the configuration information of the described multiple existing network equipment that obtain, according to multiple described in default network topology plane-generatingThe network topology structure of equipment to be configured.
The embodiment of the present invention, can be according to default network topology planning Lookup protocol net in the time that network topology structure is setNetwork topological structure, further, according to the network topology structure arranging, opens the equipment to be configured in network topology structureOffice configures, and generates beginning configuration information of described equipment to be configured, described in beginning configuration information of described equipment to be configured comprisesThe mark of equipment to be configured, physical interface information, logic interfacing information, affiliated subnet information, virtual LAN VLAN informationWith IP address; In the time receiving the request message that obtains beginning configuration of described equipment transmission to be configured, obtain out according to describedThe mark of the described equipment to be configured that the request message of office's configuration comprises, sends out beginning configuration information of described equipment to be configuredGive described equipment to be configured;
Due to treating before configuration device carries out beginning configuration, according to the information of equipment to be configured and network topology ruleDraw the setting of carrying out network topology structure, further, according to the network topology structure arranging, automatically generate described to be configured establishingStandby beginning configuration information, does not need the joining of manual configuration equipment to be configured on network management server by network engineersPut information, can improve beginning allocative efficiency, the IP address conflict of avoiding manual configuration to cause.
Comprise again mark, the physical interface letter of described equipment to be configured due to beginning configuration information of described equipment to be configuredBreath, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address; Go for needing VLANThe double layer network of information or two or three layers of hybrid network scene, can solve existing beginning collocation method and have application limitationProblem.
The structural representation of the network management server that Fig. 6 provides for another embodiment of the present invention; Be applied to multiple networkingRemote exchange deployment configuration under scene, as shown in Figure 6, the network management server of the present embodiment comprises processor, memory and logicalLetter bus, processor is connected with memory by communication bus, preserves the finger of realizing network beginning collocation method in memoryOrder; Further, in network management server, also comprise communication interface, (for example treat by communication interface and other network element devicesConfiguration device) communication.
In the time that processor is transferred the instruction in memory, can carry out following steps:
Network topology structure is set, in described network topology structure, at least comprises an equipment to be configured;
According to described network topology structure, described equipment to be configured is carried out to beginning configuration, generate described equipment to be configuredBeginning configuration information, beginning configuration information of described equipment to be configured comprises mark, the physical interface letter of described equipment to be configuredBreath, logic interfacing information, 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, described in obtain the request of beginning configurationMessage comprises the mark of described equipment to be configured;
According to the mark of described equipment to be configured, described in being sent to, beginning configuration information of described equipment to be configured waits to joinInstall standby.
For instance, according to described network topology structure, described equipment to be configured is carried out to beginning configuration, treat described in generationAfter beginning configuration information of configuration device, comprising:
According to the IP address of equipment to be configured described in the verification of IP Address Velocity rule, make the IP ground of described equipment to be configuredLocation does not exist the network segment overlapping, and makes other equipment in the IP address of described equipment to be configured and described network topology structureIP does not repeat address.
For instance, describedly according to described network topology structure, described equipment to be configured is carried out to beginning configuration, generate instituteAfter stating beginning configuration information of 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 wrap in described network topology structureDraw together multiple equipment to be configured; Network topology structure is set, comprises:
Create the information of described multiple equipment to be configured, in the information of described multiple equipment to be configured, comprise respectively correspondingMark, title and/or the type of equipment to be configured, according to multiple equipment to be configured described in default network topology plane-generatingNetwork topology structure; Or
If described network topology structure is the network topology structure of dilatation, and described network topology structure comprises multiple existingNet equipment and multiple equipment to be configured; Network topology structure is set, comprises:
Obtain the configuration information of described multiple existing network equipment, it is right in the configuration information of described multiple existing network equipment, to comprise respectivelyThe physical interface information of the existing network equipment of answering, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IPAddress;
Import the configuration information of described multiple existing network equipment, reduction existing network topological structure;
Create the information of described multiple equipment to be configured, in the information of described multiple equipment to be configured, comprise respectively correspondingMark, title and/or the type of equipment to be configured;
According to the network topology structure of multiple equipment to be configured described in default network topology plane-generating.
The embodiment of the present invention can be passed through network management server Lookup protocol network topology structure, further, according toThe network topology structure arranging, carries out beginning configuration to the equipment to be configured in network topology structure automatically, waits to join described in generationInstall standby beginning configuration information, beginning configuration information of described equipment to be configured comprises mark, the thing of described equipment to be configuredReason interface message, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address; When receivingWhile stating the request message that obtains beginning configuration of equipment transmission to be configured, according to wrapping in the described request message that obtains beginning configurationThe mark of the described equipment to be configured of drawing together, sends to described equipment to be configured by beginning configuration information of described equipment to be configured;
The embodiment of the present invention can be carried out by network management server the setting of network topology structure, has expanded existingThe application function of network management server, has improved user's Experience Degree;
Meanwhile, the network topology structure arranging according to network management server, joins treating in network topology structure automaticallyInstall for carrying out beginning configuration, generate beginning configuration information of described equipment to be configured, beginning configuration of described equipment to be configuredInformation comprises the mark, physical interface information, logic interfacing information of described equipment to be configured, affiliated subnet information, virtual officeTerritory net vlan information and IP address; In the time receiving the request message that obtains beginning configuration of described equipment transmission to be configured, rootThe mark of the described equipment to be configured comprising according to the described request message that obtains beginning configuration, by opening of described equipment to be configuredOffice's configuration information sends to described equipment to be configured; Not only can improve beginning allocative efficiency, the IP that avoids manual configuration to causeAddress conflict, and double layer network and two or three layers of hybrid network application scenarios, can solve existing beginning collocation method and existThe problem of application limitation.
The structural representation of network beginning configuration-system that Fig. 7 provides for another embodiment of the present invention, is applied to multiple groupRemote exchange deployment configuration under net scene, as shown in Figure 7, described system comprises: network management server 71 and equipment to be configured 72;
Wherein, the network beginning inking device providing as Fig. 5 embodiment is provided network management server 71; Detailed content ginsengExamine the associated description in network beginning inking device that Fig. 5 embodiment provides, repeat no more.
Equipment 72 to be configured is wherein any equipment to be configured in N equipment to be configured in network topology structure, usesIn send the request message that obtains beginning configuration to described network management server, described in obtain in the request message of beginning configurationComprise the mark of described equipment to be configured; So that described network management server is according to the mark of described equipment to be configured, by instituteBeginning configuration information of stating equipment to be configured sends to described equipment to be configured.
The embodiment of the present invention, can be according to default network topology planning Lookup protocol net in the time that network topology structure is setNetwork topological structure, further, according to the network topology structure arranging, opens the equipment to be configured in network topology structureOffice configures, and generates beginning configuration information of described equipment to be configured, described in beginning configuration information of described equipment to be configured comprisesThe mark of equipment to be configured, physical interface information, logic interfacing information, affiliated subnet information, virtual LAN VLAN informationWith IP address; In the time receiving the request message that obtains beginning configuration of described equipment transmission to be configured, obtain out according to describedThe mark of the described equipment to be configured that the request message of office's configuration comprises, sends out beginning configuration information of described equipment to be configuredGive described equipment to be configured;
Due to treating before configuration device carries out beginning configuration, according to the information of equipment to be configured and network topology ruleDraw the setting of carrying out network topology structure, further, according to the network topology structure arranging, automatically generate described to be configured establishingStandby beginning configuration information, does not need the joining of manual configuration equipment to be configured on network management server by network engineersPut information, can improve beginning allocative efficiency, the IP address conflict of avoiding manual configuration to cause.
Comprise again mark, the physical interface letter of described equipment to be configured due to beginning configuration information of described equipment to be configuredBreath, logic interfacing information, affiliated subnet information, virtual LAN VLAN information and IP address; Go for needing VLANThe double layer network of information or two or three layers of hybrid network can solve existing beginning collocation method and exist the problem of application limitation.
Those skilled in the art can be well understood to, for convenience and simplicity of description, and the system of foregoing description,The specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, canRealize by another way. For example, device embodiment described above is only schematically, for example, and described unitDividing, is only that a kind of logic function is divided, and can have other dividing mode, for example multiple unit or assembly when actual realizationCan in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out. Another point, shown orThe coupling each other of discussing or direct-coupling or communication connection can be by some interfaces, the indirect coupling of device or unitClosing or communicate to connect, can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, aobvious as unitThe parts that show can be or can not be also physical locations, can be positioned at a place, or also can be distributed to multipleOn NE. Can select according to the actual needs some or all of unit wherein to realize the order of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, also canBe that the independent physics of unit exists, also can be integrated in a unit two or more unit. Above-mentioned integrated listUnit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in an embodied on computer readable and depositIn storage media. Above-mentioned SFU software functional unit is stored in a storage medium, comprises that some instructions are in order to make a computerEquipment (can be personal computer, server, or the network equipment etc.) is carried out the portion of method described in each embodiment of the present inventionStep by step. And aforesaid storage medium comprises: (Read-OnlyMemory is called for short for USB flash disk, portable hard drive, read-only storageROM), various can the storage such as random access memory (RandomAccessMemory, be called for short RAM), magnetic disc or CDThe medium of program code.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; AlthoughWith 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 canSo that the technical scheme that aforementioned each embodiment was recorded is modified, or part technical characterictic is wherein equal to replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technical schemes spirit andScope.