[go: up one dir, main page]

CN101237409A - Method and device for realizing fast rerouting in MPLS VPN - Google Patents

Method and device for realizing fast rerouting in MPLS VPN Download PDF

Info

Publication number
CN101237409A
CN101237409A CNA2008100264983A CN200810026498A CN101237409A CN 101237409 A CN101237409 A CN 101237409A CN A2008100264983 A CNA2008100264983 A CN A2008100264983A CN 200810026498 A CN200810026498 A CN 200810026498A CN 101237409 A CN101237409 A CN 101237409A
Authority
CN
China
Prior art keywords
lsp
main
standby
state
label
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
CNA2008100264983A
Other languages
Chinese (zh)
Other versions
CN101237409B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008100264983A priority Critical patent/CN101237409B/en
Publication of CN101237409A publication Critical patent/CN101237409A/en
Priority to PCT/CN2009/070360 priority patent/WO2009105974A1/en
Application granted granted Critical
Publication of CN101237409B publication Critical patent/CN101237409B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种多协议标签交换虚拟专用网(MPLS VPN)中实现快速重路由方法,包括:边界路由器将获得的两条路由连同标签一起分别生成主用标签交换路径(Label Switch Path,LSP)和备用LSP,并将所述主用LSP和备用LSP同时下发到转发表中;查询主用LSP的状态是否有效,若是,则使用主用LSP转发流量,否则,使用备用LSP进行转发流量。相应地,本发明还公开了一种路由设备,根据本发明的一种在MPLS VPN中实现快速重路由的方法及设备,可以实现快速重路由,达到设备故障时使业务快速收敛,提高了实时业务的QoS。

Figure 200810026498

The invention discloses a method for realizing fast rerouting in a multi-protocol label switching virtual private network (MPLS VPN), comprising: a border router generates two routes obtained together with labels to be a primary label switching path (Label Switch Path, LSP ) and standby LSP, and send the active LSP and standby LSP to the forwarding table at the same time; check whether the status of the active LSP is valid, if so, use the active LSP to forward traffic, otherwise, use the standby LSP to forward traffic . Correspondingly, the present invention also discloses a routing device. According to a method and device for realizing fast rerouting in MPLS VPN according to the present invention, fast rerouting can be realized, so that services can be quickly converged when a device fails, and real-time Service QoS.

Figure 200810026498

Description

MPLS VPN中实现快速重路由的方法及设备 Method and device for implementing fast rerouting in MPLS VPN

技术领域technical field

本发明涉及电子通信领域,尤其涉及一种多协议标签交换虚拟专用网中边界路由器实现快速重路由的方法及路由设备。The invention relates to the field of electronic communication, in particular to a method for realizing fast rerouting by a border router in a multi-protocol label switching virtual private network and a routing device.

背景技术Background technique

随着网络技术的发展,多协议标签交换(Multi-Protocol Label Switching,MPLS)虚拟专用网(Virtual Private Network,VPN)广泛地应用于城域网、骨干网,除了用于承载VPN用户及大客户业务,还用于承载第3代移动通信(3G)、软交换等电信自身的关键业务。由于越来越多业务的开展,使得运营商越来越重视VPN跨域需求。With the development of network technology, multi-protocol label switching (Multi-Protocol Label Switching, MPLS) virtual private network (Virtual Private Network, VPN) is widely used in metropolitan area networks and backbone networks, except for carrying VPN users and large customers It is also used to bear the key services of telecommunications itself such as the third generation mobile communication (3G) and softswitch. Due to the development of more and more services, operators pay more and more attention to VPN cross-domain requirements.

在MPLS VPN跨域应用场景中,对于出现域间链路故障、自治系统边界路由器(Autonomous System Boundary Router,ASBR)设备故障等问题时,现有技术进行路由收敛包括本地ASBR路由收敛和远端ASBR路由收敛。In the MPLS VPN cross-domain application scenario, when problems such as inter-domain link failures and autonomous system boundary router (Autonomous System Boundary Router, ASBR) equipment failures occur, the existing technology for routing convergence includes local ASBR routing convergence and remote ASBR routing convergence. Route convergence.

一、本地ASBR路由收敛:1. Local ASBR route convergence:

如图1所示,图示了目前的VPN业务跨域部署时ASBR域间路由示意图;图1中,自治系统(Autonomous System,AS)1和AS2是两个MPLS域,其间通过建立单跳多协议外部边界网关协议(Multi-Protocol External Border GatewayProtocol,MP-EBGP)(Option B方案)来实现VPN路由信息跨域交换。其中,客户边界路由器(Client Edge,CE)1和CE3同属于VPN1,CE3双归属两个网络提供商边界路由器(Provider Edge,PE)设备,即图1中的PE3、PE4。CE2和CE4同属于VPN2,CE4双归属到两个PE设备,即图1中的PE3、PE4。As shown in Figure 1, it illustrates a schematic diagram of ASBR inter-domain routing when VPN services are deployed across domains; in Figure 1, Autonomous Systems (Autonomous System, AS) 1 and AS2 are two MPLS domains. Protocol External Border Gateway Protocol (Multi-Protocol External Border Gateway Protocol, MP-EBGP) (Option B scheme) to achieve cross-domain exchange of VPN routing information. Among them, client edge router (Client Edge, CE) 1 and CE3 both belong to VPN1, and CE3 is dual-homed to two network provider edge routers (Provider Edge, PE) devices, that is, PE3 and PE4 in Figure 1. Both CE2 and CE4 belong to VPN2, and CE4 is dual-homed to two PEs, that is, PE3 and PE4 in Figure 1.

在AS1内,PE1和PE2、PE1和ASBR1、PE2和ASBR2、ASBR1和ASBR2之间分别建立内部边界网关协议(Interior Border Gateway Protocol,IBGP)邻居关系,假设ASBR1和ASBR2为本地ASBR设备;在AS2内,PE3和PE4、PE3和ASBR3、PE4和ASBR4、ASBR3和ASBR4之间分别建立IBGP邻居关系,假设ASBR3和ASBR4为远端ASBR设备。在AS1和AS2之间,ASBR1和ASBR3、ASBR2和ASBR4之间分别建立外部路由网关协议(External BorderGateway Protocol,EGBP)邻居关系,ASBR1可以接收到ASBR3发布的VPN路由,即图1中的VPN路由1,同时,ASBR1还可以接收到ASBR4经过ASBR2发布的VPN路由,即图1中的VPN路由2,为了描述简洁,图1中没有标出任何网络提供商路由器(Provider,P路由器)。在ASBR1和ASBR3之间运行边界网关协议的双向转发检测机制(BFD for BGP),实现设备和链路故障实时检测。In AS1, establish Interior Border Gateway Protocol (IBGP) neighbor relationships between PE1 and PE2, PE1 and ASBR1, PE2 and ASBR2, and ASBR1 and ASBR2, assuming that ASBR1 and ASBR2 are local ASBR devices; in AS2 , establish IBGP neighbor relationships between PE3 and PE4, PE3 and ASBR3, PE4 and ASBR4, and ASBR3 and ASBR4, assuming that ASBR3 and ASBR4 are remote ASBR devices. Between AS1 and AS2, ASBR1 and ASBR3, and between ASBR2 and ASBR4 establish External Border Gateway Protocol (EGBP) neighbor relationships, and ASBR1 can receive the VPN route advertised by ASBR3, that is, VPN route 1 in Figure 1 At the same time, ASBR1 can also receive the VPN route advertised by ASBR4 through ASBR2, that is, VPN route 2 in FIG. Run the BGP bidirectional forwarding detection mechanism (BFD for BGP) between ASBR1 and ASBR3 to realize real-time detection of equipment and link failures.

以VPN1路由为例,本地ASBR路由收敛的主要流程为:假设流量从CE1到达ASBR1后,ASBR1优选VPN路由1跨域转发流量。图2是在VPN业务跨域部署时现有的一种本地ASBR路由收敛示意图,如图2所示,当在流量转发过程中,ASBR3设备故障、或ASBR1与ASBR3之间链路故障,那么,ASBR1可以通过BFD for BGP快速感知这种故障,然后直接触发VPN路由的本地收敛,包括:Taking VPN1 route as an example, the main process of local ASBR route convergence is as follows: Assume that after traffic arrives from CE1 to ASBR1, ASBR1 forwards traffic across domains using VPN route 1. Figure 2 is a schematic diagram of an existing local ASBR route convergence when VPN services are deployed across domains. As shown in Figure 2, when the ASBR3 device fails or the link between ASBR1 and ASBR3 fails during traffic forwarding, then, ASBR1 can quickly sense this kind of failure through BFD for BGP, and then directly trigger the local convergence of VPN routes, including:

ASBR1重新进行路由优选,将ASBR4经ASBR2发布的VPN路由2作为优选路由;ASBR1将新的优选路由下发到转发平面,同时拆除原ASBR3发布的路由;转发平面的转发表项更新后,流量到达ASBR1后,会优选VPN路由2跨域转发流量至CE3,从而实现VPN跨域业务的重新收敛。ASBR1 re-optimizes the route, and takes the VPN route 2 published by ASBR4 through ASBR2 as the preferred route; ASBR1 delivers the new preferred route to the forwarding plane, and removes the original route published by ASBR3; after the forwarding table entry of the forwarding plane is updated, the traffic arrives After ASBR1, VPN route 2 will be selected to forward traffic to CE3 across domains, so as to achieve re-convergence of VPN cross-domain services.

然而,现有的本地ASBR路由收敛过程中:However, during the existing local ASBR route convergence process:

ASBR1通过BFD在30ms内感知设备或链路故障之后,上报给接口板,通常需要100ms左右;After ASBR1 detects a device or link failure within 30ms through BFD, it reports to the interface board, which usually takes about 100ms;

接口板通知主控板,通告BGP协议收敛,通常需要几百毫秒到1秒左右;The interface board notifies the main control board to notify the convergence of the BGP protocol, which usually takes several hundred milliseconds to 1 second;

路由的重新收敛,还取决于ASBR1控制平面的闲忙与VPN路由数的多少,即:控制面比较忙,VPN路由数较多,都将在一定程度上降低VPN路由的收敛速度。The re-convergence of routes also depends on the busyness of the control plane of ASBR1 and the number of VPN routes. That is, the busy control plane and the large number of VPN routes will reduce the convergence speed of VPN routes to a certain extent.

可见,现有的本地ASBR路由收敛速度很慢,对于语音、视频等实时性要求很高的业务而言,用户是无法接受的。It can be seen that the existing local ASBR routing convergence speed is very slow, which is unacceptable to users for services with high real-time requirements such as voice and video.

二、远端ASBR路由收敛:2. Remote ASBR route convergence:

如图3所示,图示了目前的VPN业务跨域部署时远端ASBR域内路由示意图。图3中,自治系统(Autonomous System,AS)1和AS2是两个MPLS域,其间通过建立单跳MP-EBGP(Option B方案)来实现VPN路由信息跨域交换。其中,客户边界路由器(Client Edge,CE)1和CE3同属于VPN1,CE3双归属两个网络提供商边界路由器(Provider Edge,PE)设备,即图中的PE3、PE4。CE2和CE4同属于VPN2,CE4双归属到两个PE设备,即图中的PE3、PE4。As shown in FIG. 3 , it illustrates a schematic diagram of intra-domain routing of remote ASBRs when the current VPN service is deployed across domains. In Figure 3, autonomous system (Autonomous System, AS) 1 and AS2 are two MPLS domains, during which a single-hop MP-EBGP (Option B scheme) is established to realize cross-domain exchange of VPN routing information. Among them, client edge router (Client Edge, CE) 1 and CE3 belong to VPN1, and CE3 is dual-homed to two network provider edge routers (Provider Edge, PE) devices, namely PE3 and PE4 in the figure. Both CE2 and CE4 belong to VPN2, and CE4 is dual-homed to two PEs, that is, PE3 and PE4 in the figure.

在AS1内,PE1和PE2、PE1和ASBR1、PE2和ASBR2、ASBR1和ASBR2之间分别建立IBGP邻居关系,假设ASBR1和ASBR2为本地ASBR设备;在AS2内,PE3和PE4、PE3和ASBR3、PE4和ASBR4、ASBR3和ASBR4之间分别建立IBGP邻居关系,假设ASBR3和ASBR4为远端ASBR设备。ASBR3可以接收到PE3发布的VPN路由,即图中的VPN路由3,同时,ASBR3还可以接收到PE4经过ASBR4发布的VPN路由,即图中的VPN路由4,为了描述简洁,图中没有标出任何P路由器。在ASBR3和PE3之间运行BFD for BGP,实现设备和链路故障实时检测。In AS1, establish IBGP neighbor relationships between PE1 and PE2, PE1 and ASBR1, PE2 and ASBR2, and ASBR1 and ASBR2. Assume that ASBR1 and ASBR2 are local ASBRs; Establish an IBGP neighbor relationship among ASBR4, ASBR3, and ASBR4. Assume that ASBR3 and ASBR4 are remote ASBRs. ASBR3 can receive the VPN route advertised by PE3, which is VPN route 3 in the figure. At the same time, ASBR3 can also receive the VPN route advertised by PE4 via ASBR4, which is VPN route 4 in the figure. For the sake of brevity, it is not marked in the figure Any P router. Run BFD for BGP between ASBR3 and PE3 to realize real-time detection of equipment and link faults.

以VPN1路由为例,远端ASBR路由收敛的主要流程为:假设流量从CE1跨域到达ASBR3后,ASBR3优选VPN路由3继续转发流量。如图4所示,当在流量转发过程中,PE3设备故障、或ASBR3与PE3之间链路故障,那么,ASBR3可以通过BFD for BGP快速感知这种故障,然后直接触发VPN路由的本地收敛,包括:Taking VPN1 route as an example, the main process of remote ASBR route convergence is as follows: Assume that after the traffic reaches ASBR3 across domains from CE1, ASBR3 prefers VPN route 3 to continue forwarding the traffic. As shown in Figure 4, when PE3 fails or the link between ASBR3 and PE3 fails during traffic forwarding, ASBR3 can quickly detect the failure through BFD for BGP, and then directly trigger local convergence of VPN routes. include:

ASBR3重新进行路由优选,将PE4经ASBR4发布的VPN路由4作为优选路由;ASBR3将新的优选路由下发到转发平面,同时拆除原PE3发布的VPN路由3;转发平面的转发表项更新后,流量跨域到达ASBR3后,会优选VPN路由4转发流量至CE3,从而实现VPN业务的重新收敛。ASBR3 re-optimizes routes, using VPN route 4 published by PE4 through ASBR4 as the preferred route; ASBR3 sends the new preferred route to the forwarding plane, and removes the original VPN route 3 published by PE3; after the forwarding table entry of the forwarding plane is updated, After the traffic reaches ASBR3 across domains, VPN route 4 is selected to forward the traffic to CE3, so as to achieve re-convergence of VPN services.

然而,现有的远端ASBR路由收敛过程中:However, during the existing remote ASBR route convergence process:

ASBR3通过BFD在30ms内感知设备或链路故障之后,上报给接口板,通常需要100ms左右;After ASBR3 detects a device or link failure within 30ms through BFD, it reports to the interface board, which usually takes about 100ms;

接口板通知主控板,通告BGP协议收敛,通常需要几百毫秒到1秒左右;The interface board notifies the main control board to notify the convergence of the BGP protocol, which usually takes several hundred milliseconds to 1 second;

路由的重新收敛,还取决于ASBR3控制平面的闲忙与VPN路由数的多少,即:控制面比较忙,VPN路由数较多,都将在一定程度上降低VPN路由的收敛速度。The re-convergence of routes also depends on the busyness of the ASBR3 control plane and the number of VPN routes. That is, if the control plane is busy and the number of VPN routes is large, the convergence speed of VPN routes will be reduced to a certain extent.

可见,在现有的远端ASBR路由收敛速度很慢,对于语音、视频等实时性要求很高的业务而言,用户是无法接受的。It can be seen that the routing convergence speed of the existing remote ASBR is very slow, which is unacceptable to users for services with high real-time requirements such as voice and video.

综上所述,在实现本发明的过程中,发明人发现在MPLS VPN跨域应用场景中,对于出现域间链路故障、ASBR设备故障等问题时,ASBR路由收敛速度较慢,对于实时业务,严重影响其服务质量(Quality of Service,QoS),无法满足用户需求。To sum up, in the process of realizing the present invention, the inventor found that in the MPLS VPN cross-domain application scenario, when problems such as inter-domain link failures and ASBR equipment failures occur, the ASBR route convergence speed is relatively slow, and for real-time services , seriously affecting its quality of service (Quality of Service, QoS), unable to meet user needs.

发明内容Contents of the invention

本发明实施例在于提供一种多协议标签交换虚拟专用网(MPLS VPN)中实现快速重路由的方法及路由设备,可以实现快速重路由,达到设备故障时使业务快速收敛,提高了实时业务的QoS。The embodiment of the present invention is to provide a method and routing equipment for implementing fast rerouting in a multi-protocol label switching virtual private network (MPLS VPN), which can realize fast rerouting, achieve fast convergence of services when equipment fails, and improve real-time service reliability. QoS.

为了达到上述技术效果,本发明实施例提供了一种在MPLS VPN中实现快速重路由的方法,其包括:In order to achieve the above-mentioned technical effects, the embodiment of the present invention provides a method for realizing fast rerouting in MPLS VPN, which includes:

边界路由器接收流量;Border routers receive traffic;

查询转发表,获取所述流量对应的主用LSP的状态,所述转发表中存储了主用标签交换路径(Label Switch Path,LSP)和备用LSP的信息以及主用LSP的状态;Query the forwarding table to obtain the state of the active LSP corresponding to the traffic, and store the information of the active Label Switch Path (Label Switch Path, LSP) and standby LSP and the state of the active LSP in the forwarding table;

如果所述主用LSP的状态为有效,则使用所述主用LSP转发所述流量;或如果所述主用LSP的状态为无效,则使用所述流量对应的备用LSP转发流量。If the state of the active LSP is valid, use the active LSP to forward the traffic; or if the state of the active LSP is invalid, use the standby LSP corresponding to the traffic to forward the traffic.

相应地,本发明实施例还提供了一种路由设备,其包括:Correspondingly, the embodiment of the present invention also provides a routing device, which includes:

转发表存储模块,用于存储用于存储转发表,所述转发表中保存了主用LSP、备用LSP信息以及主用LSP的状态;The forwarding table storage module is used for storing and storing the forwarding table, wherein the forwarding table stores the information of the active LSP, the standby LSP, and the state of the active LSP;

查询模块,用于查询所述主用LSP的出接口是否有效;A query module, configured to query whether the outgoing interface of the active LSP is valid;

LSP选取模块,用于当查询模块查询到主用LSP的状态有效时,选取主用LSP转发流量,当查询模块查询到主用LSP的出接口无效时,选取备用LSP转发流量。The LSP selection module is used to select the active LSP to forward traffic when the query module finds that the state of the active LSP is valid, and select the standby LSP to forward traffic when the query module finds that the outgoing interface of the active LSP is invalid.

根据本发明实施例提出的一种MPLS VPN中实现快速重路由方法及路由设备,通过将两条路由生成主备LSP,并同时安装到转发表项中,通过查询主用LSP的状态来选择转发链路,当主用LSP故障时,立即将流量切换到备用LSP,有效地实现了快速重路由,提高收敛速度,保证了QoS,能够更好地满足用户需求。According to the method and routing device for implementing fast rerouting in an MPLS VPN proposed by the embodiment of the present invention, two routes are generated as active and standby LSPs, and are installed in the forwarding table at the same time, and the forwarding is selected by querying the state of the active LSP link, when the active LSP fails, immediately switch the traffic to the standby LSP, effectively realizing fast rerouting, improving convergence speed, ensuring QoS, and better meeting user needs.

附图说明Description of drawings

图1是目前的VPN业务跨域部署时ASBR域间路由示意图;Figure 1 is a schematic diagram of ASBR inter-domain routing when the current VPN service is deployed across domains;

图2是在VPN业务跨域部署时现有的一种本地ASBR路由收敛示意图;Figure 2 is a schematic diagram of an existing local ASBR route convergence when VPN services are deployed across domains;

图3是目前的VPN业务跨域部署时远端ASBR域内路由示意图;Figure 3 is a schematic diagram of remote ASBR intra-domain routing when the current VPN service is deployed across domains;

图4是在VPN业务跨域部署时现有的一种远端ASBR路由收敛示意图;Figure 4 is a schematic diagram of an existing remote ASBR route convergence when VPN services are deployed across domains;

图5是本发明实施例提出的一种MPLS VPN中实现快速重路由的方法中路由配置的流程图;Fig. 5 is the flow chart of route configuration in the method for realizing fast rerouting in a kind of MPLS VPN that the embodiment of the present invention proposes;

图6是本发明实施例提出的一种MPLS VPN中实现快速重路由的方法中路由选取的流程图;Fig. 6 is a flow chart of route selection in a method for realizing fast rerouting in an MPLS VPN proposed by an embodiment of the present invention;

图7是本发明实施例提出的一种MPLS VPN中实现快速重路由的方法中路由收敛的流程图;Fig. 7 is a flow chart of routing convergence in a method for realizing fast rerouting in an MPLS VPN proposed by an embodiment of the present invention;

图8是本发明实施例的一种MPLS VPN中实现快速重路由的方法在ASBR域间应用场景图;Fig. 8 is an application scenario diagram of a method for implementing fast rerouting in an MPLS VPN in an ASBR inter-domain according to an embodiment of the present invention;

图9是本发明实施例的一种MPLS VPN中实现快速重路由的方法在ASBR域内应用场景图;Fig. 9 is an application scenario diagram in an ASBR domain of a method for realizing fast rerouting in an MPLS VPN according to an embodiment of the present invention;

图10是本发明实施例提出的一种路由设备的结构示意图;FIG. 10 is a schematic structural diagram of a routing device proposed by an embodiment of the present invention;

图11是本发明实施例中ASBR的转发表的结构示意图;FIG. 11 is a schematic structural diagram of a forwarding table of an ASBR in an embodiment of the present invention;

图12是本发明实施例中PE1的转发表的结构示意图。Fig. 12 is a schematic structural diagram of the forwarding table of PE1 in the embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提出的一种在MPLS VPN中实现快速重路由的方法,通过将两条路由生成主用和备用标签交换路径(Label Switch Path,LSP),并同时下发到转发表项中,通过查询主用LSP的状态来选择转发链路,当主用LSP故障时,立即将流量切换到备用LSP,以实现快速重路由,在具体实施时至少包括:路由配置、转发流量时进行路由选取、发生故障时进行路由收敛。A method for realizing fast rerouting in an MPLS VPN proposed by an embodiment of the present invention generates active and standby Label Switch Paths (Label Switch Path, LSP) by generating two routes, and sends them to forwarding table entries at the same time, Select the forwarding link by querying the state of the active LSP. When the active LSP fails, immediately switch the traffic to the standby LSP to achieve fast rerouting. The specific implementation includes at least: routing configuration, routing selection when forwarding traffic, Route convergence in the event of a failure.

参考图5,图示了本发明实施例一种MPLS VPN中实现快速重路由的方法中路由配置的流程图,具体包括:Referring to Fig. 5, it illustrates a flow chart of routing configuration in a method for implementing fast rerouting in an MPLS VPN according to an embodiment of the present invention, specifically including:

步骤S11,边界路由设备接收到至少两条VPN路由,将一条VPN路由作为主用路由,一条VPN路由作为备用路由;Step S11, the border routing device receives at least two VPN routes, one VPN route is used as the main route, and one VPN route is used as the backup route;

步骤S12,所述主用路由和备用路由连同标签(包括域间标签或域内标签,其中,所述域间标签或域内标签包括出标签和入标签)一起分别生成主用LSP和备用LSP,其中,一个入标签对应主备用两条LSP;Step S12, the active route and the standby route together with labels (including inter-domain labels or intra-domain labels, wherein the inter-domain labels or intra-domain labels include outgoing labels and incoming labels) generate active LSPs and standby LSPs respectively, wherein , one incoming label corresponds to two primary and secondary LSPs;

步骤S13,将主用LSP和备用LSP同时安装到所述边界路由设备的MPLS转发表中,其中,所述转发表如图11所示,其表项至少包括:入标签、出标签、下一跳、出接口、主用LSP的状态。Step S13, install the active LSP and the standby LSP into the MPLS forwarding table of the border routing device at the same time, wherein, the forwarding table is shown in Figure 11, and its entries include at least: incoming label, outgoing label, next Hop, outgoing interface, and active LSP status.

步骤S14,在主用LSP上运行BFD,进行链路检测。Step S14, running BFD on the active LSP to perform link detection.

当所述边界路由器接收到MPLS报文,需要进行流量(或报文)转发时,进行路由选取,如图6所示,图示了本发明实施例提出的一种MPLS VPN中实现快速重路由的方法中路由选取的流程图,包括:When the border router receives the MPLS message and needs to forward the traffic (or message), it selects the route, as shown in Figure 6, which illustrates the realization of fast rerouting in a kind of MPLS VPN proposed by the embodiment of the present invention The flow chart of route selection in the method, including:

步骤S21,在MPLS转发表中根据流量携带的标签查询主用LSP的状态,具体地,结合图11,根据流量携带的标签查找转发表中与所述流量携带的标签对应的入标签,从而获取该入标签对应的主用LSP的状态;Step S21, query the status of the primary LSP in the MPLS forwarding table according to the label carried by the traffic, specifically, in conjunction with Figure 11, look up the incoming label corresponding to the label carried by the traffic in the forwarding table according to the label carried by the traffic, so as to obtain The state of the active LSP corresponding to the incoming label;

步骤S22,判断所述主用LSP的状态是否为有效,当判断结果为是时,执行步骤S23,否则执行步骤S24;Step S22, judging whether the state of the active LSP is valid, if the judging result is yes, go to step S23, otherwise go to step S24;

步骤S23,选取主用LSP转发流量;Step S23, selecting the primary LSP to forward traffic;

步骤S24,选取备用LSP转发流量。Step S24, selecting an alternate LSP to forward traffic.

在本实施例中,通过判断主用LSP的状态进行流量转发路径的选取,在主用LSP不可用时,能及时将流量切换到备用LSP,实现快速收敛。In this embodiment, the traffic forwarding path is selected by judging the status of the active LSP, and when the active LSP is unavailable, the traffic can be switched to the standby LSP in time to achieve fast convergence.

当在流量转发过程中,在步骤S14中,通过BFD检查到链路故障或设备故障,需要进行路由收敛,如图7所示,包括:When in the process of traffic forwarding, in step S14, a link failure or device failure is detected through BFD, and route convergence needs to be performed, as shown in Figure 7, including:

步骤S31,BFD检测到主用LSP故障,包括:链路故障或设备故障;Step S31, the BFD detects a failure of the active LSP, including: link failure or equipment failure;

步骤S32,修改MPLS转发表中主用LSP的状态为无效,即:将主用LSP的状态置为down,并上报控制层;Step S32, modifying the state of the active LSP in the MPLS forwarding table to be invalid, that is: setting the state of the active LSP to down, and reporting to the control layer;

步骤S34,在流量转发过程中,如图6所示,通过查询MPLS转发表,发现主用LSP状态为down,即:无效;Step S34, in the traffic forwarding process, as shown in Figure 6, by querying the MPLS forwarding table, it is found that the state of the active LSP is down, that is: invalid;

步骤S35,选取备用LSP进行流量转发。Step S35, selecting a backup LSP for traffic forwarding.

通过运行BFD,确保在30ms内完成故障检测,一旦检测到主用LSP故障,及时更新转发表中主用LSP的状态,实现快速重路由,确保50ms的快速收敛,提高了收敛速度,降低了时延,提高实时性业务的用户体验,保证了服务质量。By running BFD, ensure that fault detection is completed within 30 ms. Once a fault is detected on the active LSP, the state of the active LSP in the forwarding table will be updated in time to implement fast rerouting and ensure fast convergence within 50 ms. This improves the convergence speed and reduces the time delay, improve the user experience of real-time services, and ensure the quality of service.

为了进一步阐述本发明的一种在MPLS VPN中实现快速重路由的方法,下面结合附图,分别从ASBR域间快速重路由(Fast ReRoute,FRR)和ASBR域内FRR两个方面进行说明。In order to further elaborate a kind of method of realizing fast rerouting in MPLS VPN of the present invention, below in conjunction with accompanying drawing, illustrate from two aspects of fast rerouting (Fast ReRoute, FRR) between ASBR domain and FRR in ASBR domain respectively below.

参考图8,图示了本发明实施例的一种MPLS VPN中实现快速重路由方法在ASBR域间应用场景图。Referring to FIG. 8 , it illustrates an application scene diagram of a method for implementing fast rerouting in an MPLS VPN in an ASBR inter-domain according to an embodiment of the present invention.

图中,AS1和AS2是两个MPLS域,其间通过建立单跳MP-EBGP(OptionB方案)来实现VPN路由信息跨域交换。其中,CE1和CE3同属于VPN1,CE3双归属两个PE设备,即图中的PE3、PE4。CE2和CE4同属于VPN2,CE4双归属到两个PE设备,即图中的PE3、PE4。在AS1内,PE1和PE2、PE1和ASBR1、PE2和ASBR2、ASBR1和ASBR2之间分别建立IBGP邻居关系,假设ASBR1和ASBR2为本地ASBR设备;在AS2内,PE3和PE4、PE3和ASBR3、PE4和ASBR4、ASBR3和ASBR4之间分别建立IBGP邻居关系,假设ASBR3和ASBR4为远端ASBR设备。在AS1和AS2之间,ASBR1和ASBR3、ASBR2和ASBR4之间分别建立EGBP邻居关系,ASBR1可以接收到ASBR3发布的VPN路由,即图中的VPN路由1,同时,ASBR1还可以接收到ASBR4经过ASBR2发布的VPN路由,即图中的VPN路由2,为了描述简洁,图中没有标出任何P路由器。在ASBR1和ASBR3之间运行BFD for BGP,实现设备和链路故障实时检测。In the figure, AS1 and AS2 are two MPLS domains, and a single-hop MP-EBGP (Option B scheme) is established between them to realize cross-domain exchange of VPN routing information. Among them, CE1 and CE3 belong to VPN1, and CE3 is dual-homed to two PE devices, that is, PE3 and PE4 in the figure. Both CE2 and CE4 belong to VPN2, and CE4 is dual-homed to two PEs, that is, PE3 and PE4 in the figure. In AS1, establish IBGP neighbor relationships between PE1 and PE2, PE1 and ASBR1, PE2 and ASBR2, and ASBR1 and ASBR2. Assume that ASBR1 and ASBR2 are local ASBRs; Establish an IBGP neighbor relationship among ASBR4, ASBR3, and ASBR4. Assume that ASBR3 and ASBR4 are remote ASBRs. Between AS1 and AS2, ASBR1 and ASBR3, and between ASBR2 and ASBR4 respectively establish EGBP neighbor relationships. ASBR1 can receive the VPN route advertised by ASBR3, that is, VPN route 1 in the figure. At the same time, ASBR1 can also receive ASBR4 passing through ASBR2. The advertised VPN route is VPN route 2 in the figure. To simplify the description, no P router is marked in the figure. Run BFD for BGP between ASBR1 and ASBR3 to realize real-time detection of equipment and link failures.

在本发明实施例中,ASBR1通常选取ASBR3发布的VPN路由1为主用路由,选取ASBR4发布的VPN路由2为备用路由,并与AS1域内标签结合,分别生成主用LSP1和备用LSP2。ASBR1将主用LSP1和备用LSP2同时下发至MPLS转发表中。In the embodiment of the present invention, ASBR1 usually selects the VPN route 1 published by ASBR3 as the primary route, and selects the VPN route 2 published by ASBR4 as the backup route, and combines it with the label in the AS1 domain to generate the primary LSP1 and backup LSP2 respectively. ASBR1 delivers the active LSP1 and standby LSP2 to the MPLS forwarding table at the same time.

在正常情况下,流量从CE1到达ASBR1后,通过LSP1转发跨域流量至ASBR3,当ASBR3设备发生故障或者ASBR1-ASBR3之间的链路故障,并且ASBR1通过BFD快速感知后,立即触发域间FRR,将流量切换到备用LSP2上,即:流量从CE1到达ASBR1后,通过LSP2转发跨域流量至CE3,从而,确保流量的50ms快速倒换,极大地提高了跨域VPN业务的收敛速度。Under normal circumstances, after traffic arrives at ASBR1 from CE1, it forwards cross-domain traffic to ASBR3 through LSP1. When ASBR3 fails or the link between ASBR1 and ASBR3 fails, and ASBR1 quickly detects it through BFD, it immediately triggers inter-domain FRR. , switch the traffic to the standby LSP2, that is, after the traffic arrives at ASBR1 from CE1, it forwards the cross-domain traffic to CE3 through LSP2, thereby ensuring the 50ms fast switching of the traffic and greatly improving the convergence speed of the cross-domain VPN service.

其中,触发域间FRR,将流量切换到备用LSP2上具体为:将转发表的主用LSP1状态置为down,当流量到达时,通过查询所述转发表发现主用LSP1的状态为down,则立即启用MPLS转发表中的备用LSP2进行流量转发。Wherein, triggering inter-domain FRR, and switching the traffic to the standby LSP2 is specifically: setting the status of the active LSP1 in the forwarding table to down, and when the traffic arrives, it is found that the status of the active LSP1 is down by querying the forwarding table, then Immediately enable the standby LSP2 in the MPLS forwarding table for traffic forwarding.

参考图9,图示了本发明实施例的一种MPLS VPN中实现快速重路由方法在ASBR域内应用场景图。Referring to FIG. 9, it illustrates an application scene diagram of a method for implementing fast rerouting in an MPLS VPN in an ASBR domain according to an embodiment of the present invention.

图中,AS1和AS2是两个MPLS域,其间通过建立单跳MP-EBGP(OptionB方案)来实现VPN路由信息跨域交换。其中,CE1和CE3同属于VPN1,CE3双归属两个PE设备,即图中的PE3、PE4。CE2和CE4同属于VPN2,CE4双归属两个PE设备,即图中的PE3、PE4。在AS1内,PE1和PE2、PE1和ASBR1、PE2和ASBR2、ASBR1和ASBR2之间分别建立IBGP邻居关系,假设ASBR1和ASBR2为本地ASBR设备;在AS2内,PE3和PE4、PE3和ASBR3、PE4和ASBR4、ASBR3和ASBR4之间分别建立IBGP邻居关系,假设ASBR3和ASBR4为远端ASBR设备,ASBR3可以接收到PE3发布的VPN路由,即图中的VPN路由3,同时,ASBR3还可以接收到PE4经过ASBR4发布的VPN路由,即图中的VPN路由4,为了描述简洁,图中没有标出任何P路由器。在ASBR3和PE3之间运行BFD for BGP,实现设备和链路故障实时检测。In the figure, AS1 and AS2 are two MPLS domains, and a single-hop MP-EBGP (Option B scheme) is established between them to realize cross-domain exchange of VPN routing information. Among them, CE1 and CE3 belong to VPN1, and CE3 is dual-homed to two PE devices, that is, PE3 and PE4 in the figure. Both CE2 and CE4 belong to VPN2, and CE4 is dual-homed to two PEs, PE3 and PE4 in the figure. In AS1, establish IBGP neighbor relationships between PE1 and PE2, PE1 and ASBR1, PE2 and ASBR2, and ASBR1 and ASBR2. Assume that ASBR1 and ASBR2 are local ASBRs; ASBR4, ASBR3, and ASBR4 respectively establish IBGP neighbor relationships. Assuming that ASBR3 and ASBR4 are remote ASBR devices, ASBR3 can receive the VPN route advertised by PE3, that is, VPN route 3 in the figure. At the same time, ASBR3 can also receive the The VPN route advertised by ASBR4 is VPN route 4 in the figure. For the sake of brevity, no P router is marked in the figure. Run BFD for BGP between ASBR3 and PE3 to realize real-time detection of equipment and link faults.

在本发明实施例中,ASBR3通常选取PE3发布的VPN路由3为主用路由,选取PE4发布的VPN路由4为备用路由,并与域间标签结合,分别生成主用LSP3和备用LSP4。ASBR3将主用LSP3和备用LSP4同时下发至MPLS转发表中。In the embodiment of the present invention, ASBR3 usually selects the VPN route 3 published by PE3 as the active route, and selects the VPN route 4 published by PE4 as the backup route, and combines them with the inter-domain label to generate the active LSP3 and the backup LSP4 respectively. ASBR3 delivers the active LSP3 and standby LSP4 to the MPLS forwarding table at the same time.

在正常情况下,流量从CE1跨域到达ASBR3后,通过LSP3转发流量至CE3,当PE3设备发生故障或者ASBR3-PE3之间的链路发生故障,并且ASBR3通过BFD快速感知后,立即触发本域内FRR,将流量切换到备用LSP4上,即:流量从CE1跨域到达ASBR3后,通过LSP4转发跨域流量至CE3,从而,确保流量的50ms快速倒换,极大地提高了跨域VPN业务的收敛速度。Under normal circumstances, after the traffic reaches ASBR3 across domains from CE1, it forwards the traffic to CE3 through LSP3. When PE3 fails or the link between ASBR3 and PE3 fails, and ASBR3 quickly detects it through BFD, it immediately triggers the intra-domain FRR, switch the traffic to the standby LSP4, that is, after the traffic reaches ASBR3 across the domain from CE1, forward the cross-domain traffic to CE3 through LSP4, thus ensuring the 50ms fast switching of the traffic and greatly improving the convergence speed of the cross-domain VPN service .

其中,触发本域内FRR,将流量切换到备用LSP4上具体为:将转发表的主用LSP3状态置为down,当流量到达时,通过查询所述转发表发现主用LSP3的状态为down,则立即启用MPLS转发表中的备用LSP4进行流量转发。Wherein, triggering the FRR in the domain, and switching the traffic to the standby LSP4 is specifically: setting the state of the active LSP3 in the forwarding table to down, and when the traffic arrives, it is found that the state of the active LSP3 is down by querying the forwarding table, then Immediately enable the backup LSP4 in the MPLS forwarding table for traffic forwarding.

上述本发明的实施例,示出了ASBR域间或域内配置FRR的方案,当然,也可以采用ASBR域间配置FRR,并且ASBR域内也配置FRR的方案。The above-mentioned embodiments of the present invention show a scheme of configuring FRR between ASBRs or within an ASBR. Of course, a scheme of configuring FRR between ASBRs and configuring FRR within an ASBR may also be used.

在本发明的一个实施例中,在上述ASBR域间和/或域内配置FRR的基础上,可以进一步在PE1上配置VPN FRR,其中,PE1的转发表如图12所示,其表项包括:VPN路由前缀、VPN路由、私网标签、公网标、下一跳、出接口、主用VPN路由对应的LSP的状态;In one embodiment of the present invention, on the basis of configuring FRR between ASBR domains and/or within domains, VPN FRR can be further configured on PE1, wherein the forwarding table of PE1 is shown in Figure 12, and its entries include: VPN route prefix, VPN route, private network label, public network label, next hop, outbound interface, and LSP status corresponding to the active VPN route;

结合图8或图9,在正常情况下,接收到CE1发送的流量时,PE1选择PE1-ASBR1对应的主用LSP转发流量,Referring to Figure 8 or Figure 9, under normal circumstances, when receiving traffic sent by CE1, PE1 selects the active LSP corresponding to PE1-ASBR1 to forward the traffic,

当发生PE1-ASBR1链路故障、或ASBR1设备故障时,确保VPN业务的50ms快速收敛,PE1选择PE1-PE2-ASBR2对应的备用LSP进行流量转发,这样实现了PE1上的快速重路由,保证了AS1内的可靠性,在整个MPLS VPN中,同时结合ASBR域间和域内FRR,即可实现端到端的保护,提高整个系统可靠性和容灾性。When a PE1-ASBR1 link failure or ASBR1 equipment failure occurs, to ensure fast convergence of VPN services within 50 ms, PE1 selects the backup LSP corresponding to PE1-PE2-ASBR2 for traffic forwarding, which implements fast rerouting on PE1 and ensures Reliability within AS1, combined with ASBR inter-domain and intra-domain FRR in the entire MPLS VPN, can achieve end-to-end protection and improve the reliability and disaster recovery of the entire system.

基于上述的一种在MPLS VPN中实现快速重路由的方法实现ASBR及其链路出现故障实现快速收敛,需要对相应的设备进行功能扩展。Based on the above-mentioned method of implementing fast rerouting in MPLS VPN, to realize fast convergence when ASBR and its links fail, it is necessary to expand the functions of the corresponding equipment.

如图10所示,本发明实施例提出了一种路由设备,其包括:As shown in Figure 10, an embodiment of the present invention proposes a routing device, which includes:

转发表存储模块1020,用于存储转发表,所述转发表中保存了主用LSP、备用LSP信息以及主用LSP的状态;其中,当边界路由器是ASBR时,举例来说,转发表的结构如图11所示,其表项至少包括:入标签、出标签、下一跳、出接口、主用LSP的状态。The forwarding table storage module 1020 is used to store the forwarding table, and the forwarding table stores the information of the active LSP, the standby LSP, and the state of the active LSP; wherein, when the border router is an ASBR, for example, the structure of the forwarding table As shown in FIG. 11 , its entries at least include: incoming label, outgoing label, next hop, outgoing interface, and state of the active LSP.

查询模块1030,用于流量转发时,根据流量携带的标签查询所述主用LSP的状态是否有效,具体地,结合图11,根据流量携带的标签查找转发表中与所述流量携带的标签对应的入标签,从而获取该入标签对应的主用LSP的状态;The query module 1030 is used to query whether the status of the active LSP is valid according to the label carried by the traffic when forwarding traffic. Specifically, referring to FIG. Ingress label, so as to obtain the status of the active LSP corresponding to the ingress label;

LSP选取模块1040,用于当查询模块1030查询到主用LSP的状态有效时,选取主用LSP转发流量,当查询模块查询到主用LSP的状态无效时,选取备用LSP转发流量。The LSP selection module 1040 is configured to select the active LSP to forward traffic when the query module 1030 finds that the active LSP is valid, and select the standby LSP to forward traffic when the active LSP is invalid.

在本发明的另一种实施方式中,所述路由设备还包括:In another embodiment of the present invention, the routing device further includes:

LSP生成模块1010,用于将获得的两条路由连同标签一起分别生成主用LSP和备用LSP。The LSP generating module 1010 is configured to respectively generate the active LSP and the standby LSP together with the obtained two routes together with the labels.

在本发明的另一种实施方式中,所述路由设备还包括:In another embodiment of the present invention, the routing device further includes:

故障检测模块1050,用于检测主用LSP是否发生故障;Fault detection module 1050, configured to detect whether the active LSP fails;

故障处理模块1060,用于当故障检测模块1050检测到主用LSP发生故障时,将所述转发表存储模块1020中主用LSP对应的状态置为无效状态,并上报控制层。The fault processing module 1060 is configured to set the state corresponding to the active LSP in the forwarding table storage module 1020 to an invalid state when the fault detection module 1050 detects that the active LSP fails, and report to the control layer.

需要说明的是,本发明实施例所述的路由设备具体可以包括自治系统边界路由器(ASBR)或网络提供商(PE)边界路由器。It should be noted that, the routing device described in the embodiment of the present invention may specifically include an autonomous system border router (ASBR) or a network provider (PE) border router.

在上述实施例中,以采用BFD实现故障检测,修改主用LSP的状态为例来说明本发明的实现快速重路由的方法及设备,本发明当然不限于此,也可以采用以太网运行、管理和维护(Operations,Administration and Maintenance,OAM)来实现;如果LSP采用的是同步光网络(Synchronous Optical Network,SONET)/同步数字传输体系(Synchronous Digital Hierarchy,SDH)上的分组(Packet OverSONET/SDH,POS)链路,通常通过POS自身告警机制,实现故障检测,联动修改主用LSP的状态。In the above-mentioned embodiment, the method and equipment for realizing fast rerouting of the present invention are illustrated by using BFD to realize fault detection and modifying the state of the active LSP as an example. Of course, the present invention is not limited to this, and Ethernet operation and management and maintenance (Operations, Administration and Maintenance, OAM); if the LSP uses the packet (Packet OverSONET/SDH) on the Synchronous Optical Network (Synchronous Optical Network, SONET)/Synchronous Digital Hierarchy (SDH), POS) link, usually through the POS self-alarm mechanism, realizes fault detection, and jointly modifies the state of the active LSP.

综上所述,根据本发明实施例通过将两条路由生成主用和备用LSP,并同时安装到转发表项中,通过查询主用LSP的状态来选择转发链路(主用LSP或备用LSP),并通过在域间ASBR之间,域内ASBR与PE之间运行BFD,实现双向转发检测,故障检测速度在毫秒级,确保在30ms内完成,并将BFD检测与主用LSP状态联动,及时更新转发表,或者,利用POS链路的自身告紧机制或OAM机制实现快速故障检测,并及时更新转发表,加快FRR的触发,将流量转发切换到备用LSP上,确保50ms的快速收敛,极大地提高了VPN跨域时的可靠性,保证了QoS,能够更好地满足用户需求。In summary, according to the embodiment of the present invention, two routes are generated as active and standby LSPs and installed in the forwarding entry at the same time, and the forwarding link (main LSP or standby LSP) is selected by querying the state of the active LSP. ), and run BFD between inter-domain ASBRs and between intra-domain ASBRs and PEs to implement bidirectional forwarding detection. Update the forwarding table, or use the self-tightening mechanism of the POS link or the OAM mechanism to realize fast fault detection, and update the forwarding table in time to speed up the triggering of FRR and switch the traffic forwarding to the standby LSP to ensure fast convergence within 50 ms. It greatly improves the reliability of VPN across domains, ensures QoS, and can better meet user needs.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above description is a preferred embodiment of the present invention, and it should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered Be the protection scope of the present invention.

Claims (11)

1, a kind of method that realizes quick heavy-route in MPLS VPN is characterized in that, comprising:
Border router receives flow;
Inquiry is transmitted, and obtains the main state with label switching path LSP of described flow correspondence, has stored the first main information and the first main state with LSP with the LSP and the first standby LSP in described the transmitting;
If the described first main state with LSP is effectively, then use described first master to transmit described flow with LSP; Or
If the described first main state with LSP is invalid, then use the first standby LSP converting flow of described flow correspondence.
2, the method for claim 1 is characterized in that, also is included in the step that configuration is transmitted on the described autonomous border router, is specially:
Two routes that border router will obtain generate the first main LSP of using and the first standby LSP respectively together with label;
Described first main being issued to the LSP and the first standby LSP transmitted.
3, method as claimed in claim 2 is characterized in that, the described list item of transmitting comprises at least: go into label, outgoing label, next jumping, outgoing interface, main state with LSP.
4, the method for claim 1 is characterized in that, also comprises:
Main move BFD on LSP described first;
Described first main when use lsp failure when detecting by BFD, with described first lead state with LSP be changed to invalid.
5, the method for claim 1 is characterized in that, when the grouping POS link on described LSP employing Synchronous Optical Network/synchronous digital transmission system, described method also comprises:
Whether detect described first master by POS self alarming mechanism breaks down with LSP;
Described first main when use lsp failure when detecting, with described first lead state with LSP be changed to invalid.
6, as any described method of claim 1 to 4, it is characterized in that described inquiry is transmitted, obtain the first main state of described flow correspondence, comprising with LSP:
In described transmitting, search the main state with LSP corresponding according to the label that flow carries with this label.
7, method as claimed in claim 6 is characterized in that, described method further comprises:
Two routes that the network provider border router will obtain generate the second main LSP of using and the second standby LSP respectively together with label;
Described second master is issued in the transmitting of network provider border router with the LSP and the second standby LSP;
When flow was transmitted, whether the inquiry second main state with LSP was effective, if, then use the second main LSP converting flow of using, otherwise, use the second standby LSP to carry out converting flow.
8, a kind of routing device is characterized in that, comprising:
Transmit memory module, be used for forwarding table memory, preserved main in described the transmitting with LSP, standby LSP information and main state with LSP;
Enquiry module, whether the state that is used for the described main LSP of using of inquiry when flow is transmitted is effective;
LSP chooses module, is used for inquiring main state with LSP when effective when enquiry module, chooses the main LSP converting flow of use, when enquiry module inquires the state of the main LSP of using when invalid, chooses standby LSP converting flow.
9, routing device as claimed in claim 8 is characterized in that, also comprises:
The LSP generation module is used for generating described two routes described main with LSP and described standby LSP respectively together with described label.
10, routing device as claimed in claim 8 or 9 is characterized in that, also comprises:
Whether fault detection module is used to detect described master and breaks down with LSP;
Fault processing module is used for when described fault detection module detects described master and breaks down with LSP, transmits with described that main state with the LSP correspondence is changed to disarmed state described in the memory module, and reports key-course.
11, routing device as claimed in claim 10 is characterized in that, described routing device comprises Autonomous System Boundary Router, AS Boundary Router.
CN2008100264983A 2008-02-27 2008-02-27 Method and device for realizing quick re-routing in MPLS VPN Expired - Fee Related CN101237409B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008100264983A CN101237409B (en) 2008-02-27 2008-02-27 Method and device for realizing quick re-routing in MPLS VPN
PCT/CN2009/070360 WO2009105974A1 (en) 2008-02-27 2009-02-05 Method and apparatus for fast reroute in a multi-protocol label switching (mpls) virtual private network (vpn)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100264983A CN101237409B (en) 2008-02-27 2008-02-27 Method and device for realizing quick re-routing in MPLS VPN

Publications (2)

Publication Number Publication Date
CN101237409A true CN101237409A (en) 2008-08-06
CN101237409B CN101237409B (en) 2011-06-08

Family

ID=39920774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100264983A Expired - Fee Related CN101237409B (en) 2008-02-27 2008-02-27 Method and device for realizing quick re-routing in MPLS VPN

Country Status (2)

Country Link
CN (1) CN101237409B (en)
WO (1) WO2009105974A1 (en)

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009105974A1 (en) * 2008-02-27 2009-09-03 华为技术有限公司 Method and apparatus for fast reroute in a multi-protocol label switching (mpls) virtual private network (vpn)
WO2010069182A1 (en) * 2008-12-16 2010-06-24 中兴通讯股份有限公司 Method for implementging fast reroute
CN101826954A (en) * 2010-03-30 2010-09-08 中兴通讯股份有限公司 Method and system for realizing hot backup in centralized network nodes
CN101860482A (en) * 2010-05-25 2010-10-13 中兴通讯股份有限公司 Layer 2 virtual private network fast rerouting method and device
CN101459538B (en) * 2008-12-31 2011-05-11 华为技术有限公司 Flow forwarding method, device and system
WO2011076029A1 (en) * 2009-12-22 2011-06-30 中兴通讯股份有限公司 Method and apparatus for implementing fast reroute
CN102123097A (en) * 2011-03-14 2011-07-13 杭州华三通信技术有限公司 Method and device for protecting router
CN102195871A (en) * 2011-01-07 2011-09-21 华为数字技术有限公司 Method for controlling service traffic forwarding path in multi-protocol label switch (MPLS) virtual private network (VPN)
CN102377680A (en) * 2011-12-06 2012-03-14 杭州华三通信技术有限公司 Route convergence method and device
CN101616091B (en) * 2009-07-23 2012-05-23 杭州华三通信技术有限公司 Method for realizing rapid rerouting of label issuing protocol and label switching router
WO2012079368A1 (en) * 2010-12-17 2012-06-21 中兴通讯股份有限公司 Method and system for multiprotocol label switching layer-three virtual private network fast reroute
WO2012088979A1 (en) * 2010-12-28 2012-07-05 华为技术有限公司 Activation method, device and system of standby lsp
CN102611629A (en) * 2012-04-05 2012-07-25 杭州华三通信技术有限公司 Fast re-route method and device in MPLS (Multi-Protocol Label Switching)
CN102710499A (en) * 2012-05-09 2012-10-03 杭州华三通信技术有限公司 Multi-publish-source external routing slave next-hop selection method and equipment
CN102754383A (en) * 2010-03-29 2012-10-24 华为技术有限公司 System and method for communications system routing component level high availability
CN103200025A (en) * 2013-02-19 2013-07-10 华为技术有限公司 Method and device for quickly showing routing states in rerouting in visible mode
US20150127843A1 (en) * 2008-11-25 2015-05-07 Broadcom Corporation Multiple Pathway Session Setup to Support QOS Services
CN105592490A (en) * 2015-08-31 2016-05-18 杭州华三通信技术有限公司 Route switching method and equipment
CN106487696A (en) * 2015-08-28 2017-03-08 中兴通讯股份有限公司 Link failure detection method and device
CN106506367A (en) * 2016-11-30 2017-03-15 杭州华三通信技术有限公司 A kind of next-hop determines method and device
CN106789629A (en) * 2016-12-23 2017-05-31 锐捷网络股份有限公司 Business fast convergent method and device
WO2017143958A1 (en) * 2016-02-27 2017-08-31 Huawei Technologies Co., Ltd. System, method and apparatus for implementing fast reroute (frr)
CN107154888A (en) * 2017-07-03 2017-09-12 国家电网公司 The dispositions method and device of communication network
CN107317753A (en) * 2016-04-27 2017-11-03 华为技术有限公司 Two-way converting detects the methods, devices and systems of BFD session establishments
CN108702321A (en) * 2016-02-27 2018-10-23 华为技术有限公司 System, method and apparatus for implementing fast rerouting (FRR)
CN109600291A (en) * 2017-09-30 2019-04-09 华为软件技术有限公司 Cross-domain QoS method of adjustment and device
CN110336745A (en) * 2019-08-28 2019-10-15 广州市高科通信技术股份有限公司 A kind of method and device for realizing service path fast convergence by batched operation
WO2019228385A1 (en) * 2018-06-01 2019-12-05 华为技术有限公司 Method and apparatus for managing virtual private network
CN110838978A (en) * 2018-08-15 2020-02-25 迈普通信技术股份有限公司 Message forwarding method and device
CN111565145A (en) * 2020-04-09 2020-08-21 烽火通信科技股份有限公司 Cross-domain path protection method and system
CN112398730A (en) * 2020-10-28 2021-02-23 上海欣诺通信技术股份有限公司 Message forwarding method, device, equipment and storage medium in data center network
CN116248576A (en) * 2022-12-30 2023-06-09 天翼云科技有限公司 Communication path selection method, device, electronic equipment and readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938421B (en) * 2010-09-14 2012-06-27 北京星网锐捷网络技术有限公司 Method for realizing route summarization in multi-protocol label switching network and router
CN114567593B (en) * 2020-11-26 2024-12-03 南京中兴软件有限责任公司 Path switching method and device, network equipment, and computer-readable storage medium
CN113992569B (en) * 2021-09-29 2023-12-26 新华三大数据技术有限公司 Multipath service convergence method, device and storage medium in SDN network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452755C (en) * 2004-05-18 2009-01-14 华为技术有限公司 A method for establishing static label transmitting route
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
CN1933422B (en) * 2006-09-30 2010-05-12 成都迈普产业集团有限公司 Network trouble switching method
CN101237409B (en) * 2008-02-27 2011-06-08 华为技术有限公司 Method and device for realizing quick re-routing in MPLS VPN

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009105974A1 (en) * 2008-02-27 2009-09-03 华为技术有限公司 Method and apparatus for fast reroute in a multi-protocol label switching (mpls) virtual private network (vpn)
US20150127843A1 (en) * 2008-11-25 2015-05-07 Broadcom Corporation Multiple Pathway Session Setup to Support QOS Services
CN101442494B (en) * 2008-12-16 2011-06-22 中兴通讯股份有限公司 A Method of Realizing Fast Rerouting
WO2010069182A1 (en) * 2008-12-16 2010-06-24 中兴通讯股份有限公司 Method for implementging fast reroute
CN101459538B (en) * 2008-12-31 2011-05-11 华为技术有限公司 Flow forwarding method, device and system
CN101616091B (en) * 2009-07-23 2012-05-23 杭州华三通信技术有限公司 Method for realizing rapid rerouting of label issuing protocol and label switching router
WO2011076029A1 (en) * 2009-12-22 2011-06-30 中兴通讯股份有限公司 Method and apparatus for implementing fast reroute
CN102754383A (en) * 2010-03-29 2012-10-24 华为技术有限公司 System and method for communications system routing component level high availability
CN102754383B (en) * 2010-03-29 2014-11-05 华为技术有限公司 System and method for communications system routing component level high availability
WO2011120360A1 (en) * 2010-03-30 2011-10-06 中兴通讯股份有限公司 Method and system for realizing hot standby in centralized network nodes
CN101826954B (en) * 2010-03-30 2014-12-10 中兴通讯股份有限公司 Method and system for realizing hot backup in centralized network nodes
CN101826954A (en) * 2010-03-30 2010-09-08 中兴通讯股份有限公司 Method and system for realizing hot backup in centralized network nodes
CN101860482B (en) * 2010-05-25 2014-12-17 中兴通讯股份有限公司 Two-layer virtual private network fast re-route method and device
WO2011147299A1 (en) * 2010-05-25 2011-12-01 中兴通讯股份有限公司 Fast reroute method and apparatus in layer-2 virtual private network
CN101860482A (en) * 2010-05-25 2010-10-13 中兴通讯股份有限公司 Layer 2 virtual private network fast rerouting method and device
WO2012079368A1 (en) * 2010-12-17 2012-06-21 中兴通讯股份有限公司 Method and system for multiprotocol label switching layer-three virtual private network fast reroute
WO2012088979A1 (en) * 2010-12-28 2012-07-05 华为技术有限公司 Activation method, device and system of standby lsp
CN102195871B (en) * 2011-01-07 2014-02-19 北京华为数字技术有限公司 Method for controlling service flow forwarding path in MPLS VPN network
CN102195871A (en) * 2011-01-07 2011-09-21 华为数字技术有限公司 Method for controlling service traffic forwarding path in multi-protocol label switch (MPLS) virtual private network (VPN)
CN102123097A (en) * 2011-03-14 2011-07-13 杭州华三通信技术有限公司 Method and device for protecting router
US9350650B2 (en) 2011-03-14 2016-05-24 Hangzhou H3C Technologies Co., Ltd. Switching to a backup traffic path by a label switching router in a multi-protocol label switching network
WO2012122936A1 (en) * 2011-03-14 2012-09-20 Hangzhou H3C Technologies Co., Ltd Switching to a backup traffic path by a label switching router in a multi-protocol label switching network
CN102123097B (en) * 2011-03-14 2015-05-20 杭州华三通信技术有限公司 Method and device for protecting router
CN102377680B (en) * 2011-12-06 2014-03-26 杭州华三通信技术有限公司 Route convergence method and device
US9923803B2 (en) 2011-12-06 2018-03-20 Hewlett Packard Enterprise Development Lp Method of routing and a device for an autonomous system
CN102377680A (en) * 2011-12-06 2012-03-14 杭州华三通信技术有限公司 Route convergence method and device
CN102611629A (en) * 2012-04-05 2012-07-25 杭州华三通信技术有限公司 Fast re-route method and device in MPLS (Multi-Protocol Label Switching)
CN102611629B (en) * 2012-04-05 2015-05-13 杭州华三通信技术有限公司 Fast re-route method and device in MPLS (Multi-Protocol Label Switching)
CN102710499B (en) * 2012-05-09 2015-12-02 杭州华三通信技术有限公司 Many issue sources external routes is for down hop system of selection and equipment thereof
CN102710499A (en) * 2012-05-09 2012-10-03 杭州华三通信技术有限公司 Multi-publish-source external routing slave next-hop selection method and equipment
CN103200025A (en) * 2013-02-19 2013-07-10 华为技术有限公司 Method and device for quickly showing routing states in rerouting in visible mode
CN103200025B (en) * 2013-02-19 2016-06-08 华为技术有限公司 A kind of visual method and device representing routing state in Quickly regroup
CN106487696A (en) * 2015-08-28 2017-03-08 中兴通讯股份有限公司 Link failure detection method and device
WO2017036165A1 (en) * 2015-08-28 2017-03-09 中兴通讯股份有限公司 Link fault detection method and apparatus
CN106487696B (en) * 2015-08-28 2019-07-23 中兴通讯股份有限公司 Link failure detection method and device
CN105592490A (en) * 2015-08-31 2016-05-18 杭州华三通信技术有限公司 Route switching method and equipment
CN105592490B (en) * 2015-08-31 2019-04-09 新华三技术有限公司 A kind of route switching method and equipment
WO2017143958A1 (en) * 2016-02-27 2017-08-31 Huawei Technologies Co., Ltd. System, method and apparatus for implementing fast reroute (frr)
CN108702321A (en) * 2016-02-27 2018-10-23 华为技术有限公司 System, method and apparatus for implementing fast rerouting (FRR)
US10715420B2 (en) 2016-02-27 2020-07-14 Huawei Technologies Co., Ltd. System, method and apparatus for implementing fast reroute (FRR)
CN107317753A (en) * 2016-04-27 2017-11-03 华为技术有限公司 Two-way converting detects the methods, devices and systems of BFD session establishments
CN106506367A (en) * 2016-11-30 2017-03-15 杭州华三通信技术有限公司 A kind of next-hop determines method and device
CN106789629A (en) * 2016-12-23 2017-05-31 锐捷网络股份有限公司 Business fast convergent method and device
CN106789629B (en) * 2016-12-23 2019-09-20 锐捷网络股份有限公司 Business fast convergent method and device
CN107154888A (en) * 2017-07-03 2017-09-12 国家电网公司 The dispositions method and device of communication network
CN109600291A (en) * 2017-09-30 2019-04-09 华为软件技术有限公司 Cross-domain QoS method of adjustment and device
CN109600291B (en) * 2017-09-30 2021-06-01 华为技术有限公司 Cross-domain QoS adjustment method and device
WO2019228385A1 (en) * 2018-06-01 2019-12-05 华为技术有限公司 Method and apparatus for managing virtual private network
CN110557317A (en) * 2018-06-01 2019-12-10 华为技术有限公司 Method and apparatus for managing virtual private network
US11799688B2 (en) 2018-06-01 2023-10-24 Huawei Technologies Co., Ltd. Method for managing virtual private network, and device
CN110838978A (en) * 2018-08-15 2020-02-25 迈普通信技术股份有限公司 Message forwarding method and device
CN110336745B (en) * 2019-08-28 2019-12-20 广州市高科通信技术股份有限公司 Method and device for realizing rapid convergence of service paths through batch operation
CN110336745A (en) * 2019-08-28 2019-10-15 广州市高科通信技术股份有限公司 A kind of method and device for realizing service path fast convergence by batched operation
CN111565145A (en) * 2020-04-09 2020-08-21 烽火通信科技股份有限公司 Cross-domain path protection method and system
CN112398730A (en) * 2020-10-28 2021-02-23 上海欣诺通信技术股份有限公司 Message forwarding method, device, equipment and storage medium in data center network
CN116248576A (en) * 2022-12-30 2023-06-09 天翼云科技有限公司 Communication path selection method, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2009105974A1 (en) 2009-09-03
CN101237409B (en) 2011-06-08

Similar Documents

Publication Publication Date Title
CN101237409B (en) Method and device for realizing quick re-routing in MPLS VPN
Huang et al. Building reliable MPLS networks using a path protection mechanism
US7817542B2 (en) Method and network device for fast service convergence
KR101895092B1 (en) Mpls fast re-route using ldp (ldp-frr)
US8565098B2 (en) Method, device, and system for traffic switching in multi-protocol label switching traffic engineering
US7881184B2 (en) Reverse notification tree for data networks
CN100450039C (en) Method and device for quickly converging end-to-end services
AU2012279990B2 (en) MPLS fast re-route using LDP (LDP-FRR)
US20070286069A1 (en) Method For Implementing Working/Standby Transmission Path
US20130259056A1 (en) Oam label switched path for fast reroute of protected label switched paths
CN100527683C (en) Failure protecting method and system
WO2008148296A1 (en) A fault detection method, communication system and label switching router
CN101217470B (en) Method and device for forwarding message
CN101217457A (en) Method and Router for Realizing Fast Rerouting
CN102315967B (en) Intermediate node protection method for multicast label switched path and device
WO2006017982A1 (en) A rerouting method in the multi-protocol label switch network
WO2011038627A1 (en) Method, device and system for protecting multi-protocol label switching ring network
US20150186202A1 (en) Method and Device for Sending Inter-Domain Fault Information
WO2012016458A1 (en) Method and apparatus for data transmission in layer 2 virtual private network
Papán et al. Overview of IP fast reroute solutions
CN101483491A (en) Shared guard ring, multicast source route protection method and node thereof
CN111083033B (en) Three-layer virtual private network based on multi-protocol label switching protocol
Benhcine et al. Fast Reroute-based network resiliency experimental investigations
Lin et al. Redirection based recovery for MPLS network systems
Atlas et al. IP Fast Reroute Overview and Things we are struggling to solve

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110608

Termination date: 20170227

CF01 Termination of patent right due to non-payment of annual fee