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

Establishing method and device for BGP neighborhood

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

Active Publication Date: 2015-01-07
NEW H3C TECH CO LTD
View PDF3 Cites 5 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
  • Establishing method and device for BGP neighborhood
  • Establishing method and device for BGP neighborhood
  • Establishing method and device for BGP neighborhood

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 invention provides an establishing method and device for a BGP neighborhood. The method includes the steps that a router at the terminal receives a neighborhood establishing request message transmitted by a router at an opposite terminal, and the neighborhood establishing request message carries the alliance identifier of the router at the opposite terminal; when it is determined that the alliance identifier of the router at the opposite terminal is the same as at least one configuration identifier of the router at the terminal, the BGP neighborhood is established between the router at the terminal and the router at the opposite terminal. According to the scheme, through adding the alliance identifier into the first transmitted message for establishing the BGP neighborhood between the router at the terminal and the router at the opposite terminal, the router at the terminal can determine whether to establish the BGP neighborhood with the router at the opposite terminal according to the judgment about whether the alliance identifier of the router at the opposite terminal is the same as the configuration identifier of the router at the terminal or not, and therefore it can be guaranteed that after the BGP neighborhood is established, alliance identifiers of all routers in the same alliance can be the same to solve the oscillation problem of router loops and the routers.

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
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