Supercharge Your Innovation With Domain-Expert AI Agents!

Routing convergence method and device in multi-protocol label switching (MPLS) and border gateway protocol (BGP) networking

A routing and networking technology, applied in the field of network communication, can solve the problems of affecting packet forwarding, invalid forwarding, unreachable link MPLS labels, etc., and achieve the effect of improving forwarding performance and accelerating fast convergence.

Active Publication Date: 2013-09-11
NEW H3C TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, because BGP routes are forwarded hop by hop in the next hop mode, the advertised BGP route will be marked as an invalid route only when the next hop of the advertised BGP route is detected to be invalid, so the following problems will occur : When MPLS Label-Switch Path (LSP: Label-Switch Path) forwarding is invalid in BGP / MPLS networking, for example, the link is unreachable or the MPLS label If it is not invalid, the BGP route will still be used for packet forwarding, which will cause packet forwarding failure, or even packet loss, and cannot achieve fast convergence of BGP routes
[0006] for example, figure 1 In the BGP / MPLS network shown, it is assumed that the next hop of the BGP route on the service provider network edge device (PE: Provider Edge) 1 is the IP address of PE2, and the BGP route is applied to the LSP between PE1 and PE2. The LSP forwarding between PE1 and PE2 is invalid. For example, the MPLS forwarding link between PE1 and P1 is faulty. At this time, PE1 has a published BGP route for the LSP between PE1 and PE2. If it is not marked as an invalid route, PE1 will not revoke the BGP route, and it will still use the BGP route to forward packets. Since the LSP forwarding between PE1 and PE2 is invalid, PE1 is using this BGP route. When the route forwards the message, the message will not be successfully forwarded, that is, a BGP route that cannot be forwarded has been applied to the forwarding of the message for a long time, and the fast convergence of the BGP route cannot be realized, which affects the forwarding of the message

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Routing convergence method and device in multi-protocol label switching (MPLS) and border gateway protocol (BGP) networking
  • Routing convergence method and device in multi-protocol label switching (MPLS) and border gateway protocol (BGP) networking
  • Routing convergence method and device in multi-protocol label switching (MPLS) and border gateway protocol (BGP) networking

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] Such as image 3 As shown, there are two LSP links in the MPLS backbone network, one is LSP1 and the other is LSP2, and two pairs of BGP neighbors are established between PE1 and PE2. The two pairs of BGP neighbors correspond to BGP route 1 and BGP route 2 respectively, BGP route 1 is applied to LSP1, and BGP route 2 is applied to LSP2.

[0096] Normally, PE1 communicates with PE2 through BGP route 1 preferably applied to LSP1, that is, PE1 forwards data flows to PE2 through LSP1. However, when PE1 detects that LSP1 is invalid according to the method in step 201, if PE1 has not detected that the next hop of BGP route 1 is unreachable through BGP at this time, here, when BGP route 1 is not marked as an invalid route, it means that BGP The next hop of route 1 is reachable, otherwise, it means unreachable. Based on the above step 202, PE1 first marks the BGP route 1 as an invalid route, and at the same time, based on the above step 203, PE1 checks whether there is anothe...

Embodiment 2

[0099] Such as Figure 4 As shown, CE1 has dual-homing, that is, CE1 is connected to PE1 and PE3 at the same time, and both PE1 and PE3 have established BGP neighbors with the remote PE2. The BGP neighbor between PE1 and PE2 corresponds to BGP route 1, which is applied to LSP1, and the BGP neighbor between PE3 and PE2 corresponds to BGP route 2, which is applied to LSP2.

[0100] Under normal circumstances, the data flow forwarded from CE1 to CE2 will preferably be forwarded through BGP route 2 applied to LSP2 on PE3. The next hop of outgoing BGP route 2 is unreachable. Here, when BGP route 2 is not marked as an invalid route, it means that the next hop of BGP route 2 is reachable, otherwise, it means unreachable. Based on the above step 202, PE3 marks BGP route 2 as an invalid route. At the same time, based on the above step 203, PE3 checks whether there is another BGP route with the same prefix as BGP route 2 on this PE3, and finds that there is no other BGP route on this P...

Embodiment 3

[0103] suppose as Figure 5 As shown, two types of neighbor relationships are established between PE1 and PE2, one is IPv6 BGP4+ neighbor relationship, and the other is 6PE neighbor relationship. For the data flow from CE1 to CE2, under normal circumstances, PE1 will preferably forward the data flow to CE2 through the route of the 6PE neighbor. Among them, the route of the 6PE neighbor is forwarded through MPLS. This route belongs to the BGP route and is recorded as BGP route 1, which is iterated to the LSP between PE1 and PE2.

[0104] When the LSP between PE1 and PE2 is invalid, that is, the forwarding fails, according to the prior art, the BGP route 1 iterated to this LSP becomes an invalid black hole route. However, if the present invention is implemented, when the connection between PE1 and PE2 is detected When the LSP between them is invalid, that is, the forwarding fails, based on step 202, PE1 will mark the BGP route 1 iterated to this LSP as an invalid route. If it ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a routing convergence method and device in multi-protocol label switching (MPLS) and border gateway protocol (BGP) networking. According to the method, a provider edge (PE) enables a BGP route and related functions of a label-switch path (LSP) to be achieved and performs the steps of performing effectiveness detection on the LSP of next hop iteration of the BGP route on the PE periodically; when detecting that the LSP is invalid, enabling the BGP route to be marked as an invalid route, cancelling the BGP route when other BGP routes with identical prefixes as the BGP route do not exist on the PE; cancelling the BGP route when other BGP routes exist on the PE, and optimally selecting a BGP route meeting the following condition from other BGP routes to replace the BGP route marked as the invalid route so as to perform message forwarding: the LSP of the next hop iteration is different from the LSP of the next hop iteration of the BGP route marked as the invalid route. By adopting the routing convergence method and device, rapid convergence of the BGP route can be accelerated, and message forwarding performance is improved.

Description

technical field [0001] The present application relates to network communication technology, in particular to a route convergence method and device in multiprotocol label switching (MPLS: Multiprotocol Label Switching) and border gateway protocol (BGP: Border Gateway Protocol) networking. Background technique [0002] The networking using MPLS and BGP has good scalability and can easily support MPLS Quality of Service (QoS) and MPLS Traffic Engineering (TE: Traffic Engineering), and has been applied more and more. [0003] For ease of description, the networking using MPLS and BGP is referred to as MPLS and BGP networking, or BGP / MPLS networking for short. [0004] In a BGP / MPLS network, BGP acts as the upper-layer control plane to control the advertisement and withdrawal of BGP routes. As the lower layer data forwarding plane, MPLS uses the BGP routes advertised by BGP to forward packets. [0005] However, because BGP routes are forwarded hop by hop in the next hop mode, t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/723H04L12/721H04L45/50
Inventor 王伟樊超王海
Owner NEW H3C TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More