CN107733695A - A kind of VXLAN tunnels optimization method and device during ISSU - Google Patents
A kind of VXLAN tunnels optimization method and device during ISSU Download PDFInfo
- Publication number
- CN107733695A CN107733695A CN201710874771.7A CN201710874771A CN107733695A CN 107733695 A CN107733695 A CN 107733695A CN 201710874771 A CN201710874771 A CN 201710874771A CN 107733695 A CN107733695 A CN 107733695A
- Authority
- CN
- China
- Prior art keywords
- exit port
- plate
- tunnel exit
- port
- restarted
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/56—Routing software
- H04L45/563—Software download or update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5053—Lease time; Renewal aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
Abstract
The present invention provides the VXLAN tunnels optimization method and device during a kind of ISSU, the master control borad of switching equipment is set to determine the tunnel exit port of broadcasting packet when restarting on plate, the configuration of the tunnel exit port is deleted in the exchange chip that this restarts plate, then from the non-target port restarted in plate on selection Target Board as new tunnel exit port, and notify the Target Board that the target port of local is configured into new tunnel exit port, notify non-to restart plate tunnel exit port in local forwarding-table item is updated into the new tunnel exit port, so as to ensure that broadcasting packet is quickly switched on non-restarting equipment from restarting equipment, make broadcasting packet Fast Convergent in ISSU restarting process, reduce the packet loss time.
Description
Technical field
The present invention relates to the VXLAN tunnels optimization method and device during communication technical field, more particularly to a kind of ISSU.
Background technology
ISSU (In-Service Software Upgrade, non-interrupting service upgrading) is a kind of high upgrading of reliability
Equipment starts the mode of software, and ISSU is able to ensure that business is not interrupted in escalation process or the break period is shorter.In ISSU
Restart in escalation process, except the member device restarted, other member devices are in working condition, so as to ensure that
Business is not interrupted in escalation process.
Indirectly connected networking structure schematic diagram as shown in Figure 1, wherein being created between switching equipment Leaf1 and Leaf2
VXLAN tunnels, exemplary packet contains two transferring equipments Spine1 and Spine2 in the tunnel.Switching equipment (such as Leaf1) is received
During to broadcasting packet, broadcasting packet the encapsulation in tunnel can turn broadcasting packet on one of next-hop band towards the tunnel
Spine1 is dealt into, the broadcasting packet is forwarded to by Spine2 by the tunnel in Spine1, then route table items are searched by Spine2,
Broadcasting packet is forwarded on Leaf2 and is decapsulated and is sent;It is otherwise also similar.When on switching equipment Leaf1
When being ISSU, switching equipment Leaf1 when receiving and dispatching broadcasting packet, if if Spine1 and Leaf1 two interconnection ports its
Middle a port DOWN falls, and switching equipment Leaf1 can respond change, and tunnel exit port is refreshed into another UP port, from
And ensure broadcasting packet and smoothly forward.
At present, according to existing flush mechanism, when a port DOWN falls, switching equipment needs to go counter-brush next successively
Jump, original next-hop is deleted from broadcast list item, then new next-hop is added, wherein wide from port DOWN to tunnel
It is exactly to broadcast the packet loss time that hardware refresh, which is broadcast, to the time of new port, therefore when tunnel is more, is refreshed next
Tunnel etc. it is to be refreshed time it is longer, the overall broadcasting packet packet loss time is longer.
The content of the invention
In view of this, the VXLAN tunnels optimization method and device during a kind of ISSU of present invention offer is existing to solve
The problem of broadcasting packet packet loss time is long in technology.
Specifically, the present invention is achieved through the following technical solutions:
The present invention provides the VXLAN tunnels optimization method during a kind of ISSU, and methods described is applied to switching equipment
Master control borad, methods described include:
When the tunnel exit port of broadcasting packet is being restarted on plate, the tunnel is deleted in the exchange chip that this restarts plate and is gone out
The configuration of port;
From the non-target port restarted in plate on selection Target Board as new tunnel exit port;
Notify the Target Board that the target port of local is configured into new tunnel exit port, notify it is non-restart plate will be local
Tunnel exit port in forwarding-table item is updated to the new tunnel exit port.
As one embodiment, methods described also includes:
When the board in the switching equipment, which carries out ISSU, restarts, restart using the board returned success message as non-
Plate.
As one embodiment, judge that specific method of the tunnel exit port of broadcasting packet on plate is restarted is:
When the tunnel exit port of broadcasting packet is single port, the single port is judged whether on plate is restarted, if so, then true
The tunnel exit port of the fixed broadcasting packet is on plate is restarted;If not, it is determined that the tunnel exit port of the broadcasting packet does not exist
Restart on plate.
As one embodiment, judge that specific method of the tunnel exit port of broadcasting packet on plate is restarted is:
When the tunnel exit port of broadcasting packet is aggregation port, judge whether all member ports in the aggregation port exist
Same is restarted on plate, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If not, it is determined that described
The tunnel exit port of broadcasting packet is not on plate is restarted.
It is described to notify the Target Board that the target port of local is configured into new tunnel and goes out end as one embodiment
Mouthful, notify it is non-restart plate the tunnel exit port in local forwarding-table item be updated to the new tunnel exit port, be specially:
Restart plate transmission RPC message to non-, the RPC message includes the IP address of new tunnel exit port;So that mesh
When target receives the RPC message, using local with the target port that the IP address matches as new tunnel exit port and at this
The IP address of tunnel exit port is updated to the IP address of the new tunnel exit port in the forwarding-table item that ground preserves;It is so that non-
When Target Board receives the RPC message, the IP address of tunnel exit port is updated in the forwarding-table item that it is locally preserved described
The IP address of new tunnel exit port.
Conceived based on identical, the present invention also provides the VXLAN tunnels optimization device during a kind of ISSU, described device
Applied to the master control borad of switching equipment, described device includes:
Unit is deleted, for when the tunnel exit port of broadcasting packet is being restarted on plate, in the exchange chip that this restarts plate
The middle configuration for deleting the tunnel exit port;
Choose unit, for from it is non-restart in plate choose Target Board on target port as new tunnel exit port;
Notification unit, for notifying the Target Board that the target port of local is configured into new tunnel exit port, notify
It is non-to restart plate the tunnel exit port in local forwarding-table item is updated to the new tunnel exit port.
As one embodiment, described device also includes:
Unit is restarted, for the plate that when the board progress ISSU in the switching equipment is restarted, will be returned success message
Card restarts plate as non-.
As one embodiment, described device also includes:
First judging unit, for when the tunnel exit port of broadcasting packet is single port, judge the single port whether
Restart on plate, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If not, it is determined that the broadcast report
The tunnel exit port of text is not on plate is restarted.
As one embodiment, described device also includes:
Second judging unit, for when the tunnel exit port of broadcasting packet is aggregation port, judging the institute in the aggregation port
Have whether member port is restarted on plate in same, if, it is determined that the tunnel exit port of the broadcasting packet is restarting plate
On;If not, it is determined that the tunnel exit port of the broadcasting packet is not on plate is restarted.
As one embodiment, the notification unit, specifically for restarting plate transmission RPC message, the RPC message to non-
Include the IP address of new tunnel exit port;During so that Target Board receiving the RPC message, local it will be matched with the IP address
Target port the IP address of tunnel exit port is updated as new tunnel exit port and in the forwarding-table item locally preserved
For the IP address of the new tunnel exit port;During so that non-targeted plate receiving the RPC message, in the forward table that it is locally preserved
The IP address of tunnel exit port is updated to the IP address of the new tunnel exit port in.
As can be seen here, the VXLAN tunnels optimization method and device during a kind of ISSU provided by the invention, can make friendship
The master control borad of exchange device determines that the tunnel exit port of broadcasting packet when restarting on plate, is deleted in the exchange chip that this restarts plate
The configuration of the tunnel exit port, then from it is non-restart target port on Target Board is chosen in plate as new tunnel exit port,
And notify the Target Board that the target port of local is configured into new tunnel exit port, notify non-to restart plate by local forward table
Tunnel exit port is updated to the new tunnel exit port in.Compared to prior art, the present invention can when equipment is restarted,
Global synchronization message is sent by master control borad the broadcasting packet in tunnel is switched to non-restarting equipment, so as to ensure broadcasting packet
Quickly it is switched to from restarting equipment on non-restarting equipment, makes broadcasting packet Fast Convergent in ISSU restarting process, reduces packet loss
Time.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the indirectly connected networking structure schematic diagram in a kind of illustrative embodiments of the present invention;
Fig. 2 is the process chart of the VXLAN tunnels optimization method during a kind of ISSU of the present invention;
Fig. 3 is the VXLAN tunnels optimization schematic diagram during the ISSU in a kind of illustrative embodiments of the present invention;
Fig. 4 is the VXLAN tunnels optimization schematic diagram during the ISSU in another illustrative embodiments of the present invention;
Fig. 5 is that the VXLAN tunnels optimization device place during the ISSU in a kind of illustrative embodiments of the present invention is set
Standby hardware structure diagram;
Fig. 6 is the VXLAN tunnels optimization device during a kind of ISSU in a kind of illustrative embodiments of the present invention
Building-block of logic.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 2 is refer to, is the VXLAN tunnels optimization during a kind of ISSU in a kind of illustrative embodiments of the present invention
The process chart of method, methods described be applied in indirectly connected networking switching equipment (Leaf1 as shown in Figure 1 or
Leaf2 master control borad), the switching equipment include master control borad and multiple member's plates, and member's plate is the standby plate of the master control borad.
Wherein this method includes:
Step 201, when the tunnel exit port of broadcasting packet is being restarted on plate, deleted in the exchange chip that this restarts plate
The configuration of the tunnel exit port;
In the present embodiment, when carrying out ISSU on switching equipment, its idiographic flow is:The thing that master control borad will receive first
Part or protocol massages carry out response processing, subsequently into pretreatment stage, member's plate are restarted after the completion of pretreatment stage, is waited into
Member's plate restart completion and then it is secondary enter pretreatment stage, restart master control borad, the event that receives and protocol massages during restarting
Renewal broadcast list item, master control borad do not issue any hardware configuration, wait ISSU to issue hardware configuration again after terminating.The present embodiment master
Focus on pretreatment stage, the master control borad in switching equipment can carry out member's plate number that global notice needs to restart, with this
Member's plate that member's plate number matches is restarted and (is referred to as restarting plate), and other member's plates do not restarted are then directly to master control borad
Return success message (referred to as non-to restart plate).
Switching equipment when forwarding broadcasting packet, first master control borad to determine current broadcast message tunnel exit port whether
On plate is restarted, because the port numbers of each board have identification, and all had any different with the board where it, master control borad can
To find the board where the tunnel exit port of broadcasting packet, because master control borad has been known for the board number restarted, therefore
Whether the board where master control borad can determine the tunnel exit port of broadcasting packet is to restart plate.Due to possible between switching equipment
A plurality of tunnel being present, following tunnel optimization method is the optimization method for any one tunnel, if there is the situation in a plurality of tunnel,
Other tunnels may be referred to the method execution.
In optional embodiment of the present invention, tunnel exit port can be that single port can also be aggregation port.
When the tunnel exit port of broadcasting packet is single port, master control borad may determine that whether the single port is restarting plate
On, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If not, it is determined that the tunnel of the broadcasting packet
Road exit port is not on plate is restarted.
When the tunnel exit port of broadcasting packet is aggregation port, master control borad may determine that all member ends in the aggregation port
Whether mouth is restarted on plate in same, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If it is not,
Then determine the tunnel exit port of the broadcasting packet not on plate is restarted.Such as the member port of aggregation port includes port A and end
Mouthful B, if wherein port A on plate is restarted, port B is restarted on plate non-because port B can normally forward broadcasting packet,
Therefore it is not considered as the aggregation port on plate is restarted;If port A and port B, on plate is restarted, two ports can not all turn
Broadcasting packet is sent out, it can be considered that the aggregation port is on plate is restarted.
When it is determined that the tunnel exit port of broadcasting packet is being restarted on plate, master control borad, which can restart plate to this and issue hardware, matches somebody with somebody
Put, configuration deletion of the plate by the tunnel exit port of the broadcasting packet in its exchange chip is restarted in control.
Step 202, from it is non-restart in plate choose Target Board on target port as new tunnel exit port;
After the tunnel exit port configuration that master control borad will be restarted on plate is deleted, can be the broadcasting packet from it is non-restart in plate select
The target port on Target Board is taken as new tunnel exit port.
Step 203, notify the Target Board that the target port of local is configured into new tunnel exit port, notify non-to restart
Tunnel exit port in local forwarding-table item is updated to the new tunnel exit port by plate.
Master control borad is after broadcasting packet chooses new tunnel exit port, can further notify the Target Board local
Target port be configured to new tunnel exit port, notify non-to restart plate and be updated to the tunnel exit port in local forwarding-table item
The new tunnel exit port.Specifically, master control borad can restart plate transmission RPC message to non-, and the RPC message includes
The IP address of new tunnel exit port;During so that Target Board receiving the RPC message, by the local target matched with the IP address
Port is updated to described as new tunnel exit port and in the forwarding-table item locally preserved by the IP address of tunnel exit port
The IP address of new tunnel exit port;, will in the forwarding-table item that it is locally preserved during so that non-targeted plate receiving the RPC message
The IP address of tunnel exit port is updated to the IP address of the new tunnel exit port.
Compared to prior art, the present invention can be when equipment be restarted, and sending global synchronization message by master control borad will
The broadcasting packet in tunnel is switched to non-restarting equipment, so as to ensure that broadcasting packet is quickly switched to non-restarting equipment from restarting equipment
On, make broadcasting packet Fast Convergent in ISSU restarting process, reduce the packet loss time.
Separately below with reference to figure 3 and Fig. 4, the VXLAN tunnels optimization method during the ISSU of the present invention is carried out detailed
Explanation.
Refer to Fig. 3 is the VXLAN tunnels optimization structure during the ISSU in a kind of illustrative embodiments of the present invention
Schematic diagram.Switching equipment Leaf1 includes master control borad 300 and member's plate 301, member's plate 302, member's plate 303, wherein, master control
Include port 0 on plate 300, port 1 is included on member's plate 301, include port 2, including end on member's plate 303 on member's plate 302
Mouth 3.When member's plate 303 is restarted, master control borad 300 obtains the tunnel exit port of broadcasting packet first, it is assumed that is port 3, then
Master control borad 300 judges the tunnel exit port whether on plate is restarted (member's plate 303), because port 3 is on member's plate 303, because
This determination tunnel exit port (port 3) can go offline in ISSU restarting process, therefore master control borad 300 can be to member's plate 303
Control message is sent, member's plate 303 is deleted the tunnel configuration of the port 3 in its exchange chip, such as IP3 is 3.3.3.3;It
Afterwards master control borad 300 from it is non-restart new tunnel exit port is selected in plate.For example, the member where master control borad 300 judges port 1
Plate 301 restarts plate to be non-, then can be using the port 1 as new tunnel exit port;Then master control borad 300 issues global RPC message,
The IP address of port 1 is carried in the RPC message, such as IP1 is 1.1.1.1.After all member's boards receive RPC message, first sentence
Whether the IP address of breaking matches with local port, if it does, then illustrate that the port is new tunnel exit port, therefore member's plate
The port will be arranged to tunnel exit port by 301 in the exchange chip of local, and by the tunnel exit port in forwarding-table item
IP address is updated to IP1 by IP3;If it does not match, member's plate 302 is needed the tunnel exit port in local forwarding-table item
IP address IP1 is updated to by IP3.Therefore broadcasting packet can be forwarded when member's plate 303 is restarted by member's plate 301, so as to
Reduce the packet loss time of broadcasting packet.
Refer to Fig. 4 is the VXLAN tunnels optimization knot during the ISSU in another illustrative embodiments of the present invention
Structure schematic diagram.Switching equipment Leaf1 includes master control borad 400 and member's plate 401, member's plate 402, member's plate 403, wherein, it is main
Include port 01 and port 02 on control plate 400, include port 11 and port 12, including port on member's plate 402 on member's plate 401
21 and port 22, include aggregation port on member's plate 403, the member port of the aggregation port includes port 31 and port 32.Work as member
When plate 403 is restarted, master control borad 400 judges the tunnel exit port whether on plate is restarted (member's plate 403), if for example, tunnel
Say port-for-port 31 and port 32, then it is assumed that tunnel exit port is on plate (member's plate 403) is restarted;If tunnel exit port
For port 22 and port 32, because port 22 is not on member's plate 403, therefore broadcasting packet can be forwarded by port 22, from
And without change tunnel exit port.When it is determined that the tunnel exit port (port 31 and port 32) is being restarted on plate, master control borad can
To send control message to member's plate 403, member's plate 403 is deleted the tunnel of the port 31 and port 32 in its exchange chip and match somebody with somebody
Put, such as IP3 is 3.3.3.3, afterwards from it is non-restart new tunnel exit port is selected in plate, such as port 11 and port 12.So
Master control borad 400 issues global RPC message afterwards, and the IP address of new tunnel exit port is carried in the RPC message, such as IP1 is
1.1.1.1.After all member's boards receive RPC message, first judge whether the IP address matches with local port, if it does,
It is new tunnel exit port then to illustrate the port, therefore the port will be arranged to by member's plate 401 in the exchange chip of local
Tunnel exit port, and the IP address of the tunnel exit port in forwarding-table item is updated to IP1 by IP3;If it does not match, member
Plate 402 needs the IP address of the tunnel exit port in local forwarding-table item being updated to IP1 by IP3.Therefore broadcasting packet can
When member's plate 403 is restarted, to be forwarded by the tunnel exit port of member's plate 401, so as to reduce the packet loss time of broadcasting packet.
Conceived based on identical, the present invention also provides the VXLAN tunnels optimization device during a kind of ISSU, and the device can
To be realized by software, can also be realized by way of hardware or software and hardware combining.It is of the invention exemplified by implemented in software
VXLAN tunnels optimization device during ISSU is the CPU by master control borad where it as the device on a logical meaning
Run and form after corresponding computer program instructions in memory are read.
Fig. 5 is refer to, is the VXLAN tunnels optimization during a kind of ISSU in a kind of illustrative embodiments of the present invention
Device 600, the device 600 are applied to the master control borad of switching equipment, and the basic running environment of the device includes CPU, memory, exchange
Chip and other hardware, from logic level, the logical construction of the device 600 as shown in fig. 6, including:
Unit 601 is deleted, for when the tunnel exit port of broadcasting packet is being restarted on plate, in the exchange core that this restarts plate
The configuration of the tunnel exit port is deleted in piece;
Choose unit 602, for from it is non-restart in plate choose Target Board on target port as new tunnel exit port;
Notification unit 603, for notifying the Target Board that the target port of local is configured into new tunnel exit port, lead to
Know and non-restart plate tunnel exit port in local forwarding-table item is updated to the new tunnel exit port.
Optionally, described device also includes:
Restart unit 604, for when in the switching equipment board carry out ISSU restart when, by what is returned success message
Board restarts plate as non-.
Optionally, described device also includes:
First judging unit 605, for when the tunnel exit port of broadcasting packet is single port, whether judging the single port
On plate is restarted, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If not, it is determined that the broadcast
The tunnel exit port of message is not on plate is restarted.
Optionally, described device also includes:
Second judging unit 606, for when the tunnel exit port of broadcasting packet is aggregation port, judging in the aggregation port
Whether all member ports are restarted on plate in same, if, it is determined that the tunnel exit port of the broadcasting packet is being restarted
On plate;If not, it is determined that the tunnel exit port of the broadcasting packet is not on plate is restarted.
Optionally, the notification unit 603, specifically for restarting plate transmission RPC message to non-, wrapped in the RPC message
Include the IP address of new tunnel exit port;During so that Target Board receiving the RPC message, by the local mesh matched with the IP address
The IP address of tunnel exit port as new tunnel exit port and is updated to institute by mark port in the forwarding-table item locally preserved
State the IP address of new tunnel exit port;During so that non-targeted plate receiving the RPC message, in the forwarding-table item that it is locally preserved
The IP address of tunnel exit port is updated to the IP address of the new tunnel exit port.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
In summary, the VXLAN tunnels optimization method and device during a kind of ISSU provided by the invention, can make friendship
The master control borad of exchange device determines that the tunnel exit port of broadcasting packet when restarting on plate, is deleted in the exchange chip that this restarts plate
The configuration of the tunnel exit port, then from it is non-restart target port on Target Board is chosen in plate as new tunnel exit port,
And notify the Target Board that the target port of local is configured into new tunnel exit port, notify non-to restart plate by local forward table
Tunnel exit port is updated to the new tunnel exit port in.Compared to prior art, the present invention can when equipment is restarted,
Global synchronization message is sent by master control borad the broadcasting packet in tunnel is switched to non-restarting equipment, so as to ensure broadcasting packet
Quickly it is switched to from restarting equipment on non-restarting equipment, makes broadcasting packet Fast Convergent in ISSU restarting process, reduces packet loss
Time.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.
Claims (10)
1. the VXLAN tunnels optimization method during a kind of ISSU, it is characterised in that methods described is applied to the master of switching equipment
Plate is controlled, methods described includes:
When the tunnel exit port of broadcasting packet is being restarted on plate, the tunnel exit port is deleted in the exchange chip that this restarts plate
Configuration;
From the non-target port restarted in plate on selection Target Board as new tunnel exit port;
Notify the Target Board that the target port of local is configured into new tunnel exit port, notify non-to restart plate by local forwarding
Tunnel exit port in list item is updated to the new tunnel exit port.
2. according to the method for claim 1, it is characterised in that methods described also includes:
When the board in the switching equipment, which carries out ISSU, restarts, plate is restarted using the board returned success message as non-.
3. according to the method for claim 1, it is characterised in that judge the tunnel exit port of broadcasting packet on plate is restarted
Specific method is:
When the tunnel exit port of broadcasting packet is single port, the single port is judged whether on plate is restarted, if, it is determined that institute
The tunnel exit port of broadcasting packet is stated on plate is restarted;If not, it is determined that the tunnel exit port of the broadcasting packet is not being restarted
On plate.
4. according to the method for claim 1, it is characterised in that judge the tunnel exit port of broadcasting packet on plate is restarted
Specific method is:
When the tunnel exit port of broadcasting packet is aggregation port, judge all member ports in the aggregation port whether same
Block is restarted on plate, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If not, it is determined that the broadcast
The tunnel exit port of message is not on plate is restarted.
5. according to the method for claim 1, it is characterised in that described to notify the Target Board to match somebody with somebody the target port of local
New tunnel exit port is set to, notifies non-to restart plate the tunnel exit port in local forwarding-table item is updated into the new tunnel
Exit port, it is specially:
Restart plate transmission RPC message to non-, the RPC message includes the IP address of new tunnel exit port;So that Target Board
When receiving the RPC message, using it is local with the target port that the IP address matches as new tunnel exit port and in local guarantor
The IP address of tunnel exit port is updated to the IP address of the new tunnel exit port in the forwarding-table item deposited;It is so that non-targeted
When plate receives the RPC message, the IP address of tunnel exit port is updated in the forwarding-table item that it is locally preserved described new
The IP address of tunnel exit port.
6. the VXLAN tunnels optimization device during a kind of ISSU, it is characterised in that described device is applied to the master of switching equipment
Plate is controlled, described device includes:
Unit is deleted, for when the tunnel exit port of broadcasting packet is being restarted on plate, being deleted in the exchange chip that this restarts plate
Except the configuration of the tunnel exit port;
Choose unit, for from it is non-restart in plate choose Target Board on target port as new tunnel exit port;
Notification unit, for notifying the Target Board that the target port of local is configured into new tunnel exit port, notify non-heavy
Open plate and the tunnel exit port in local forwarding-table item is updated to the new tunnel exit port.
7. device according to claim 6, it is characterised in that described device also includes:
Unit is restarted, for when the board progress ISSU in the switching equipment is restarted, the board returned success message to be made
Restart plate to be non-.
8. device according to claim 6, it is characterised in that described device also includes:
First judging unit, for when the tunnel exit port of broadcasting packet is single port, judging whether the single port is restarting
On plate, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If not, it is determined that the broadcasting packet
Tunnel exit port is not on plate is restarted.
9. device according to claim 6, it is characterised in that described device also includes:
Second judging unit, for when the tunnel exit port of broadcasting packet is aggregation port, judge in the aggregation port it is all into
Whether member is restarted on plate port in same, if, it is determined that the tunnel exit port of the broadcasting packet is on plate is restarted;If
It is no, it is determined that the tunnel exit port of the broadcasting packet is not on plate is restarted.
10. device according to claim 6, it is characterised in that
The notification unit, specifically for restarting plate transmission RPC message to non-, the RPC message includes new tunnel and goes out end
The IP address of mouth;During so that Target Board receiving the RPC message, using local with the target port that the IP address matches as new
Tunnel exit port and in the forwarding-table item locally preserved by the IP address of tunnel exit port be updated to the new tunnel go out end
The IP address of mouth;During so that non-targeted plate receiving the RPC message, by tunnel exit port in the forwarding-table item that it is locally preserved
IP address is updated to the IP address of the new tunnel exit port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710874771.7A CN107733695A (en) | 2017-09-25 | 2017-09-25 | A kind of VXLAN tunnels optimization method and device during ISSU |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710874771.7A CN107733695A (en) | 2017-09-25 | 2017-09-25 | A kind of VXLAN tunnels optimization method and device during ISSU |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107733695A true CN107733695A (en) | 2018-02-23 |
Family
ID=61207954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710874771.7A Pending CN107733695A (en) | 2017-09-25 | 2017-09-25 | A kind of VXLAN tunnels optimization method and device during ISSU |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107733695A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418740A (en) * | 2018-02-28 | 2018-08-17 | 新华三技术有限公司 | Message processing method and device |
CN109194585A (en) * | 2018-10-26 | 2019-01-11 | 新华三技术有限公司合肥分公司 | Message forwarding method and the network equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080270606A1 (en) * | 2007-04-30 | 2008-10-30 | Mark Gooch | Remote client remediation |
CN102882704A (en) * | 2012-09-03 | 2013-01-16 | 杭州华三通信技术有限公司 | Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade) |
CN103763115A (en) * | 2014-01-20 | 2014-04-30 | 杭州华三通信技术有限公司 | Method and device for processing protocol message |
-
2017
- 2017-09-25 CN CN201710874771.7A patent/CN107733695A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080270606A1 (en) * | 2007-04-30 | 2008-10-30 | Mark Gooch | Remote client remediation |
CN102882704A (en) * | 2012-09-03 | 2013-01-16 | 杭州华三通信技术有限公司 | Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade) |
CN103763115A (en) * | 2014-01-20 | 2014-04-30 | 杭州华三通信技术有限公司 | Method and device for processing protocol message |
Non-Patent Citations (1)
Title |
---|
王彩: "《基于交换机的VXLAN技术实现和测试研究》", 《中国优秀硕士论文电子期刊》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418740A (en) * | 2018-02-28 | 2018-08-17 | 新华三技术有限公司 | Message processing method and device |
CN108418740B (en) * | 2018-02-28 | 2020-09-08 | 新华三技术有限公司 | Message processing method and device |
CN109194585A (en) * | 2018-10-26 | 2019-01-11 | 新华三技术有限公司合肥分公司 | Message forwarding method and the network equipment |
CN109194585B (en) * | 2018-10-26 | 2022-05-10 | 新华三技术有限公司合肥分公司 | Message forwarding method and network equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021135468A1 (en) | Segment identifier determining method and device | |
US8264950B2 (en) | Packet forwarding device and control circuit thereof | |
US9705704B2 (en) | Method and system of forming a mobile virtual network | |
CN114598642A (en) | Method for sending network performance parameters and calculating network performance and network node | |
KR20140043800A (en) | Virtual machine migration to minimize packet loss in virtualized network | |
CN105684382A (en) | Packet control method, switch and controller | |
US10826823B2 (en) | Centralized label-based software defined network | |
CN101645810B (en) | Method and equipment for detecting pseudo wire (PW) | |
US20130182605A1 (en) | Method and system for providing a mobile virtual router | |
CN105978817B (en) | It is used for transmission method, memory and the network adapter of data | |
CN105791175A (en) | Method and equipment for controlling transmission resources in software defined network SDN | |
CN106385354B (en) | Message forwarding method and device | |
CN105162704A (en) | Multicast replication method and device in Overlay network | |
CN111382115B (en) | Path creating method and device for network on chip and electronic equipment | |
CN105589744A (en) | Virtual machine migration method and apparatus | |
US20130185432A1 (en) | Method and system for sharing router resources via a mobile virtual router | |
CN106330786A (en) | MAC address synchronization method, apparatus and system | |
CN102307141A (en) | Message forwarding method and device | |
CN102130829B (en) | Method and device for establishing label switch paths (LSP) | |
CN107733695A (en) | A kind of VXLAN tunnels optimization method and device during ISSU | |
CN103546556B (en) | One kind online moving method of virtual machine in future network XIA | |
CN110519079B (en) | Data forwarding method and device, network board, network equipment and storage medium | |
CN109379239B (en) | Method and device for configuring access switch in OpenStack environment | |
CN104348737B (en) | The transmission method and interchanger of a kind of multicast message | |
CN101102231B (en) | An automatic discovery method and device of PPP link routing device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180223 |
|
RJ01 | Rejection of invention patent application after publication |