CN103634191A - Equal cost tree transfer method and device - Google Patents

Equal cost tree transfer method and device Download PDF

Info

Publication number
CN103634191A
CN103634191A CN201310624403.9A CN201310624403A CN103634191A CN 103634191 A CN103634191 A CN 103634191A CN 201310624403 A CN201310624403 A CN 201310624403A CN 103634191 A CN103634191 A CN 103634191A
Authority
CN
China
Prior art keywords
vlan
equipment
sid
beb equipment
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.)
Granted
Application number
CN201310624403.9A
Other languages
Chinese (zh)
Other versions
CN103634191B (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.)
Hangzhou H3C 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 CN201310624403.9A priority Critical patent/CN103634191B/en
Publication of CN103634191A publication Critical patent/CN103634191A/en
Application granted granted Critical
Publication of CN103634191B publication Critical patent/CN103634191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an equal cost tree transfer method and equipment. The method comprises the steps of when BCB (backbone core bridge) equipment detects that any one BEB (backbone edge bridge) equipment does not support ECT (equal cost tree) smooth transfer in the ECT transfer process of an I-SID (backbone service instance identifier), judging whether the unicast forwarding table entry of the I-SID in a new B-VLAN (backbone-virtual local area network) taking the BEB equipment as a source is calculated or not, if so, directly deleting the unicast forwarding table entry of the I-SID in the old B-VLAN taking the BEB equipment as the source, if not, after receiving an LSP (link state protocol) message sent by the BEB equipment, calculating a unicast forwarding table entry of the I-SID in the new B-VLAN taking the BEB equipment as the source, sending the calculated table entry to a data plane, and deleting the unicast forwarding table entry of the I-SID in the old B-VLAN taking the BEB equipment as the source at the same time. The cutoff phenomenon during ECT transfer is reduced.

Description

Equivalent tree moving method and device
Technical field
The present invention relates to SPB(Shortest Path Bridging, shortest path bridge) technical field, relate in particular to ECT(Equal Cost Tree, equivalent tree) moving method and device.
Background technology
SPB is one of ethernet standard of IEEE802.1aq definition, MSTP(Multi Spanning Tree Protocol, Multiple Spanning Tree Protocol) further extension, be intended to build the clog-free double layer network of large flat, use SPB-ISIS(Intermediate System to Intermediate System, Intermediate System-to-Intermediate System) carry out the Link State in shared network, shortest path between each each node of node parallel computation of network, avoided use STP(Spanning Tree Protocol, Spanning-Tree Protocol) unsteadiness of bringing and the low deficiency of part of links utilization ratio.
IEEE802.1aq has defined two kinds of SPB patterns: VLAN pattern (SPBV) and MAC-in-MAC pattern (SPBM).SPBM has inherited the message encapsulation format of 802.1ah and the thought of multiple service instances, but has redefined pass-through mode and the control plane of datum plane, by SPB-ISIS, learns link-state information, and it is synchronous to carry out the whole network, calculates forward-path.
Referring to Fig. 1, Fig. 1 is existing SPBM networking schematic diagram, and user network is by BEB(Backbone Edge Bridge, backbone network edge bridges) be connected to backbone network, in backbone network, between BEB, pass through BCB(Backbone Core Bridge, backbone network core bridges) be connected.Wherein, BEB is responsible for the message from user network to carry out M-in-M encapsulation, and is forwarded in backbone network; Or the M-in-M message from backbone network is carried out to decapsulation, and be forwarded in user network.BCB is responsible for according to B-MAC(backbone network MAC) and B-VLAN(backbone network VLAN) forwarding M-in-M message.
In SPBM network, each Service Instance has represented class business or a user, has only numbering: I-SID(Backbone Service Instance Identifier, backbone network Service Instance numbering), and be carried in a B-VLAN.In SPBM, equipment is not dynamic learning MAC address in B-VLAN, and forwarding-table item is learnt and be issued to datum plane by control plane.Each equipment can generate LSP(Link State Protocol, link-state protocol) message, all link-state informations that LSP message has comprised this equipment and the corresponding relation of B-MAC/B-VLAN and I-SID.When equipment receives the LSP message that miscellaneous equipment in network sends, start topology and calculate, and final generating forward list item be issued to datum plane, datum plane carries out the processing of message according to these forwarding-table items.
A Service Instance in service state is moved to new B-VLAN from old B-VLAN, be called ECT(Equal Cost Tree, equivalent tree) migration, all equipment that configures this I-SID Service Instance in SPBM network, the B-VLAN of its carrying becomes new B-VLAN, and after old B-VLAN no longer carries this I-SID, think that ECT has moved.
For example, in the simple networking of the SPBM shown in Fig. 2, device A and C are BEB equipment, and equipment B is BCB equipment, and the B-VLAN that device A and equipment C have all configured I-SID1000(carrying is 1).The B-VLAN of carrying I-SID1000 is become at 2 o'clock from 1, be called ECT migration; The B-VLAN that carries I-SID1000 in device A and equipment C becomes 2 and B-VLAN1 while no longer carrying I-SID1000, and ECT has moved.
ISID-ADDR sub-TLV in LSP message is used for carrying the mapping relations of I-SID and B-VLAN, and the mapping relations of B-MAC and B-VLAN.SPBM will do multicast according to ISID-ADDR sub-TLV and calculate, wherein, the set of T mark represents to send the IS node of this sub-TLV as the multicast source node of this I-SID, and the set of R mark represents to send the IS node of this sub-TLV as the multicast receiving node of I-SID.An IS node both can be used as the multicast source node of I-SID, also can be used as the multicast receiving node of I-SID.
ISID-ADDR sub-TLV form as shown in Figure 3.
ECT when migration, mutual concise and to the point the description as shown in Figure 4 of LSP message (actual capabilities complexity many).While having carried the B-VLAN before I-SID moves and after moving in the ISID-ADDR of LSP message sub-TLV, claim LSP message to carry I-SID migration information simultaneously.
Flow switch schematic diagram when Fig. 5 is existing ECT migration, as shown in Figure 5, the B-VLAN of I-SID 1000 carryings moves to B-VLAN2 by B-VLAN1.Flow before ECT migration is illustrated by the broken lines, and the flow after migration is represented by solid line.
During ECT migration, after waiting for that all BEB equipment (participating in the BEB equipment of migration) that has configured this I-SID of the whole network moves to new B-VLAN by I-SID, could flow switch is upper to new B-VLAN, the smooth migration of flow while moving to reach ECT.As long as have a BEB equipment that has configured this I-SID not complete migration in network, other BEB equipment that participates in migration all must be waited for, cannot complete the switching of flow.This migration pattern is also referred to as ECT smooth migration.
If have one or several BEB equipment not support ECT smooth migration in network, can cause the ECT smooth migration failure of the whole network.In Fig. 5, if equipment C cannot support ECT smooth migration, in ECT transition process, directly that flow switch is upper (in the ISID-ADDR sub-TLV that the LSP message that equipment C sends carries to B-VLAN2, comprised I-SID=1000, B-VLAN=2, T=1, R=1, and no longer comprise I-SID=1000, B-VLAN=1, T=1, R=1), will cause cutout.Other BEB equipment is received after the LSP message of equipment C transmission, will be deleted I-SID1000, the tunnel information of B-VLAN1; BCB equipment is received after the LSP message of equipment C transmission, will be deleted I-SID1000, the forwarding-table item of B-VLAN1.Meanwhile, due to the migration of other BEB equipment at waiting facilities C, also do not have to issue I-SID1000, the tunnel information of B-VLAN2, BCB equipment may also not calculate I-SID1000, the forwarding-table item of B-VLAN2, thus caused the cutout of long period.
Visible, in network, exist while not supporting the BEB equipment of ECT smooth migration, the failure of the whole network ECT smooth migration, thus cause the cutout of long period.
Summary of the invention
The invention provides ECT moving method and device, the cutout phenomenon when reducing the migration of ECT in SPBM network.
Technical scheme of the present invention is achieved in that
An equivalent tree ECT moving method, is applied in the shortest path bridge SPBM network of MAC-in-MAC pattern, and the method comprises:
Backbone network core bridges BCB equipment receives the first link-state protocol LSP message that arbitrary backbone network edge bridges BEB equipment is sent, this message indication backbone network Service Instance numbering I-SID will move to the 2nd B-VLAN from the first backbone network VLAN B-VLAN, take this BEB equipment is source, calculate the unicast forwarding list item of this I-SID in the 2nd B-VLAN, this list item is issued to datum plane; When BCB equipment receives the 3rd LSP message that described BEB equipment is sent, find that this message indication I-SID had moved to the 2nd B-VLAN when upper, delete that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN;
In the ECT of described I-SID transition process, if described BCB equipment is found the BEB equipment of the described I-SID of arbitrary carrying and is not supported ECT smooth migration, judge whether to have calculated take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, if, directly delete that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the unicast forwarding list item of this I-SID in a B-VLAN.
In the ECT transition process at described I-SID, if finding the BEB equipment of the described I-SID of arbitrary carrying, described BCB equipment do not support ECT smooth migration, described method further comprises:
Judge whether to calculate take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, if so, directly delete that in datum plane, to take this BEB equipment be source, the multicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the multicast forwarding list item of this I-SID in a B-VLAN.
The BEB equipment of the described I-SID of the arbitrary carrying of described BCB device discovery does not support ECT smooth migration to be:
BCB device discovery: the mapping relations that the LSP message that BEB equipment sends when ECT migration starts has only carried a B-VLAN and described I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, BCB device discovery: the LSP message that BEB equipment sends in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and described I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, BCB device discovery: BEB equipment only sends the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
An ECT moving method, the method comprises:
The 2nd BEB equipment receives the LSP message that a BEB equipment is sent, this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, the 2nd BEB equipment that calculates clean culture tunnel to a BEB equipment in the 2nd B-VLAN, and start clean culture tunnel and issue waiting timer, when timer is to constantly, to datum plane, issue this clean culture tunnel information, and the 2nd BEB equipment in datum plane deleted in a B-VLAN to the clean culture tunnel information of a BEB equipment;
In ECT transition process, if the 2nd BEB equipment is found a BEB equipment and is not supported ECT smooth migration, judged whether to have calculated this equipment clean culture tunnel to a BEB equipment in the 2nd B-VLAN, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane deleted in a B-VLAN to the clean culture tunnel information of a BEB equipment; Otherwise, after the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN of sending at the BEB equipment that receives, calculate this equipment clean culture tunnel to a BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane simultaneously deleted in a B-VLAN to the clean culture tunnel information of a BEB equipment.
When in ECT transition process, if finding a BEB equipment, the 2nd BEB equipment do not support ECT smooth migration, described method further comprises:
Judged whether to calculate this equipment Multicast Tunnel to a BEB equipment in the 2nd B-VLAN, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane deleted in a B-VLAN to the Multicast Tunnel information of a BEB equipment; Otherwise, after the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN of sending at the BEB equipment that receives, calculate this equipment Multicast Tunnel to a BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane simultaneously deleted in a B-VLAN to the Multicast Tunnel information of a BEB equipment.
The shortest forward-path jumping figure between the timing length that described clean culture tunnel issues waiting timer and first and second BEB equipment and the transmission cycle of LSP message are directly proportional.
Described the 2nd BEB device discovery the one BEB equipment does not support ECT smooth migration to be:
The 2nd BEB device discovery: the mapping relations that the LSP message that a BEB equipment sends when ECT migration starts has only carried a B-VLAN and I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite BEB equipment is not supported ECT smooth migration;
Or, the 2nd BEB device discovery: the LSP message that a BEB equipment sends in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that a BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, the 2nd BEB device discovery: a BEB equipment only sends the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
Described method further comprises:
When the 2nd BEB device discovery self has received the described I-SID of all carryings and supported the indication I-SID that the BEB equipment of ECT smooth migration is sent will move to from a B-VLAN a described LSP message of the 2nd B-VLAN, start to send the 2nd LSP message, the 2nd LSP message indicates this equipment to get ready described I-SID from B-VLAN smooth migration to the two B-VLAN.
Described method further comprises:
After the 2nd BEB device discovery self has received the described I-SID of all carryings and has supported described the 2nd LSP message that the BEB equipment of ECT smooth migration sends, start to send the 3rd LSP message, in the 3rd LSP message, only carry the mapping relations of described I-SID and the 2nd B-VLAN.
A BCB equipment, is applied in SPBM network, and this equipment comprises:
The first module: receive the LSP message that arbitrary BEB equipment is sent, this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, take this BEB equipment is source, calculates the unicast forwarding list item of this I-SID in the 2nd B-VLAN, and this list item is issued to datum plane; When the 3rd LSP message that receives described BEB equipment and send, this message indication I-SID had moved to the 2nd B-VLAN when upper, deleted that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN;
The second module: in the ECT of described I-SID transition process, if find the BEB equipment of the described I-SID of arbitrary carrying, do not support ECT smooth migration, judge whether to have calculated take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, if, directly delete that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the unicast forwarding list item of this I-SID in a B-VLAN.
Described the second module is in the ECT of described I-SID transition process, if find, the BEB equipment of the described I-SID of arbitrary carrying do not support ECT smooth migration, be further used for,
Judge whether to calculate take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, if so, directly delete that in datum plane, to take this BEB equipment be source, the multicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the multicast forwarding list item of this I-SID in a B-VLAN.
Described the second module finds that the BEB equipment of the described I-SID of arbitrary carrying do not support ECT smooth migration to be:
Find: the mapping relations that the LSP message that BEB equipment sends when ECT migration starts has only carried a B-VLAN and described I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: the LSP message that BEB equipment sends in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and described I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: BEB equipment only sends the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
A BEB equipment, is applied in SPBM network, and this equipment comprises:
The first module: receive the LSP message that other BEB equipment are sent, this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, calculate this equipment clean culture tunnel to these other BEB equipment in the 2nd B-VLAN, and start clean culture tunnel and issue waiting timer, when timer is to constantly, to datum plane, issue this clean culture tunnel information, and this BEB equipment in datum plane of deleting arrives the clean culture tunnel information of these other BEB equipment in a B-VLAN;
The second module: in ECT transition process, if find arbitrary other BEB equipment, do not support ECT smooth migration, judge whether to have calculated this equipment and in the 2nd B-VLAN, arrived the clean culture tunnel of these other BEB equipment, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane of deleting arrives the clean culture tunnel information of these other BEB equipment in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that these other BEB equipment send, calculate this equipment clean culture tunnel to these other BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane of simultaneously deleting arrives the clean culture tunnel information of these other BEB equipment in a B-VLAN.
Described the second module is in ECT transition process, if find, arbitrary other BEB equipment do not support ECT smooth migration, be further used for,
Judge whether to calculate this equipment and in the 2nd B-VLAN, arrived the Multicast Tunnel of these other BEB equipment, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane of deleting arrives the Multicast Tunnel information of these other BEB equipment in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that these other BEB equipment send, calculate this equipment Multicast Tunnel to these other BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane of simultaneously deleting arrives the Multicast Tunnel information of these other BEB equipment in a B-VLAN.
Described the first module is further used for, and the shortest forward-path jumping figure between timing length that clean culture tunnel issues waiting timer and first and second BEB equipment and the transmission cycle of LSP message is set be directly proportional.
Arbitrary other BEB equipment of described the second module discovery do not support ECT smooth migration to be:
Find: the mapping relations that the LSP message that arbitrary other BEB equipment send when ECT migration starts has only carried a B-VLAN and I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: the LSP message that arbitrary other BEB equipment send in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: arbitrary other BEB equipment only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
Described equipment further comprises:
The 3rd module: when finding that this equipment has received the described I-SID of all carryings and supported the indication I-SID that the BEB equipment of ECT smooth migration is sent will move to from a B-VLAN a described LSP message of the 2nd B-VLAN, start to send the 2nd LSP message, the 2nd LSP message indicates this equipment to get ready described I-SID from B-VLAN smooth migration to the two B-VLAN.
Described the 3rd module is further used for, after finding that this equipment has received the described I-SID of all carryings and supported described the 2nd LSP message that the BEB equipment of ECT smooth migration sends, start to send the 3rd LSP message, in the 3rd LSP message, only carry the mapping relations of described I-SID and the 2nd B-VLAN.
Visible, in the present invention, by identification, do not support the BEB equipment of ECT smooth migration, improved ECT migration process process, the cutout phenomenon while having reduced ECT migration.
Accompanying drawing explanation
Fig. 1 is existing SPBM networking schematic diagram;
Fig. 2 is the simple networking schematic diagram of existing SPBM;
Fig. 3 is the ISID-ADDR sub-TLV form schematic diagram in existing LSP message;
LSP message interaction when Fig. 4 is existing ECT migration is briefly described schematic diagram;
Flow switch schematic diagram when Fig. 5 is existing ECT migration;
ECT moving method flow chart in the SPBM network that Fig. 6 provides for the embodiment of the present invention;
The composition schematic diagram of the BCB equipment that Fig. 7 provides for the embodiment of the present invention;
The composition schematic diagram of the BEB equipment that Fig. 8 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Inventor is by existing ECT transition process is analyzed, and finding, in ECT transition process, has following 3 kind equipments, although it supports that ECT moves corresponding I-SID, but can not realize ECT smooth migration:
1, do not support the BEB equipment of ECT smooth migration
In ECT transition process, the mapping relations that the initial LSP message sending has only carried old B-VLAN and I-SID, and in transition process, only sending the LSP message of the mapping relations of only having carried new B-VLAN and I-SID, the LSP message sending in transition process can not carry new B-VLAN and old B-VLAN and the mapping relations of I-SID simultaneously.
2, the LSP message sending in ECT transition process had once carried new B-VLAN and old B-VLAN and the mapping relations of I-SID simultaneously, but, migration does not also complete, and a certain moment is played the mapping relations that the LSP message of transmission has only carried new B-VLAN and I-SID.
This situation is common in equipment in ECT transition process masterslave switchover has occurred, be that original main equipment does not also complete ECT migration, just there is masterslave switchover, after new main equipment starts, owing to only having recorded the mapping relations of new B-VLAN and I-SID, therefore can direct transmission only carry the LSP message of the mapping relations of new B-VLAN and I-SID.
3,, in ECT transition process, only send the LSP message of the mapping relations of only having carried new B-VLAN and I-SID.
This situation is common in the equipment that newly adds network in ECT transition process.
In the present invention, when in ECT transition process, there is the BEB equipment of the I-SID of migration and do not support ECT smooth migration in the arbitrary carrying of BCB device discovery, judge in datum plane, whether existed take this BEB equipment as source, clean culture and/or the multicast forwarding list item of this I-SID in new B-VLAN, if so, directly delete in datum plane, take this BEB equipment as source, clean culture and/or the multicast forwarding list item of this I-SID in old B-VLAN; Otherwise, after the LSP message that at least carries this I-SID and the mapping relations of new B-VLAN that receives that this BEB equipment sends, calculating be take this BEB equipment as source, this I-SID clean culture and/or the multicast forwarding list item in new B-VLAN, and the list item calculating is issued in datum plane, delete simultaneously in datum plane, take this BEB equipment as source, clean culture and/or the multicast forwarding list item of this I-SID in old B-VLAN.
When in ECT transition process, the 2nd BEB device discovery the one BEB equipment is not supported ECT smooth migration, judge whether this equipment has calculated this equipment and in new B-VLAN, gone to clean culture and/or the Multicast Tunnel of a BEB equipment, if, directly to datum plane, issue this tunnel information, this equipment in datum plane simultaneously deleted is gone to clean culture and/or the Multicast Tunnel information of a BEB equipment in old B-VLAN; Otherwise, after the LSP message of the mapping relations of at least carrying described I-SID and new B-VLAN of sending at the BEB equipment that receives, calculate this equipment and in new B-VLAN, go to clean culture and/or the Multicast Tunnel of a BEB equipment, and directly to datum plane, issuing this tunnel information, this equipment in datum plane simultaneously deleted is gone to clean culture and/or the Multicast Tunnel information of a BEB equipment in old B-VLAN.Wherein, there is the I-SID of migration in first and second BEB equipment carrying.
ECT moving method flow chart in the SPBM network that Fig. 6 provides for the embodiment of the present invention, as shown in Figure 6, its concrete steps are as follows:
Arbitrary BEB equipment in step 601:SPBM network receives ECT migration order, according to this migration order, knowing need to be by an I-SID, be made as I-SID1000, from B-VLAN1, move to B-VLAN2, send a LSP message, this message indication I-SID1000 will move to B-VLAN2 by B-VLAN1.
Now, if this BEB equipment is head end replication mode, the ISID-ADDRsub-TLV content of a LSP message at least comprises following information:
I-SID1000,B-VLAN1,T=0,R=1;
I-SID1000,B-VLAN2,T=0,R=1。
If this BEB equipment is core replication mode, the ISID-ADDRsub-TLV content of a LSP message at least comprises following information:
I-SID1000,B-VLAN1,T=1,R=1;
I-SID1000,B-VLAN2,T=1,R=1。
For BEB equipment, defaultly think core replication mode.
ECT migration starts and can be triggered by a management equipment, for example: as an I-SID, be made as I-SID1000, when the B-VLAN of its configuration changes to B-VLAN2 by B-VLAN1, management equipment sends migration order to the BEB equipment of all carrying I-SID1000, the information such as B-VLAN2 of carrying I-SID1000 and need to move in migration order.
Step 602: when arbitrary BCB equipment receives a described LSP message, find that this message indication I-SID1000 will move to B-VLAN2 from B-VLAN1, the BEB equipment of sending this message of take is source, calculate unicast forwarding list item and the multicast forwarding list item of I-SID1000 in B-VLAN2, and the list item calculating is issued to datum plane.
Now, because ECT migration does not also complete, BCB equipment is not deleted to take in datum plane and is sent clean culture and the multicast forwarding list item of the old B-VLAN:B-VLAN1 that the BEB equipment of a LSP message is source.
It should be noted that, no matter BCB equipment is set up unicast forwarding list item or multicast forwarding list item, all must know source BEB equipment and object BEB equipment simultaneously.When BCB equipment receives the LSP message that a BEB device A sends, if self received the LSP message that other BEB equipment are sent, directly take BEB device A as source, and take respectively each other BEB equipment is object, calculates the unicast forwarding list item of I-SID1000 in B-VLAN2; Simultaneously, judge in the LSP message that BEB device A sends, whether T corresponding to B-VLAN2 is 1, if, illustrate that BEB device A is multicast sender, then judge respectively in the LSP message that each other BEB equipment sends, whether R corresponding to B-VLAN2 is 1, if 1, illustrate that these other BEB equipment are multicast receivers, take BEB device A as multicast source, and other BEB equipment of R=1 of take are multicast receivers, calculate the multicast forwarding list item of I-SID1000 in B-VLAN2.
Step 603: arbitrary other BEB equipment, be made as BEB equipment B, receive after the described LSP message that BEB device A sends, calculate this equipment clean culture tunnel to BEB device A in B-VLAN2, calculate complete startup clean culture tunnel and issue waiting timer, when timer is to constantly, to datum plane, issue this clean culture tunnel information, and this equipment in datum plane of deleting arrives the clean culture tunnel information of BEB device A in B-VLAN1; Simultaneously, BEB equipment B is calculated this equipment Multicast Tunnel to BEB device A in B-VLAN2, calculate complete startup Multicast Tunnel and issue waiting timer, when timer is to constantly, to datum plane, issue this Multicast Tunnel information, and this equipment in datum plane of deleting arrives the Multicast Tunnel information of BEB device A in B-VLAN1.
Here, the reason that clean culture tunnel issues waiting timer being set is: wait for the clean culture source of I-SID1000, the unicast forwarding list item that all BCB equipment between object have all been set up new B-VLAN:B-VLAN2, to avoid cutout.Reason that Multicast Tunnel issues waiting timer is set roughly the same.
Clean culture tunnel issues timing length and two relating to parameters of waiting timer: one, this equipment is to the shortest forward-path jumping figure of sending between the BEB equipment of LSP message; Two, the transmission cycle of LSP message.Wherein, this equipment can be according to SPT(Shortest Path First, SPF to sending the shortest forward-path jumping figure between the BEB equipment of LSP message) algorithm determines.
For example: timing length=this equipment that clean culture tunnel issues waiting timer is to the transmission cycle * k that sends the shortest forward-path jumping figure * LSP message between the BEB equipment of LSP message, wherein, k can adjust according to disposal ability of network quality, BEB equipment etc., default value desirable 3.
The timing length that Multicast Tunnel issues waiting timer also with two relating to parameters: one, take the shortest forward-path jumping figure from root node to leafy node in the SPT that this BEB equipment is root node; Two, the transmission cycle of LSP message.Wherein, take the shortest forward-path jumping figure from root node to leafy node in the SPT that this BEB equipment is root node can determine according to SPT algorithm.
Multicast Tunnel issues the transmission cycle * k of the shortest forward-path jumping figure * LSP message from root node to leafy node in the SPT that timing length=this BEB equipment of take is root node of waiting timer, wherein, k can adjust according to disposal ability of network quality, BEB equipment etc., default value desirable 3.
If before ECT migration starts, BCB equipment between two BEB equipment in unicast forwarding route as calculated and issued the unicast forwarding list item on new B-VLAN, in this step, can coefficient k be set to 0, without wait, directly issue the clean culture tunnel information on the new B-VLAN calculating.For example: in the present embodiment, the ISID=1000 of ECT migration occurs, before this, the corresponding ISID=2000 of new B-VLAN:B-VLAN2, has set up the unicast forwarding list item of B-VLAN2 on each BCB equipment in B-VLAN2 unicast forwarding route.
Equally, if before ECT migration starts, BCB equipment between two BEB equipment on multicast forwarding path as calculated and issued the multicast forwarding path on new B-VLAN, in this step, can coefficient k be set to 0, without wait, directly issue the Multicast Tunnel information on the new B-VLAN calculating.
Step 604: for arbitrary BEB equipment, when this equipment receive carrying I-SID1000's and support that all BEB equipment of ECT smooth migration send a LSP message as described in step 601 time, outwards send the 2nd LSP message, this message indicates this equipment to get ready I-SID1000 from B-VLAN1 smooth migration to B-VLAN2.
Now, if BEB equipment is head end replication mode, the ISID-ADDRsub-TLV content of the 2nd LSP message at least comprises following information:
I-SID1000,B-VLAN1,T=0,R=1;
I-SID1000,B-VLAN2,T=0,R=1。
If BEB equipment is core replication mode, the ISID-ADDR sub-TLV content of the 2nd LSP message at least comprises following information:
I-SID1000,B-VLAN1,T=0,R=1;
I-SID1000,B-VLAN2,T=1,R=1。
After the clean culture of I-SID1000 in datum plane and Multicast Tunnel information are updated, the clean culture of the I-SID1000 that this BEB equipment of take is source and flux of multicast will carry out encapsulate forwarded according to new clean culture and Multicast Tunnel information, thereby the clean culture of I-SID1000 and flux of multicast are switched to B-VLAN2.If this BEB equipment is core replication mode, after the flux of multicast of I-SID1000 is switched to B-VLAN2, in B-VLAN1, this BEB equipment does not need to be re-used as the multicast source of I-SID1000, therefore in the 2nd LSP message that, this BEB equipment outwards sends, to be set to T=0 by T corresponding to B-VLAN1.
Step 605: for arbitrary BEB equipment, when the 2nd LSP message as described in step 604 that this equipment receives carrying I-SID1000 and supports that all other BEB equipment of ECT smooth migration send, enter migration ending phase, outwards send the 3rd LSP message, this message only carries I-SID1000 and B-VLAN2 information.
Now, if BEB equipment is head end replication mode, the ISID-ADDR sub-TLV content of the 3rd LSP message at least comprises following information:
I-SID1000,B-VLAN2,T=0,R=1。
If BEB equipment is core replication mode, the ISID-ADDR sub-TLV content of the 3rd LSP message at least comprises following information:
I-SID1000,B-VLAN2,T=1,R=1。
Step 606: when BCB equipment receives the 3rd LSP message that a BEB equipment is sent, according to the I-SID1000 in this message, in the datum plane of self, find take this BEB equipment as source, I-SID1000 when the clean culture of old B-VLAN:B-VLAN1 and/or multicast forwarding list item, the list item finding is deleted.
BCB equipment receives after the LSP message that a BEB equipment sends, this message and the last LSP message receiving from this BEB equipment can be contrasted, find that the latter has carried old B-VLAN and new B-VLAN information simultaneously, and the former has only carried new B-VLAN information, determine that migration has occurred I-SID, and migration completes, thereby arrive corresponding clean culture and/or forwarding-table item according to the old B-VLAN information searching in the latter, list item is deleted.
The composition schematic diagram that is applied in the BCB equipment in SPBM network that Fig. 7 provides for the embodiment of the present invention, as shown in Figure 7, this equipment mainly comprises: the first module 71 and the second module 72, wherein:
The first module 71: receive the LSP message that arbitrary BEB equipment is sent, find that this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, take this BEB equipment is source, calculates the unicast forwarding list item of this I-SID in the 2nd B-VLAN, and this list item is issued to datum plane; When the 3rd LSP message that receives described BEB equipment and send, find that this message indication I-SID had moved to the 2nd B-VLAN when upper, delete that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN.
The second module 72: in the ECT transition process at described I-SID, find that the BEB equipment of the described I-SID of arbitrary carrying do not support ECT smooth migration, judge whether to have calculated take this BEB equipment as source, clean culture and/or the multicast forwarding list item of this I-SID in the 2nd B-VLAN, if, directly delete that in datum plane, to take this BEB equipment be source, clean culture and/or the multicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying this I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, clean culture and/or the multicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, clean culture and/or the multicast forwarding list item of this I-SID in a B-VLAN.
Wherein, the BEB equipment of the described I-SID of the second module 72 arbitrary carrying of discovery does not support ECT smooth migration to be:
Find: the mapping relations that the LSP message that BEB equipment sends when ECT migration starts has only carried a B-VLAN and described I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: the LSP message that BEB equipment sends in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and described I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: BEB equipment only sends the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
The composition schematic diagram that is applied in the BEB equipment in SPBM network that Fig. 8 provides for the embodiment of the present invention, as shown in Figure 8, this equipment mainly comprises: the first module 81 and the second module 82, wherein:
The first module 81: receive the LSP message that other BEB equipment are sent, this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, calculate this equipment clean culture tunnel to these other BEB equipment in the 2nd B-VLAN, calculate complete startup clean culture tunnel and issue waiting timer, when timer is to constantly, to datum plane, issue this clean culture tunnel information, and this BEB equipment in datum plane of deleting arrives the clean culture tunnel information of these other BEB equipment in a B-VLAN.
The second module 82: when in ECT transition process, find that arbitrary other BEB equipment do not support ECT smooth migration, judge whether to have calculated this equipment and in the 2nd B-VLAN, arrived clean culture and/or the Multicast Tunnel of these other BEB equipment, directly to datum plane, issue the tunnel information calculating, this equipment in datum plane of simultaneously deleting arrives clean culture and/or the Multicast Tunnel information of these other BEB equipment in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying this I-SID and the 2nd B-VLAN that these other BEB equipment send, calculate this equipment clean culture and/or Multicast Tunnel to these other BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane of simultaneously deleting arrives clean culture and/or the Multicast Tunnel information of these other BEB equipment in a B-VLAN.
In actual applications, BEB equipment also can comprise the 3rd module, for when finding that this equipment has received after the described LSP message that the BEB equipment of the described I-SID of all carryings and support ECT smooth migration sends, outwards send the 2nd LSP message, the 2nd LSP message indicates this equipment to get ready described I-SID from B-VLAN smooth migration to the two B-VLAN; After finding that this equipment has received the described I-SID of all carryings and supported described the 2nd LSP message that the BEB equipment of ECT smooth migration sends, outwards send the 3rd LSP message, this message only carries the mapping relations of described I-SID and the 2nd B-VLAN.
The first module 81 is further used for, and the shortest forward-path jumping figure between timing length that clean culture tunnel issues waiting timer and first and second BEB equipment and the transmission cycle of LSP message is set be directly proportional.
Arbitrary other BEB equipment of the second module 82 discovery do not support ECT smooth migration to be:
Find: the mapping relations that the LSP message that arbitrary other BEB equipment send when ECT migration starts has only carried a B-VLAN and I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: the LSP message that arbitrary other BEB equipment send in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: arbitrary other BEB equipment only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
From the embodiment of the present invention, can find out: clean culture when the present invention moves ECT is processed by the whole network synchronous migration and changed migration between two between BEB equipment into, the BEB equipment of ECT smooth migration is not supported in identification simultaneously, tunnel, the list item of the new B-VLAN that the BEB equipment that directly issues not support ECT smooth migration is source, thereby when a certain or a few BEB equipment are not supported ECT smooth migration, between other BEB, still can complete taking over seamlessly of ECT when migration clean culture and flux of multicast, the cutout while reducing ECT migration.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (18)

1. an equivalent tree ECT moving method, is applied in the shortest path bridge SPBM network of MAC-in-MAC pattern, it is characterized in that, the method comprises:
Backbone network core bridges BCB equipment receives the first link-state protocol LSP message that arbitrary backbone network edge bridges BEB equipment is sent, this message indication backbone network Service Instance numbering I-SID will move to the 2nd B-VLAN from the first backbone network VLAN B-VLAN, take this BEB equipment is source, calculate the unicast forwarding list item of this I-SID in the 2nd B-VLAN, this list item is issued to datum plane; When BCB equipment receives the 3rd LSP message that described BEB equipment is sent, find that this message indication I-SID had moved to the 2nd B-VLAN when upper, delete that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN;
In the ECT of described I-SID transition process, if described BCB equipment is found the BEB equipment of the described I-SID of arbitrary carrying and is not supported ECT smooth migration, judge whether to have calculated take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, if, directly delete that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the unicast forwarding list item of this I-SID in a B-VLAN.
2. method according to claim 1, is characterized in that, in the ECT transition process at described I-SID, if described BCB equipment is found the BEB equipment of the described I-SID of arbitrary carrying, does not support ECT smooth migration, and described method further comprises:
Judge whether to calculate take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, if so, directly delete that in datum plane, to take this BEB equipment be source, the multicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the multicast forwarding list item of this I-SID in a B-VLAN.
3. method according to claim 1, is characterized in that, the BEB equipment of the described I-SID of the arbitrary carrying of described BCB device discovery does not support ECT smooth migration to be:
BCB device discovery: the mapping relations that the LSP message that BEB equipment sends when ECT migration starts has only carried a B-VLAN and described I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, BCB device discovery: the LSP message that BEB equipment sends in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and described I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, BCB device discovery: BEB equipment only sends the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
4. an ECT moving method, is characterized in that, the method comprises:
The 2nd BEB equipment receives the LSP message that a BEB equipment is sent, this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, the 2nd BEB equipment that calculates clean culture tunnel to a BEB equipment in the 2nd B-VLAN, and start clean culture tunnel and issue waiting timer, when timer is to constantly, to datum plane, issue this clean culture tunnel information, and the 2nd BEB equipment in datum plane deleted in a B-VLAN to the clean culture tunnel information of a BEB equipment;
In ECT transition process, if the 2nd BEB equipment is found a BEB equipment and is not supported ECT smooth migration, judged whether to have calculated this equipment clean culture tunnel to a BEB equipment in the 2nd B-VLAN, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane deleted in a B-VLAN to the clean culture tunnel information of a BEB equipment; Otherwise, after the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN of sending at the BEB equipment that receives, calculate this equipment clean culture tunnel to a BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane simultaneously deleted in a B-VLAN to the clean culture tunnel information of a BEB equipment.
5. method according to claim 4, is characterized in that, when in ECT transition process, if the 2nd BEB equipment is found a BEB equipment, does not support ECT smooth migration, and described method further comprises:
Judged whether to calculate this equipment Multicast Tunnel to a BEB equipment in the 2nd B-VLAN, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane deleted in a B-VLAN to the Multicast Tunnel information of a BEB equipment; Otherwise, after the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN of sending at the BEB equipment that receives, calculate this equipment Multicast Tunnel to a BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane simultaneously deleted in a B-VLAN to the Multicast Tunnel information of a BEB equipment.
6. method according to claim 4, is characterized in that, the shortest forward-path jumping figure between the timing length that described clean culture tunnel issues waiting timer and first and second BEB equipment and the transmission cycle of LSP message are directly proportional.
7. method according to claim 4, is characterized in that, described the 2nd BEB device discovery the one BEB equipment does not support ECT smooth migration to be:
The 2nd BEB device discovery: the mapping relations that the LSP message that a BEB equipment sends when ECT migration starts has only carried a B-VLAN and I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite BEB equipment is not supported ECT smooth migration;
Or, the 2nd BEB device discovery: the LSP message that a BEB equipment sends in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that a BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, the 2nd BEB device discovery: a BEB equipment only sends the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
8. method according to claim 4, is characterized in that, described method further comprises:
When the 2nd BEB device discovery self has received the described I-SID of all carryings and supported the indication I-SID that the BEB equipment of ECT smooth migration is sent will move to from a B-VLAN a described LSP message of the 2nd B-VLAN, start to send the 2nd LSP message, the 2nd LSP message indicates this equipment to get ready described I-SID from B-VLAN smooth migration to the two B-VLAN.
9. method according to claim 8, is characterized in that, described method further comprises:
After the 2nd BEB device discovery self has received the described I-SID of all carryings and has supported described the 2nd LSP message that the BEB equipment of ECT smooth migration sends, start to send the 3rd LSP message, in the 3rd LSP message, only carry the mapping relations of described I-SID and the 2nd B-VLAN.
10. a BCB equipment, is applied in SPBM network, it is characterized in that, this equipment comprises:
The first module: receive the LSP message that arbitrary BEB equipment is sent, this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, take this BEB equipment is source, calculates the unicast forwarding list item of this I-SID in the 2nd B-VLAN, and this list item is issued to datum plane; When the 3rd LSP message that receives described BEB equipment and send, this message indication I-SID had moved to the 2nd B-VLAN when upper, deleted that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN;
The second module: in the ECT of described I-SID transition process, if find the BEB equipment of the described I-SID of arbitrary carrying, do not support ECT smooth migration, judge whether to have calculated take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, if, directly delete that in datum plane, to take this BEB equipment be source, the unicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the unicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the unicast forwarding list item of this I-SID in a B-VLAN.
11. equipment according to claim 10, is characterized in that, described the second module is in the ECT of described I-SID transition process, if find, the BEB equipment of the described I-SID of arbitrary carrying do not support ECT smooth migration, be further used for,
Judge whether to calculate take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, if so, directly delete that in datum plane, to take this BEB equipment be source, the multicast forwarding list item of this I-SID in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that this BEB equipment sends, calculating take this BEB equipment as source, the multicast forwarding list item of this I-SID in the 2nd B-VLAN, the list item calculating is issued to datum plane, delete simultaneously in datum plane, take this BEB equipment as source, the multicast forwarding list item of this I-SID in a B-VLAN.
12. equipment according to claim 10, is characterized in that, described the second module finds that the BEB equipment of the described I-SID of arbitrary carrying do not support ECT smooth migration to be:
Find: the mapping relations that the LSP message that BEB equipment sends when ECT migration starts has only carried a B-VLAN and described I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: the LSP message that BEB equipment sends in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and described I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: BEB equipment only sends the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
13. 1 kinds of BEB equipment, are applied in SPBM network, it is characterized in that, this equipment comprises:
The first module: receive the LSP message that other BEB equipment are sent, this message indication I-SID will move to the 2nd B-VLAN from a B-VLAN, calculate this equipment clean culture tunnel to these other BEB equipment in the 2nd B-VLAN, and start clean culture tunnel and issue waiting timer, when timer is to constantly, to datum plane, issue this clean culture tunnel information, and this BEB equipment in datum plane of deleting arrives the clean culture tunnel information of these other BEB equipment in a B-VLAN;
The second module: in ECT transition process, if find arbitrary other BEB equipment, do not support ECT smooth migration, judge whether to have calculated this equipment and in the 2nd B-VLAN, arrived the clean culture tunnel of these other BEB equipment, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane of deleting arrives the clean culture tunnel information of these other BEB equipment in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that these other BEB equipment send, calculate this equipment clean culture tunnel to these other BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane of simultaneously deleting arrives the clean culture tunnel information of these other BEB equipment in a B-VLAN.
14. equipment according to claim 13, is characterized in that, described the second module is in ECT transition process, if find, arbitrary other BEB equipment do not support ECT smooth migration, be further used for,
Judge whether to calculate this equipment and in the 2nd B-VLAN, arrived the Multicast Tunnel of these other BEB equipment, if, directly to datum plane, issue the tunnel information calculating, and this equipment in datum plane of deleting arrives the Multicast Tunnel information of these other BEB equipment in a B-VLAN; Otherwise, after receiving the LSP message of the mapping relations of at least carrying described I-SID and the 2nd B-VLAN that these other BEB equipment send, calculate this equipment Multicast Tunnel to these other BEB equipment in the 2nd B-VLAN, to datum plane, issue the tunnel information calculating, this equipment in datum plane of simultaneously deleting arrives the Multicast Tunnel information of these other BEB equipment in a B-VLAN.
15. equipment according to claim 13, it is characterized in that, described the first module is further used for, and the shortest forward-path jumping figure between timing length that clean culture tunnel issues waiting timer and first and second BEB equipment and the transmission cycle of LSP message is set be directly proportional.
16. equipment according to claim 13, is characterized in that, arbitrary other BEB equipment of described the second module discovery do not support ECT smooth migration to be:
Find: the mapping relations that the LSP message that arbitrary other BEB equipment send when ECT migration starts has only carried a B-VLAN and I-SID, in transition process, only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: the LSP message that arbitrary other BEB equipment send in ECT transition process had once carried the mapping relations of a B-VLAN and the 2nd B-VLAN and I-SID simultaneously, but, migration does not also complete, after this mapping relations that the LSP message that this BEB equipment sends has only carried the 2nd B-VLAN and I-SID, definite this BEB equipment is not supported ECT smooth migration;
Or, find: arbitrary other BEB equipment only send the LSP message of the mapping relations of only carrying the 2nd B-VLAN and I-SID in ECT transition process, definite this BEB equipment is not supported ECT smooth migration.
17. equipment according to claim 13, is characterized in that, described equipment further comprises:
The 3rd module: when finding that this equipment has received the described I-SID of all carryings and supported the indication I-SID that the BEB equipment of ECT smooth migration is sent will move to from a B-VLAN a described LSP message of the 2nd B-VLAN, start to send the 2nd LSP message, the 2nd LSP message indicates this equipment to get ready described I-SID from B-VLAN smooth migration to the two B-VLAN.
18. equipment according to claim 17, it is characterized in that, described the 3rd module is further used for, after finding that this equipment has received the described I-SID of all carryings and supported described the 2nd LSP message that the BEB equipment of ECT smooth migration sends, start to send the 3rd LSP message, in the 3rd LSP message, only carry the mapping relations of described I-SID and the 2nd B-VLAN.
CN201310624403.9A 2013-11-27 2013-11-27 Equal cost tree transfer method and device Active CN103634191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310624403.9A CN103634191B (en) 2013-11-27 2013-11-27 Equal cost tree transfer method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310624403.9A CN103634191B (en) 2013-11-27 2013-11-27 Equal cost tree transfer method and device

Publications (2)

Publication Number Publication Date
CN103634191A true CN103634191A (en) 2014-03-12
CN103634191B CN103634191B (en) 2017-05-10

Family

ID=50214837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310624403.9A Active CN103634191B (en) 2013-11-27 2013-11-27 Equal cost tree transfer method and device

Country Status (1)

Country Link
CN (1) CN103634191B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092607A (en) * 2014-07-10 2014-10-08 杭州华三通信技术有限公司 Method and device for calculating forwarding path

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674249B (en) * 2009-10-28 2012-02-08 杭州华三通信技术有限公司 Method for forwarding provider backbone bridge (PBB) traffic and device thereof
CN102970240B (en) * 2012-11-01 2015-07-22 杭州华三通信技术有限公司 Flow balancing method and device in software package builder (SPB) network
CN103001886B (en) * 2012-12-20 2016-04-27 杭州华三通信技术有限公司 A kind of ECT smooth migration method and apparatus
CN103152283B (en) * 2013-03-15 2016-04-13 杭州华三通信技术有限公司 A kind of method and apparatus of aggregated links load balancing
CN103346979B (en) * 2013-06-21 2017-02-08 杭州华三通信技术有限公司 Flow distribution method and equipment in SPBM network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092607A (en) * 2014-07-10 2014-10-08 杭州华三通信技术有限公司 Method and device for calculating forwarding path
CN104092607B (en) * 2014-07-10 2017-11-14 新华三技术有限公司 The method and apparatus for calculating forward-path

Also Published As

Publication number Publication date
CN103634191B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US9521068B2 (en) Forwarding packets
CN103269299B (en) Message forwarding method in SPBM network and device
CN104378296B (en) A kind of message forwarding method and equipment
JP2015519833A (en) Support for 802.1AQ over IETF VPN
CN101610221B (en) IP unicast smoothly switching method during STP switch and device thereof
US20100165884A1 (en) Ethernet Spanning Tree Provision
CN102882784A (en) LSP (Layered Service Provider) information flooding method and equipment in SPBM (Shortest Path Bridging MAC)
CN103259721A (en) Message transmitting method and device in SPBM network
KR102271639B1 (en) Method and device for modular orientation of AVB streams
CN103973825A (en) Method, node equipment and transmitting method for notifying of MAC (media access control) address accessibility in overlay network
CN101800691A (en) Method, equipment and system for establishing data forwarding paths in ethernets
CN102333024B (en) The retransmission method of the Frame of VPLS VPLS, equipment and system
CN104184667B (en) Flux of multicast moving method and device in a kind of SPB network of M in M-modes
EP2314029B1 (en) Multiple tree registration protocol
CN103152265A (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network
EP2670088B1 (en) Trill network interconnection method and system
CN103685029B (en) Message forwarding method and equipment in a kind of rapid ring protection protocol networking
WO2016131359A1 (en) Multicast line switching method and device for ring-shaped network
CN102724126A (en) Method, device and equipment for forwarding Ethernet tree (E-tree) service message
WO2016066145A1 (en) Traffic forwarding
CN103634191A (en) Equal cost tree transfer method and device
US11356358B2 (en) Network node, computer program, computer-readable medium and method for fail-safe data transmission
CN103685031B (en) Packet forwarding device and packet forwarding method
WO2016086721A1 (en) Method, device and system for transmitting multicast data in trill network
WO2015117413A1 (en) Notification method and device and acquisition device for mac address of esadi

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology 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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant