Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for establishing a bgp neighbor

A method for establishing a neighbor and a technology for neighbors, applied in the field of communication, which can solve problems such as route flapping and affecting the normal selection of routes.

Active Publication Date: 2018-07-24
NEW H3C TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a method and equipment for establishing BGP neighbors to solve the problems affecting the normal selection of routes and route oscillation

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
  • Method and device for establishing a bgp neighbor
  • Method and device for establishing a bgp neighbor
  • Method and device for establishing a bgp neighbor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Such as image 3 As shown, the embodiment of the present invention provides a method for establishing a BGP neighbor. The method of this embodiment is that the peer router sends a neighbor establishment request message to the local router, which is executed by the local router, and may include the following steps:

[0042] Step 301: The local router receives a neighbor establishment request message sent by the peer router, and the neighbor establishment request message carries the confederation identifier of the peer router.

[0043] Wherein, the neighbor establishment request message is the first message sent by the peer router received by the local router, such as an OPEN (open) message. In the neighbor establishment request message, in addition to carrying the original parameters, it also carries the confederation identifier of the peer router, and the confederation identifier may specifically be an confederation ID.

[0044] Step 302: When the local router determin...

Embodiment 2

[0050] Such as Figure 4 As shown, the embodiment of the present invention provides a method for establishing a BGP neighbor, and the method is executed by the local router. The embodiment of the present invention describes in more detail how the local router establishes a neighbor based on the comparison between the configuration identifier and the peer router confederation identifier. BGP neighbors. Can include the following steps:

[0051] Step 401: The local router receives a neighbor establishment request message sent by the peer router, and the neighbor establishment request message carries the confederation identifier of the peer router.

[0052] Such as Figure 5 As shown, a network includes multiple router devices, and the network includes a router M, a router N, and a router O. Wherein, the AS serial number of router M is AS30. The AS serial number of router N is AS40. The AS serial number of router O is AS40.

[0053] Router O acts as the local router, and rou...

Embodiment 3

[0091] Such as Figure 6 As shown, the embodiment of the present invention provides a device for establishing a BGP neighbor, which is applied to a local router and may include:

[0092] The receiving unit 601 is configured to receive a neighbor establishment request message sent by a peer router, where the neighbor establishment request message carries an alliance identifier of the peer router;

[0093] The BGP neighbor establishment unit 602 is configured to establish a BGP neighbor relationship with the peer router when determining that the confederation ID of the peer router is the same as one of the at least one configuration ID of the local router.

[0094] Further, at least one configuration identifier of the local router includes: a confederation identifier of the local router;

[0095] The BGP neighbor establishment unit is specifically configured to establish a confederation internal BGP neighbor with the peer router when it is determined that the confederation ID o...

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 present invention provides a method and equipment for establishing a BGP neighbor. The method includes: the local router receives a neighbor establishment request message sent by the peer router, and the neighbor establishment request message carries the alliance identifier of the peer router; When the confederation identifier is the same as one configuration identifier in at least one configuration identifier of the local router, the local router establishes a BGP neighbor relationship with the peer router. According to the above scheme, by adding the confederation identifier in the first message sent by establishing a BGP neighbor relationship between the local router and the peer router, the local router can configure the identifier according to at least one confederation identifier of the peer router. Whether it is the same as the configuration ID of the local router Determine whether to establish a BGP neighbor relationship with the peer router to ensure that after the BGP neighbor is established, all routers in the same confederation have the same confederation ID, thereby eliminating routing loops and route flapping problems.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and equipment for establishing a BGP neighbor. Background technique [0002] BGP (Border Gateway Protocol, Border Gateway Protocol) is a dynamic routing protocol between ASs (Autonomous Systems, autonomous systems), and is used for exchanging routes between this autonomous system and external autonomous systems. Confederation is used to solve the problem of the surge of IBGP (Interior BGP, internal BGP) network connections inside the AS, such as figure 1 as shown, figure 1 It shows two autonomous systems AS (including AS100 and AS200), where the IBGP network connection in AS200 surges, at this time, the confederation technology can be applied, which regards the autonomous system AS200 as a confederation, and uses AS200 as the confederation identifier of the confederation , the federation is divided into several autonomous systems (such as figure 1 AS65002, AS650...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/701
Inventor 田钧宇许瑛王磊
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products