CN108259203A - The update method and the network equipment of the network equipment - Google Patents

The update method and the network equipment of the network equipment Download PDF

Info

Publication number
CN108259203A
CN108259203A CN201611248089.9A CN201611248089A CN108259203A CN 108259203 A CN108259203 A CN 108259203A CN 201611248089 A CN201611248089 A CN 201611248089A CN 108259203 A CN108259203 A CN 108259203A
Authority
CN
China
Prior art keywords
lpu
mpu
network equipment
new version
equipment
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.)
Pending
Application number
CN201611248089.9A
Other languages
Chinese (zh)
Inventor
鞠文彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611248089.9A priority Critical patent/CN108259203A/en
Priority to PCT/CN2017/109371 priority patent/WO2018121067A1/en
Publication of CN108259203A publication Critical patent/CN108259203A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions

Abstract

This application discloses the update methods and the network equipment of a kind of network equipment, belong to communication network field.This method includes:First MPU obtains complete machine new version software;First MPU notifies the 2nd MPU to install the new version software of the 2nd MPU;First MPU and the 2nd MPU are updated the software of each LPU at least two LPU, in the software for updating the first LPU, other LPU forwarding data in addition to the first LPU;The updated each LPU forwardings data of 2nd MPU controls.The present invention is when the first LPU updates, other LPU forwardings data in the first MPU control network equipments, the network equipment is allowd to forward data, when solving more new network device in the relevant technologies, the problem of data forwarding capability of communication network is relatively low in update with part LPU.When improving more new network device, the data forwarding capability of communication network.

Description

The update method and the network equipment of the network equipment
Technical field
The present invention relates to communication network field, the update method and the network equipment of more particularly to a kind of network equipment.
Background technology
The network equipment usually operation in communication network has the software for being capable of providing different business processing function.When needs make It, can be in the network equipment when network equipment offer is more multi-functional or the existing capability on the network equipment is optimized Software be updated.
At present, during the software of the network equipment in more new communications network, it is soft new version can be uploaded to the network equipment Part (new version software is used to replace currently running software in the network equipment), then resets and restarts the network equipment, at this time The connection that the network equipment is established with other equipment will disconnect, and after other equipment perceives the disconnection of connection, can pass through others Connection carrys out transmission data.Wherein, the network equipment refers to deployment in a network and has the function of the equipment of data forwarding.It is exemplary , in communication network as shown in Figure 1, including device A to F, wherein network equipment A and network equipment B respectively with equipment C to F Connection, and the data that network equipment A and network equipment B can be in forwarding unit C to F between any two equipment.Wherein, if Standby C to F can be the network equipment or host.It, first can be by connecting with network equipment A in more new network device A Equipment uploads new version software to network equipment A, then restarts network equipment A.When restarting network equipment A, network equipment A with Connection between equipment C, D, E, F will disconnect.Equipment C, D, E, F are perceived after connection between network equipment A disconnects, can be with Data are forwarded by the connection between network equipment B.Network equipment A can run new version software after the completion of restarting, then The routing of network equipment A forwardings data notification equipment C, D, E, F network equipment A, and establish respectively again with equipment C, D, E, F it Between connection, later by network equipment A and network equipment B forward jointly data for equipment C to F forward data.
In the network equipment during disconnect with being connected to and re-establish the connection with other equipment of other equipment, this is logical Other equipment can not forward data by the network equipment in communication network, and the data forwarding capability of communication network is relatively low.
Invention content
During in order to solve the software of more new network device in the prior art, the data forwarding capability of communication network is relatively low to ask Topic, an embodiment of the present invention provides the update methods and the network equipment of a kind of network equipment.The technical solution is as follows:
It is according to embodiments of the present invention in a first aspect, provide a kind of update method of the network equipment, set applied to network Standby, which can include:First Main Processor Unit (English:main process unit;Referred to as:MPU), the 2nd MPU With at least two Line Processing Units (English:line process unit;Referred to as:LPU).Wherein Line Processing Unit is also known as For line card (English:line card).
In this method, the first MPU obtains complete machine new version software in the network equipment, and complete machine new version software can include The second new version software of each LPU at least two LPU in the first new version software and the network equipment of 2nd MPU.
After obtaining complete machine new version software, the first MPU can notify that the new version that the 2nd MPU installs the 2nd MPU is soft Part.The first MPU and the 2nd MPU can be according to the second new version software of LPU each at least two LPU at least two later The software of each LPU in LPU is updated, and in the software of the first LPU in updating at least two LPU, the first MPU Control other LPU forwarding data in the network equipment in addition to the first LPU, in this way when the first LPU updates, its in the network equipment His LPU can also forward data.Wherein, the first LPU can include at least one of at least two LPU LPU.
After the software upgrading of each LPU, updated each LPU can be controlled to forward data by the 2nd MPU.
The update method of the network equipment provided in an embodiment of the present invention, can be when some LPU updates, by the network equipment Other LPU forwarding data in addition to the LPU so that the network equipment can forward data in update by part LPU, improve more During new network device, the data forwarding capability of communication network.
Optionally, the first MPU and the 2nd MPU are updated the software of each LPU at least two LPU, including:
When running a LPU with the second new version software of the first LPU, the first MPU can cancel the data of the first LPU Forwarding capability.This is because the first LPU can be resetted before running the first LPU with the second new version software of the first LPU, and First LPU will disconnect the connection between other LPU and equipment after resetting, before other equipment and LPU perceive the disconnection of connection, May can also be to the first LPU transmission datas, the data sent at this time will lose, and generate packet loss, therefore updating each LPU When, the data forwarding function of the LPU can be cancelled first.The first MPU can reset the first LPU later, and with the of the first LPU Two new version softwares run the first LPU, and then the first MPU and the 2nd MPU can restore the data forwarding function of the first LPU.It is extensive As soon as after the data forwarding function of multiple LPU, the first LPU can start to forward data.
The update method of the network equipment provided in an embodiment of the present invention, with the second new version software run each LPU it Before, cancel the data forwarding function of each LPU, and after each LPU is run with respective second new version software, then restore every The data forwarding function of a LPU so that for each LPU when being updated, the network equipment will not generate the situation of packet loss, improve The stability of the network equipment.
Optionally, the first MPU cancels the data forwarding function of the first LPU, including:
First MPU, can be to each equipment (first of the first LPU connections in the data forwarding function of cancelling the first LPU Each equipment of LPU connections can refer to the equipment there are link with the first LPU) the first priority notification is sent, this is first excellent The routing priority of the first LPU of first grade notice instruction is less than default value, after the routing priority of the first LPU is less than default value, Each equipment of first LPU connections can select other available device forwards data.This step is for the first LPU of cancellation first Data forwarding function in each equipment of LPU connections.
When first MPU cancels the data forwarding function of the first LPU, other LPU can also be controlled to update forwarding table, thus The connection being disconnected between other LPU in the network equipment and the first LPU.This step sets for cancelling the first LPU in present networks Data forwarding function in standby (network equipment where the first LPU).
The update method of the network equipment provided in an embodiment of the present invention eliminates the first LPU in the first LPU connections respectively The data forwarding function of data forwarding function and the first LPU in present networks equipment in each equipment, avoids other and sets The packet loss that data are sent to the first LPU and generated by standby or other LPU.
Optionally, the first MPU cancels the data forwarding function of the first LPU, including:
In the mode of another data forwarding function of cancelling the first LPU, the first MPU can notify the first LPU connections Each equipment, disconnect and the first LPU between connection, each equipment of such first LPU connections similarly will not be to first LPU transmission datas.
First MPU can also control other LPU to update forwarding table, to disconnect the connection between other LPU and the first LPU.
The update method of the network equipment provided in an embodiment of the present invention eliminates the first LPU in the first LPU connections respectively The data forwarding function of data forwarding function and the first LPU in present networks equipment in each equipment, avoids other and sets The packet loss that data are sent to the first LPU and generated by standby or other LPU.
Optionally, the first MPU and the 2nd MPU restores the data forwarding function of the first LPU, including:
In the data forwarding function of restoring the first LPU, the 2nd MPU can issue routing table to the first LPU, make first LPU can be to each device forwards data of the first LPU connections.
First MPU can control other LPU in the network equipment in addition to the first LPU to update forwarding table.Other LPU later In any LPU connection between any LPU and the first LPU can be established according to the forwarding table of any LPU, which uses In data forwarding functions of the first LPU of recovery in other LPU of the network equipment.
The update method of the network equipment provided in an embodiment of the present invention has restored numbers of the first LPU in present networks equipment According to forwarding capability so that the first LPU with the second new version software of the first LPU run after, the network equipment can restore its Data forwarding function in communication network improves the data forwarding capability of the network equipment.
Optionally, before the 2nd MPU issues routing table to the first LPU, this method further includes:
2nd MPU can send the second priority notification, second priority notification to each equipment of the first LPU connections Indicate that the routing priority of the first LPU is less than default value.When the routing priority of the first LPU is less than default value, the network equipment In other LPU preferentially data can be forwarded by the LPU in addition to the first LPU.
The update method of the network equipment provided in an embodiment of the present invention, using the first LPU as spare LPU, in present networks When equipment is without other available LPU, prolonged packet loss and data outage can be reduced using LPU.
Optionally, the 2nd MPU controls the first LPU after each equipment of the first LPU connections issues routing table, this method It further includes:
The 2nd MPU in the network equipment sends third priority notice to each equipment of the first LPU connections, and the third is excellent The routing priority of the first LPU of first grade notice instruction is default value.The routing priority of first LPU is the first LPU after default value Each equipment of connection will update respective forwarding table, as soon as the connection with LPU is re-established, the first LPU and other LPU The data that present networks equipment can be sent to other equipment jointly are forwarded.
The update method of the network equipment provided in an embodiment of the present invention, by the first LPU the first LPU connections each equipment In routing priority use as default, enable the first LPU and other LPU together to issue the data of present networks equipment into Row forwarding improves the data forwarding capability of present networks equipment.
Optionally, the first MPU controls other LPU to update forwarding table, including:
The routing iinformation of first LPU can be sent to the first MPU by the 2nd MPU, and the first MPU can be according to first later The routing iinformation of LPU controls other LPU to update forwarding table.Wherein the routing iinformation of the first LPU is the first LPU the 2nd MPU's Control finishes classes and leave school what acquistion was arrived.
In the update method of the network equipment provided in an embodiment of the present invention, the 2nd MPU sends the routing iinformation of the first LPU To the first MPU so that the first MPU can add the connection between the first LPU when controlling other LPU update forwarding tables.
Optionally, complete machine new version software further includes the third new version software of the first MPU.
After the updated each LPU forwardings data of 2nd MPU controls, this method further includes:
After each LPU in network equipment completes software upgrading, the first MPU can be soft with the third new version of the first MPU Part is run, and the first MPU can obtain the business configuration and state of the 2nd MPU later.First MPU is in the industry for obtaining the 2nd MPU After business configuration and state, the 2nd MPU can be replaced when something goes wrong in the 2nd MPU as the spare MPU of the 2nd MPU.
Second aspect according to embodiments of the present invention provides a kind of network equipment, the network equipment include the first MPU, 2nd MPU and at least two LPU, the first MPU, the 2nd MPU and at least two LPU are used to implement above-mentioned first aspect or first The update method of the network equipment that the possible realization method of any one in aspect is provided.
In the embodiment of the present invention, individually update each LPU, when some LPU updates, by the network equipment in addition to the LPU Other LPU forwarding data so that the network equipment can update when by part LPU forward data, solve in the relevant technologies During more new network device, the problem of data forwarding capability of communication network is relatively low.When improving more new network device, communication network Data forwarding capability.
Description of the drawings
Fig. 1 is the schematic diagram of the implementation environment of the update method of the network equipment that each embodiment of the present invention provides;
Fig. 2-1 is the structural representation of the network equipment of the update method application of the network equipment provided in an embodiment of the present invention Figure;
Fig. 2-2 is the structure diagram of any MPU in the network equipment shown in Fig. 2-1;
Fig. 2-3 is the structure diagram of any LPU in the network equipment shown in Fig. 2-1;
Fig. 3-1 is a kind of flow chart of the update method of network equipment shown in the embodiment of the present invention;
Fig. 3-2 is the flow chart that LPU updates forwarding table in Fig. 3-1 illustrated embodiments.
Specific embodiment
In order to make the purpose, technical scheme and advantage of the application clearer, the application is made below in conjunction with attached drawing into It is described in detail to one step, it is clear that described embodiment is only the implementation of the application some embodiments rather than whole Example.
The implementation environment of the update method of the network equipment that each embodiment of the present invention provides can be as shown in Figure 1 leads to Communication network, the communication network include the network equipment A, B and equipment C, D, E, F, wherein, equipment C, D, E, F and the network equipment A, B Between can apply have multichannel of equal value (English:equal-cost multiple-path;Referred to as:ECMP) technology, you can to deposit Same destination address is reached in a plurality of different links.The communication network can be a column (English:Chimney) network or big Double layer network (English:large layer 2network).
Fig. 2-1 is the structural representation of the network equipment of the update method application of the network equipment provided in an embodiment of the present invention Figure, the network equipment 20 can include:(Fig. 2-1 is illustrated that of LPU by first MPU21, the 2nd MPU22, at least two LPU Number for 4 situation), power supply (English:Power) 23, backboard (or network board) 24, the first MPU21 is responsible for whole network and sets Standby management and control, the 2nd MPU22 are the backups of the first MPU, the 2nd MPU22 take over whole networks when the first MPU fails The management and control of equipment.LPU1, LPU2, LPU3 and LPU4 provide all kinds of interfaces, are responsible for the flow of forwarding user equipment.The use Family equipment can be equipment C, D, E, F in Fig. 1.Equipment C, D, E, F can be the network equipment or host.Backboard 24 is used to connect Meet multiple MPU and multiple LPU.Power supply 23 is responsible for powering to whole network equipment.In Fig. 2-1, LPU1 is connect with equipment C, D, LPU2 is connect with equipment C, D, and LPU3 is connect with equipment E, F, and LPU4 is connect with equipment E, F.LPU in the network equipment 20 and other Equipment can also be other connection modes, and the embodiment of the present invention does not restrict.In addition, equipment C, D, E and F are used to illustrate network The connection relation of equipment and other equipment can not be included in the network equipment 20.
The network equipment can be frame type equipment, which can apply in convergence-level (English:aggregation Layer), core layer (English:Core layer) and wide area network (English:wide area network;Referred to as:WAN it) exports Layer.
The first MPU21 in the network equipment, for perform the step 301 in following embodiments, 302,303,305, 306th, 310,315 and 316.
The 2nd MPU22 in the network equipment, for performing step 307,309,312 and 314 in following embodiments.
At least two LPU are used to perform the step 311 in following embodiments in the network equipment.
It is the structure diagram of any MPU in the network equipment shown in Fig. 2-1 as shown in Fig. 2-2, which includes: Processor 211, memory 212, flash memory 213, exchange chip 214, first interface 215, second interface 216 and serial ports 217.Processor 211 establish with memory 212, flash memory 213, exchange chip 214, second interface 216 and serial ports 217 and connect, exchange chip 214 It is connect with the foundation of first interface 215.First interface 215 and second interface 216 can be Ethernet interface.Wherein, memory 212 Can be random access memory (English:random access memory;Referred to as:RAM).
Processor 22 is by running program, so as to perform various functions application and data processing.Flash memory 213 is used to preserve The program and the parameter of static configuration that processor 211 is run, the code that memory 212 is used to preserve 211 real time execution of processor (should Code is program segment preserving in flash memory 213) and data, first interface 215 is used for and the LPU in the network equipment (can be and the processor in LPU) connect, and exchange chip 214 is used to information being sent to each LPU by first interface 215. Serial ports 217 is local interface, and direct-connected equipment can be by 217 configuration order row of serial ports, second interface 216 with serial ports 217 Network interface can be used for program file and download, connect webmaster, equipment management or by network configuration command row.
As Figure 2-3, the structure diagram for any LPU in the network equipment shown in Fig. 2-1, the LPU include:Processor 261st, the first memory 262, flash memory 263, exchange chip 264, first interface 265 and second interface 266.Processor 261 and memory 262nd, flash memory 263, exchange chip 264 and first interface 265, which are established, connection, and exchange chip 264 connects with second interface 266 It connects.In addition, exchange chip 264 can also be connected with the second memory 267 for storing the message content forwarded.First memory 262 and second memory 267 can be located at same physical storage, or positioned at different physical storages, the physics Memory can be RAM.
Processor 261 is by running program, and so as to perform various functions application and data processing, flash memory 263 is used to protect The program of the operation of processor 261 and the parameter of static configuration are deposited, the first memory 262 is used to preserve 261 real time execution of processor Code (code is program segment preserving in flash memory 263) and data, first interface 265 be used for in the network equipment MPU connections, second interface 266 is used to connect with external miscellaneous equipment, and exchange chip 264 is for passing through second interface 266 The transmission of data is carried out with external miscellaneous equipment.Second memory 267 is used to cache the data that exchange chip is received or to be sent.
Fig. 3-1 is a kind of flow chart of the update method of network equipment shown in the embodiment of the present invention, and the present embodiment is with this The update method of the network equipment is applied to illustrating in the network equipment shown in Fig. 2-1.The update method of the network equipment It can include the following steps:
The first MPU in step 301, the network equipment obtains complete machine new version software.
In the update method of the network equipment provided in an embodiment of the present invention, the first MPU in the network equipment first can be with The complete machine for obtaining the second new version software of each LPU in the first new version software and at least two LPU that include the 2nd MPU is new Version software, the complete machine new version software can be the system software of complete machine.Complete machine new version software can also include the first MPU Third new version software, in order to be subsequently updated to the software of the first MPU, the third new version software of the first MPU and The first new version software of 2nd MPU can be identical, and at least two LPU, the second new version software of any two LPU can be with It is identical, it can not also be identical.
In addition, the first LPU can include at least one of network equipment LPU, i.e., method provided in an embodiment of the present invention Multiple LPU in the network equipment can be updated every time.
It, can be by the MPU as shown in Fig. 2-2 when the first MPU in the network equipment obtains the new version software of complete machine Second interface 216 be connected to File Transfer Protocol (English:File Transfer Protocol;Referred to as:FTP) server comes It obtains, ftp server can also be connected to by second interface 266 in LPU as Figure 2-3 to obtain, later again by this LPU is transferred to the first MPU.
In addition it is also possible to by uploading to the complete machine new version software in the first MPU come in the hardware of more new network device Logic, such as edit field programmable gate array (English:Field-Programmable Gate Array;Referred to as:FPGA).
The first MPU in step 302, the network equipment notifies the 2nd MPU to install the first new version software of the 2nd MPU.
For the network equipment before LPU is updated, the first MPU for currently controlling each LPU can notify the 2nd MPU to install second The first new version software of MPU.After 2nd MPU is notified, it can be run with the first new version software of the 2nd MPU.Second MPU runs the first new version software of the 2nd MPU after can resetting and restarting.
2nd MPU can back up the business configuration and state of the first MPU after the first new version software is run, To be used during subsequent control LPU.Wherein, the business configuration of the first MPU is artificial or the static information issued of webmastering software, After two MPU are restarted next time, which can also continue to come into force in the 2nd MPU.The business configuration can be including port No closing, virtual LAN (English:virtual local area network;Referred to as:VLAN division), Virtual Private Network Network (English:virtual private network;Referred to as:VPN configuration) etc..And the state of the first MPU is dynamic, real When it is newer, and the state can include the state of port, the routing iinformation etc. received from periphery neighbor device.
The first MPU in step 303, the network equipment sends the first priority notification to each equipment of the first LPU connections.
First MPU of the network equipment is with Routing Protocol (English:Routing protocol) publication routing mode to the Each equipment of one LPU connections sends the first priority notification, which can indicate that the routing of the first LPU is excellent First grade is less than default value, and each equipment of the first LPU connections can be according to the instruction by the excellent of the forward-path between the first LPU First grade is set below default value.This step for guide the first LPU connections each equipment the first LPU update software when to Other paths forward data.
Illustratively, in the network equipment shown in Fig. 2-1, the first LPU is LPU1, then the first MPU can connect to LPU1 The network equipment C and D connect sends the first priority notification.
Optionally, this step can also be:The first MPU in the network equipment notifies each equipment of the first LPU connections to break Open the connection between the first LPU.Each equipment of the first LPU connections can be also avoided in this way when the first LPU updates software To the first LPU transmission datas.
Step 304, each equipment of the first LPU connections update forward-path.
Each equipment of first LPU connections can update forward-path according to the first priority notification that the first LPU is sent, i.e., Update forwarding table.After each equipment update forward-path of first LPU connections, it can select to connect the path of other LPU to forward Data.This is because in communication network, when there is the mulitpath for reaching same destination address, the network equipment can be according to routing The size of priority, the selection wherein big forward-path of routing priority, and the routing priority of the first LPU is made to be less than default value Afterwards, each equipment of the first LPU connections will select other higher LPU of routing priority to forward data.Illustratively, exist In the network equipment shown in Fig. 2-1, the first LPU is LPU1, then the equipment C and D of LPU1 connections can update forward-path, and by number It is forwarded according to by LPU2 (routing priority of LPU2 is default value).
In addition, when the first MPU notifies each equipment of the first LPU connections to disconnect the connection between the first LPU, first Each equipment of LPU connections can also update forward-path, and remove the forward-path for including the first LPU.
The first MPU in step 305, the network equipment controls other LPU to update forwarding table, to disconnect other LPU and first Connection between LPU.
In the network equipment at this time, in addition to other LPU of the first LPU are controlled by the first MPU, thus the first MPU can Other LPU to be controlled to update forwarding table, to disconnect the connection between other LPU and the first LPU.Other LPU can be avoided in this way When LPU is updated packet loss is caused to the first LPU transmission datas.First MPU can be issued to other LPU in addition to the first LPU Forwarding table (can serve to indicate that other LPU disconnect the connection with the first LPU in the forwarding table) is come the forwarding that updates other LPU Table.Illustratively, in the network equipment shown in Fig. 2-1, the first LPU is LPU1, the first MPU can to LPU2, LPU3 and LPU4 issue forwarding table (being used to indicate LPU2, LPU3 and LPU4 in the forwarding table to disconnect and the connection of LPU1) with update LPU2, The forwarding table of LPU3 and LPU4, such LPU2, LPU3 and LPU4 just will disconnect the connection between LPU1.
The first MPU in step 306, the network equipment resets the first LPU, and is transported with the second new version software of the first LPU The first LPU of row.
After the data forwarding function of eliminating the first LPU in step 303 and step 304, the first MPU in the network equipment can To reset the first LPU, and the second new version software of the first LPU is sent to the first LPU, then the second new edition with the first LPU The first LPU of this running software.First MPU is notified that second after the first LPU is run with the second new version software of the first LPU MPU controls the first LPU, and the 2nd MPU is transferred to control the first LPU.
Illustratively, in the network equipment shown in Fig. 2-1, the first LPU is LPU1, and the LPU1 is as Figure 2-3 LPU, the first MPU is MPU as shown in Fig. 2-2, and the first MPU can reset LPU1, by first interface 215 by the first LPU's Second new version software is transferred to the first interface 265 of LPU1, and runs LPU1, Zhi Hou with the second new version software of LPU1 One MPU notifies the 2nd MPU to control LPU1.
The 2nd MPU in step 307, the network equipment sends the second priority notification to each equipment of the first LPU connections.
The 2nd MPU in the network equipment can be set in a manner that Routing Protocol issues routing to each of the first LPU connections Preparation send the second priority notification, which indicates that the routing priority of the first LPU is less than default value.This be by The connection between equipment connected to it is just will disconnect after the reset in the first LPU, and in the first LPU with the second of the first LPU When new version software reruns, the 2nd MPU can reset each equipment connected before to the first LPU and send the second priority Notice, to inform that the first LPU resets each equipment connected before, the first LPU can forward data in other no LPU LPU spare Shi Zuowei is avoided that the network equipment generates prolonged packet loss or interruption in this way.Illustratively, shown in Fig. 2-1 The network equipment in, the first LPU be LPU1, the 2nd MPU22 can to equipment C and D send the second priority notification.
Step 308, each equipment of the first LPU connections send routing notice to the first LPU.
After being run with the second new version software of the 2nd LPU, the external port of the first LPU can connect first LPU again Logical (English:Link up), each equipment that the first LPU resets connect before is it finds that the emerging end of this in network settings Mouthful, and routing notice is sent to the emerging port, routing notice is used to indicate the first LPU, is built with the first LPU Vertical connection.Illustratively, in the network equipment shown in Fig. 2-1, the first LPU is LPU1, and equipment C and D is perceiving LPU1 After external port recloses, it can issue and route to LPU1, be connect with showing that equipment C and D are established with LPU1.
Step 308 can also perform before step 307, can also be performed simultaneously with step 307, and the embodiment of the present invention is not It restricts.
The 2nd MPU in step 309, the network equipment issues routing table to the first LPU.
For first LPU after being run with its second new version software, the 2nd MPU can carry out router-level topology, compare and go to phase With the expense of destination, then generate routing table, which can be handed down to the first LPU later, enable the first LPU to Each device forwards data that first LPU resets connect before.Illustratively, in the network equipment shown in Fig. 2-1, first LPU is LPU1, and the 2nd MPU22 can issue routing table after router-level topology is completed to LPU1, if such LPU1 receives hair Toward after the data of equipment C and D, can be forwarded to equipment C and D.
The first MPU in step 310, the network equipment controls other LPU to update forwarding table.
Other LPU in the network equipment are still to be controlled by the first MPU at this time, and the first MPU in the network equipment can be controlled Make other LPU update forwarding tables.
As shown in figure 3-2, this step can include following two sub-step:
The routing iinformation of first LPU is sent to the first MPU by the 2nd MPU in sub-step 3101, the network equipment.
2nd MPU first can be sent the routing iinformation of the first LPU by the backboard (or network board) in the network equipment To the first MPU, which can include the routing iinformation that the first LPU learns at the network equipment C and D.
The first MPU in sub-step 3102, the network equipment controls other LPU updates to turn according to the routing iinformation of the first LPU It delivers.
First MPU can control other LPU into the network equipment according to the routing iinformation of two MPU the first LPU sent Forwarding table is issued to update other LPU forwarding tables, these updated forwarding tables of other LPU include the forwarding of the first LPU Path.
It is any that any LPU in step 311, the network equipment in other LPU according to the forwarding table of any LPU establishes this Connection between LPU and the first LPU.
In the network equipment, any LPU in addition to the first LPU can establish any LPU according to updated forwarding table With the connection between the first LPU.
At the end of step 311, data can be sent to the first LPU by other LPU in the network equipment, by the first LPU into Row forwarding.
The 2nd MPU in step 312, the network equipment sends third priority notice to each equipment of the first LPU connections.
After step 311, the first LPU has had been provided with the ability of data forwarding, and the 2nd MPU can be assisted with routeing at this time The mode of view publication routing sends third priority notice to each equipment of the first LPU connections, and third priority notice refers to The routing priority for showing the first LPU is default value.
Step 313, each equipment of the first LPU connections update forwarding table.
Each equipment of first LPU connections can recalculate routing, and update certainly after third priority notice is received The forwarding table of body, after forwarding table is updated, the first LPU can participate in the number of each equipment of the first LPU connections again again According in forwarding.Illustratively, in the network equipment shown in Fig. 2-1, the first LPU is LPU1, and the equipment C and D of LPU1 connections exist Before updating forwarding table, when equipment C and D have data to be sent to equipment E and equipment F, it can only be forwarded by LPU2, and in equipment After C and D update forwarding tables, LPU1 and LPU2 can form ECMP paths, and such LPU1 and LPU2 can be forwarded jointly to be set The data of standby C and D.
Step 314, after the software upgrading of each LPU, the updated each LPU forwarding data of the 2nd MPU controls.
Complete the first LPU software upgrading after, run have the first new version software the 2nd MPU can control update after Each LPU forwarding data.
The first MPU and the 2nd MPU in the network equipment can be completed by step 303 to step 313 in the network equipment The software upgrading of each LPU.Illustratively, in the network equipment shown in Fig. 2-1, can lead to first using LPU1 as the first LPU Cross step 303 to step 313 and complete update to LPU1, and by the 2nd MPU control LPU1 forwarding data, then using LPU2 as First LPU completes the update to LPU2, then turned together by the 2nd MPU controls LPU2 and LPU1 by step 303 to step 313 Data are sent out, complete the software upgrading to LPU1-LPU4 by this method.
The first MPU in step 315, the network equipment is run with the third new version software of the first MPU.
The LPU in the network equipment is controlled by the 2nd MPU at this time, and the first MPU in the network equipment can be resetted and be restarted It is run afterwards with the third new version software of the first MPU.
The first MPU in step 316, the network equipment obtains the business configuration and state of the 2nd MPU.
The business configuration and state can refer to the narration in step 302.First MPU obtains the business configuration of the 2nd MPU After state, in the 2nd MPU failures, each LPU can be carried out with taking over the 2nd MPU as the spare MPU of the 2nd MPU Control.
In conclusion the update method of the network equipment provided in an embodiment of the present invention, individually updates each LPU, at some When LPU updates, data are forwarded by other LPU in the network equipment in addition to the LPU so that the network equipment can be in update by portion Divide LPU forwarding data, when solving more new network device in the relevant technologies, the data forwarding capability of communication network is relatively low to ask Topic.When improving more new network device, the data forwarding capability of communication network.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple units or component can be tied It closes or is desirably integrated into another system or some features can be ignored or does not perform.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or unit Letter connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the alternative embodiments of the embodiment of the present invention, are not intended to limit the invention embodiment, all at this Within the spirit and principle of inventive embodiments, any modification, equivalent replacement, improvement and so on should be included in the application's Within protection domain.

Claims (18)

1. a kind of update method of the network equipment, which is characterized in that applied to the network equipment, the network equipment includes:First Main Processor Unit MPU, the second Main Processor Unit MPU and at least two Line Processing Unit LPU, the method includes:
First MPU obtains complete machine new version software, and the complete machine new version software includes the first new edition of the 2nd MPU The second new version software of each LPU in this software and at least two LPU;
First MPU notifies the 2nd MPU to be run with first new version software;
First MPU and the 2nd MPU is according to the second new version software of LPU each at least two LPU to institute The software for stating each LPU at least two LPU is updated, the software of the first LPU at least two LPU is updated When, the first MPU controls other LPU forwarding data at least two LPU in addition to the first LPU, the first LPU packets Include at least one of at least two LPU LPU;
After the software upgrading of each LPU, the updated each LPU forwardings data of the 2nd MPU controls.
2. according to the method described in claim 1, it is characterized in that, the first MPU and the 2nd MPU according to it is described at least The second new version software of each LPU is updated the software of each LPU at least two LPU in two LPU, packet It includes:
First MPU cancels the data forwarding function of the first LPU;
First MPU resets the first LPU, and runs described first with the second new version software of the first LPU LPU;
First MPU and the 2nd MPU restores the data forwarding function of the first LPU.
3. according to the method described in claim 2, it is characterized in that, the first MPU cancels the data forwarding of the first LPU Function, including:
First MPU sends the first priority notification to each equipment of the first LPU connections, and first priority is led to Know that the routing priority for indicating the first LPU is less than default value;
First MPU control other LPU updates forwarding table, it is described between other LPU and the first LPU to disconnect Connection.
4. according to the method described in claim 2, it is characterized in that, the first MPU cancels the data forwarding of the first LPU Function, including:
First MPU notifies each equipment of the first LPU connections, disconnects the connection between the first LPU;
First MPU control other LPU updates forwarding table, it is described between other LPU and the first LPU to disconnect Connection.
5. according to any method of claim 2 to 4, which is characterized in that the first MPU and the 2nd MPU restores The data forwarding function of first LPU, including:
2nd MPU issues routing table to the first LPU, enables the first LPU to the every of the first LPU connections A device forwards data;
First MPU controls other LPU updates forwarding table;
Any LPU in other described LPU establishes any LPU and the first LPU according to the forwarding table of any LPU Between connection.
6. according to the method described in claim 5, it is characterized in that, the 2nd MPU issues routing table to the first LPU, Enabling the first LPU, the method further includes before each device forwards data of the first LPU connections:
2nd MPU sends the second priority notification to each equipment of the first LPU connections, and second priority is led to Know that the routing priority for indicating the first LPU is less than default value.
7. according to the method described in claim 6, it is characterized in that, the 2nd MPU issues routing table to the first LPU, Enabling the first LPU, the method further includes after each device forwards data of the first LPU connections:
2nd MPU sends third priority notice to each equipment of the first LPU connections, and the third priority is led to Know indicate the first LPU routing priority be the default value.
8. according to the method described in claim 5, it is characterized in that, the first MPU controls other LPU updates forwarding Table, including:
The routing iinformation of first LPU is sent to the first MPU by the 2nd MPU;
First MPU other LPU updates forwarding tables according to controlling the routing iinformation of the first LPU.
9. method according to any one of claims 1 to 4, which is characterized in that the complete machine new version software further includes described The third new version software of first MPU,
After the updated each LPU forwardings data of 2nd MPU controls, the method further includes:
First MPU is run with the third new version software of the first MPU;
First MPU obtains the business configuration and state of the 2nd MPU.
10. a kind of network equipment, which is characterized in that the network equipment includes:First Main Processor Unit MPU, the second main process task Unit MPU and at least two Line Processing Unit LPU,
First MPU, for obtaining complete machine new version software, the complete machine new version software includes the of the 2nd MPU The second new version software of each LPU in one new version software and at least two LPU;
First MPU is additionally operable to that the 2nd MPU is notified to run with first new version software;
First MPU and the 2nd MPU, for the second new version software according to LPU each at least two LPU The software of each LPU at least two LPU is updated, the first LPU's at least two LPU is updated During software, other LPU forwarding data in the first MPU controls at least two LPU in addition to the first LPU, described first LPU includes at least one of at least two LPU LPU;
2nd MPU, for after the software upgrading of each LPU, the updated each LPU of control to forward number According to.
11. the network equipment according to claim 10, which is characterized in that
First MPU is additionally operable to cancel the data forwarding function of the first LPU;
First MPU is additionally operable to reset the first LPU, and with described in the second new version software operation of the first LPU First LPU;
First MPU and the 2nd MPU is additionally operable to restore the data forwarding function of the first LPU.
12. the network equipment according to claim 11, which is characterized in that
First MPU, be additionally operable to the first LPU connections each equipment send the first priority notification, described first Priority notification indicates that the routing priority of the first LPU is less than default value;
First MPU is additionally operable to control other LPU updates forwarding table, to disconnect other described LPU and described first Connection between LPU.
13. the network equipment according to claim 11, which is characterized in that
First MPU is additionally operable to notify each equipment of the first LPU connections, disconnects the company between the first LPU It connects;
First MPU is additionally operable to control other LPU updates forwarding table, to disconnect other described LPU and described first Connection between LPU.
14. according to any network equipment of claim 11 to 13, which is characterized in that
2nd MPU is additionally operable to issue routing table to the first LPU, enables the first LPU to the first LPU Each device forwards data of connection;
First MPU is additionally operable to control other LPU updates forwarding table;
Any LPU in other described LPU, for establishing any LPU and described the according to the forwarding table of any LPU Connection between one LPU.
15. the network equipment according to claim 14, which is characterized in that
2nd MPU, be additionally operable to the first LPU connections each equipment send the second priority notification, described second Priority notification indicates that the routing priority of the first LPU is less than default value.
16. the network equipment according to claim 15, which is characterized in that
2nd MPU is additionally operable to send third priority notice, the third to each equipment of the first LPU connections Priority notification indicates that the routing priority of the first LPU is the default value.
17. the network equipment according to claim 14, which is characterized in that
2nd MPU is additionally operable to the routing iinformation of the first LPU being sent to the first MPU;
First MPU is additionally operable to other LPU updates forwarding table according to the control of the routing iinformation of the first LPU.
18. according to any network equipment of claim 10 to 13, which is characterized in that the complete machine new version software also wraps The third new version software of the first MPU is included,
First MPU is additionally operable to the third new version software operation with the first MPU;
First MPU is additionally operable to obtain the business configuration and state of the 2nd MPU.
CN201611248089.9A 2016-12-29 2016-12-29 The update method and the network equipment of the network equipment Pending CN108259203A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611248089.9A CN108259203A (en) 2016-12-29 2016-12-29 The update method and the network equipment of the network equipment
PCT/CN2017/109371 WO2018121067A1 (en) 2016-12-29 2017-11-03 Network device update method and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611248089.9A CN108259203A (en) 2016-12-29 2016-12-29 The update method and the network equipment of the network equipment

Publications (1)

Publication Number Publication Date
CN108259203A true CN108259203A (en) 2018-07-06

Family

ID=62707794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611248089.9A Pending CN108259203A (en) 2016-12-29 2016-12-29 The update method and the network equipment of the network equipment

Country Status (2)

Country Link
CN (1) CN108259203A (en)
WO (1) WO2018121067A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780903A (en) * 2019-10-25 2020-02-11 广东博智林机器人有限公司 Software upgrading method, device, equipment and computer storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114036080A (en) * 2021-11-09 2022-02-11 许昌许继软件技术有限公司 Method and device for upgrading program by using communication serial port of display terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054764A1 (en) * 2002-09-12 2004-03-18 Harry Aderton System and method for enhanced software updating and revision
CN102164363A (en) * 2011-04-14 2011-08-24 新邮通信设备有限公司 Base station version updating realization method and base station
CN102968357A (en) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 Software upgrading method and system for distributed communication device
CN103414590A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Software upgrading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054764A1 (en) * 2002-09-12 2004-03-18 Harry Aderton System and method for enhanced software updating and revision
CN102164363A (en) * 2011-04-14 2011-08-24 新邮通信设备有限公司 Base station version updating realization method and base station
CN102968357A (en) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 Software upgrading method and system for distributed communication device
CN103414590A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Software upgrading method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780903A (en) * 2019-10-25 2020-02-11 广东博智林机器人有限公司 Software upgrading method, device, equipment and computer storage medium
CN110780903B (en) * 2019-10-25 2023-04-07 广东博智林机器人有限公司 Software upgrading method, device, equipment and computer storage medium

Also Published As

Publication number Publication date
WO2018121067A1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
CN110166356B (en) Method and network equipment for sending message
EP1665672B1 (en) High availability virtual switch
US9600263B2 (en) Systems and methods for performing uninterrupted network upgrades with controllers
US9148346B2 (en) Multiple ring identification and configuration protocol
US9008080B1 (en) Systems and methods for controlling switches to monitor network traffic
CN106411735B (en) A kind of method for configuring route and device
CN105162704A (en) Multicast replication method and device in Overlay network
CN110417665B (en) EVPN networking system and method for multiple Fabric scenes of data center
US10873527B2 (en) Link protection method in SDN, switching device, and network controller
US9338060B2 (en) Multiple ring identification and configuration protocol
KR101658824B1 (en) Method, apparatus and computer program for updating flow rules of software defined network
CN109743197A (en) A kind of firewall deployment system and method based on priority configuration
WO2018161794A1 (en) Apparatus upgrade method and access apparatus
CN101483571B (en) RRPP configuring method, system and device
CN107911297A (en) A kind of SDN network band control Path Setup method and apparatus
CN106357542A (en) Method for providing multicast service and software defined network controller
CN106027311A (en) SDN-based disaster recovery system and data disaster recovery method thereof
CN108259203A (en) The update method and the network equipment of the network equipment
CN104125079B (en) A kind of method and device for determining two-node cluster hot backup configuration information
WO2021042674A1 (en) Method for configuring port state and network device
CN103780437A (en) Information synchronization method and device
US10015074B1 (en) Abstract stack ports to enable platform-independent stacking
CN112448844B (en) Time-triggered network reconstruction method based on pre-configuration
CN106330700A (en) Method and device for data communication network main and standby access network element protection
JP2019041368A (en) Transfer device, transfer system, transfer method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180706

WD01 Invention patent application deemed withdrawn after publication