CN103001886B - A kind of ECT smooth migration method and apparatus - Google Patents

A kind of ECT smooth migration method and apparatus Download PDF

Info

Publication number
CN103001886B
CN103001886B CN201210558996.9A CN201210558996A CN103001886B CN 103001886 B CN103001886 B CN 103001886B CN 201210558996 A CN201210558996 A CN 201210558996A CN 103001886 B CN103001886 B CN 103001886B
Authority
CN
China
Prior art keywords
sid
lsp message
network equipment
vlan
ect
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.)
Active
Application number
CN201210558996.9A
Other languages
Chinese (zh)
Other versions
CN103001886A (en
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.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210558996.9A priority Critical patent/CN103001886B/en
Publication of CN103001886A publication Critical patent/CN103001886A/en
Application granted granted Critical
Publication of CN103001886B publication Critical patent/CN103001886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of ECT smooth migration method and apparatus, the method comprises: the network equipment, when knowing that the flow needs of I-SID move to the 2nd B-VLAN from a B-VLAN, broadcasts a LSP message and the 2nd LSP message; Carry the corresponding relation of described 2nd B-VLAN and the 2nd ECT in a described LSP message, in described 2nd LSP message, carry the corresponding relation of described I-SID and described 2nd B-VLAN; The network equipment is before the LSP message receiving all specified network equipment and the 2nd LSP message, and the first single tunnel utilizing described I-SID corresponding sends the flow of described I-SID; The network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and the second single tunnel utilizing described I-SID corresponding sends the flow of described I-SID; In the embodiment of the present invention, can try one's best in ECT transition process and reduce the interruption of I-SID flow.

Description

A kind of ECT smooth migration method and apparatus
Technical field
The present invention relates to communication technical field, particularly relate to a kind of ECT smooth migration method and apparatus.
Background technology
MAC-in-MAC agreement is also called PBB(ProviderBackboneBridge, provider backbone bridging) agreement, as a kind of two-layer VPN (VirtualPrivateNetwork, VPN (virtual private network)) technology, it passes through MAC(MediaAccessControl, media interviews control) address is nested, and user's MAC address is encapsulated among operator's MAC Address, thus different user business is isolated.
Adopt the SPB(ShortestPathBridging of MAC-in-MAC agreement, shortest path bridge) network is called SPBM(ShortestPathBridgingMACMode, the shortest path bridge of MAC-in-MAC pattern) network, as shown in Figure 1, for the networking schematic diagram of SPBM network, its backbone network mainly comprises BEB(BackboneEdgeBridge, backbone edges bridge) equipment, BCB(BackboneCoreBridge, backbone network core bridges) equipment and between backbone links.
BEB equipment is responsible for the message from user network to carry out MAC-in-MAC encapsulation, and is forwarded to backbone network; Or, the MAC-in-MAC message from backbone network is carried out decapsulation, and is forwarded to user network; When BEB equipment carries out MAC-in-MAC encapsulation to message, can for its stamp operator distribute MAC Address and VLAN(VirtualLocalAreaNetwork, VLAN), and the MAC Address that operator distributes is B-MAC(BackboneMAC, backbone network MAC), the VLAN that operator distributes is B-VLAN(BackboneVLAN, backbone network VLAN).BCB equipment is responsible for forwarding MAC-in-MAC message according to B-MAC and B-VLAN, and BCB equipment only needs to E-Packet and learn the MAC Address in backbone network, does not need to learn MAC Address a large amount of in user network.
SPBM network is by supporting multiple ECT(EqualCostTree, equivalent tree) mode of algorithm carrys out holding load and shares; Concrete, calculate SPT(ShortestPathTree, shortest path tree by specific ECT algorithm) set, and brush in identical B-VLAN under this SPT is gathered corresponding forwarding-table item, thus make ECT algorithm and B-VLAN one_to_one corresponding.
As shown in Figure 2, calculating by using two ECT algorithms with A is two SPT tree of root, each ECT algorithm set with a SPT in SPT gather corresponding, and the different SPT of different ECT algorithm correspondences gathers; Further, by by different I-SID(BackboneServiceInstanceIdentifier, backbone network Service Instance is numbered, a Service Instance represents class business or a user, and I-SID is the unique number of this Service Instance) map traffic to different B-VLAN, and different B-VLAN apply different ECT algorithms SPT set realize load balancing.
Such as, by by the map traffic of I-SID1 to B-VLAN1, and the corresponding ECT algorithm 1 of B-VLAN1, thus the flow of I-SID1 can be sent by the SPT tree of ECT algorithm 1 correspondence; And, by by the map traffic of I-SID2 to B-VLAN2, and the corresponding ECT algorithm 2 of B-VLAN2, thus the flow of I-SID2 can be sent by the SPT tree of ECT algorithm 2 correspondence; By above-mentioned process, the flow of I-SID1 and I-SID2 can be sent by different SPT tree, to realize load balancing.
But, if need the flow of some I-SID to move to new ECT algorithm (as by the map traffic of I-SID2 to B-VLAN1, and the corresponding ECT algorithm 1 of B-VLAN1), then can produce ECT migration, in order to reduce the I-SID flow interrupt in ECT transition process as far as possible, then need to carry out ECT smooth migration, but realize details in prior art not in definition ECT smooth migration process.
Summary of the invention
The invention provides a kind of ECT smooth migration method and apparatus, to reduce the interruption of I-SID flow in ECT transition process as far as possible, and realize the smooth migration of ECT.
In order to achieve the above object, the embodiment of the present invention provides a kind of equivalent tree ECT smooth migration method, and the method comprises the following steps:
The network equipment, when knowing that the flow of backbone network Service Instance numbering I-SID needs to move to the 2nd B-VLAN from the first backbone virtual-LAN B-VLAN, broadcasts the first Link State Protocol Data Unit LSP message and the 2nd LSP message; Wherein, in a described LSP message, carry the corresponding relation of described 2nd B-VLAN and the 2nd ECT, in described 2nd LSP message, carry the corresponding relation of described I-SID and described 2nd B-VLAN;
The network equipment is when receiving a LSP message and the 2nd LSP message of other network equipment, utilize the corresponding relation of the corresponding relation of described I-SID and described 2nd B-VLAN, described 2nd B-VLAN and described 2nd ECT, determine corresponding described 2nd ECT of described I-SID, and utilize described 2nd ECT to carry out topology calculate, obtain the second single tunnel that described I-SID is corresponding;
The network equipment is before the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel utilizing described I-SID corresponding sends the flow of described I-SID, and described first single tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain;
The network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and the second single tunnel utilizing described I-SID corresponding sends the flow of described I-SID.
The first single tunnel that the described network equipment utilizes described I-SID corresponding sends the flow of described I-SID, specifically comprise: for the flow being received described I-SID by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the first single tunnel that the described network equipment all utilizes described I-SID corresponding sends the flow of described I-SID;
The second single tunnel that the described network equipment utilizes described I-SID corresponding sends the flow of described I-SID, specifically comprise: for the flow being received described I-SID by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the second single tunnel that the described network equipment all utilizes described I-SID corresponding sends the flow of described I-SID.
The described network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and described method comprises further:
The three LSP message of described network equipment broadcast for deleting the first single tunnel, and in described 3rd LSP message, carry the corresponding relation of described I-SID and a described B-VLAN;
The described network equipment, after the 3rd LSP message receiving all specified network equipment, deletes the first single tunnel that described I-SID is corresponding.
The described network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and described method comprises further:
The described network equipment deletes the first Multicast Tunnel corresponding to described I-SID, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; And,
Described 2nd ECT that the described network equipment utilizes described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding;
Or,
Described 2nd ECT that the described network equipment utilizes described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; And,
The described network equipment deletes the first Multicast Tunnel corresponding to described I-SID, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain.
Described ECT smooth migration method is applied in the shortest path bridge SPBM network of MAC-in-MAC pattern, and the network equipment in described SPBM network is backbone edges bridge BEB equipment or backbone network core bridges BCB equipment.
The embodiment of the present invention provides a kind of network equipment, comprising:
Link State Protocol Data Unit LSP message sending module, for when knowing that the flow of backbone network Service Instance numbering I-SID needs to move to the 2nd B-VLAN from the first backbone virtual-LAN B-VLAN, broadcast the one LSP message and the 2nd LSP message; Wherein, in a described LSP message, carry the corresponding relation of described 2nd B-VLAN and the second equivalent tree ECT, in described 2nd LSP message, carry the corresponding relation of described I-SID and described 2nd B-VLAN;
Tunnel management module, for when receiving a LSP message and the 2nd LSP message of other network equipment, utilize the corresponding relation of the corresponding relation of described I-SID and described 2nd B-VLAN, described 2nd B-VLAN and described 2nd ECT, determine corresponding described 2nd ECT of described I-SID, and utilize described 2nd ECT to carry out topology calculate, obtain the second single tunnel that described I-SID is corresponding;
Data transmission blocks, for before the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel utilizing described I-SID corresponding sends the flow of described I-SID, and described first single tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; After the LSP message receiving all specified network equipment and the 2nd LSP message, the second single tunnel utilizing described I-SID corresponding sends the flow of described I-SID.
Described data transmission blocks, specifically for before the LSP message receiving all specified network equipment and the 2nd LSP message, for the flow being received described I-SID by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the first single tunnel all utilizing described I-SID corresponding sends the flow of described I-SID; After the LSP message receiving all specified network equipment and the 2nd LSP message, for the flow being received described I-SID by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the second single tunnel all utilizing described I-SID corresponding sends the flow of described I-SID.
Described LSP message sending module, also for after the LSP message receiving all specified network equipment and the 2nd LSP message, the three LSP message of broadcast for deleting the first single tunnel, and in described 3rd LSP message, carry the corresponding relation of described I-SID and a described B-VLAN;
Described tunnel management module, also for after the 3rd LSP message receiving all specified network equipment, deletes the first single tunnel that described I-SID is corresponding.
Described tunnel management module, also for after the LSP message receiving all specified network equipment and the 2nd LSP message, delete the first Multicast Tunnel that described I-SID is corresponding, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; And described 2nd ECT utilizing described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; Or,
After the LSP message receiving all specified network equipment and the 2nd LSP message, described 2nd ECT utilizing described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; And, delete the first Multicast Tunnel that described I-SID is corresponding, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain.
The described network equipment is applied in the shortest path bridge SPBM network of MAC-in-MAC pattern, and is the backbone edges bridge BEB equipment in SPBM network or backbone network core bridges BCB equipment.
Compared with prior art, the embodiment of the present invention at least has the following advantages: in the embodiment of the present invention, by the specific implementation technology in definition ECT smooth migration process, can try one's best in ECT transition process and reduce the interruption of I-SID flow, and achieve the smooth migration of ECT.
Accompanying drawing explanation
Fig. 1 is the networking schematic diagram of the SPBM network proposed in prior art;
Fig. 2 is the schematic diagram being calculated with device A two the SPT trees being root by use two ECT algorithms proposed in prior art;
Fig. 3 is a kind of ECT smooth migration method flow schematic diagram that the embodiment of the present invention proposes;
Fig. 4 is the structural representation of a kind of network equipment that the embodiment of the present invention proposes.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
The embodiment of the present invention proposes a kind of ECT smooth migration method, by realizing details in definition ECT smooth migration process, to reduce the interruption of I-SID flow in ECT transition process as far as possible, and realizes the smooth migration of ECT; Wherein, the method can be applied to SPBM network, and the network equipment in this SPBM network is BEB equipment or BCB equipment.As shown in Figure 3, the method can comprise the following steps:
Step 301, the network equipment is knowing that I-SID(is follow-up for I-SID1) flow need to move to from a B-VLAN flow that namely the 2nd B-VLAN(configure I-SID1 and move to the 2nd B-VLAN by a B-VLAN) time, broadcast a LSP(LinkStateProtocolDataUnit, Link State Protocol Data Unit) message and the 2nd LSP message.Wherein, for each network equipment in SPBM network, its processing procedure is identical, and for convenience of describing, the follow-up process with a network equipment is described.
In the embodiment of the present invention, the VLANID of B-VLAN and B-VID(provider backbone) corresponding, namely the network equipment is when knowing that the flow of I-SID1 needs to move to the 2nd B-VID from a B-VID, broadcast the one LSP message and the 2nd LSP message; Follow-uply to be described for B-VLAN.
In the embodiment of the present invention, a LSP message for notifying the corresponding relation of B-VLAN and ECT, and carries the corresponding relation of the 2nd B-VLAN and the 2nd ECT in a LSP message; Further, the U-bit in a LSP message can set be the first mark (as 1), and U-bit is the first mark represents B-VLAN(i.e. the 2nd B-VLAN of current notifications) on carry the flow of I-SID1.
In the embodiment of the present invention, the 2nd LSP message for notifying the corresponding relation of I-SID and B-VLAN, and carries the corresponding relation of I-SID1 and the 2nd B-VLAN in the 2nd LSP message; Further, the R mark in the 2nd LSP message can set be the second mark (1), and T mark can set be the 3rd mark (as 1); Wherein, this R is labeled as the second mark and represents that the network equipment sending the 2nd LSP message can receive the flow of I-SID1, and this T is labeled as the 3rd mark and represents that the network equipment sending the 2nd LSP message can send the flow of I-SID1.
Step 302, the network equipment is when receiving a LSP message and the 2nd LSP message of other network equipment, utilize the I-SID1 and the corresponding relation of the 2nd B-VLAN and the corresponding relation of the 2nd B-VLAN and the 2nd ECT that wherein carry, determine that I-SID1 corresponds to the 2nd ECT, and utilize the 2nd ECT to carry out topology calculate, obtain the second single tunnel that I-SID1 is corresponding.
Concrete, the network equipment is being resolved to the corresponding relation of I-SID1 and the 2nd B-VLAN from the 2nd LSP message, be resolved to the corresponding relation of the 2nd B-VLAN and the 2nd ECT from a LSP message after, can know that the flow of I-SID1 will be carried in the SPT set that calculated by the 2nd ECT, therefore the network equipment can utilize the 2nd ECT to carry out topology calculate, obtain the second single tunnel corresponding to I-SID1 (comprising clean culture list item and single tunnel information), repeat no more in this computational process embodiment of the present invention.
Step 303, the network equipment is receiving all specified network equipment (before namely the flow of I-SID1 moves to the 2nd B-VLAN from a B-VLAN, broadcasted the network equipment of the corresponding relation of I-SID1 and a B-VLAN) a LSP message and the 2nd LSP message before, the first single tunnel utilizing I-SID1 corresponding sends the flow of I-SID1; The network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and the second single tunnel utilizing I-SID1 corresponding sends the flow of I-SID1.
In the embodiment of the present invention, before the flow of I-SID1 moves to the 2nd B-VLAN from a B-VLAN, need the flow by single tunnel transmission I-SID1 corresponding to a B-VLAN, therefore the network equipment can carry out topology calculate based on the ECT that a B-VLAN is corresponding, obtains the first single tunnel that I-SID1 is corresponding; Then, before the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel utilizing I-SID1 corresponding sends the flow of I-SID1.
Concrete, the network equipment is after obtaining the second single tunnel corresponding to I-SID1, before the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel that I-SID1 is corresponding can not be covered by the second single tunnel that I-SID1 is corresponding, the first single tunnel that now I-SID1 is corresponding is primary single tunnel, and the second single tunnel that I-SID1 is corresponding is single tunnel for subsequent use; Namely the second single tunnel that I-SID1 is corresponding can receive the flow of I-SID1, but can not send the flow of I-SID1; The first single tunnel that I-SID1 is corresponding can receive the flow of I-SID1, also can send the flow of I-SID1.
Based on this, the first single tunnel that the network equipment utilizes I-SID1 corresponding sends the flow of I-SID1 and comprises: for the flow being received I-SID1 by the first single tunnel corresponding to I-SID1 or the second single tunnel, the first single tunnel that the network equipment all utilizes I-SID1 corresponding sends the flow of I-SID1.
In the embodiment of the present invention, at the flow of I-SID1 from after a B-VLAN moves to the 2nd B-VLAN, need the flow by single tunnel transmission I-SID1 corresponding to the 2nd B-VLAN, therefore the network equipment can carry out topology calculate based on the 2nd ECT that the 2nd B-VLAN is corresponding, obtains the second single tunnel that I-SID1 is corresponding; Then, after the LSP message receiving all specified network equipment and the 2nd LSP message, the second single tunnel utilizing I-SID1 corresponding sends the flow of I-SID1.
Concrete, the network equipment is by detecting the 2nd LSP message of the corresponding relation carrying I-SID1 and the 2nd B-VLAN, if know that all specified network equipment (i.e. the network equipment of the corresponding relation of all I-SID1 of existence and a B-VLAN) has all issued the corresponding relation of I-SID1 and the 2nd B-VLAN, then think that ECT moves configuration and completes, start the flow migration of I-SID1; Due to the difference of LSP message transfer time and each network device computes ability, in network all-network equipment start ECT migration time can be variant, therefore after the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel that I-SID1 is corresponding is not deleted at once, the first single tunnel that now I-SID1 is corresponding is single tunnel for subsequent use, and the second single tunnel that I-SID1 is corresponding is primary single tunnel; Namely the first single tunnel that I-SID1 is corresponding can receive the flow of I-SID1, but can not send the flow of I-SID1; The second single tunnel that I-SID1 is corresponding can receive the flow of I-SID1, also can send the flow of I-SID1.
Based on this, the second single tunnel that the network equipment utilizes I-SID1 corresponding sends the flow of I-SID1 and comprises: for the flow being received I-SID1 by the first single tunnel corresponding to I-SID1 or the second single tunnel, the second single tunnel that the network equipment all utilizes I-SID1 corresponding sends the flow of I-SID1.
In sum, in the embodiment of the present invention, by ECT smooth migration process, the flow using primary single tunnel to carry out I-SID1 sends, and the flow using primary single tunnel and single tunnel for subsequent use to carry out I-SID1 receives, thus ensure the Flow continuity of I-SID1.
In the embodiment of the present invention, the network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, also need to broadcast the 3rd LSP message for deleting the first single tunnel, 3rd LSP message for notifying the corresponding relation of I-SID and B-VLAN, and carries the corresponding relation of I-SID1 and a B-VLAN in the 3rd LSP message;
R mark in 3rd LSP message can set be the second mark (1), and T mark can set be the 4th mark (as 0); Wherein, this R is labeled as the second mark and represents that the network equipment sending the 3rd LSP message can receive the flow of I-SID1, and this T is labeled as the 4th mark and represents that the network equipment sending the 3rd LSP message cannot send the flow of I-SID1.
Further, the network equipment, after receiving the 3rd LSP message of all specified network equipment, no longer needs to send the 3rd LSP message of the corresponding relation carrying I-SID1 and a B-VLAN; When not carrying the corresponding relation of I-SID1 and a B-VLAN in the LSP that all-network equipment in network is issued, delete the first single tunnel that I-SID1 is corresponding, now the first single tunnel no longer carries the flow of I-SID1.
In addition, at the flow of I-SID1 from after a B-VLAN moves to the 2nd B-VLAN, if a B-VLAN does not carry the flow of any I-SID, then the network equipment also needs to send the LSP message of the corresponding relation carrying a B-VLAN and an ECT, and U-bit in this LSP message can set be the 5th mark (as 0), and U-bit is the B-VLAN(i.e. B-VLAN that the 5th mark represents current notifications) on do not carry the flow of any I-SID.
In the embodiment of the present invention, the network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, delete the first Multicast Tunnel (it is carry out topology calculate based on the ECT that a B-VLAN is corresponding to obtain) that I-SID1 is corresponding, and the 2nd ECT utilizing the 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that I-SID1 is corresponding.Or, after the LSP message receiving all specified network equipment and the 2nd LSP message, the 2nd ECT utilizing the 2nd B-VLAN corresponding carries out topology calculate, obtain the second Multicast Tunnel that I-SID1 is corresponding, and delete the first Multicast Tunnel corresponding to I-SID1 (being carry out topology calculate based on the ECT that a B-VLAN is corresponding to obtain).
Based on the inventive concept same with said method, the embodiment of the present invention also proposed a kind of network equipment, and as shown in Figure 4, this network equipment comprises:
LSP message sending module 11, for when knowing that the flow of backbone network Service Instance numbering I-SID needs to move to the 2nd B-VLAN from the first backbone virtual-LAN B-VLAN, broadcasts the first Link State Protocol Data Unit LSP message and the 2nd LSP message; Wherein, in a described LSP message, carry the corresponding relation of described 2nd B-VLAN and the second equivalent tree ECT, in described 2nd LSP message, carry the corresponding relation of described I-SID and described 2nd B-VLAN;
Tunnel management module 12, for when receiving a LSP message and the 2nd LSP message of other network equipment, utilize the corresponding relation of the corresponding relation of described I-SID and described 2nd B-VLAN, described 2nd B-VLAN and described 2nd ECT, determine corresponding described 2nd ECT of described I-SID, and utilize described 2nd ECT to carry out topology calculate, obtain the second single tunnel that described I-SID is corresponding;
Data transmission blocks 13, for before the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel utilizing described I-SID corresponding sends the flow of described I-SID, and described first single tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; After the LSP message receiving all specified network equipment and the 2nd LSP message, the second single tunnel utilizing described I-SID corresponding sends the flow of described I-SID.
Described data transmission blocks 13, specifically for before the LSP message receiving all specified network equipment and the 2nd LSP message, for the flow being received described I-SID by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the first single tunnel all utilizing described I-SID corresponding sends the flow of described I-SID; After the LSP message receiving all specified network equipment and the 2nd LSP message, for the flow being received described I-SID by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the second single tunnel all utilizing described I-SID corresponding sends the flow of described I-SID.
Described LSP message sending module 11, also for after the LSP message receiving all specified network equipment and the 2nd LSP message, the three LSP message of broadcast for deleting the first single tunnel, and in described 3rd LSP message, carry the corresponding relation of described I-SID and a described B-VLAN;
Described tunnel management module 12, also for after the 3rd LSP message receiving all specified network equipment, deletes the first single tunnel that described I-SID is corresponding.
Described tunnel management module 12, also for after the LSP message receiving all specified network equipment and the 2nd LSP message, delete the first Multicast Tunnel that described I-SID is corresponding, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; And described 2nd ECT utilizing described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; Or,
After the LSP message receiving all specified network equipment and the 2nd LSP message, described 2nd ECT utilizing described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; And, delete the first Multicast Tunnel that described I-SID is corresponding, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain.
In the embodiment of the present invention, the described network equipment is applied in the shortest path bridge SPBM network of MAC-in-MAC pattern, and is the backbone edges bridge BEB equipment in described SPBM network or backbone network core bridges BCB equipment.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. an equivalent tree ECT smooth migration method, it is characterized in that, the method comprises the following steps:
The network equipment, when knowing that the flow of backbone network Service Instance numbering I-SID needs to move to the 2nd B-VLAN from the first backbone virtual-LAN B-VLAN, broadcasts the first Link State Protocol Data Unit LSP message and the 2nd LSP message; Wherein, in a described LSP message, carry the corresponding relation of described 2nd B-VLAN and the 2nd ECT, in described 2nd LSP message, carry the corresponding relation of described I-SID and described 2nd B-VLAN;
The network equipment is when receiving a LSP message and the 2nd LSP message of other network equipment, utilize the corresponding relation of the corresponding relation of described I-SID and described 2nd B-VLAN, described 2nd B-VLAN and described 2nd ECT, determine corresponding described 2nd ECT of described I-SID, and utilize described 2nd ECT to carry out topology calculate, obtain the second single tunnel that described I-SID is corresponding;
The network equipment is before the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel utilizing described I-SID corresponding sends the flow of described I-SID, and described first single tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain;
The network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and the second single tunnel utilizing described I-SID corresponding sends the flow of described I-SID.
2. the method for claim 1, is characterized in that,
The first single tunnel that the described network equipment utilizes described I-SID corresponding sends the flow of described I-SID, specifically comprise: for the flow of the described I-SID received by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the first single tunnel that the described network equipment all utilizes described I-SID corresponding sends the flow of described I-SID;
The second single tunnel that the described network equipment utilizes described I-SID corresponding sends the flow of described I-SID, specifically comprise: for the flow of the described I-SID received by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the second single tunnel that the described network equipment all utilizes described I-SID corresponding sends the flow of described I-SID.
3. the method for claim 1, is characterized in that, the described network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and described method comprises further:
The three LSP message of described network equipment broadcast for deleting the first single tunnel, and in described 3rd LSP message, carry the corresponding relation of described I-SID and a described B-VLAN;
The described network equipment, after the 3rd LSP message receiving all specified network equipment, no longer sends described 3rd LSP message; When not carrying the corresponding relation of described I-SID and a described B-VLAN in the LSP that all-network equipment in network is issued, delete the first single tunnel that described I-SID is corresponding.
4. the method for claim 1, is characterized in that, the described network equipment is after the LSP message receiving all specified network equipment and the 2nd LSP message, and described method comprises further:
The described network equipment deletes the first Multicast Tunnel corresponding to described I-SID, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; And,
Described 2nd ECT that the described network equipment utilizes described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding;
Or,
Described 2nd ECT that the described network equipment utilizes described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; And,
The described network equipment deletes the first Multicast Tunnel corresponding to described I-SID, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain.
5. the method as described in any one of claim 1-4, it is characterized in that, described ECT smooth migration method is applied in the shortest path bridge SPBM network of MAC-in-MAC pattern, and the network equipment in described SPBM network is backbone edges bridge BEB equipment or backbone network core bridges BCB equipment.
6. a network equipment, is characterized in that, comprising:
Link State Protocol Data Unit LSP message sending module, for when knowing that the flow of backbone network Service Instance numbering I-SID needs to move to the 2nd B-VLAN from the first backbone virtual-LAN B-VLAN, broadcast the one LSP message and the 2nd LSP message; Wherein, in a described LSP message, carry the corresponding relation of described 2nd B-VLAN and the second equivalent tree ECT, in described 2nd LSP message, carry the corresponding relation of described I-SID and described 2nd B-VLAN;
Tunnel management module, for when receiving a LSP message and the 2nd LSP message of other network equipment, utilize the corresponding relation of the corresponding relation of described I-SID and described 2nd B-VLAN, described 2nd B-VLAN and described 2nd ECT, determine corresponding described 2nd ECT of described I-SID, and utilize described 2nd ECT to carry out topology calculate, obtain the second single tunnel that described I-SID is corresponding;
Data transmission blocks, for before the LSP message receiving all specified network equipment and the 2nd LSP message, the first single tunnel utilizing described I-SID corresponding sends the flow of described I-SID, and described first single tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; After the LSP message receiving all specified network equipment and the 2nd LSP message, the second single tunnel utilizing described I-SID corresponding sends the flow of described I-SID.
7. the network equipment as claimed in claim 6, is characterized in that,
Described data transmission blocks, specifically for before the LSP message receiving all specified network equipment and the 2nd LSP message, for the flow of the described I-SID received by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the first single tunnel all utilizing described I-SID corresponding sends the flow of described I-SID; After the LSP message receiving all specified network equipment and the 2nd LSP message, for the flow of the described I-SID received by the first single tunnel corresponding to described I-SID or the second single tunnel corresponding to described I-SID, the second single tunnel all utilizing described I-SID corresponding sends the flow of described I-SID.
8. the network equipment as claimed in claim 6, is characterized in that,
Described LSP message sending module, also for after the LSP message receiving all specified network equipment and the 2nd LSP message, the three LSP message of broadcast for deleting the first single tunnel, and in described 3rd LSP message, carry the corresponding relation of described I-SID and a described B-VLAN;
Described tunnel management module, also for after the 3rd LSP message receiving all specified network equipment, no longer sends described 3rd LSP message; When not carrying the corresponding relation of described I-SID and a described B-VLAN in the LSP that all-network equipment in network is issued, delete the first single tunnel that described I-SID is corresponding.
9. the network equipment as claimed in claim 6, is characterized in that,
Described tunnel management module, also for after the LSP message receiving all specified network equipment and the 2nd LSP message, delete the first Multicast Tunnel that described I-SID is corresponding, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain; And described 2nd ECT utilizing described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; Or,
After the LSP message receiving all specified network equipment and the 2nd LSP message, described 2nd ECT utilizing described 2nd B-VLAN corresponding carries out topology calculate, obtains the second Multicast Tunnel that described I-SID is corresponding; And, delete the first Multicast Tunnel that described I-SID is corresponding, and described first Multicast Tunnel is carry out topology calculate based on the ECT that a described B-VLAN is corresponding to obtain.
10. the network equipment as described in any one of claim 6-9, it is characterized in that, the described network equipment is applied in the shortest path bridge SPBM network of MAC-in-MAC pattern, and is the backbone edges bridge BEB equipment in described SPBM network or backbone network core bridges BCB equipment.
CN201210558996.9A 2012-12-20 2012-12-20 A kind of ECT smooth migration method and apparatus Active CN103001886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210558996.9A CN103001886B (en) 2012-12-20 2012-12-20 A kind of ECT smooth migration method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210558996.9A CN103001886B (en) 2012-12-20 2012-12-20 A kind of ECT smooth migration method and apparatus

Publications (2)

Publication Number Publication Date
CN103001886A CN103001886A (en) 2013-03-27
CN103001886B true CN103001886B (en) 2016-04-27

Family

ID=47930039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210558996.9A Active CN103001886B (en) 2012-12-20 2012-12-20 A kind of ECT smooth migration method and apparatus

Country Status (1)

Country Link
CN (1) CN103001886B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184667B (en) * 2013-05-22 2017-09-15 新华三技术有限公司 Flux of multicast moving method and device in a kind of SPB network of M in M-modes
CN103634191B (en) * 2013-11-27 2017-05-10 新华三技术有限公司 Equal cost tree transfer method and device
CN103746921B (en) * 2013-12-30 2017-09-15 新华三技术有限公司 The implementation method and device of example in a kind of PVST networkings
CN103701701B (en) * 2013-12-31 2017-04-12 杭州华三通信技术有限公司 Method and device for ECT (Equal Cost Tree) migration management
CN109246011B (en) * 2018-10-25 2021-05-25 新华三技术有限公司 Message forwarding method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101926129A (en) * 2007-12-21 2010-12-22 北电网络有限公司 Evolution of Ethernet networks
CN102204223A (en) * 2008-10-28 2011-09-28 北方电讯网络有限公司 Provisioned provider link state bridging (plsb) with routed back-up

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011154850A1 (en) * 2010-06-09 2011-12-15 Telefonaktiebolaget L M Ericsson (Publ) In-service upgrade of provider bridge networks
US8848519B2 (en) * 2011-02-28 2014-09-30 Telefonaktiebolaget L M Ericsson (Publ) MPLS fast re-route using LDP (LDP-FRR)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101926129A (en) * 2007-12-21 2010-12-22 北电网络有限公司 Evolution of Ethernet networks
CN102204223A (en) * 2008-10-28 2011-09-28 北方电讯网络有限公司 Provisioned provider link state bridging (plsb) with routed back-up

Also Published As

Publication number Publication date
CN103001886A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN102804693B (en) For realizing the method and apparatus of L2 VPN on ip networks
US9515845B2 (en) Utility communication method and system
CN103001886B (en) A kind of ECT smooth migration method and apparatus
CN103731288A (en) Message forwarding method and device
CN103166858B (en) A kind of message transmitting method and equipment
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN104767680B (en) It route the method and apparatus being switched fast
CN101286922B (en) Signalling control method, system and apparatus
CN102333028A (en) Method and communication equipment for sending messages by using layered bi-layer virtual private network
CN104221323A (en) Method for multicast flow routing selection
CN104396197A (en) Selecting between equal cost shortest paths in a 802.1aq network using split tiebreakers
CN109936516A (en) System and method for promoting transparent service mapping across multiple network transmission options
CN103139075B (en) A kind of message transmitting method and equipment
CN102223312B (en) Flow control method and equipment based on link status
CN103209125B (en) A kind of transmission method of label information and equipment
CN103746881A (en) Neighbor state detection method and neighbor state detection device in EVI (Ethernet Virtualization Interconnection) network
CN103841019A (en) Method and device for being connected into shortest path bridging network in multi-homing mode
CN102916888B (en) Multicast data transmission method and multicast data transmission device
CN106452862A (en) Method and device for determining loop network
CN104429022A (en) Connectivity fault management in communication network
CN103152265B (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network
CN103152283B (en) A kind of method and apparatus of aggregated links load balancing
CN101719857B (en) Asymmetric PW-based VPLS network access method and asymmetric PW-based VPLS network access system
CN104009919A (en) Message forwarding method and device
CN103414642A (en) Maintaining method and device of information forwarding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
CB03 Change of inventor or designer information

Inventor after: Xin Xubing

Inventor after: Yang Yubin

Inventor after: Zhou Wan

Inventor after: Zhang Haifeng

Inventor before: Xin Shubing

Inventor before: Yang Yubin

Inventor before: Zhou Wan

Inventor before: Zhang Haifeng

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20230616

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right