CN101610208A - The method of announcing between bgp neighbor, system and router - Google Patents

The method of announcing between bgp neighbor, system and router Download PDF

Info

Publication number
CN101610208A
CN101610208A CNA2008101271096A CN200810127109A CN101610208A CN 101610208 A CN101610208 A CN 101610208A CN A2008101271096 A CNA2008101271096 A CN A2008101271096A CN 200810127109 A CN200810127109 A CN 200810127109A CN 101610208 A CN101610208 A CN 101610208A
Authority
CN
China
Prior art keywords
router
notification message
ability
soft
ability information
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.)
Pending
Application number
CNA2008101271096A
Other languages
Chinese (zh)
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 CNA2008101271096A priority Critical patent/CN101610208A/en
Priority to PCT/CN2009/072085 priority patent/WO2009152728A1/en
Publication of CN101610208A publication Critical patent/CN101610208A/en
Pending legal-status Critical Current

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

Landscapes

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

Abstract

The embodiment of the invention relates to the communications field, method, system and the router announced between a kind of bgp neighbor are provided, comprise: set up peer-to-peer with neighboring router and be connected, obtain the notification message Notification Message of neighboring router, described Notification Message comprises the ability information of described neighboring router and/or the soft notification message of described neighboring router, carries out the BGP announcement according to described ability information and/or soft notification message and described neighboring router and handles.Like this, realized that the dynamic capability between the peer-to-peer is consulted, do not interrupted Peer Session, made router under the vicissitudinous situation of ability under the same Peer Session, can not destroy other ongoing business.

Description

The method of announcing between bgp neighbor, system and router
Technical field
The present invention relates to the communications field, method, system and the router announced between particularly a kind of bgp neighbor.
Background technology
BGP (Border Gateway Protocol, Border Gateway Protocol) is the dynamic routing protocol between a kind of AS of being used for (Autonomous System, autonomous system).The router that sends BGP message is called BGP speaker (Speaker), and it receives or produce new routing iinformation, and other BGP speaker is given in issue (Advertise).Claim peer-to-peer (Peer) between the BGP speaker that exchanges messages mutually mutually.BGP uses TCP as its transport layer protocol, Open message (open message) is used to set up annexation between the bgp peer (that is: peer-to-peer business, Peer Session), when initially setting up, consults PeerSession various abilities, such as address family ability, Refresh ability, GR (GracefulRestart smoothly restarts) ability etc.And when BGP detected error condition, BGP then sent Notification message (notification message) to peer-to-peer, and the connection between the bgp peer afterwards can be interrupted.
The various abilities of BGP just when Peer Session connects, are consulted by issue Open message at present.In order to enable a kind of ability or to go to enable an ability that has existed (, needing to add the configuration of IPv4 multicast address family now), must rebuild the Peer Session that has set up such as only having disposed IPv4 unicast address family originally.
On the other hand, after the Notification message of using sends to neighboring router at present, can restart PeerSession.When the local terminal router makes a mistake, also need to send out a notification message to neighboring router, need restart Peer Session.Also have a kind of ability between two routers enable and go to enable all to rebuild Peer Session.
Rebuild Peer Session and destroyed the service of normally having carried out on this Peer Session, cause the service disruption of normally having carried out, cause serious route oscillation problem.
Summary of the invention
The embodiment of the invention provides method, system and the router of announcing between a kind of bgp neighbor, the service disruption during with solution Peer Session and the problem of route oscillation.
In order to solve the problems of the technologies described above, the embodiment of the invention provides the method for announcing between a kind of bgp neighbor, comprising:
Setting up peer-to-peer with neighboring router is connected;
Obtain the notification message Notification Message of neighboring router, described NotificationMessage comprises the ability information of described neighboring router and/or the soft notification message of described neighboring router;
Carrying out the BGP announcement according to described ability information and/or soft notification message and described neighboring router handles.
The embodiment of the invention also provides a kind of router, comprising: connect and set up the unit, and information acquisition unit, negotiation element, wherein:
The unit is set up in described connection, is used for establishing a connection with adjacent router;
Described information acquisition unit is used to obtain the Notification Message of described neighboring router, and described Notification Message comprises the ability information and/or the soft notification message of described neighboring router;
Described negotiation element is used for carrying out the BGP announcement according to described ability information and/or soft notification message and described neighboring router and handles.
The method that the embodiment of the invention provides by the embodiment of the invention, system and router, carrying capacity information and soft notification message in Notification Message, like this, do not need to restart PeerSession and just can realize that the dynamic capability between the peer-to-peer consults, do not interrupt Peer Session, make router under the vicissitudinous situation of ability under the same Peer Session, can not destroy other ongoing business.
Description of drawings
The flow chart of the method for announcing between the bgp neighbor that Fig. 1 provides for the embodiment of the invention;
The structural representation of the router that Fig. 2 provides for the embodiment of the invention;
The structural representation of the system that announces between the bgp neighbor that Fig. 3 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides method and the router of announcing between a kind of bgp neighbor, comprising: set up peer-to-peer with neighboring router and be connected; Obtain the notification message Notification Message of neighboring router, described Notification Message comprises the ability information of described neighboring router and/or the soft notification message of described neighboring router; Carrying out the BGP announcement according to described ability information and/or soft notification message and described neighboring router handles.And provide the router of realizing the method announced between this bgp neighbor.Like this, realized that the dynamic capability between the peer-to-peer is consulted, do not interrupted Peer Session, made router under the vicissitudinous situation of ability under the same Peer Session, can not destroy other ongoing business.
Describe the technical scheme of the embodiment of the invention in detail below in conjunction with accompanying drawing.
The flow chart of the method for announcing between the bgp neighbor that Fig. 1 provides for the embodiment of the invention, as shown in Figure 1, the method for announcing between this bgp neighbor comprises step:
101, setting up peer-to-peer (peer) with neighboring router is connected;
102, obtain the notification message Notification Message of neighboring router, described NotificationMessage comprises the ability information of this neighboring router and/or the soft notification message of this neighboring router, concrete:
Obtain the ability information of this neighboring router and/or the soft notification message of described neighboring router by expansion Notification Message exactly, before the ability of expansion notification message, whether the two ends of also using Open (opening) message to consult peer-to-peer have the ability of expansion notification message, if notification capabilities is not supported to expand in the opposite end, then the local terminal utility command of peer-to-peer stops announcement, perhaps do not use any measure to be fine yet, because when the Notification ability that local terminal is realized is expanded, and the opposite end is unsupported the time, principle according to wide-in and strict-out: it is unusual that the Notification Message that sends can not cause the opposite end to be handled yet, and for example only is daily record of record.
In an embodiment of the present invention, the Error Code (major error sign indicating number) by expansion Notification Message makes it have new implication: Negotiate Code (consulting sign indicating number), use the numeral (having used 1-6 originally) except that 1-6; Expand Error Subcode (sub-error sign indicating number) simultaneously, make it have new implication: Action Code (active coding) uses 0 or 1,0 representative to go to enable, and 1 representative enables.In follow-up data, use ability sign indicating number (Capability Code), capability length (Capability Length) and ability value (Capability Value), and these three values are corresponding with the ability of open message regulation.
103, carry out capability negotiation according to described ability information and/or soft notification message and described neighboring router.
By the Notification Message after the above expansion, make BGP Peer Session can realize dynamic capability negotiation, on same Peer Session, enable or do not influence other abilities when going to enable certain ability thereby reach.
The method of announcing between this bgp neighbor has only been used the primary key of Notification Message, and this primary key can be planned to certain coding between the 129-255, reserves the coding of 7-64 and realizes hard informing function, and the coding of 65-128 is realized soft informing function.Do not use newly-increased message like this, expand more succinct, simpler effectively in the realization aspect, concerning BGP, fairly simple.
Accordingly, the embodiment of the invention also provides a kind of router, as shown in Figure 2, comprising: connect and set up unit 21, and information acquisition unit 22, negotiation element 23, wherein:
Unit 21 is set up in described connection, is used for establishing a connection with adjacent router;
Described information acquisition unit 22 is used to obtain the NotificationMessage of described neighboring router, and described Notification Message comprises the ability information and/or the soft notification message of described neighboring router
Described negotiation element 23, be used for carrying out capability negotiation according to described ability information and/or soft notification message and described neighboring router, specifically: negotiation element 23 sends to described neighboring router by Notification Message with its ability information and/or soft notification message, described neighboring router is resolved described Notification Message, obtains the ability information and/or the soft notification message of this router.
Further, this router also comprises judging unit 24, is arranged on before the information acquisition unit 22, is used for determining whether neighboring router has the ability of expansion Notification Message.
Above-mentioned ability information comprises: active coding, ability sign indicating number, capability length and ability value.
The router of the embodiment of the invention has been realized carrying out dynamic capability and has been consulted under the prerequisite of not interrupting Peer Session.By having expanded the Notification Message of BGP, make it have the dynamic capability negotiation functionality, can support soft informing function simultaneously, thereby realize under the vicissitudinous situation of ability under the same Peer Session, can not destroying other business.
Illustrate the method announced between above-mentioned bgp neighbor and the embodiment of router applications below.
Embodiment one:
(1) set up a Peer Session between Router A and the Router B and be connected, and the multicast enabled ability.
(2) Router A sends Notification Message for Router B, and this NotificationMessage carries Router A multicast enabled ability.
(3) Router B receives the Notification Message that Router A sends, and resolves Notification Message, knows the ability of Router A multicast enabled.
(4) if also enable the ability of IPv4 multicast on the Router B, then Router B knows that Router B and Router A multicast-capable consult successfully, send to Router A Notification Message simultaneously, this Notification Message carries Router B multicast enabled ability.
(5) Router A receives the Notification Message that carries Router B multicast enabled ability that Router B sends, and then Router A knows that Router A and Router B multicast-capable consult successfully.
Like this, Router A and Router B know that respectively the other side supports multicast-capable, have reached the purpose of dynamic negotiation.When not having dynamic capability to consult, can only be by rebuilding the method for Peer Session, multicast path is caused to transmit and is interrupted by interruption like this.And consult by dynamic capability now, constantly PeerSession directly sets up the multicast of peer-to-peer.
Embodiment two:
(1) set up a Peer Session between Router A and the Router B and be connected, and Router A multicast enabled ability.
(3) Router A expansion Notification Message makes this Notification Message carry soft notification message, and Router A sends the Notification Message that carries soft notification message to Router B.
(4) after RouterB receives Notification Message, resolve Notification Message, obtain this Notification Message and carry soft notification message, know that Router A has the ability of soft notice, trigger resending the local terminal route.
Like this, realize soft notice, can effectively reduce a lot of past and want the fault processing of disconnection Peer Session, guaranteed the unobstructed of forwarding plane.
Accordingly, the embodiment of the invention also provides notification system between a kind of bgp neighbor, and as shown in Figure 3, this system comprises the first router 31 and the second router 32, wherein:
Described the first router 31, being used for setting up peer-to-peer with the second router 32 is connected, send Notification Message to the second router 32, described Notification Message comprises the ability information of described neighboring router and/or the soft notification message of described neighboring router;
Described the second router 32 is used to receive the NotificationMessage that the first router 31 sends, and carries out BGP announcement processing according to described ability information and/or soft notification message with described the first router 31.
Further, described the second router 32 is used to also judge whether described the first router 31 has the ability of the described Notification Message of expansion, if having, then obtains Notification Message from described the first router 31.
Further, described the second router 32, also be used for its ability information and/or soft notification message being sent to described the first router 31 by Notification Message, so that described the first router 31 receives and resolves described Notification Message, obtain described ability information and/or soft notification message, wherein said ability information comprises active coding, ability sign indicating number, capability length and ability value.
More than method, system and the router of announcing between a kind of bgp neighbor that the embodiment of the invention provided is described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, in sum, the content of this specification embodiment should not be construed as limitation of the present invention.

Claims (10)

1, the method for announcing between a kind of bgp neighbor is characterized in that, comprising:
Setting up peer-to-peer with neighboring router is connected;
Obtain the notification message Notification Message of neighboring router, described NotificationMessage comprises the ability information of described neighboring router and/or the soft notification message of described neighboring router;
Carrying out the BGP announcement according to described ability information and/or soft notification message and described neighboring router handles.
2, the method for announcing between bgp neighbor as claimed in claim 1, it is characterized in that, before the described Notification Message that obtains neighboring router, further comprise: judge whether described neighboring router has the ability of the described Notification Message of expansion, if have, then obtain Notification Message from described neighboring router.
3, the method of announcing between bgp neighbor as claimed in claim 1, it is characterized in that, describedly carry out the BGP announcement according to described ability information and/or soft notification message and described neighboring router and handle, specifically comprise: its ability information and/or soft notification message are sent to described neighboring router by Notification Message, so that described neighboring router receives and resolves described NotificationMessage, obtain described ability information and/or soft notification message, wherein said ability information comprises active coding, the ability sign indicating number, capability length and ability value.
4, a kind of router is characterized in that, comprising: connect and set up the unit, and information acquisition unit, negotiation element, wherein:
The unit is set up in described connection, is used for establishing a connection with adjacent router;
Described information acquisition unit is used to obtain the Notification Message of described neighboring router, and described Notification Message comprises the ability information and/or the soft notification message of described neighboring router;
Described negotiation element is used for carrying out the BGP announcement according to described ability information and/or soft notification message and described neighboring router and handles.
5, router as claimed in claim 4, it is characterized in that, described negotiation element, be used for its ability information and/or soft notification message being sent to described neighboring router by Notification Message, so that described neighboring router is resolved described Notification Message, obtain the ability information and/or the soft notification message of described router.
6, router as claimed in claim 4 is characterized in that, described router also comprises judging unit, is arranged on before the information acquisition unit, is used for determining whether neighboring router has the ability of expansion Notification Message.
7, as claim 4,5 or 6 described routers, it is characterized in that described ability information comprises: active coding, ability sign indicating number, capability length and ability value.
8, notification system between a kind of bgp neighbor is characterized in that, comprises the first router and the second router, wherein:
Described the first router, being used for setting up peer-to-peer with the second router is connected, send Notification Message to the second router, described Notification Message comprises the ability information of described neighboring router and/or the soft notification message of described neighboring router;
Described the second router is used to receive the Notification Message that the first router sends, and carries out BGP announcement processing according to described ability information and/or soft notification message with described the first router.
9, notification system between bgp neighbor as claimed in claim 8, it is characterized in that, described the second router, be used to also judge whether described the first router has the ability of the described NotificationMessage of expansion, if have, then obtain Notification Message from described the first router.
10, notification system between bgp neighbor as claimed in claim 8, it is characterized in that, described the second router, also be used for its ability information and/or soft notification message being sent to described the first router by Notification Message, so that described the first router receives and resolves described Notification Message, obtain described ability information and/or soft notification message, wherein said ability information comprises active coding, ability sign indicating number, capability length and ability value.
CNA2008101271096A 2008-06-19 2008-06-19 The method of announcing between bgp neighbor, system and router Pending CN101610208A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNA2008101271096A CN101610208A (en) 2008-06-19 2008-06-19 The method of announcing between bgp neighbor, system and router
PCT/CN2009/072085 WO2009152728A1 (en) 2008-06-19 2009-06-02 A method, system and router for advertising between border gateway protocol neighbors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101271096A CN101610208A (en) 2008-06-19 2008-06-19 The method of announcing between bgp neighbor, system and router

Publications (1)

Publication Number Publication Date
CN101610208A true CN101610208A (en) 2009-12-23

Family

ID=41433688

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101271096A Pending CN101610208A (en) 2008-06-19 2008-06-19 The method of announcing between bgp neighbor, system and router

Country Status (2)

Country Link
CN (1) CN101610208A (en)
WO (1) WO2009152728A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989952A (en) * 2010-11-03 2011-03-23 中兴通讯股份有限公司 Multicasting method and device
CN102724130A (en) * 2012-06-28 2012-10-10 杭州华三通信技术有限公司 Border gateway protocol (BGP) route management method and router
WO2013044751A1 (en) * 2011-09-30 2013-04-04 华为技术有限公司 Performance-based routing method and device
CN104253759A (en) * 2013-06-30 2014-12-31 华为技术有限公司 Method, device and system for forwarding messages
CN103036786B9 (en) * 2011-09-30 2016-04-20 华为技术有限公司 Method for routing and the equipment of based on performance
WO2016123928A1 (en) * 2015-02-06 2016-08-11 中兴通讯股份有限公司 Transmission processing method and device
WO2016173195A1 (en) * 2015-04-29 2016-11-03 中兴通讯股份有限公司 Method for advertising route and withdrawing route and corresponding routing device
CN103746881B (en) * 2014-01-13 2017-03-15 杭州华三通信技术有限公司 Neighbor state detection method and device in EVI networks
CN107465614A (en) * 2016-06-06 2017-12-12 中兴通讯股份有限公司 A kind of method and apparatus for realizing Border Gateway Protocol two dimension route
CN109246008A (en) * 2014-07-23 2019-01-18 华为技术有限公司 The network equipment, system and the method for sending bgp information
CN110611615A (en) * 2018-11-28 2019-12-24 新华三技术有限公司 Routing information transmission method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8806032B2 (en) * 2010-12-15 2014-08-12 At&T Intellectual Property I, L.P. Methods and apparatus to migrate border gateway protocol sessions between routers
CN113300950B (en) * 2020-04-01 2023-03-24 阿里巴巴集团控股有限公司 Data processing method and device, electronic equipment and computer readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6553423B1 (en) * 1999-05-27 2003-04-22 Cisco Technology, Inc. Method and apparatus for dynamic exchange of capabilities between adjacent/neighboring networks nodes

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989952B (en) * 2010-11-03 2014-12-17 中兴通讯股份有限公司 Multicasting method and device
CN101989952A (en) * 2010-11-03 2011-03-23 中兴通讯股份有限公司 Multicasting method and device
CN103036786B9 (en) * 2011-09-30 2016-04-20 华为技术有限公司 Method for routing and the equipment of based on performance
WO2013044751A1 (en) * 2011-09-30 2013-04-04 华为技术有限公司 Performance-based routing method and device
CN103036786A (en) * 2011-09-30 2013-04-10 华为技术有限公司 Route method and device based on performance
US9900242B2 (en) 2011-09-30 2018-02-20 Huawei Technologies Co., Ltd Performance-based routing method and device
CN103036786B (en) * 2011-09-30 2016-03-02 华为技术有限公司 Based on method for routing and the equipment of performance
CN102724130A (en) * 2012-06-28 2012-10-10 杭州华三通信技术有限公司 Border gateway protocol (BGP) route management method and router
CN102724130B (en) * 2012-06-28 2016-01-20 杭州华三通信技术有限公司 A kind of BGP route management method and routing device
US10686698B2 (en) 2013-06-30 2020-06-16 Huawei Technologies Co., Ltd. Packet forwarding method, apparatus, and system
WO2015000375A1 (en) * 2013-06-30 2015-01-08 华为技术有限公司 Packet forwarding method, apparatus, and system
US11303564B2 (en) 2013-06-30 2022-04-12 Huawei Technologies Co., Ltd. Packet forwarding method, apparatus, and system
CN104253759B (en) * 2013-06-30 2017-08-29 华为技术有限公司 Message forwarding method, apparatus and system
CN104253759A (en) * 2013-06-30 2014-12-31 华为技术有限公司 Method, device and system for forwarding messages
CN103746881B (en) * 2014-01-13 2017-03-15 杭州华三通信技术有限公司 Neighbor state detection method and device in EVI networks
CN109246008A (en) * 2014-07-23 2019-01-18 华为技术有限公司 The network equipment, system and the method for sending bgp information
US10826846B2 (en) 2014-07-23 2020-11-03 Huawei Technologies Co., Ltd. Network device and method for sending BGP information
CN109246008B (en) * 2014-07-23 2021-08-20 华为技术有限公司 Network equipment, system and method for transmitting BGP information
US11621926B2 (en) 2014-07-23 2023-04-04 Huawei Technologies Co., Ltd. Network device and method for sending BGP information
WO2016123928A1 (en) * 2015-02-06 2016-08-11 中兴通讯股份有限公司 Transmission processing method and device
WO2016173195A1 (en) * 2015-04-29 2016-11-03 中兴通讯股份有限公司 Method for advertising route and withdrawing route and corresponding routing device
CN107465614A (en) * 2016-06-06 2017-12-12 中兴通讯股份有限公司 A kind of method and apparatus for realizing Border Gateway Protocol two dimension route
CN110611615A (en) * 2018-11-28 2019-12-24 新华三技术有限公司 Routing information transmission method and device
CN110611615B (en) * 2018-11-28 2021-08-24 新华三技术有限公司 Routing information transmission method and device

Also Published As

Publication number Publication date
WO2009152728A1 (en) 2009-12-23

Similar Documents

Publication Publication Date Title
CN101610208A (en) The method of announcing between bgp neighbor, system and router
US10476793B2 (en) Multicast flow overlay using registration over a reliable transport
EP1779568B1 (en) Graceful shutdown of ldp on specific interfaces between label switched routers
US8422939B2 (en) Efficient multicast control processing for a wireless network
EP3531617B1 (en) Message transmission method and apparatus, node and computer storage medium
EP3301861A1 (en) Evpn designated forwarder state propagation to customer edge devices using connectivity fault management
WO2020135395A1 (en) Notification method and device for prefix identifier of cross-interior gateway protocol
WO2017054547A1 (en) Bidirectional forwarding detection method and apparatus
US9154412B2 (en) Multicast label distribution protocol over a remote loop-free alternative
TWI599201B (en) Network system and method for establishing data connection
WO2015070383A1 (en) Link aggregation method, apparatus, and system
CN111865780A (en) Synchronization method and device
EP2577921B1 (en) Method, system and router for changing application in bgp session
US20080049759A1 (en) System and method for inter-working in a multi protocol revision based evolution data only/evolution data optimized (evdo) communication systems
CN101026559B (en) Communication establishing method and router
JP2008172381A (en) Network, node device, and lldp frame transfer method used therefor
CN102394878B (en) Cross board point-to-point multilink protocol binding method and device thereof
CN101656740A (en) Method and routing equipment for controlling label sending
CN108667731A (en) A kind of processing and device based on BIER information
CN108337162B (en) System and method for supporting dual-homing protection
US20170289014A1 (en) Redundany system of routing paths and method thereof
CN101877660B (en) Link state monitoring and fault removing method of multi-home hosts
CN104426691A (en) Fault processing method, aggregation gatway (AGG) and radio side gateway
CN110932970A (en) Processing method and device of Transmission Control Protocol (TCP) session
CN112311613A (en) Link detection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091223