CN102195821A - Method for configuring network equipment - Google Patents
Method for configuring network equipment Download PDFInfo
- Publication number
- CN102195821A CN102195821A CN2011101752257A CN201110175225A CN102195821A CN 102195821 A CN102195821 A CN 102195821A CN 2011101752257 A CN2011101752257 A CN 2011101752257A CN 201110175225 A CN201110175225 A CN 201110175225A CN 102195821 A CN102195821 A CN 102195821A
- Authority
- CN
- China
- Prior art keywords
- network equipment
- network
- equipment
- terminal equipment
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for configuring network equipment. The method comprises the following steps of: initializing a serial port; receiving a connection request sent by terminal equipment; when the connection state of the network equipment waiting for connection establishment is null, establishing connection between the terminal equipment needing to establish connection and the network equipment waiting for connection establishment and setting the connection state of the network equipment waiting for connection establishment to be non-null; and receiving configuration information transmitted by connected terminal equipment, transmitting the configuration information to corresponding network equipment, receiving feedback information returned by the connected network equipment and transmitting the feedback information to corresponding terminal equipment. In the method for configuring the network equipment disclosed by the invention, the terminal equipment is connected with the network equipment through a network equipment controller, the configuration of the network equipment is realized, the connection relation between a serial port of the network equipment and a serial port of the network equipment controller is not changed, and the inserting and the pulling of a serial port line are avoided, so that abrasion of the serial port of the network equipment and the serial port of the network equipment controller is reduced, and the service life is prolonged.
Description
Technical field
The invention belongs to the technical field that administers and maintains of the network equipment, relate in particular to a kind of network equipments configuration method.
Background technology
At teaching field, the network specialty is a professional technique that practicality is strong, the student often needs by doing it yourself, operating in person and could grasp deeply relevant knowledge technical ability, school's demand input substantial contribution thus sets up network laboratories, makes the content of courses abundanter by introducing real hardware device.Present stage, each universities and colleges all in various degree foundation relevant network laboratories, introduced the various network device that comprises switch, router, fire compartment wall and wireless device, hardware environment is substantially perfect.
In teaching process, need the student each network equipment to be configured based on the heterogeneous networks structure, sharpen understanding with this.At present, configuration at the network equipment, all realize by control entablature (abbreviation serial ports), concrete layoutprocedure is: by Serial Port Line the serial ports of terminal equipment and the serial ports of the network equipment are connected, send configuration information by terminal equipment to the network equipment afterwards, the network equipment is finished configuration according to the configuration information that receives.
But, when above-mentioned collocation method is applied to laboratory environment, have following problem: network configuration is often built by a plurality of network equipments, and two serial ports are often only arranged in the terminal equipment, this causes when a plurality of network equipments in the network configuration are configured respectively, need frequent Serial Port Line to be extracted from the serial ports of the serial ports of terminal equipment or the network equipment, in addition, having a large amount of students in teaching process tests simultaneously, different students will be configured the network equipment in the same set of network configuration by terminal equipment separately, need frequent Serial Port Line to be extracted from the serial ports of the serial ports of terminal equipment or the network equipment, frequent at terminal equipment serial ports or the serial ports of the network equipment in plug Serial Port Line, can cause the terminal equipment serial ports, its useful life is shortened in the wearing and tearing of network equipment serial ports and Serial Port Line.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of network equipments configuration method, can avoid the problem of plug Serial Port Line in the configure network devices process, reduce wearing and tearing, prolong its useful life terminal equipment serial ports, network equipment serial ports and Serial Port Line.
For achieving the above object, the invention provides following technical scheme:
A kind of network equipments configuration method, be used for network equipment controller, described network equipment controller comprises a plurality of serial ports, the serial ports of described network equipment controller is connected with the serial ports of the network equipment by Serial Port Line, described network equipment controller is connected with terminal equipment by Ethernet, and described method comprises:
Type according to the network equipment that is connected with described serial ports is carried out initialization to described serial ports;
Receive the connection request that described terminal equipment sends, described connection request comprises the IP address and the port numbers of waiting to set up the network equipment that is connected of described network equipment controller;
Judge whether the described connection status of waiting to set up the network equipment of connection is empty, when the connection status of the described network equipment of waiting to set up connection when empty, the terminal equipment that will connect with described wait to set up between the network equipment that is connected connect, and the described connection status of waiting to set up the network equipment of connection is set to non-NULL;
Receive the configuration information of the terminal equipment transmission that has connected and be sent to corresponding network device, the feedback information that the network equipment that reception has simultaneously connected returns also is sent to corresponding terminal device.
This shows, in the network equipments configuration method disclosed by the invention, terminal equipment connects by the network equipment controller and the network equipment, realization is to the configuration of the network equipment, in whole layoutprocedure, the annexation between the serial ports of the network equipment and the network equipment controller serial ports remains unchanged, and has avoided the plug to Serial Port Line, reduced wearing and tearing thus, prolonged useful life network equipment serial ports and network equipment controller serial ports.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of network equipments configuration method disclosed by the invention;
Fig. 2 is the flow chart of another kind of network equipments configuration method disclosed by the invention;
Fig. 3 is the flow chart of another kind of network equipments configuration method disclosed by the invention;
Fig. 4 is a kind of flow chart of realizing the method for viewing and emulating disclosed by the invention;
Fig. 5 is a kind of method flow diagram of assisting realized disclosed by the invention;
Fig. 6 is a kind of flow chart of realizing the method for forced interruption disclosed by the invention;
Fig. 7 is the flow chart of the method for a kind of building network structure disclosed by the invention;
Fig. 8 a kind ofly carries out initialized flow chart to network equipment controller serial ports for disclosed by the invention;
Fig. 9 is a kind of flow chart that sends configuration information disclosed by the invention.
Embodiment
In the prior art, directly be connected with the serial ports of the network equipment by the serial ports of Serial Port Line with terminal equipment, send configuration information by terminal equipment to the network equipment afterwards, the network equipment is finished configuration according to the configuration information that receives.The network laboratories of each universities and colleges is provided with the understanding of knowwhy in order to deepen the student, the student will be configured various network device based on various network configuration in network laboratories, because the serial ports quantity that the quantity of the network equipment of building network structure is had much larger than every station terminal equipment, so in the process that the student is configured the network equipment that constitutes in the network configuration, after the configuration of finishing a certain the network equipment, the Serial Port Line of terminal equipment must be extracted from the serial ports of current network equipment, and insert the serial ports of another network equipment, perhaps the Serial Port Line of terminal equipment is extracted from the serial ports of terminal equipment, and insert the Serial Port Line of another network equipment, could be configured it afterwards, especially when a large amount of students when separately terminal equipment is configured the network equipment in turn, frequent plug Serial Port Line.
The present invention is in order to solve the shortcoming of prior art, another kind of thinking has been proposed: the network equipment controller with a plurality of serial ports is set, the serial ports of this network equipment controller is connected with the serial ports of the network equipment by Serial Port Line, and terminal equipment is connected with network equipment controller by Ethernet, the student is by sending connection request to network equipment controller, set up being connected between terminal equipment and the network equipment, send configuration information by network equipment controller to the network equipment afterwards, finish configuration to the network equipment, in the process that a plurality of network equipments that constitute network configuration are configured, the annexation of network equipment serial ports and network equipment controller serial ports remains unchanged, avoided the plug of Serial Port Line, solve the wearing and tearing that frequent plug Serial Port Line causes in the prior art thus, reach the purpose that prolongs its useful life network equipment serial ports and terminal equipment serial ports.
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The invention discloses a kind of network equipments configuration method, can avoid the problem of plug Serial Port Line in the configure network devices process, reduce wearing and tearing, prolong its useful life terminal equipment serial ports, network equipment serial ports and Serial Port Line.
Referring to Fig. 1, Fig. 1 is the flow chart of a kind of network equipments configuration method disclosed by the invention, comprising:
Step S11: the type according to the network equipment that is connected with serial ports is carried out initialization to serial ports.
Step S12: the connection request that receiving terminal apparatus sends.
The connection request that terminal equipment sends comprises the IP address and the port numbers of waiting to set up the network equipment that is connected of network equipment controller.For example: it is 2001 to 2008 that network equipment controller connects each network equipment port, the user is at terminal equipment input telnet x.x.x.x 2001, x.x.x.x represents network equipment controller network interface IP address, 2001 port numbers for the network equipment of waiting to set up connection.
Step S13: whether the connection status of judging the network equipment wait to set up connection is empty, if connection status be empty, and execution in step S14, as if the connection status non-NULL, execution in step S16.
According to the data transmit-receive principle of serial ports, the TX in the serial ports (transmission), in a single day occupied just can not the connection by other of RX (reception) pin use, and disconnect unless this connects.Therefore, when the connection status of certain network equipment is non-NULL (promptly this network equipment has been set up with terminal equipment and has been connected), just can not be connected with other-end equipment again.
Step S14: connect with waiting to set up between the network equipment that is connected at the terminal equipment that will connect, and the connection status of waiting to set up the network equipment of connection is set to non-NULL.
Step S15: receive the configuration information of the terminal equipment transmission that has connected and be sent to corresponding network device, the feedback information that the network equipment that reception has simultaneously connected returns also is sent to corresponding terminal device.
After setting up the connection between the terminal equipment and the network equipment, the configuration information that terminal equipment sends can transfer to the network equipment by network equipment controller, the network equipment is configured according to the configuration information that receives, and the feedback information of configuration being finished the back generation is sent to terminal equipment by network equipment controller.
Step S16: send outstanding message to the terminal equipment that will connect.
If the network equipment that user's request connects has been set up with other-end equipment be connected, this moment, network equipment controller sent outstanding message to the terminal equipment at user place.
The above-mentioned disclosed network equipments configuration method of the present invention, terminal equipment connects by the network equipment controller and the network equipment, realization is to the configuration of the network equipment, in whole layoutprocedure, annexation between network equipment serial ports and the network equipment controller serial ports remains unchanged, avoided plug, reduced wearing and tearing thus, prolonged useful life network equipment serial ports and network equipment controller serial ports to Serial Port Line.
In addition, when in network laboratories the network equipment being configured based on prior art, because the length of the Serial Port Line that manufacturer provides is shorter, terminal equipment must be placed on network equipment district, this moment, many network equipments not only will be placed by network equipment district, also to place terminal equipment, cause network equipment district very crowded, and in scheme disclosed by the invention, as long as network equipment controller is placed on network equipment district, terminal equipment can be positioned over breadboard clear area, perhaps is positioned over away from breadboard other zones.
Referring to Fig. 2, Fig. 2 is the flow chart of another kind of network equipments configuration method disclosed by the invention, comprising:
Step S21: the type according to the network equipment that is connected with serial ports is carried out initialization to serial ports.
Step S22: the connection request that receiving terminal apparatus sends.
Step S13: whether the connection status of judging the network equipment wait to set up connection is empty, if empty, execution in step S24, if not empty, execution in step S26.
Step S24: connect with waiting to set up between the network equipment that is connected at the terminal equipment that will connect, and the connection status of waiting to set up the network equipment of connection is set to non-NULL.
Step S25: receive the configuration information of the terminal equipment transmission that has connected and be sent to corresponding network device, the feedback information that the network equipment that reception has simultaneously connected returns also is sent to corresponding terminal device.
Step S26: send relevant information to the terminal equipment that will connect.
This relevant information comprises: with wait to set up the configuration information that terminal equipment that the network equipment that is connected connects sends; Wait to set up the feedback information that the network equipment of connection returns.
TX in the serial ports of the network equipment (transmission), in a single day occupied just can not the connection by other of RX (reception) pin use, and disconnect unless this connects.Therefore, when the connection status of certain network equipment is non-NULL (promptly this network equipment has been set up with terminal equipment and has been connected), just can not be connected with other-end equipment again.Owing to be subjected to the restriction in funds and place, can not in network laboratories, all dispose one or more network equipment for each student, can't guarantee that each student operates personally on the classroom.
Network equipments configuration method disclosed by the invention, when certain student was configured the network equipment, other students that can't operate can see the layoutprocedure at this network equipment equally, and layoutprocedure is viewed and emulated.Be described in conjunction with specific embodiments.
After terminal equipment m and network equipment A connect, other-end equipment can't be connected with network equipment A before this connects disconnection, after the network equipment receives the connection request that requirement that terminal equipment n sends and network equipment A connect, the connection status of judging network equipment A is a non-NULL, at this moment, the configuration information that terminal equipment m sends, and the feedback information that network equipment A returns all is sent to terminal equipment n through network equipment controller, uses the user of terminal equipment n to view and emulate the layoutprocedure of network equipment A.
Referring to Fig. 3, Fig. 3 is the flow chart of another kind of network equipments configuration method disclosed by the invention, comprising:
Step S31: the type according to the network equipment that is connected with serial ports is carried out initialization to serial ports.
Step S32: the connection request that receiving terminal apparatus sends.
Step S33: whether the connection status of judging the network equipment wait to set up connection is empty, if empty, execution in step S34, if not empty, execution in step S36.
Step S34: connect with waiting to set up between the network equipment that is connected at the terminal equipment that will connect, and the connection status of waiting to set up the network equipment of connection is set to non-NULL.
Step S35: receive the configuration information of the terminal equipment transmission that has connected and be sent to corresponding network device, the feedback information that the network equipment that reception has simultaneously connected returns also is sent to corresponding terminal device.
Step S36: send the information of viewing and emulating to the terminal equipment that will connect.
Step S37: the reply message that the terminal equipment that reception will connect returns at this information of viewing and emulating.
Step S38: judge whether reply message is to agree the information of viewing and emulating, if agree to view and emulate information, execution in step S39 is if refusal is viewed and emulated information, execution in step S310.
Step S39: send relevant information to the terminal equipment that will connect.
This relevant information comprises: wait to set up the configuration information that terminal equipment that the network equipment that is connected connects sends with this; Wait to set up the feedback information that the network equipment of connection returns.
Step S310: send outstanding message to the terminal equipment that will connect.
According to network equipments configuration method shown in Figure 3, when the network equipment that connects when the terminal equipment request has connected with other-end equipment, send the information of viewing and emulating by network equipment controller to the terminal equipment of this transmission connection request, use the user of this terminal equipment can select to continue to wait for, perhaps enter the state of viewing and emulating, be different from the mode that force users enters the state of viewing and emulating in the method shown in Figure 2.
In force, the student can also be in the connection of having set up, the connection that autonomous selection will be viewed and emulated.See also Fig. 4, Fig. 4 is a kind of flow chart of realizing the method for viewing and emulating disclosed by the invention.Comprise:
Step S41: the request of viewing and emulating that receiving terminal apparatus sends.
This views and emulates the IP address of request package includes network device controller and the sign that is connected to be viewed and emulated.Concrete, this sign can be user name, sequence number or the IP address of the terminal equipment in this connection to be viewed and emulated, and can also be the port numbers of the network equipment in this connection to be viewed and emulated.
Step S42: terminal equipment from request to transmission that view and emulate sends relevant information.
This relevant information comprises the configuration information of the terminal equipment transmission in the connection to be viewed and emulated and the feedback information that the network equipment in this connection to be viewed and emulated returns.
According to the method that realization shown in Figure 4 is viewed and emulated, the user can view and emulate request by transmission, and the layoutprocedure during certain has been connected is is viewed and emulated.When the user will view and emulate certain classmate's operating process, user name, sequence number or the IP address of the employed terminal equipment of this classmate can be sent to network equipment controller as the sign of connection to be viewed and emulated; When the user will view and emulate the layoutprocedure of certain network equipment, the port numbers of equipment on this network can be sent to network equipment controller, the relevant information that will produce during network equipment controller will connect sends to the terminal equipment that this user uses.
After certain student is setting up being connected of terminal equipment and the network equipment, in the time of can't finishing the configuration to this network equipment, can transfer the authority that this network equipment is configured to other classmate.See also Fig. 5, Fig. 5 is a kind of method flow diagram of assisting realized disclosed by the invention, comprising:
Step S51: receive the assistance request of the terminal equipment transmission that has connected.
Step S52: judge whether that terminal equipment viewing and emulating current connection of having set up, if, execution in step S54 then, if not, execution in step S53 then.
Step S53: judge whether terminal equipment wait for current being connected of having set up in the network equipment connect, if, execution in step S54 then, if not, then wait.
Step S54: disconnect to send assist the terminal equipment of request and being connected of the network equipment, and connect viewing and emulating or wait between terminal equipment that connects and the network equipment that is disconnected.
The user is after setting up being connected of terminal equipment and the network equipment, the network equipment is configured in the process, if this user is unfamiliar with this operation, in the time of can not finishing configuration, can send the request of assisting to network equipment controller, disconnect being connected of current terminal equipment and the network equipment by network equipment controller, and between the terminal equipment that wait connects or the terminal equipment of viewing and emulating and this network equipment that is disconnected, connect, will the right that this network equipment is configured be shifted.
Preferably, after step S54, also comprise:
Step S55: send relevant information to sending the terminal equipment of assisting request.
This relevant information comprises the configuration information of the terminal equipment transmission in the newly-established connection and the feedback information that the network equipment returns.
When the terminal equipment of send assisting request be disconnected with being connected of the network equipment after, the feedback information that the configuration information that the terminal equipment in the newly-established connection can be sent and the network equipment return sends to the terminal equipment that this is disconnected.Describe in conjunction with specific embodiments.
After terminal equipment m and network equipment A connect, if the user of use terminal equipment m can't finish the configuration to network equipment A, this moment, the user can send the request of assisting to network equipment controller by terminal equipment m, network equipment controller judges whether that other terminal equipment is connected with network equipment A in wait, perhaps whether there are other network equipments that terminal equipment m and being connected of network equipment A formation are being viewed and emulated, if terminal equipment n connects with network equipment A in wait, perhaps terminal equipment m and being connected of network equipment A formation are viewed and emulated, at this moment, being connected between network equipment controller disconnected end equipment m and the network equipment A, set up being connected between terminal equipment n and the network equipment A afterwards, and the feedback information that the configuration information that terminal equipment n is sent and network equipment A return sends to terminal equipment m, and terminal equipment m views and emulates layoutprocedure.
In force, certain station terminal equipment set up with being connected of the network equipment after, may be in no mode of operation for a long time, if initiatively not disconnecting, this terminal equipment do not connect, other-end equipment also can't connect with this network equipment, this can cause very big waste to resource, for fear of the generation of this situation, the invention provides a kind of method that can realize forced interruption.
Referring to Fig. 6, Fig. 6 is a kind of flow chart of realizing the method for forced interruption disclosed by the invention.Comprise:
Step S61: the forced interruption request that receiving terminal apparatus sends.
This forced interruption request comprises the sign of the connection that is required to carry out forced interruption, this sign can be user name, sequence number or the IP address that is required to carry out the terminal equipment in the connection of forced interruption, also can be the port numbers that is required to carry out the network equipment in the connection of forced interruption.
Step S62: whether the priority that judge to send the terminal equipment of forced interruption request is higher than the priority of the terminal equipment in the connection that is required to carry out forced interruption, if execution in step S63 if not, finishes.
Step S63: disconnect connection.
This forced interruption function can be realized by the keeper in the laboratory, the employed terminal equipment of keeper is set have higher priority.When finding certain, the keeper connects long-time when operation of not having, can generate the forced interruption request of the sign that comprises this connection by the terminal equipment at its place, and this forced interruption request is sent to network equipment controller, after network equipment controller receives the forced interruption request, the terminal equipment of judging this forced interruption request of transmission has higher priority, and should connect disconnection this moment.Afterwards, other-end equipment can be set up and being connected of this network equipment, and avoids causing the wasting of resources.
In network equipments configuration method disclosed by the invention, before described serial ports being carried out initialization, also comprise the step of building network structure according to the type of the network equipment that is connected with serial ports, as shown in Figure 7, comprising:
Step S71: receive the structure request that comprises network configuration that the user sends;
Step S72: the topological structure script that obtains network configuration.
Store the topological structure script of multiple network structure in network equipment controller, the topological structure script comprises the command script collection of each network equipment in the described network configuration.
Step S73: send corresponding command script collection to each network equipment.
The network equipment receives after the topological structure script, finishes the modification of topological structure according to this topological structure script.
When keeper or teacher build network configuration before at school, only need send the structure request that includes network configuration yet to be built to network equipment controller, network equipment controller will be named set of scripts to be sent to each network equipment accordingly according to this request and just can finish network configuration and build, compare with existing mode of building network configuration by manual line, can shorten time, and can avoid taking place the situation of wiring error.
In above-mentioned each method, according to the type of the network equipment that is connected with serial ports serial ports is carried out initialized process as shown in Figure 8, comprising:
Step S81: the type of definite network equipment that is connected with serial ports.
Step S82: according to the type of the network equipment, the baud rate of setting up serial ports, data rate and parity check bit.
In addition, if the configuration information that terminal equipment sends comprises destructive data, after network equipment controller is sent to the network equipment with this configuration information, can cause damage to moving the normal network equipment.For fear of destructive data the network equipment is caused damage, after network equipment controller receives configuration information, detect this configuration information.Detailed process comprises as shown in Figure 9:
Step S91: the configuration information that receives the terminal equipment transmission that has connected;
Step S92: judge whether comprise destructive instruction in the configuration information, if comprise destructive instruction, execution in step S93 is not if comprise destructive instruction, execution in step S94.
In network equipment controller, store destructive instruction set, network equipment controller is compared with the instruction set that prestores at every instruction in the configuration information that receives, if this instruction is contained in the instruction set that prestores, think that then this instruction is destructive instruction.
Step S93: delete this configuration information, send information to terminal equipment.
Step S94: configuration information is sent to corresponding network device.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.
Claims (10)
1. network equipments configuration method, it is characterized in that, be used for network equipment controller, described network equipment controller comprises a plurality of serial ports, the serial ports of described network equipment controller is connected with the serial ports of the network equipment by Serial Port Line, described network equipment controller is connected with terminal equipment by Ethernet, and described method comprises:
Type according to the network equipment that is connected with described serial ports is carried out initialization to described serial ports;
Receive the connection request that described terminal equipment sends, described connection request comprises the IP address and the port numbers of waiting to set up the network equipment that is connected of described network equipment controller;
Judge whether the described connection status of waiting to set up the network equipment of connection is empty, when the connection status of the described network equipment of waiting to set up connection when empty, the terminal equipment that will connect with described wait to set up between the network equipment that is connected connect, and the described connection status of waiting to set up the network equipment of connection is set to non-NULL;
Receive the configuration information of the terminal equipment transmission that has connected and be sent to corresponding network device, the feedback information that the network equipment that reception has simultaneously connected returns also is sent to corresponding terminal device.
2. network equipments configuration method according to claim 1 is characterized in that, when the connection status of the described network equipment of waiting to set up connection when empty, send outstanding message to the terminal equipment that will connect.
3. network equipments configuration method according to claim 1, it is characterized in that, when the connection status of the described network equipment of waiting to set up connection when empty, send relevant information to the described terminal equipment that will connect, described relevant information comprises with described waits to set up the feedback information that configuration information that terminal equipment that the network equipment that is connected connects sends and the described network equipment of waiting to set up connection return.
4. network equipments configuration method according to claim 1, it is characterized in that, when the connection status of the described network equipment of waiting to set up connection when empty, send the information of viewing and emulating to the described terminal equipment that will connect, and receive the reply message that the described terminal equipment that will connect returns at the described information of viewing and emulating, when described reply message is viewed and emulated information for agreement, send relevant information to the described terminal equipment that will connect, when described reply message is viewed and emulated information for refusal, send outstanding message to the described terminal equipment that will connect, described relevant information comprises with described waits to set up the configuration information that terminal equipment that the network equipment that is connected connects sends, and the feedback information that returns of the described network equipment of waiting to set up connection.
5. network equipments configuration method according to claim 1, it is characterized in that, described the terminal equipment that will connect with described wait to set up between the network equipment that is connected connect, and the described connection status of waiting to set up the network equipment of connection is set to also comprise after the step of non-NULL:
The request of viewing and emulating that receiving terminal apparatus sends, describedly view and emulate request and comprise the IP address of described network equipment controller and the sign that is connected to be viewed and emulated, the port numbers of the network equipment in described user name that is designated the terminal equipment in the connection described to be viewed and emulated or the connection described to be viewed and emulated;
Terminal equipment from request to transmission that view and emulate sends relevant information, and described relevant information comprises the feedback information that the network equipment in configuration information that the terminal equipment in the connection described to be viewed and emulated sends and the connection described to be viewed and emulated returns.
6. network equipments configuration method according to claim 1, it is characterized in that, described the terminal equipment that will connect with described wait to set up between the network equipment that is connected connect, and the described connection status of waiting to set up the network equipment of connection is set to also comprise after the step of non-NULL:
Receive the assistance request of the terminal equipment transmission that has connected;
Judge whether that terminal equipment viewing and emulating current connection of having set up, perhaps whether have terminal equipment wait for current being connected of having set up in the network equipment connect;
As terminal equipment current connection of having set up being is is being viewed and emulated, perhaps have terminal equipment wait for current being connected of having set up in the network equipment when connecting, disconnect to send assist the terminal equipment of request and being connected of the network equipment, and connect viewing and emulating or wait between terminal equipment that connects and the network equipment that is disconnected.
7. network equipments configuration method according to claim 6 is characterized in that, also comprises:
Assist the terminal equipment of request to send relevant information to described transmission, described relevant information comprises the configuration information of the terminal equipment transmission in the newly-established connection and the feedback information that the network equipment returns.
8. network equipments configuration method according to claim 1, it is characterized in that, described the terminal equipment that will connect with described wait to set up between the network equipment that is connected connect, and the described connection status of waiting to set up the network equipment of connection is set to further comprise after the step of non-NULL:
The forced interruption request that receiving terminal apparatus sends, described forced interruption request comprise the sign of the connection that is required to carry out forced interruption;
When the priority of the terminal equipment that sends the forced interruption request is higher than the priority of the terminal equipment in the connection that is required to carry out forced interruption, disconnect described connection.
9. network equipments configuration method according to claim 1 is characterized in that, before according to the type of the network equipment that is connected with described serial ports described serial ports being carried out initialization, also comprises the step of building network structure, is specially:
Receive the structure request that comprises network configuration that the user sends;
Obtain the topological structure script of described network configuration, described topological structure script comprises the command script collection of each network equipment in the described network configuration;
Send corresponding command script collection to described each network equipment.
10. network equipments configuration method according to claim 1 is characterized in that, receives the configuration information of the terminal equipment transmission that has connected and be sent to corresponding network device to be specially:
Receive the configuration information of the terminal equipment transmission that has connected;
Judge whether comprise destructive instruction in the described configuration information,, then described configuration information is sent to corresponding network device, if comprise destructive instruction, then delete this configuration information, and send information to described terminal equipment if do not comprise destructive instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110175225.7A CN102195821B (en) | 2011-06-27 | 2011-06-27 | Method for configuring network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110175225.7A CN102195821B (en) | 2011-06-27 | 2011-06-27 | Method for configuring network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102195821A true CN102195821A (en) | 2011-09-21 |
CN102195821B CN102195821B (en) | 2014-07-02 |
Family
ID=44603243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110175225.7A Expired - Fee Related CN102195821B (en) | 2011-06-27 | 2011-06-27 | Method for configuring network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102195821B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532738A (en) * | 2013-09-26 | 2014-01-22 | 福建星网锐捷网络有限公司 | Port connection relationship determination method and device |
CN110266788A (en) * | 2019-06-14 | 2019-09-20 | 中国人民解放军陆军工程大学 | Method for automatically configuring network parameters of equipment |
CN110944063A (en) * | 2019-12-10 | 2020-03-31 | 航天新长征大道科技有限公司 | Programmable logic control device connection method, control system and readable medium |
CN114095943A (en) * | 2021-11-02 | 2022-02-25 | 北京天融信网络安全技术有限公司 | A method of deploying a network device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445767A (en) * | 2016-10-11 | 2017-02-22 | 郑州云海信息技术有限公司 | Method for setting IP and time of RAID type IO in memory |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6389464B1 (en) * | 1997-06-27 | 2002-05-14 | Cornet Technology, Inc. | Device management system for managing standards-compliant and non-compliant network elements using standard management protocols and a universal site server which is configurable from remote locations via internet browser technology |
CN1645328A (en) * | 2001-09-20 | 2005-07-27 | 松下电器产业株式会社 | Compiling device and method |
CN1945542A (en) * | 2006-11-01 | 2007-04-11 | 北京中星微电子有限公司 | Embedded software developing method and system |
CN101621440A (en) * | 2009-05-22 | 2010-01-06 | 浙江天正电气股份有限公司 | Remote multi-path serial port communication mapping system |
CN101924655A (en) * | 2010-08-23 | 2010-12-22 | 中兴通讯股份有限公司 | A method and device supporting multi-serial port terminal login |
-
2011
- 2011-06-27 CN CN201110175225.7A patent/CN102195821B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6389464B1 (en) * | 1997-06-27 | 2002-05-14 | Cornet Technology, Inc. | Device management system for managing standards-compliant and non-compliant network elements using standard management protocols and a universal site server which is configurable from remote locations via internet browser technology |
CN1645328A (en) * | 2001-09-20 | 2005-07-27 | 松下电器产业株式会社 | Compiling device and method |
CN1945542A (en) * | 2006-11-01 | 2007-04-11 | 北京中星微电子有限公司 | Embedded software developing method and system |
CN101621440A (en) * | 2009-05-22 | 2010-01-06 | 浙江天正电气股份有限公司 | Remote multi-path serial port communication mapping system |
CN101924655A (en) * | 2010-08-23 | 2010-12-22 | 中兴通讯股份有限公司 | A method and device supporting multi-serial port terminal login |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532738A (en) * | 2013-09-26 | 2014-01-22 | 福建星网锐捷网络有限公司 | Port connection relationship determination method and device |
CN110266788A (en) * | 2019-06-14 | 2019-09-20 | 中国人民解放军陆军工程大学 | Method for automatically configuring network parameters of equipment |
CN110944063A (en) * | 2019-12-10 | 2020-03-31 | 航天新长征大道科技有限公司 | Programmable logic control device connection method, control system and readable medium |
CN110944063B (en) * | 2019-12-10 | 2021-11-30 | 航天新长征大道科技有限公司 | Programmable logic control device connection method, control system and readable medium |
CN114095943A (en) * | 2021-11-02 | 2022-02-25 | 北京天融信网络安全技术有限公司 | A method of deploying a network device |
Also Published As
Publication number | Publication date |
---|---|
CN102195821B (en) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102195821B (en) | Method for configuring network equipment | |
CN102273147A (en) | Self-configuring asymmetric communication link | |
KR20150103313A (en) | Wireless docking | |
CN102185718A (en) | System upgrading method and device | |
CN102710612B (en) | Realize method and the device of interactive communication application in many ways | |
CN102065152A (en) | Joined screen system and communication device thereof | |
CN103338210A (en) | AP (Access Point) emulation analog system based on CAPWAP (Control and Provisioning of Wireless Access Points) protocol | |
EP3493611B1 (en) | Method and system for organising mesh network | |
CN101159587A (en) | Method and system of remote exchange deployment | |
CN102098467B (en) | Method and device for realizing bilateral control of television terminal | |
CN206498408U (en) | For the net mate device in the networks of bus-type FC AE 1553 | |
CN106209423B (en) | Virtual desktop distribution method and device | |
CN108712293B (en) | Single board management method and network equipment | |
CN105101061A (en) | Bluetooth communication realization method by means of AT command | |
CN104426715A (en) | Distributed testing tool control method | |
CN103023940A (en) | Method and device for transmitting data between PC (Personal Computer) and mobile terminal | |
US7454513B2 (en) | Interface link layer device for long delay connections | |
CN105282629A (en) | Control method and device of silicon optical cross connection | |
CN112217680A (en) | Controller capability benchmark test method and device based on software-defined wide area network | |
CN113300871A (en) | Networking method and device of simulation network | |
CN114942853A (en) | Data processing system | |
CN110213748A (en) | Data transmission method, device, terminal and system | |
CN104955170A (en) | Method for improving experience of Wi-Fi (Wireless Fidelity) intelligent sound box | |
CN102215135A (en) | Network management traversal method and traversal system for IP voice access equipment | |
CN101334944A (en) | Experiment integrated management system, routing apparatus, experiment management control system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Method for configuring network equipment Effective date of registration: 20160218 Granted publication date: 20140702 Pledgee: Bank of Communications Ltd Jilin branch Pledgor: Zhongruan Jida Information Technology Co., Ltd., Jilin Registration number: 2016220000001 |
|
PLDC | Enforcement, change and cancellation of contracts on pledge of patent right or utility model | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140702 Termination date: 20180627 |