




技术领域technical field
本发明涉及通讯技术领域,特别涉及一种保护链路的方法、设备和系统。The present invention relates to the technical field of communication, in particular to a method, device and system for protecting a link.
背景技术Background technique
在L2VPN(Layer 2 Virtual Private Network,二层虚拟专用网)中,服务提供商利用VPLS(Virtual Private Lan Service,虚拟专用LAN服务)技术或MPLS(Multiprotocol Label Switch,多协议标签交换)技术向用户提供基于以太的多点业务。目前电信网络对传输可靠性提出来了越来越高的要求,CE(Customer Edge Device,用户网络边缘设备)双归属技术是为了满足高可靠性而提出的一种解决方案。参见图1,CE1与交换机S1相连,S1通过端口PORT1与PE(Provider Edge Device,运营商网络边缘设备)1,且通过端口PORT2与PE1’相连,PE1和PE1’均与PE2相连,PE2和CE2相连。在CE1和CE2之间存在两条转发路径:CE1->PORT1->PE1->PE2->CE2和CE1->PORT2->PE1’->PE2->CE2,其中一条链路为主用链路,另一条链路为备用链路。正常情况下,报文通过主用链路转发,备用链路进行阻塞;当主用链路中的任意单元(包括设备和链路)发生故障时,报文立即通过备用链路进行转发,从而达到提高CE1和CE2之间高可靠性的目的。In L2VPN (Layer 2 Virtual Private Network, Layer 2 virtual private network), service providers use VPLS (Virtual Private Lan Service, virtual private LAN service) technology or MPLS (Multiprotocol Label Switch, multi-protocol label switching) technology to provide users with Ethernet-based multipoint services. At present, telecommunication networks have put forward higher and higher requirements for transmission reliability. CE (Customer Edge Device, user network edge device) dual-homing technology is a solution proposed to meet high reliability. See Figure 1, CE1 is connected to switch S1, S1 is connected to PE (Provider Edge Device, operator network edge device) 1 through port PORT1, and connected to PE1' through port PORT2, both PE1 and PE1' are connected to PE2, PE2 and CE2 connected. There are two forwarding paths between CE1 and CE2: CE1->PORT1->PE1->PE2->CE2 and CE1->PORT2->PE1'->PE2->CE2, one of which is the active link , and the other link is the backup link. Under normal circumstances, the message is forwarded through the active link, and the standby link is blocked; when any unit (including equipment and links) in the active link fails, the message is immediately forwarded through the standby link, thereby achieving The purpose of improving high reliability between CE1 and CE2.
现有技术对于多归属组网中相邻PE之间的链路有两种保护方式:一种是相邻PE之间运行TE FRR(Traffic Engineering Fast ReRoute,流量工程快速重路由)协议进行链路保护的方式,另一种是相邻PE之间不运行TE FRR协议进行链路保护的方式,其中,通过TE FRR能够保证在流量经过的链路或者节点故障时把流量迅速切换到备份链路上。例如,参见图2,在双归属组网中,流量通过主用链路转发,在PE1和PE2之间建立PW(Pseudo Wire,伪线)1,在PE1’和PE2之间建立PW2,且PE1与PE1’之间有链路。对于PE1和PE2之间的链路保护,第一种方式是在PE1和PE2之间运行TE FRR协议,即为PW1建立一条通过PE1’的保护隧道:PE1-PE1’-PE2;当PE1和PE2之间发生故障时,通过保护隧道转发流量;第二种方式是在PE1和PE2之间不运行TE FRR协议,当PE1和PE2之间发生故障时,PE2清除MAC地址,同时PE1’通知S1清除MAC地址,然后进行流量广播,从而达到切换到备用链路的目的,保证流量不中断。In the existing technology, there are two protection methods for the link between adjacent PEs in a multi-homing network: one is to run the TE FRR (Traffic Engineering Fast ReRoute, Traffic Engineering Fast Reroute) protocol between adjacent PEs for link protection. The other is to protect the link without running the TE FRR protocol between adjacent PEs. TE FRR can ensure that the traffic is quickly switched to the backup link when the link or node that the traffic passes through fails. superior. For example, as shown in Figure 2, in a dual-homing network, traffic is forwarded through the active link, PW (Pseudo Wire) 1 is established between PE1 and PE2, PW2 is established between PE1' and PE2, and PE1 There is a link with PE1'. For link protection between PE1 and PE2, the first method is to run the TE FRR protocol between PE1 and PE2, that is, to establish a protection tunnel through PE1' for PW1: PE1-PE1'-PE2; when PE1 and PE2 When a failure occurs between PE1 and PE2, the traffic is forwarded through the protection tunnel; the second method is to not run the TE FRR protocol between PE1 and PE2. When a failure occurs between PE1 and PE2, PE2 clears the MAC address, and PE1 notifies S1 to clear the MAC address. MAC address, and then broadcast the traffic, so as to achieve the purpose of switching to the backup link and ensure that the traffic is not interrupted.
在实现本发明的过程中,发明人发现上述现有技术至少具有以下缺点:In the process of realizing the present invention, the inventors have found that the above-mentioned prior art has at least the following disadvantages:
采用第一种保护方式时,需要PE设备有支持TE FRR协议的能力,而且运行TE FRR协议增加了协议开销,对PE设备的要求相应较高;另外,交换机没有TE FRR能力,这种方式下无法保护PE和交换机之间的链路。采用第二种保护方式时,PE或交换机清除MAC(MediaAccess Control,介质访问控制)地址时,会造成瞬间大量的广播流,占用带宽,效率较低;而且清除MAC地址的操作从控制层面发起,可能导致大量丢包,很难满足网络的可靠性要求。When adopting the first protection mode, the PE equipment is required to have the ability to support the TE FRR protocol, and running the TE FRR protocol increases the protocol overhead, and the requirements for the PE equipment are relatively high; in addition, the switch does not have the TE FRR capability. The link between the PE and the switch cannot be protected. When using the second protection method, when PE or switch clears MAC (MediaAccess Control, Media Access Control) address, it will cause a large number of broadcast streams in an instant, occupying bandwidth, and the efficiency is low; and the operation of clearing MAC address is initiated from the control plane. It may cause a lot of packet loss, and it is difficult to meet the reliability requirements of the network.
发明内容Contents of the invention
为了提高保护链路的效率和可靠性,本发明实施例提供了一种保护链路的方法、设备和系统。所述技术方案如下:In order to improve the efficiency and reliability of protecting a link, embodiments of the present invention provide a method, device and system for protecting a link. Described technical scheme is as follows:
一方面,一种保护链路的方法,应用于多归属网络,所述多归属网络包括与用户网络边缘设备CE相连的通讯设备和与所述通讯设备相连的运营商网络边缘设备PE,所述PE至少包括第一PE和第二PE,预先建立至少包括第一通道和第二通道的捆绑组,所述第一通道位于所述通讯设备与第一PE之间,所述第二通道位于所述通讯设备与第二PE之间;在所述第一PE和第二PE之间建立备份伪线,并在所述第一PE上建立所述第一通道与所述备份伪线的关联关系,在所述第二PE上建立所述第二通道与所述备份伪线的关联关系;所述方法包括:In one aspect, a method for protecting a link is applied to a multi-homing network, and the multi-homing network includes a communication device connected to a user network edge device CE and an operator network edge device PE connected to the communication device. The PE includes at least a first PE and a second PE, and a binding group including at least a first channel and a second channel is established in advance, the first channel is located between the communication device and the first PE, and the second channel is located in the between the communication device and the second PE; establishing a backup pseudowire between the first PE and the second PE, and establishing an association between the first channel and the backup pseudowire on the first PE , establishing an association relationship between the second channel and the backup pseudowire on the second PE; the method includes:
当所述第一通道故障时,所述第一PE将收到的发往所述CE的报文,通过与所述第一通道关联的备份伪线转发给所述第二PE;When the first channel fails, the first PE forwards the received message sent to the CE to the second PE through the backup pseudowire associated with the first channel;
所述第二PE收到所述报文后,通过与所述备份伪线关联的所述第二通道转发所述报文给所述通讯设备;After receiving the message, the second PE forwards the message to the communication device through the second channel associated with the backup pseudowire;
其中,所述通讯设备为PE,所述预先建立至少包括第一通道和第二通道的捆绑组,所述第一通道位于所述通讯设备与第一PE之间,所述第二通道位于所述通讯设备与第二PE之间,具体包括:Wherein, the communication device is a PE, and the pre-established binding group includes at least a first channel and a second channel, the first channel is located between the communication device and the first PE, and the second channel is located in the between the communication device and the second PE, specifically including:
在所述通讯设备上,对每个与所述CE相连的端口都将该端口对应的伪线捆绑在一起,得到第一伪线捆绑组,所述第一伪线捆绑组至少包括第一伪线和第二伪线,所述第一伪线位于所述通讯设备与第一PE之间,所述第二伪线位于所述通讯设备与第二PE之间;On the communication device, for each port connected to the CE, the pseudowires corresponding to the port are bundled together to obtain a first pseudowire bundling group, and the first pseudowire bundling group includes at least the first pseudowire bundling group. a wire and a second pseudowire, the first pseudowire is located between the communication device and the first PE, and the second pseudowire is located between the communication device and the second PE;
相应地,在所述第一PE上建立所述第一通道与所述备份伪线的关联关系,在所述第二PE上建立所述第二通道与所述备份伪线的关联关系,具体包括:Correspondingly, establishing an association relationship between the first channel and the backup pseudowire on the first PE, and establishing an association relationship between the second channel and the backup pseudowire on the second PE, specifically include:
在所述第一PE上建立所述第一伪线与所述备份伪线的关联关系,在所述第二PE上建立所述第二伪线与所述备份伪线的关联关系。An association relationship between the first pseudowire and the backup pseudowire is established on the first PE, and an association relationship between the second pseudowire and the backup pseudowire is established on the second PE.
另一方面,一种保护链路的方法,应用于多归属网络,所述多归属网络包括与用户网络边缘设备CE相连的通讯设备和与所述通讯设备相连的运营商网络边缘设备PE,所述PE至少包括第一PE和第二PE,预先建立至少包括第一通道和第二通道的捆绑组,所述第一通道位于所述通讯设备与第一PE之间,所述第二通道位于所述通讯设备与第二PE之间;在所述第一PE和第二PE之间建立备份伪线,并在所述第一PE上建立所述第一通道与所述备份伪线的关联关系,在所述第二PE上建立所述第二通道与所述备份伪线的关联关系;所述方法包括:In another aspect, a method for protecting a link is applied to a multi-homing network, and the multi-homing network includes a communication device connected to a user network edge device CE and an operator network edge device PE connected to the communication device, so that The PE includes at least a first PE and a second PE, and a binding group including at least a first channel and a second channel is established in advance, the first channel is located between the communication device and the first PE, and the second channel is located in Between the communication device and the second PE; establishing a backup pseudowire between the first PE and the second PE, and establishing an association between the first channel and the backup pseudowire on the first PE relationship, establishing an association relationship between the second channel and the backup pseudowire on the second PE; the method includes:
当所述第一通道故障时,所述第一PE将收到的发往所述CE的报文,通过与所述第一通道关联的备份伪线转发给所述第二PE;When the first channel fails, the first PE forwards the received message sent to the CE to the second PE through the backup pseudowire associated with the first channel;
所述第二PE收到所述报文后,通过与所述备份伪线关联的所述第二通道转发所述报文给所述通讯设备;After receiving the message, the second PE forwards the message to the communication device through the second channel associated with the backup pseudowire;
其中,所述通讯设备为交换机,所述预先建立至少包括第一通道和第二通道的捆绑组,所述第一通道位于所述通讯设备与第一PE之间,所述第二通道位于所述通讯设备与第二PE之间,具体包括:Wherein, the communication device is a switch, and the pre-established binding group includes at least a first channel and a second channel, the first channel is located between the communication device and the first PE, and the second channel is located in the between the communication device and the second PE, specifically including:
在所述交换机上,将与所述PE相连的端口,按照与预先建立的第二伪线捆绑组对称的方式进行捆绑,得到端口捆绑组,所述端口捆绑组至少包括第一端口和第二端口,所述第二伪线捆绑组为与其他CE相连的第三PE预先建立的伪线捆绑组,且所述第三PE与所述PE相连;所述第一端口为所述交换机上与所述第一PE相连的端口,所述第二端口为所述交换机上与所述第二PE相连的端口;On the switch, the port connected to the PE is bundled in a manner symmetrical to the pre-established second pseudowire bonding group to obtain a port bonding group, and the port bonding group includes at least the first port and the second port, the second pseudowire binding group is a pre-established pseudowire binding group connected to other CEs of the third PE, and the third PE is connected to the PE; the first port is connected to the switch on the switch the port connected to the first PE, and the second port is a port connected to the second PE on the switch;
相应地,在所述第一PE上建立所述第一通道与所述备份伪线的关联关系,在所述第二PE上建立所述第二通道与所述备份伪线的关联关系,具体包括:Correspondingly, establishing an association relationship between the first channel and the backup pseudowire on the first PE, and establishing an association relationship between the second channel and the backup pseudowire on the second PE, specifically include:
在所述第一PE上建立所述第一端口与所述备份伪线的关联关系,在所述第二PE上建立所述第二端口与所述备份伪线的关联关系。Establish an association relationship between the first port and the backup pseudowire on the first PE, and establish an association relationship between the second port and the backup pseudowire on the second PE.
再一方面,一种保护链路的设备,所述设备分别与运营商网络边缘设备PE和边缘通讯设备相连,所述边缘通讯设备与用户网络边缘设备CE相连,所述设备包括:In yet another aspect, a device for protecting a link, the device is respectively connected to the operator network edge device PE and the edge communication device, the edge communication device is connected to the user network edge device CE, and the device includes:
建立模块,用于在所述设备和PE之间建立备份伪线;Establishing a module for establishing a backup pseudowire between the device and the PE;
关联模块,用于建立所述建立模块得到的备份伪线和通道的关联关系,所述通道位于所述设备与所述边缘通讯设备之间;An associating module, configured to establish an association relationship between the backup pseudowire and the channel obtained by the establishing module, and the channel is located between the device and the edge communication device;
第一处理模块,用于当所述通道故障时,将收到的发往所述CE的报文,通过与所述通道关联的备份伪线转发给所述PE;The first processing module is configured to forward the received message sent to the CE to the PE through the backup pseudowire associated with the channel when the channel fails;
第二处理模块,用于当收到从所述备份伪线来的报文后,通过所述通道转发所述报文给所述边缘通讯设备;The second processing module is configured to forward the message to the edge communication device through the channel after receiving the message from the backup pseudowire;
其中,所述边缘通讯设备为PE,所述关联模块具体包括:Wherein, the edge communication device is PE, and the association module specifically includes:
关联单元,用于建立所述建立模块得到的备份伪线和第一伪线的关联关系,所述第一伪线位于所述设备与边缘通讯设备之间。The associating unit is configured to establish an association relationship between the backup pseudowire obtained by the establishing module and the first pseudowire, where the first pseudowire is located between the device and the edge communication device.
又一方面,一种保护链路的设备,所述设备分别与运营商网络边缘设备PE和边缘通讯设备相连,所述边缘通讯设备与用户网络边缘设备CE相连,所述设备包括:In yet another aspect, a device for protecting a link, the device is respectively connected to the operator network edge device PE and the edge communication device, the edge communication device is connected to the user network edge device CE, and the device includes:
建立模块,用于在所述设备和PE之间建立备份伪线;Establishing a module for establishing a backup pseudowire between the device and the PE;
关联模块,用于建立所述建立模块得到的备份伪线和通道的关联关系,所述通道位于所述设备与所述边缘通讯设备之间;An associating module, configured to establish an association relationship between the backup pseudowire and the channel obtained by the establishing module, and the channel is located between the device and the edge communication device;
第一处理模块,用于当所述通道故障时,将收到的发往所述CE的报文,通过与所述通道关联的备份伪线转发给所述PE;The first processing module is configured to forward the received message sent to the CE to the PE through the backup pseudowire associated with the channel when the channel fails;
第二处理模块,用于当收到从所述备份伪线来的报文后,通过所述通道转发所述报文给所述边缘通讯设备;The second processing module is configured to forward the message to the edge communication device through the channel after receiving the message from the backup pseudowire;
其中,所述边缘通讯设备为交换机,所述关联模块具体包括:Wherein, the edge communication device is a switch, and the association module specifically includes:
关联单元,用于建立所述建立模块得到的备份伪线和第一端口的关联关系,所述第一端口为所述边缘通讯设备上与所述设备相连的端口。An associating unit, configured to establish an association relationship between the backup pseudowire obtained by the establishing module and a first port, where the first port is a port on the edge communication device connected to the device.
另一方面,一种保护链路的系统,应用于多归属网络,所述系统至少包括第一运营商网络边缘设备PE、第二PE和通讯设备;In another aspect, a system for protecting a link is applied to a multi-homing network, and the system includes at least a first operator network edge device PE, a second PE, and a communication device;
所述第一PE包括:The first PE includes:
建立模块,用于在所述第一PE与所述第二PE之间建立备份伪线;An establishment module, configured to establish a backup pseudowire between the first PE and the second PE;
关联模块,用于建立第一通道和所述备份伪线的关联关系,所述第一通道位于所述通讯设备与第一PE之间;An associating module, configured to establish an association relationship between a first channel and the backup pseudowire, where the first channel is located between the communication device and the first PE;
第一处理模块,用于当所述第一通道故障时,将收到的发往与所述通讯设备相连的用户网络边缘设备CE的报文,通过与所述第一通道关联的备份伪线转发给所述第二PE;The first processing module is configured to, when the first channel fails, pass the received message sent to the user network edge device CE connected to the communication device through the backup pseudowire associated with the first channel Forward to the second PE;
所述第二PE包括:The second PE includes:
建立模块,用于在所述第二PE与所述第一PE之间建立所述备份伪线;an establishment module, configured to establish the backup pseudowire between the second PE and the first PE;
关联模块,用于建立第二通道和所述备份伪线的关联关系,所述第二通道位于所述通讯设备与第二PE之间,且与所述第一通道属于一个捆绑组;An association module, configured to establish an association relationship between a second channel and the backup pseudowire, the second channel is located between the communication device and the second PE, and belongs to a binding group with the first channel;
第二处理模块,用于当收到所述第一PE通过所述备份伪线发来的报文后,通过所述第二通道转发所述报文给所述通讯设备;The second processing module is configured to forward the message to the communication device through the second channel after receiving the message sent by the first PE through the backup pseudowire;
所述通讯设备,用于接收所述第二PE发来的报文,并将所述报文转发给所述CE;The communication device is configured to receive the message sent by the second PE, and forward the message to the CE;
其中,所述通讯设备具体为PE,所述通讯设备还包括:Wherein, the communication device is specifically PE, and the communication device also includes:
捆绑模块,用于对每个与所述CE相连的端口都将该端口对应的伪线捆绑在一起,得到第一伪线捆绑组,所述第一伪线捆绑组至少包括第一伪线和第二伪线,所述第一伪线位于所述通讯设备与第一PE之间,所述第二伪线位于所述通讯设备与第二PE之间;A bundling module, configured to bundle together the pseudowires corresponding to each port connected to the CE to obtain a first pseudowire bundling group, the first pseudowire bundling group including at least the first pseudowire and a second pseudowire, the first pseudowire is located between the communication device and the first PE, and the second pseudowire is located between the communication device and the second PE;
相应地,所述第一PE包括:Correspondingly, the first PE includes:
第一关联模块,用于建立所述第一伪线和备份伪线的关联关系;A first association module, configured to establish an association relationship between the first pseudowire and the backup pseudowire;
所述第二PE包括:The second PE includes:
第二关联模块,用于建立所述第二伪线和备份伪线的关联关系。The second association module is configured to establish an association relationship between the second pseudowire and the backup pseudowire.
又一方面,一种保护链路的系统,应用于多归属网络,所述系统至少包括第一运营商网络边缘设备PE、第二PE和通讯设备;In yet another aspect, a system for protecting a link is applied to a multi-homing network, and the system includes at least a first operator network edge device PE, a second PE, and a communication device;
所述第一PE包括:The first PE includes:
建立模块,用于在所述第一PE与所述第二PE之间建立备份伪线;An establishment module, configured to establish a backup pseudowire between the first PE and the second PE;
关联模块,用于建立第一通道和所述备份伪线的关联关系,所述第一通道位于所述通讯设备与第一PE之间;An associating module, configured to establish an association relationship between a first channel and the backup pseudowire, where the first channel is located between the communication device and the first PE;
第一处理模块,用于当所述第一通道故障时,将收到的发往与所述通讯设备相连的用户网络边缘设备CE的报文,通过与所述第一通道关联的备份伪线转发给所述第二PE;The first processing module is configured to, when the first channel fails, pass the received message sent to the user network edge device CE connected to the communication device through the backup pseudowire associated with the first channel Forward to the second PE;
所述第二PE包括:The second PE includes:
建立模块,用于在所述第二PE与所述第一PE之间建立所述备份伪线;an establishment module, configured to establish the backup pseudowire between the second PE and the first PE;
关联模块,用于建立第二通道和所述备份伪线的关联关系,所述第二通道位于所述通讯设备与第二PE之间,且与所述第一通道属于一个捆绑组;An association module, configured to establish an association relationship between a second channel and the backup pseudowire, the second channel is located between the communication device and the second PE, and belongs to a binding group with the first channel;
第二处理模块,用于当收到所述第一PE通过所述备份伪线发来的报文后,通过所述第二通道转发所述报文给所述通讯设备;The second processing module is configured to forward the message to the communication device through the second channel after receiving the message sent by the first PE through the backup pseudowire;
所述通讯设备,用于接收所述第二PE发来的报文,并将所述报文转发给所述CE;The communication device is configured to receive the message sent by the second PE, and forward the message to the CE;
其中,所述通讯设备具体为交换机,所述通讯设备还包括:Wherein, the communication device is specifically a switch, and the communication device also includes:
捆绑模块,用于将与所述第一PE相连的端口以及与所述第二PE相连的端口,按照与预先建立的第二伪线捆绑组对称的方式进行捆绑,得到端口捆绑组,所述端口捆绑组至少包括第一端口和第二端口,所述第一端口为所述通讯设备上与所述第一PE相连的端口,所述第二端口为所述通讯设备上与所述第二PE相连的端口,所述第二伪线捆绑组为与所述第一PE和第二PE相连且与其他CE相连的PE预先建立的伪线捆绑组;a bundling module, configured to bundle the ports connected to the first PE and the ports connected to the second PE in a manner symmetrical to the pre-established second pseudowire bundling group to obtain a port bundling group, the The port binding group includes at least a first port and a second port, the first port is a port connected to the first PE on the communication device, and the second port is a port on the communication device connected to the second PE. A port connected to the PE, the second pseudowire binding group is a pre-established pseudowire binding group of PEs connected to the first PE and the second PE and connected to other CEs;
相应地,所述第一PE包括:Correspondingly, the first PE includes:
第一关联模块,用于建立所述第一端口和备份伪线的关联关系;A first association module, configured to establish an association relationship between the first port and the backup pseudowire;
所述第二PE包括:The second PE includes:
第二关联模块,用于建立所述第二端口和备份伪线的关联关系。The second association module is configured to establish an association relationship between the second port and the backup pseudowire.
本发明实施例提供的技术方案的有益效果是:The beneficial effects of the technical solution provided by the embodiments of the present invention are:
通过备份伪线对链路进行保护,不需要PE设备支持TE FRR功能,并能实现交换机与PE设备之间的链路保护;而且有链路发生故障时,网络中的所有设备都不需要清除MAC地址,因此不会造成瞬间大量的广播流量,节省了带宽,提高了效率和可靠性,链路故障导致的丢包时间小于50ms,能满足运营级要求。The link is protected through the backup pseudowire, which does not require the PE device to support the TE FRR function, and can realize the link protection between the switch and the PE device; and when a link fails, all devices in the network do not need to be cleared MAC address, so it will not cause a large amount of broadcast traffic in an instant, save bandwidth, improve efficiency and reliability, and the packet loss time caused by link failure is less than 50ms, which can meet the requirements of the carrier level.
附图说明Description of drawings
图1是现有技术中双归属组网主备保护示意图;FIG. 1 is a schematic diagram of active/standby protection in a dual-homing network in the prior art;
图2是现有技术中双归属组网相邻PE之间链路保护示意图;FIG. 2 is a schematic diagram of link protection between adjacent PEs in a dual-homing network in the prior art;
图3是本发明实施例1提供的保护链路的方法流程图;FIG. 3 is a flowchart of a method for protecting a link provided in
图4是本发明实施例1提供的保护链路的组网示意图;FIG. 4 is a schematic diagram of a network of protection links provided by
图5是本发明实施例2提供的保护链路的方法流程图;FIG. 5 is a flowchart of a method for protecting a link provided in Embodiment 2 of the present invention;
图6是本发明实施例2提供的保护链路的组网示意图;FIG. 6 is a schematic diagram of a network of protection links provided by Embodiment 2 of the present invention;
图7是本发明实施例4提供的保护链路的系统结构图。FIG. 7 is a system structural diagram of a protection link provided by Embodiment 4 of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
本发明实施例提供的保护链路的方法,应用于多归属网络,该多归属网络包括与CE相连的通讯设备和与通讯设备相连的PE,该PE至少包括第一PE和第二PE,预先建立至少包括第一通道和第二通道的捆绑组,第一通道位于通讯设备与第一PE之间,第二通道位于通讯设备与第二PE之间;该方法具体包括:当第一通道故障时,第一PE将收到的发往CE的报文,通过与第一通道关联的备份伪线转发给第二PE,备份伪线位于第一PE和第二PE之间;第二PE收到报文后,通过与备份伪线关联的第二通道转发报文给通讯设备。The method for protecting a link provided by the embodiment of the present invention is applied to a multi-homing network. The multi-homing network includes a communication device connected to a CE and a PE connected to the communication device. The PE includes at least a first PE and a second PE. Establish a binding group including at least a first channel and a second channel, the first channel is located between the communication device and the first PE, and the second channel is located between the communication device and the second PE; the method specifically includes: when the first channel fails , the first PE forwards the received packet to the CE to the second PE through the backup pseudowire associated with the first channel, and the backup pseudowire is located between the first PE and the second PE; the second PE receives After receiving the message, the message is forwarded to the communication device through the second channel associated with the backup pseudowire.
本发明实施例中所述的通讯设备,包括但不限于PE和交换机等等。The communication devices described in the embodiments of the present invention include but are not limited to PEs, switches and so on.
实施例1Example 1
参见图3,本发明实施例提供了一种保护链路的方法,应用于多归属网络,在本实施例中以图4中的网络为例进行说明,参见图4,通讯设备为PE2,且PE2分别与CE2、PE1和PE1’相连,PE1为第一PE,PE1’为第二PE;该方法具体包括:Referring to FIG. 3 , an embodiment of the present invention provides a method for protecting a link, which is applied to a multi-homing network. In this embodiment, the network in FIG. 4 is used as an example for illustration. Referring to FIG. 4 , the communication device is PE2, and PE2 is respectively connected to CE2, PE1 and PE1', PE1 is the first PE, and PE1' is the second PE; the method specifically includes:
101:在PE1和PE2之间建立伪线PW1,并将PW1作为第一通道,在PE1’和PE2之间建立伪线PW2,并将PW2作为第二通道。101: Establish a pseudo-wire PW1 between PE1 and PE2, and use PW1 as the first channel, and establish a pseudo-wire PW2 between PE1' and PE2, and use PW2 as the second channel.
102:在PE2上,将与CE2相连的端口1对应的伪线PW1和PW2捆绑在一起,得到伪线捆绑组。102: On PE2, bundle the pseudowires PW1 and PW2 corresponding to
在PE2上可以建立多个伪线捆绑组,每个伪线捆绑组内至少包括两条伪线。Multiple pseudowire bundle groups can be established on PE2, and each pseudowire bundle group includes at least two pseudowires.
在本发明实施例中在PE2上建立伪线捆绑组后,相应地,在交换机S1上还建立对称的端口捆绑组,对称是指端口捆绑组与伪线捆绑组有对应关系,相对应的端口捆绑组与伪线捆绑组,其中的端口数目与PW数目相同,通过对称捆绑,可以保证交换机转发报文时不丢包并且避免造成环路广播等等。在图4中,当PE2建立包含PW1和PW2的伪线捆绑组后,S1建立对称的端口捆绑组,包括与PE1相连的PORT1和与PE1’相连的PORT2。In the embodiment of the present invention, after the pseudowire binding group is established on PE2, a symmetrical port binding group is also established on the switch S1. Symmetry means that the port binding group has a corresponding relationship with the pseudowire binding group, and the corresponding port The number of ports in the bonding group and the pseudowire bonding group are the same as the number of PWs. Through symmetrical bonding, it can ensure that the switch does not lose packets when forwarding packets and avoid loop broadcasts, etc. In Figure 4, after PE2 establishes a pseudowire bonding group including PW1 and PW2, S1 establishes a symmetrical port bonding group, including PORT1 connected to PE1 and PORT2 connected to PE1'.
103:在PE1和PE1’之间建立伪线PW3,并将PW3作为备份伪线。103: Establish a pseudowire PW3 between PE1 and PE1', and use PW3 as a backup pseudowire.
备份伪线PW3用来对PW1和PW2进行保护,在组网中的链路均正常时,不通过备份伪线转发报文。The backup pseudowire PW3 is used to protect PW1 and PW2. When the links in the networking are normal, packets are not forwarded through the backup pseudowire.
104:在PE1上建立PW1和PW3的关联关系,在PE1’上建立PW2和PW3的关联关系。104: Establish an association relationship between PW1 and PW3 on PE1, and establish an association relationship between PW2 and PW3 on PE1'.
其中,关联关系是指FRR关系,对于PE1来说,当PW1故障时,通过PW3转发报文;或者当收到从PW3来的报文时,通过PW1转发;对于PE1’来说,当PW2故障时,通过PW3转发报文;或者当收到从PW3来的报文时,通过PW2转发,从而实现有链路发生故障时,对链路进行保护。Among them, the association relationship refers to the FRR relationship. For PE1, when PW1 fails, it forwards the message through PW3; or when it receives a message from PW3, it forwards it through PW1; When the packet is received, the packet is forwarded through PW3; or when the packet from PW3 is received, it is forwarded through PW2, so as to protect the link when a link fails.
105:CE1发送目的地址为CE2的报文给S1。105: CE1 sends a packet whose destination address is CE2 to S1.
106:S1收到报文后,从已建立的端口捆绑组中选择一个端口转发报文,在本实施例中选择PORT1,通过PORT1转发报文给PE1。106: After receiving the message, S1 selects a port from the established port binding group to forward the message, in this embodiment, selects PORT1, and forwards the message to PE1 through PORT1.
其中,S1选择端口的方式有多种,包括但不限于以下几种:Among them, there are many ways for S1 to select ports, including but not limited to the following:
1)对具有相同特征的报文选择同一个端口转发报文,相同的特征包括但不限于报文的目的MAC地址相同、源MAC地址相同或者既目的MAC地址相同又源MAC地址相同等等;2)按照报文的先后顺序,在端口捆绑组中选择一个端口转发报文,包括顺序选择、反序选择等等。例如,采用顺序选择的方式,报文1选择PORT1进行转发,报文2选择PORT2进行转发,报文3选择PORT1进行转发,报文4选择PORT2进行转发等等。1) Selecting the same port for forwarding messages with the same characteristics, the same characteristics include but are not limited to the same destination MAC address, the same source MAC address, or the same destination MAC address and the same source MAC address, etc.; 2) According to the sequence of the packets, select a port in the port binding group to forward the packets, including sequence selection, reverse sequence selection, and the like. For example, in the sequential selection mode,
107:PE1收到S1发来的报文后,正常情况下,PE1选择PW1转发报文给PE2,由PE2再将报文转发给CE2;当PE1感知到PW1故障时,根据已建立的PW1和PW3的关联关系,通过PW3转发报文给PE1’。107: After PE1 receives the packet from S1, under normal circumstances, PE1 selects PW1 to forward the packet to PE2, and PE2 then forwards the packet to CE2; when PE1 detects that PW1 is faulty, it The association relationship of PW3 forwards the packet to PE1' through PW3.
其中,PE1可以采用端到端的检测技术,如BFD(Bidirectional Forwarding Detection,双向转发检测)协议或OAM(Operations Administration and Maintenance,操作管理和维护)协议等等,对与PE2之间的链路进行检测,从而检测出链路是否发生故障。Among them, PE1 can use end-to-end detection technology, such as BFD (Bidirectional Forwarding Detection, bidirectional forwarding detection) protocol or OAM (Operations Administration and Maintenance, operation management and maintenance) protocol, etc., to detect the link with PE2 , so as to detect whether the link is faulty.
108:PE1’收到从PW3来的报文后,根据已建立的PW2和PW3的关联关系,通过PW2转发报文给PE2。108: After receiving the packet from PW3, PE1' forwards the packet to PE2 through PW2 according to the established association relationship between PW2 and PW3.
109:PE2收到PE1’发来的报文后,转发给CE2,然后结束。109: After receiving the packet from PE1', PE2 forwards it to CE2 and ends.
上述过程以S1选择PORT1转发报文给PE1为例进行说明,如果S1选择PORT2转发报文给PE1’,当PE1’感知到PW2故障时,类似地,根据PW2和PW3的关联关系,通过PW3转发报文给PE1,PE1根据PW1和PW3的关联关系,通过PW1转发报文给PE2,由PE2将报文转发给CE2,具体过程不再详细描述。The above process is explained by taking S1 to select PORT1 to forward the packet to PE1 as an example. If S1 selects PORT2 to forward the packet to PE1', when PE1' senses that PW2 is faulty, similarly, according to the relationship between PW2 and PW3, it forwards the packet through PW3. The packet is sent to PE1, and PE1 forwards the packet to PE2 through PW1 according to the relationship between PW1 and PW3, and PE2 forwards the packet to CE2. The specific process will not be described in detail.
本实施例通过备份伪线对链路进行保护,不需要PE设备支持TE FRR功能,而且有链路发生故障时,网络中的所有设备都不需要清除MAC地址,因此不会造成瞬间大量的广播流量,节省了带宽,提高了效率和可靠性,链路故障导致的丢包时间小于50ms,能满足运营级要求。In this embodiment, the link is protected by the backup pseudowire, and the PE device is not required to support the TE FRR function, and when a link fails, all devices in the network do not need to clear the MAC address, so it will not cause a large number of instant broadcasts traffic, saves bandwidth, improves efficiency and reliability, and the packet loss time caused by link failure is less than 50ms, which can meet the requirements of the carrier level.
实施例2Example 2
参见图5,本发明实施例还提供了一种保护链路的方法,应用于多归属网络,在本实施例中以图6中的网络为例进行说明,参见图6,通讯设备为交换机S1,且S1分别与CE1、PE1和PE1’相连,PE1为第一PE,PE1’为第二PE;该方法具体包括:Referring to FIG. 5, the embodiment of the present invention also provides a method for protecting links, which is applied to a multi-homing network. In this embodiment, the network in FIG. 6 is used as an example for illustration. Referring to FIG. 6, the communication device is a switch S1 , and S1 is respectively connected to CE1, PE1 and PE1', PE1 is the first PE, and PE1' is the second PE; the method specifically includes:
201:将S1和PE1之间的链路作为第一通道,S1上与第一通道相连的端口为PORT1,将S1和PE1’之间的链路作为第二通道,S1上与第二通道相连的端口为PORT2。201: The link between S1 and PE1 is used as the first channel, the port connected to the first channel on S1 is PORT1, the link between S1 and PE1' is used as the second channel, and S1 is connected to the second channel The port is PORT2.
202:在S1上按照与PE2已建立的伪线捆绑组对称的方式,将PORT1和PORT2捆绑在一起,得到端口捆绑组,在本实施例中PE2建立的伪线捆绑组包括PW1和PW2。202: On S1, bind PORT1 and PORT2 together in a manner symmetrical to the pseudowire binding group established by PE2 to obtain a port binding group. In this embodiment, the pseudowire binding group established by PE2 includes PW1 and PW2.
伪线捆绑组与端口捆绑组的对称关系与实施例1中描述的相同,此处不再赘述。The symmetrical relationship between the pseudowire bonding group and the port bonding group is the same as that described in
203:在PE1和PE1’之间建立伪线PW4,并将PW4作为备份伪线。203: Establish a pseudowire PW4 between PE1 and PE1', and use PW4 as a backup pseudowire.
备份伪线PW4用来对PORT1所连的第一通道和PORT2所连的第二通道进行保护,在组网中的链路均正常时,不通过备份伪线转发报文。The backup pseudowire PW4 is used to protect the first channel connected to PORT1 and the second channel connected to PORT2. When the links in the networking are normal, packets are not forwarded through the backup pseudowire.
204:在PE1上建立PORT1和PW4的关联关系,在PE1’上建立PORT2和PW4的关联关系。204: Establish an association relationship between PORT1 and PW4 on PE1, and establish an association relationship between PORT2 and PW4 on PE1'.
其中,关联关系是指FRR关系,对于PE1来说,当PORT1所连的第一通道故障时,通过PW4转发报文,收到从PW4来的报文时,通过第一通道转发;对于PE1’来说,当PORT2所连的第二通道故障时,通过PW4转发报文,收到从PW4来的报文时,通过第二通道转发,从而实现有链路发生故障时,对链路进行保护,保证流量不中断。Among them, the association relationship refers to the FRR relationship. For PE1, when the first channel connected to PORT1 fails, the message is forwarded through PW4, and when the message from PW4 is received, it is forwarded through the first channel; for PE1' For example, when the second channel connected to PORT2 fails, the message is forwarded through PW4, and when the message from PW4 is received, it is forwarded through the second channel, so as to protect the link when a link fails. , to ensure uninterrupted flow.
205:CE2发送目的地址为CE1的报文给PE2。205: CE2 sends a packet whose destination address is CE1 to PE2.
206:PE2收到报文后,从已建立的伪线捆绑组中选择一条伪线转发报文,在本实施例中选择PW1,通过PW1转发报文给PE1。206: After receiving the packet, PE2 selects a pseudowire from the established pseudowire binding group to forward the packet, in this embodiment, selects PW1, and forwards the packet to PE1 through PW1.
其中,PE2选择伪线的方式有多种,包括但不限于以下几种:Among them, there are many ways for PE2 to select a pseudowire, including but not limited to the following:
对具有相同特征的报文选择同一条伪线转发报文;或者按照报文的先后顺序,在伪线捆绑组中选择一条伪线转发报文,包括顺序选择、反序选择等等;具体过程同实施例1中的描述,此处不再赘述。Select the same pseudowire to forward messages for messages with the same characteristics; or select a pseudowire in the pseudowire binding group to forward messages according to the order of the messages, including order selection, reverse order selection, etc.; the specific process It is the same as the description in
207:PE1收到PE2发来的报文后,正常情况下,PE1选择PORT1转发报文给S1,由S1再将报文转发给CE1;当PE1感知到PORT1所连的第一通道故障时,根据已建立的PORT1和PW4的关联关系,通过PW4转发报文给PE1’。207: After PE1 receives the message from PE2, under normal circumstances, PE1 selects PORT1 to forward the message to S1, and then S1 forwards the message to CE1; when PE1 senses that the first channel connected to PORT1 is faulty, According to the established association relationship between PORT1 and PW4, the packet is forwarded to PE1' through PW4.
其中,PE1可以采用端到端的检测技术,对与交换机之间的链路进行检测,从而检测出链路是否发生故障,具体过程同实施例1中的描述。Wherein, PE1 may use an end-to-end detection technology to detect the link with the switch, so as to detect whether the link is faulty, and the specific process is the same as that described in
208:PE1’收到从PW4来的报文后,根据已建立的PORT2和PW4的关联关系,通过PORT2转发报文给S1。208: After receiving the packet from PW4, PE1' forwards the packet to S1 through PORT2 according to the established relationship between PORT2 and PW4.
209:S1收到PE1’发来的报文后,转发给CE1,然后结束。209: After receiving the message from PE1', S1 forwards it to CE1 and ends.
上述过程以PE2选择PW1转发报文给PE1为例进行说明,如果PE2选择PW2转发报文给PE1’,当PE1’感知到PORT2所连的第二通道故障时,类似地,根据PORT2和PW4的关联关系,通过PW4转发报文给PE1,PE1根据PORT1和PW4的关联关系,通过PORT1转发报文给S1,由S1将报文转发给CE1,具体过程不再详细描述。The above process is explained by taking PE2 to select PW1 to forward the packet to PE1 as an example. If PE2 selects PW2 to forward the packet to PE1', when PE1' detects that the second channel connected to PORT2 is faulty, similarly, according to the Association relationship: forward the packet to PE1 through PW4, PE1 forwards the packet to S1 through PORT1 according to the association relationship between PORT1 and PW4, and S1 forwards the packet to CE1. The specific process will not be described in detail.
本实施例通过备份伪线对链路进行保护,不需要PE设备支持TE FRR功能,并能实现交换机与PE设备之间的链路保护;而且有链路发生故障时,网络中的所有设备都不需要清除MAC地址,因此不会造成瞬间大量的广播流量,节省了带宽,提高了效率和可靠性,链路故障导致的丢包时间小于50ms,能满足运营级要求。This embodiment protects the link through the backup pseudowire, does not require the PE equipment to support the TE FRR function, and can realize link protection between the switch and the PE equipment; and when a link fails, all equipment in the network will There is no need to clear the MAC address, so it will not cause a large amount of broadcast traffic in an instant, save bandwidth, improve efficiency and reliability, and the packet loss time caused by link failure is less than 50ms, which can meet the requirements of the carrier level.
实施例3Example 3
本发明实施例提供了一种保护链路的设备,该设备分别与PE和边缘通讯设备相连,边缘通讯设备与CE相连,该设备包括:An embodiment of the present invention provides a device for protecting a link. The device is respectively connected to PEs and edge communication devices, and the edge communication device is connected to CE. The device includes:
第一处理模块,用于当与边缘通讯设备之间的通道故障时,将收到的发往CE的报文,通过与通道关联的备份伪线转发给PE,备份伪线位于设备与PE之间;The first processing module is used to forward the received message sent to CE to PE through the backup pseudowire associated with the channel when the channel between the edge communication device fails, and the backup pseudowire is located between the device and the PE between;
第二处理模块,用于当收到从备份伪线来的报文后,通过通道转发报文给边缘通讯设备。The second processing module is configured to forward the message to the edge communication device through the channel after receiving the message from the backup pseudowire.
进一步地,上述设备还包括:Further, the above equipment also includes:
建立模块,用于在设备和PE之间建立备份伪线;Establish a module for establishing a backup pseudowire between the device and the PE;
关联模块,用于建立建立模块得到的备份伪线和通道的关联关系。The association module is used to establish the association relationship between the backup pseudowire and the channel obtained by the establishment module.
当边缘通讯设备为PE时,关联模块具体包括:When the edge communication device is PE, the association module specifically includes:
关联单元,用于建立建立模块得到的备份伪线和第一伪线的关联关系,第一伪线位于设备与边缘通讯设备之间。The associating unit is configured to establish an association relationship between the backup pseudowire obtained by the establishment module and the first pseudowire, where the first pseudowire is located between the device and the edge communication device.
当边缘通讯设备为交换机时,关联模块具体包括:When the edge communication device is a switch, the association module specifically includes:
关联单元,用于建立建立模块得到的备份伪线和第一端口的关联关系,第一端口为边缘通讯设备上与设备相连的端口。The associating unit is configured to establish an association relationship between the backup pseudowire obtained by the establishment module and the first port, where the first port is a port connected to the device on the edge communication device.
本实施例通过备份伪线对链路进行保护,不需要PE设备支持TE FRR功能,并能实现交换机与PE设备之间的链路保护;而且有链路发生故障时,网络中的所有设备都不需要清除MAC地址,因此不会造成瞬间大量的广播流量,节省了带宽,提高了效率和可靠性,链路故障导致的丢包时间小于50ms,能满足运营级要求。This embodiment protects the link through the backup pseudowire, does not require the PE equipment to support the TE FRR function, and can realize link protection between the switch and the PE equipment; and when a link fails, all equipment in the network will There is no need to clear the MAC address, so it will not cause a large amount of broadcast traffic in an instant, save bandwidth, improve efficiency and reliability, and the packet loss time caused by link failure is less than 50ms, which can meet the requirements of the carrier level.
实施例4Example 4
参见图7,本发明实施例还提供了一种保护链路的系统,应用于多归属网络,该系统至少包括第一PE、第二PE和通讯设备;Referring to FIG. 7, an embodiment of the present invention also provides a system for protecting links, which is applied to a multi-homing network. The system includes at least a first PE, a second PE, and a communication device;
第一PE,用于当通讯设备与第一PE之间的第一通道故障时,将收到的发往与通讯设备相连的CE的报文,通过与第一通道关联的备份伪线转发给第二PE,备份伪线位于第一PE和第二PE之间;The first PE is used to forward the received message sent to the CE connected to the communication device to the CE through the backup pseudowire associated with the first channel when the first channel between the communication device and the first PE fails. The second PE, the backup pseudowire is located between the first PE and the second PE;
第二PE,用于当收到第一PE通过备份伪线发来的报文后,通过与备份伪线关联的第二通道转发报文给通讯设备,第二通道位于通讯设备与第二PE之间,且与第一通道属于一个捆绑组;The second PE is used to forward the message to the communication device through the second channel associated with the backup pseudo wire after receiving the message sent by the first PE through the backup pseudo wire. The second channel is located between the communication device and the second PE. between, and belong to a binding group with the first channel;
通讯设备,用于接收第二PE发来的报文,并将报文转发给CE。The communication device is configured to receive the message sent by the second PE, and forward the message to the CE.
当通讯设备具体为PE时,通讯设备还包括:When the communication equipment is specifically PE, the communication equipment also includes:
捆绑模块,用于对每个与CE相连的端口都将该端口对应的伪线捆绑在一起,得到第一伪线捆绑组,第一伪线捆绑组至少包括第一伪线和第二伪线,第一伪线位于通讯设备与第一PE之间,第二伪线位于通讯设备与第二PE之间;A binding module, configured to bind together the pseudowires corresponding to each port connected to the CE to obtain a first pseudowire binding group, the first pseudowire binding group includes at least the first pseudowire and the second pseudowire , the first pseudowire is located between the communication device and the first PE, and the second pseudowire is located between the communication device and the second PE;
相应地,第一PE还包括第一关联模块,用于与第二PE建立备份伪线,并建立第一伪线和备份伪线的关联关系;第二PE还包括第二关联模块,用于与第一PE建立备份伪线,并建立第二伪线和备份伪线的关联关系。Correspondingly, the first PE also includes a first association module, configured to establish a backup pseudowire with the second PE, and establish an association relationship between the first pseudowire and the backup pseudowire; the second PE also includes a second association module, configured to A backup pseudowire is established with the first PE, and an association relationship between the second pseudowire and the backup pseudowire is established.
当通讯设备具体为交换机时,通讯设备还包括:When the communication device is specifically a switch, the communication device also includes:
捆绑模块,用于将与第一PE相连的端口以及与第二PE相连的端口,按照与预先建立的第二伪线捆绑组对称的方式进行捆绑,得到端口捆绑组,端口捆绑组至少包括第一端口和第二端口,第一端口为通讯设备上与第一PE相连的端口,第二端口为通讯设备上与第二PE相连的端口,第二伪线捆绑组为与第一PE和第二PE相连且与其他CE相连的PE预先建立的伪线捆绑组;The bundling module is configured to bundle the port connected to the first PE and the port connected to the second PE in a manner symmetrical to the pre-established second pseudowire bundling group to obtain a port bundling group, the port bundling group includes at least the first A port and a second port, the first port is the port connected to the first PE on the communication device, the second port is the port connected to the second PE on the communication device, and the second pseudowire binding group is connected to the first PE and the second PE A pre-established pseudowire bonding group of PEs connected to two PEs and connected to other CEs;
相应地,第一PE还包括第一关联模块,用于与第二PE建立备份伪线,并建立第一端口和备份伪线的关联关系;第二PE还包括第二关联模块,用于与第一PE建立备份伪线,并建立第二端口和备份伪线的关联关系。Correspondingly, the first PE also includes a first association module, configured to establish a backup pseudowire with the second PE, and establish an association relationship between the first port and the backup pseudowire; the second PE also includes a second association module, configured to establish a backup pseudowire with the second PE. The first PE establishes a backup pseudowire, and establishes an association relationship between the second port and the backup pseudowire.
本实施例通过备份伪线对链路进行保护,不需要PE设备支持TE FRR功能,并能实现交换机与PE设备之间的链路保护;而且有链路发生故障时,网络中的所有设备都不需要清除MAC地址,因此不会造成瞬间大量的广播流量,节省了带宽,提高了效率和可靠性,链路故障导致的丢包时间小于50ms,能满足运营级要求。This embodiment protects the link through the backup pseudowire, does not require the PE equipment to support the TE FRR function, and can realize link protection between the switch and the PE equipment; and when a link fails, all equipment in the network will There is no need to clear the MAC address, so it will not cause a large amount of broadcast traffic in an instant, save bandwidth, improve efficiency and reliability, and the packet loss time caused by link failure is less than 50ms, which can meet the requirements of the carrier level.
本发明实施例可以利用软件实现,相应的软件可以存储在可读取的存储介质中,如PE或交换机的硬盘或缓存中等等。The embodiment of the present invention can be realized by software, and the corresponding software can be stored in a readable storage medium, such as a hard disk or cache of a PE or a switch, and the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2008100066130ACN101227397B (en) | 2008-01-28 | 2008-01-28 | System, equipment and method for protecting link circuit |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2008100066130ACN101227397B (en) | 2008-01-28 | 2008-01-28 | System, equipment and method for protecting link circuit |
| Publication Number | Publication Date |
|---|---|
| CN101227397A CN101227397A (en) | 2008-07-23 |
| CN101227397Btrue CN101227397B (en) | 2012-06-27 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2008100066130AExpired - Fee RelatedCN101227397B (en) | 2008-01-28 | 2008-01-28 | System, equipment and method for protecting link circuit |
| Country | Link |
|---|---|
| CN (1) | CN101227397B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101719834B (en)* | 2009-06-02 | 2012-06-13 | 中兴通讯股份有限公司 | Method and system for realizing virtual private multicast service protection |
| CN102549979A (en)* | 2009-07-10 | 2012-07-04 | 诺基亚西门子通信公司 | Method and device for conveying traffic |
| CN102045178B (en)* | 2009-10-16 | 2016-03-30 | 中兴通讯股份有限公司 | The method of Virtual Private LAN Service multicast protection and device |
| CN101789879B (en)* | 2009-12-30 | 2013-01-16 | 中兴通讯股份有限公司 | Dynamic maintenance method and device for related link circuits |
| CN102142948A (en)* | 2010-02-02 | 2011-08-03 | 华为技术有限公司 | Data forwarding method, device and system |
| CN101800679B (en)* | 2010-03-10 | 2012-07-11 | 华为技术有限公司 | Method and system for packet loss detection |
| CN102215098B (en)* | 2010-04-09 | 2014-04-16 | 华为技术有限公司 | Method, device and system for transmitting service data of client equipment |
| CN102271045B (en)* | 2010-06-02 | 2014-08-13 | 华为技术有限公司 | Virtual private network (VPN)-instance-based inter-equipment backup method, equipment and system |
| CN102468977B (en)* | 2010-11-19 | 2016-03-30 | 中兴通讯股份有限公司 | The guard method of Packet Transport Network and device |
| CN102325037B (en)* | 2011-05-25 | 2016-01-20 | 中兴通讯股份有限公司 | A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment |
| CN102857420B (en)* | 2012-08-24 | 2016-01-20 | 中兴通讯股份有限公司 | The method and system of cross-line card protection method, relevant apparatus and line card service access PTN |
| CN103634209B (en) | 2013-09-13 | 2017-02-08 | 华为技术有限公司 | Method and equipment for data transmission |
| CN104468233B (en)* | 2014-12-23 | 2018-01-12 | 新华三技术有限公司 | Ethernet virtualization interconnects dual-homed site disasters switching method and device |
| CN110149220B (en)* | 2014-12-30 | 2022-07-29 | 华为技术有限公司 | Method and device for managing data transmission channel |
| CN104601381B (en)* | 2015-01-30 | 2018-07-20 | 新华三技术有限公司 | The method and apparatus for preventing flow interrupt |
| CN105591900B (en)* | 2015-09-29 | 2019-01-22 | 新华三技术有限公司 | A kind of link switch-over method and device |
| CN111901235B (en) | 2017-12-01 | 2025-07-04 | 华为技术有限公司 | Method and device for processing routing, and method and device for data transmission |
| CN111404812B (en)* | 2020-03-25 | 2022-04-01 | 新华三信息安全技术有限公司 | Communication method and device |
| CN111490932B (en)* | 2020-03-25 | 2022-03-29 | 新华三信息安全技术有限公司 | Communication method and device |
| CN114389984A (en)* | 2020-10-19 | 2022-04-22 | 华为技术有限公司 | Traffic forwarding processing method and device |
| CN112738832A (en)* | 2020-12-01 | 2021-04-30 | 武汉菲舍控制技术有限公司 | Fault positioning mechanism and signal transmission method and transmission system thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1571390A (en)* | 2003-04-28 | 2005-01-26 | 阿尔卡特Ip网络有限公司 | Virtual private network fault tolerance |
| CN1866859A (en)* | 2005-09-30 | 2006-11-22 | 华为技术有限公司 | Method for carrying out protection inversion on pseudo wire in packet switch network |
| CN1929392A (en)* | 2005-09-06 | 2007-03-14 | 华为技术有限公司 | Management method for binding chain circuit state |
| CN101001196A (en)* | 2007-01-25 | 2007-07-18 | 华为技术有限公司 | Method and device for setting pseudo-line tunnel and transmitting message using it |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1571390A (en)* | 2003-04-28 | 2005-01-26 | 阿尔卡特Ip网络有限公司 | Virtual private network fault tolerance |
| CN1929392A (en)* | 2005-09-06 | 2007-03-14 | 华为技术有限公司 | Management method for binding chain circuit state |
| CN1866859A (en)* | 2005-09-30 | 2006-11-22 | 华为技术有限公司 | Method for carrying out protection inversion on pseudo wire in packet switch network |
| CN101001196A (en)* | 2007-01-25 | 2007-07-18 | 华为技术有限公司 | Method and device for setting pseudo-line tunnel and transmitting message using it |
| Publication number | Publication date |
|---|---|
| CN101227397A (en) | 2008-07-23 |
| Publication | Publication Date | Title |
|---|---|---|
| CN101227397B (en) | System, equipment and method for protecting link circuit | |
| CN101217470B (en) | Method and device for forwarding message | |
| CN102025541B (en) | Method and system for realizing multicast protection | |
| CN101141330B (en) | Method, system and equipment for establishing BFD detection for LSP tunnel | |
| CN101902353B (en) | Protecting method, device and system of packet network | |
| EP2498454B1 (en) | Method, device and system for processing service traffic based on pseudo wires | |
| EP1881643B1 (en) | A method for protection switching of the pseudo wire in the packet switch network and the device thereof | |
| JP4899959B2 (en) | VPN equipment | |
| CN100459531C (en) | Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol | |
| EP2649752B1 (en) | System and method for providing improved failover performance for pseudowires | |
| CN101330424B (en) | Method, system and apparatus for processing service fault of virtual special network | |
| CN101938377B (en) | link aggregation error protection method, equipment and system | |
| US20130272114A1 (en) | Pseudo wire switching method and device | |
| CN102137009B (en) | Method, system and equipment for processing Dual-layer service in network | |
| CN101374075A (en) | Method, device and system for protecting multicast source | |
| CN102377607B (en) | Data transmission method and data transmission device for special two-layer virtual network | |
| WO2012130034A1 (en) | Vpls fast rerouting method and device | |
| WO2012028029A1 (en) | Switching method and system | |
| WO2012159489A1 (en) | Switching method, system and dual homing provider device for pseudowire dual homing network | |
| CN102142948A (en) | Data forwarding method, device and system | |
| CN101227399A (en) | Message transmission method, system and forwarding node | |
| WO2011144088A2 (en) | Method for service protection and access device | |
| CN102546357B (en) | Message forwarding method and network device | |
| CN104683206A (en) | Method and device for coordinated switching of layer-2 and layer-3 virtual private networks in bridging equipment | |
| CN101719834B (en) | Method and system for realizing virtual private multicast service protection |
| 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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20120627 Termination date:20200128 | |
| CF01 | Termination of patent right due to non-payment of annual fee |