CN102404155A - Method and device for diagnosing network faults - Google Patents

Method and device for diagnosing network faults Download PDF

Info

Publication number
CN102404155A
CN102404155A CN2011103939342A CN201110393934A CN102404155A CN 102404155 A CN102404155 A CN 102404155A CN 2011103939342 A CN2011103939342 A CN 2011103939342A CN 201110393934 A CN201110393934 A CN 201110393934A CN 102404155 A CN102404155 A CN 102404155A
Authority
CN
China
Prior art keywords
peer
inconsistent
ability information
network management
ability
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
CN2011103939342A
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 Digital Technologies Chengdu Co Ltd
Huawei Digital Technologies Co Ltd
Original Assignee
Huawei Digital Technologies Chengdu 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 Digital Technologies Chengdu Co Ltd filed Critical Huawei Digital Technologies Chengdu Co Ltd
Priority to CN2011103939342A priority Critical patent/CN102404155A/en
Publication of CN102404155A publication Critical patent/CN102404155A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for diagnosing network faults, wherein the method for diagnosing network faults comprises the following steps of building a connection relationship between peers which can perform capability negotiation; recording the non-uniform capability information during the negotiation of two ends of the peers; noticing the recorded non-uniform capability information to the network management device. The invention also discloses a device for diagnosing network faults. The achievement of the technical proposal of the invention can enable the network management device to check the peer devices in which two ends of the peers have non-uniform capabilities during the capability negotiation immediately by noticing the recorded non-uniform capability information to the network management device in time when the capabilities of the two ends of the peers are not uniform, thus improving network maintenance efficiency.

Description

A kind of method of diagnose network faults and device
Technical field
The present invention relates to communication technical field, in particular, relate to a kind of method and device of diagnose network faults.
Background technology
BGP (Border Gateway Protocol, Border Gateway Protocol) is the dynamic routing protocol that communicates between a kind of AS of being used for (Autonomous System, autonomous system), is the de facto standard that the Internet carries out inter-domain routing.The router that sends BGP message is called BGP speaker, is used to receive or produce new routing iinformation, and is distributed to other BGP speaker; When BGP speaker is received the new route from other AS; If this new route is more excellent or current also not this new route existence than current known route; This new route is distributed in the AS all other BGP speaker; Wherein, claim peer-to-peer (Peer) between the BGP speaker that exchanges messages each other mutually.
At present, in the prior art scheme, Network Management Equipment is to consult successful ability common factor between the ability of checking on the bgp peer local configuration through the mode of initiatively sending particular command and the bgp peer.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Network Management Equipment is initiatively to send the mode of particular command; Check on the bgp peer that consulting successful ability between ability and the bgp peer of local configuration occurs simultaneously, means are single, can not find timely that the ability appearance of between the bgp peer because two ends is inconsistent; Thereby the situation that causes bgp session to interrupt; Can only in follow-up malfunction elimination process, just can know the business that whether has realized account planning, the network operation cost is higher.
Summary of the invention
Embodiments of the invention provide a kind of method and device of diagnose network faults, can make Network Management Equipment in time get access to fault message, improve the efficient of network operation.
The embodiment of the invention provides a kind of method of diagnose network faults on the one hand, and this method comprises:
Between peer-to-peer, establish a connection;
Carry out capability negotiation between the said peer-to-peer;
Inconsistent ability information in the two ends negotiations process of said peer-to-peer is carried out record;
And the said inconsistent ability information that will write down is notified to Network Management Equipment.
The embodiment of the invention also provides a kind of device of diagnose network faults on the other hand, and this device comprises:
Connect and set up module, be used between peer-to-peer, establishing a connection;
Consult control module, be used for carrying out between the said peer-to-peer capability negotiation, and inconsistent ability information in the two ends negotiations process of said peer-to-peer is carried out record;
The ability information announcement module is used for the said inconsistent ability information of said negotiation control module record is notified to Network Management Equipment.
Technical scheme by the embodiment of the invention described above provides can be found out; Between peer-to-peer, carry out in the process of capability negotiation; The inconsistent ability information in two ends is noted; And the inconsistent ability information that will write down is notified to Network Management Equipment; Make Network Management Equipment can in time know the network equipment switch or process such as upgrading in the generation of ability abnormal conditions, not only can in time the inconsistent peer device of ability occur to investigate to the peer-to-peer two ends, also improved the efficient of network operation.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method for embodiment of the invention diagnose network faults;
Fig. 2 is an embodiment of the invention Open message format;
Fig. 3 is the message format of embodiment of the invention optional parameters;
Fig. 4 is the application scenarios figure of the method for embodiment of the invention diagnose network faults;
Fig. 5 is the structural representation of the device of embodiment of the invention diagnose network faults;
Fig. 6 is the concrete structure sketch map of the device of embodiment of the invention diagnose network faults.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention is to the inconsistent application scenarios of generating ability between peer-to-peer in the network that is deployed with multiple ability between peer-to-peer; A kind of method and device of diagnose network faults are proposed; Through carrying out in the capability negotiation process, note the inconsistent ability information in two ends, and should inconsistent ability information notify Network Management Equipment at the peer-to-peer two ends; Make Network Management Equipment to investigate faulty equipment timely, improved the efficient and the reliability of network management.
Wherein, related peer-to-peer can be the peer-to-peer among the BGP in the embodiment of the invention.
For instance, in the embodiment of the invention the inconsistent scene of peer-to-peer two ends ability can for, but be not limited to following any one or multiple:
The master control plane takes place and is equipped with control plane to switch in peer device for a certain reason;
Peer device is carried out edition upgrading;
Because certain reason has been lost the former capable enable command of client traffic configuration, perhaps, because the ability that wrong configuration causes the peer-to-peer two ends to enable is inconsistent.
Through specific embodiment technical scheme of the present invention is elaborated below.
As shown in Figure 1, the embodiment of the invention proposes a kind of method of diagnose network faults, and this method comprises:
100, between peer-to-peer, establish a connection;
Concrete; Between peer-to-peer, establish a connection in the step 100; Can comprise: between the peer-to-peer at TCP (Transmission Control Protocol; Transmission control protocol) after connection is set up, set up the annexation between the peer-to-peer through the mode of sending the Open message (initial message) among the BGP, said peer-to-peer for example can be bgp peer.
101, carry out capability negotiation between the said peer-to-peer;
Concrete, carrying out capability negotiation in the step 101 between the peer-to-peer, can comprise:
Carry out capability negotiation through sending Open message between the said peer-to-peer, wherein, said peer-to-peer can be carried at the ability information that this locality enables in the optional parameters of Open message of transmission.
Further concrete, Open message can adopt the Open message among the existing BGP to realize in the embodiment of the invention, and wherein, Open message is that TCP connects first message that send the foundation back, is used to set up the annexation between the bgp peer.
The Open message format can be as shown in Figure 2:
The version number of Version:BGP; For BGP-4, Version is 4;
My Autonomous System: local AS (Autonomous System, autonomous system) numbering:
Can confirm it is that EBGP (External Border Gateway Protocol, External BGP) connects still IBGP (Internal Border Gateway Protocol, Internal BGP) connection through the AS numbering that compares two ends;
Hold time: hold time, Hold time will be consulted in two ends when setting up peer relationship, and is consistent;
If the Hold time asynchronism(-nization) that two ends disposed, then BGP can select that less value as the result who consults; If in this time, do not receive Keepalive message (keep-alive message) or the Update message (updating message) sent the opposite end, think that then BGP connects interruption;
BGP Identifier:BGP identifier is represented with the form of IP address, is used for discerning bgp router;
Opt Parm Len (Optional Parameters Length): the length of optional parameters; If be 0 then do not have optional parameters; The length of regulation optional parameters can be 1 byte among the existing BGP; The application embodiment is 4 bytes with the extended length of optional parameters, supports to surpass 255 optional abilities.
Optional Parameters: the optional parameters that is used to carry BGP checking or multi-protocols expansion functions such as (Multiprotocol Extensions).In embodiments of the present invention, can the ability information that consult at the peer-to-peer two ends be carried in this field.
The message format of Optional Parameters can adopt the form of TLV (Type-Length-Value, type-length-value) to represent, and is as shown in Figure 3, wherein:
Capability Code: capability code; Capability code is an one-byte field, is used to identify a kind of ability;
Capability Length: capability length; Capability length is an one-byte field, is used to indicate the byte length of capability value field;
Capability Value: ability value; Ability value is the field of a variable-length, explains according to the value of capability code field.
102, inconsistent ability information in the two ends negotiations process of said peer-to-peer is carried out record;
Concrete, inconsistent ability information in the two ends negotiations process of said peer-to-peer being carried out record, can comprise:
The said peer-to-peer that carries out capability negotiation writes down said inconsistent ability information;
Said inconsistent ability information comprises:
Said address of carrying out the opposite end peer-to-peer of capability negotiation, inconsistent capability class and the reason of consulting failure.
Further concrete, peer-to-peer carries out capability negotiation through Open message in embodiments of the present invention, in the capability negotiation process; The ability notice opposite end that peer-to-peer enables this locality through Open message; Peer-to-peer after receiving Open message, the ability information of carrying in the optional parameters with Open message, the ability that enables with this locality compares; Get both abilities and occur simultaneously, be used for the normal foundation that bgp session connects.
When causing ability inconsistent between the peer-to-peer for a certain reason; In the capability negotiation process, the peer-to-peer of holding consultation can find that inconsistent ability exists, and influences the normal connection of bgp session for fear of inconsistent ability existence; The embodiment of the invention is when capability negotiation; Propose to carry out record to inconsistent ability information, wherein, the two ends peer-to-peer of holding consultation can carry out record to inconsistent ability information simultaneously; Perhaps, can carry out record to inconsistent ability information by any end in the peer-to-peer of holding consultation.
In addition, the inconsistent ability information of peer-to-peer record can realize referring to following example, but the embodiment of the invention is not limited to following example.
Exemplary, first peer-to-peer and second peer-to-peer carry out capability negotiation, and when by first peer-to-peer inconsistent ability information being write down, the ability information of record comprises:
Carrying out the address of the opposite end peer-to-peer of capability negotiation, is the IP address of second peer-to-peer in this example;
Inconsistent capability class is indicated inconsistent ability, can adopt form as shown in Figure 3 to represent;
Consult the reason of failure, it is that first peer-to-peer this locality enables that this reason is indicated inconsistent ability, but does not comprise this inconsistent ability in the Open message that second peer-to-peer that receives sends;
And/or,
Carrying out the address of the opposite end peer-to-peer of capability negotiation, is the IP address of second peer-to-peer in this example;
Inconsistent capability class is indicated inconsistent ability, can adopt form as shown in Figure 3 to represent; Consult the reason of failure, comprise this inconsistent ability in the Open message that second peer-to-peer that indication receives sends, but first peer-to-peer this locality does not enable this inconsistent ability.
Certainly, also can carry out record to inconsistent ability information by second peer-to-peer, the ability information of record for example can comprise:
Carrying out the address of the opposite end peer-to-peer of capability negotiation, is the IP address of first peer-to-peer in this example;
Inconsistent capability class is indicated inconsistent ability, can adopt form as shown in Figure 3 to represent;
Consult the reason of failure, indicating inconsistent ability is that second peer-to-peer this locality enables, but does not comprise this inconsistent ability in the Open message that first peer-to-peer that receives sends;
And/or,
Carrying out the address of the opposite end peer-to-peer of capability negotiation, is the IP address of first peer-to-peer in this example;
Inconsistent capability class is indicated this inconsistent ability, can adopt form as shown in Figure 3 to represent;
Consult the reason of failure, comprise this inconsistent ability in the Open message that first peer-to-peer that indication receives sends, but second peer-to-peer this locality does not enable this inconsistent ability.
The said inconsistent ability information that 103, will write down is notified to Network Management Equipment.
Concrete, the said inconsistent ability information that will write down in the step 103 is notified to Network Management Equipment, can comprise:
Dispose SNMP (Simple Network Management Protocol; Simple Network Management Protocol) peer-to-peer of function; Said inconsistent ability information is recorded in the daily record, perhaps, through the mode of alarm; Notify Network Management Equipment like Trap (self-trapping) mode; Make Network Management Equipment directly the inconsistent peer device of ability to occur and carry out malfunction elimination, or notify the monitor staff that the inconsistent peer device of ability is appearred in peer-to-peer two ends in the capability negotiation process and carry out malfunction elimination, improved the maintainability of network peer-to-peer two ends in the capability negotiation process.
Further concrete; All be deployed with on the bgp peer under the situation of SNMP function; Can the inconsistent ability information of record be notified to Network Management Equipment through SNMP; Make gateway device directly the inconsistent peer device of ability to occur and carry out malfunction elimination, or notify the monitor staff that the inconsistent peer device of ability is appearred in peer-to-peer two ends in the capability negotiation process and carry out malfunction elimination, improved the maintainability of network peer-to-peer two ends in the capability negotiation process.
Need to prove; The method of a kind of diagnose network faults that the embodiment of the invention provides; Can also be applied in other procotol that relates to the ability parameter negotiation; PPP (Peer to Peer Protocol, point-to-point protocol) etc. for example, concrete implementation can be with reference to the related description in the embodiment of the invention.
As shown in Figure 4, being application scenarios with BGP specifies the technical scheme of the embodiment of the invention.Wherein, suppose that router one is a bgp peer 1, router two is a bgp peer 2;
In the starting stage; The local ability that enables comprises on the router one: IPv4 (Internet Protocol version 4; The Internet Protocol version 4 edition 4) clean culture, IPv4 multicast, VPNv4 (Virtual Private Network version 4; The 4th edition VPN) and IPv4 MDT (multicast distribution tree, multicast distribution tree);
The local ability that enables comprises on the router two: IPv4 clean culture, IPv4 multicast, VPNv4 and IPv4MDT.
In the initial negotiation process, confirm that the ability common factor at two ends is IPv4 clean culture, IPv4 multicast, VPNv4 and IPv4MDT between router one and the router two.
Because wrong configuration, upgrade or reason such as switch, cause the initial configuration of router one and router two to be lost, for example, only remaining ability IPv4 clean culture, IPv4 multicast and VPNv4 on the router one; Only remaining ability IPv4 clean culture, IPv4 multicast and IPv4 MDT on the router two; At this moment, because the generation of the ability between router one and the router two is inconsistent, thereby cause the bgp session between router one and the router to interrupt.
To above-mentioned scene, the method for the diagnose network faults that the embodiment of the invention provides comprises:
400, router one and router two TCP be connected set up after, set up the annexation between the peer-to-peer through the mode of sending Open message;
401, carry out capability negotiation through sending Open message between router one and the router two; Wherein, The ability information that said peer-to-peer this locality enables is carried in the optional parameters of Open message of transmission, and the concrete form of Open message can be referring to the associated description of the foregoing description.
Through consultation, the ability of router one and router two is occured simultaneously and is only comprised IPv4 clean culture, IPv4 multicast, and at this moment, bgp session can't normally be set up.
402, router one and/or router two carry out record to inconsistent ability information in the two ends negotiations process of said peer-to-peer;
For instance, suppose to write down inconsistent ability information in the negotiations process by router two in the present embodiment, can write down inconsistent ability information through following mode:
Inconsistent ability information comprises:
Carry out the address of the opposite end peer-to-peer of capability negotiation: the address of router one;
Inconsistent capability class: belong to the capability class that router two this locality enables in the inconsistent ability;
Consult the reason of failure: this inconsistent ability is that router two this locality enables; But from the Open message that router one is received, do not comprise this inconsistent ability, for example can represent the reason of this negotiation failure with the bgpCapabilityAdvertised field.
Therefore, the inconsistent ability information of the above-mentioned router two record of the embodiment of the invention can be specially:
10.1.12.1+IPv4?MDT+bgpCapabilityAdvertiSed。
Simultaneously, router two also can write down ability information that the router one found in the negotiations process enables but that router two this locality does not enable, for example writes down following information:
Carry out the address of the opposite end peer-to-peer of capability negotiation: the address of router one;
Inconsistent capability class: belong to the capability class that router one enables in the inconsistent ability; And,
Consult the reason of failure: comprise this inconsistent ability in the Open message that the router one that the indication router two receives sends, but router two this locality does not enable this inconsistent ability; The reason that can represent this negotiation failure with bgpCapability Received field;
Therefore, the inconsistent ability information of record can be specially:
10.1.12.1+VPNv4+bgpCapability?Received。
In addition, the embodiment of the invention also can write down inconsistent ability information in the negotiations process by router one, and inconsistent ability information comprises:
Carry out the address of the opposite end peer-to-peer of capability negotiation: be the address of router two in the present embodiment;
Inconsistent capability class: belong to the capability class that router one this locality enables in the inconsistent ability;
Consult the reason of failure: this inconsistent ability is that router one this locality enables, but from the Open message that router two is received, does not comprise this inconsistent ability; The reason that can represent this negotiation failure with the bgpCapabilityAdvertised field;
Therefore, the inconsistent ability information of record can be specially:
10.1.12.2+VPNv4+bgpCapabilityAdvertiSed。
Simultaneously, router one also can write down ability information that the router two found in the negotiations process enables but that router one this locality does not enable, for example writes down following information:
Carry out the address of the opposite end peer-to-peer of capability negotiation: the address of router two;
Inconsistent capability class: belong to the capability class that router two this locality enables in the inconsistent ability; And,
Consult the reason of failure: comprise this inconsistent ability in the Open message that the router two that router one receives sends, but router one this locality does not enable this inconsistent ability; The reason that can represent this negotiation failure with the bgpCapabilityReceived field.
Therefore, the inconsistent ability information that writes down in the embodiment of the invention can be specially:
10.1.12.2+IPv4MDT+bgpCapability?Received。
Need to prove; The foregoing description proposes and can carry out record to inconsistent ability information by router one or router two; In implementation procedure of the present invention, also can carry out record to inconsistent ability information simultaneously by router one and router two according to actual needs, this embodiment of the invention is not done concrete qualification.
The said inconsistent ability information that 403, will write down is notified to Network Management Equipment;
Be specially, dispose the peer-to-peer of Simple Network Management Protocol function, can pass through in the following dual mode any one, said inconsistent ability information is notified to Network Management Equipment:
Said peer-to-peer is recorded in said inconsistent ability information in the daily record;
Perhaps,
Said peer-to-peer is notified said inconsistent ability information to Network Management Equipment through the mode of Trap, so that said Network Management Equipment carries out malfunction elimination to the inconsistent peer-to-peer of generating ability.
As shown in Figure 5, the embodiment of the invention proposes a kind of device of diagnose network faults, and this device comprises:
Connect and set up module 51, be used between peer-to-peer, establishing a connection;
Consult control module 52, be used for carrying out between the said peer-to-peer capability negotiation, and inconsistent ability information in the two ends negotiations process of said peer-to-peer is carried out record;
Ability information announcement module 53 is used for the said inconsistent ability information of said negotiation control module record is notified to Network Management Equipment.
Further, said connection is set up module 51 and can be specially Open message and connect and to set up module, be used between the said peer-to-peer TCP connect set up after, set up the annexation between the peer-to-peer through the mode of sending Open message.
Further, as shown in Figure 6, consult control module 52 in the device of embodiment of the invention diagnose network faults and may further include:
Negotiation element 521 is used between the said peer-to-peer carrying out capability negotiation through sending Open message, and wherein, said peer-to-peer can be carried at the ability information that this locality enables in the optional parameters of Open message of transmission;
Record cell 522 is used for writing down said inconsistent ability information to the said peer-to-peer that carries out capability negotiation.
Wherein, the peer-to-peer two ends carry out the form of the Open message that capability negotiation adopted specifically can be referring to the associated description among the method embodiment of above-mentioned diagnose network faults.
Further, said inconsistent ability information comprises:
The address of the opposite end peer-to-peer of capability negotiation, inconsistent capability class and the reason of consulting failure.
Wherein, writing down the concrete mode of inconsistent ability information can be referring to the associated description among the method embodiment of above-mentioned diagnose network faults.
Further, said ability information announcement module 53 can specifically be used for:
Dispose the peer-to-peer of Simple Network Management Protocol function; Said inconsistent ability information is recorded in the daily record; Perhaps; Mode through Trap notifies said inconsistent ability information to Network Management Equipment; Make Network Management Equipment directly the inconsistent peer device of ability to occur and carry out malfunction elimination, or notify the monitor staff that the inconsistent peer device of ability is appearred in peer-to-peer two ends in the capability negotiation process and carry out malfunction elimination, improved the maintainability of network peer-to-peer two ends in the capability negotiation process.
Need to prove; The embodiment of the invention is based on the device embodiment of the method embodiment acquisition of above-mentioned diagnose network faults; Comprised with said method embodiment in identical or corresponding techniques characteristic; Therefore, the technical scheme that in apparatus of the present invention embodiment, relates to can be referring to the description among the said method embodiment, does not do one by one at this and gives unnecessary details.
The method of a kind of diagnose network faults of the embodiment of the invention and device; Through in the negotiations process of peer-to-peer; Note the inconsistent ability information in peer-to-peer two ends; And should inconsistent ability information notify to Network Management Equipment, make Network Management Equipment get access to the inconsistent information of peer-to-peer two ends ability timely, not only can improve promptness to the inconsistent malfunction elimination of peer-to-peer generating ability; Can also improve the reliability of network operation, thereby effectively avoid between peer-to-peer, being deployed with the problem of the bgp session interruption that causes owing to the ability that enables between peer-to-peer is inconsistent in the network of multiple ability.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1. the method for a diagnose network faults is characterized in that, comprising:
Between peer-to-peer, establish a connection;
Carry out capability negotiation between the said peer-to-peer;
Inconsistent ability information in the two ends negotiations process of said peer-to-peer is carried out record;
The said inconsistent ability information of record is notified to Network Management Equipment.
2. method according to claim 1 is characterized in that, establishes a connection between the said peer-to-peer, comprising:
After transmission control protocol connects foundation, set up the annexation between the peer-to-peer between the said peer-to-peer through the mode of sending Open message.
3. method according to claim 1 is characterized in that, carries out capability negotiation between the said peer-to-peer, comprising:
Carry out capability negotiation through sending Open message between the said peer-to-peer, wherein, the ability information that said peer-to-peer this locality enables is carried in the optional parameters of Open message of transmission.
4. according to arbitrary described method among the claim 1-3, it is characterized in that, inconsistent ability information in the two ends negotiations process of said peer-to-peer carried out record, comprising:
The said peer-to-peer that carries out capability negotiation writes down said inconsistent ability information;
Said inconsistent ability information comprises:
The address of the opposite end peer-to-peer of capability negotiation, inconsistent capability class and the reason of consulting failure.
5. method according to claim 4 is characterized in that, the said said inconsistent ability information that will write down is notified to Network Management Equipment, comprising:
Through said inconsistent ability information is recorded in the mode in the daily record, perhaps, notify Network Management Equipment through the mode of alarm with said inconsistent ability information, so that said Network Management Equipment carries out malfunction elimination to the inconsistent peer-to-peer of generating ability.
6. the device of a diagnose network faults is characterized in that, comprising:
Connect and set up module, be used between peer-to-peer, establishing a connection;
Consult control module, be used for carrying out between the said peer-to-peer capability negotiation, and inconsistent ability information in the two ends negotiations process of said peer-to-peer is carried out record;
The ability information announcement module is used for the said inconsistent ability information of said negotiation control module record is notified to Network Management Equipment.
7. device according to claim 6 is characterized in that, said connection is set up module and specifically is used for:
After transmission control protocol connects foundation, set up the annexation between the peer-to-peer between the said peer-to-peer through the mode of sending Open message.
8. device according to claim 6 is characterized in that, said negotiation control module comprises:
Negotiation element is used between the said peer-to-peer carrying out capability negotiation through sending Open message, and wherein, the ability information that said peer-to-peer this locality enables is carried in the optional parameters of Open message of transmission;
Record cell is used for writing down said inconsistent ability information to the said peer-to-peer that carries out capability negotiation.
9. device according to claim 8 is characterized in that, said inconsistent ability information comprises:
The address of the opposite end peer-to-peer of capability negotiation, inconsistent capability class and the reason of consulting failure.
10. according to arbitrary described device among the claim 6-9, it is characterized in that said ability information announcement module specifically is used for:
Said inconsistent ability information is recorded in the daily record, perhaps, through the mode of alarm said inconsistent ability information is notified to Network Management Equipment, so that said Network Management Equipment carries out malfunction elimination to the inconsistent peer-to-peer of generating ability.
CN2011103939342A 2011-12-01 2011-12-01 Method and device for diagnosing network faults Pending CN102404155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103939342A CN102404155A (en) 2011-12-01 2011-12-01 Method and device for diagnosing network faults

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103939342A CN102404155A (en) 2011-12-01 2011-12-01 Method and device for diagnosing network faults

Publications (1)

Publication Number Publication Date
CN102404155A true CN102404155A (en) 2012-04-04

Family

ID=45885970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103939342A Pending CN102404155A (en) 2011-12-01 2011-12-01 Method and device for diagnosing network faults

Country Status (1)

Country Link
CN (1) CN102404155A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761482A (en) * 2012-06-29 2012-10-31 杭州华三通信技术有限公司 Method for building BGP (border gateway protocol) neighbor and equipment therefore
CN106209917A (en) * 2016-09-08 2016-12-07 上海携程商务有限公司 The control method of sync server cluster configuration and safety control server and system
CN108599980A (en) * 2018-03-09 2018-09-28 华为技术有限公司 A kind of method for diagnosing faults and its device
CN109246008A (en) * 2014-07-23 2019-01-18 华为技术有限公司 The network equipment, system and the method for sending bgp information
CN110674096A (en) * 2019-08-28 2020-01-10 北京浪潮数据技术有限公司 Node troubleshooting method, device and equipment and computer readable storage medium
CN111225006A (en) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 Connection establishing method, message transmission method, device and storage medium
WO2022143689A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Method and system for session protection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060164995A1 (en) * 2005-01-27 2006-07-27 Martin Djernaes Method and apparatus for context-based prefix updates in border gateway protocol
CN1849796A (en) * 2003-09-18 2006-10-18 思科技术公司 TTL exploration technique for determining capabilities and configuration of a peer router
CN1897538A (en) * 2005-07-13 2007-01-17 武汉烽火网络有限责任公司 Data network equipment and its management controlling method
CN101099342A (en) * 2005-01-27 2008-01-02 思科技术公司 Method and apparatus for context-based prefix updates in border gateway protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1849796A (en) * 2003-09-18 2006-10-18 思科技术公司 TTL exploration technique for determining capabilities and configuration of a peer router
US20060164995A1 (en) * 2005-01-27 2006-07-27 Martin Djernaes Method and apparatus for context-based prefix updates in border gateway protocol
CN101099342A (en) * 2005-01-27 2008-01-02 思科技术公司 Method and apparatus for context-based prefix updates in border gateway protocol
CN1897538A (en) * 2005-07-13 2007-01-17 武汉烽火网络有限责任公司 Data network equipment and its management controlling method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
J. SCUDDER ET. AL: "《IETF draft-ietf-idr-bgp-multisession-06,Multisession BGP》", 29 March 2011 *
R. CHANDRA ET.AL: "《IETF RFC 3392,Capabilities Advertisement with BGP-4》", 4 December 2002 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761482B (en) * 2012-06-29 2016-01-20 杭州华三通信技术有限公司 A kind of method for building up of bgp neighbor and equipment
CN102761482A (en) * 2012-06-29 2012-10-31 杭州华三通信技术有限公司 Method for building BGP (border gateway protocol) neighbor and equipment therefore
US10826846B2 (en) 2014-07-23 2020-11-03 Huawei Technologies Co., Ltd. Network device and method for sending BGP information
CN109246008A (en) * 2014-07-23 2019-01-18 华为技术有限公司 The network equipment, system and the method for sending bgp information
US11621926B2 (en) 2014-07-23 2023-04-04 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
CN106209917A (en) * 2016-09-08 2016-12-07 上海携程商务有限公司 The control method of sync server cluster configuration and safety control server and system
CN108599980A (en) * 2018-03-09 2018-09-28 华为技术有限公司 A kind of method for diagnosing faults and its device
US11463349B2 (en) 2018-03-09 2022-10-04 Huawei Technologies Co., Ltd. Fault diagnosis method and apparatus thereof
WO2019170085A1 (en) * 2018-03-09 2019-09-12 华为技术有限公司 Fault diagnosis method and apparatus therefor
CN111225006A (en) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 Connection establishing method, message transmission method, device and storage medium
CN110674096A (en) * 2019-08-28 2020-01-10 北京浪潮数据技术有限公司 Node troubleshooting method, device and equipment and computer readable storage medium
CN110674096B (en) * 2019-08-28 2022-07-05 北京浪潮数据技术有限公司 Node troubleshooting method, device and equipment and computer readable storage medium
WO2022143689A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Method and system for session protection

Similar Documents

Publication Publication Date Title
CN102404155A (en) Method and device for diagnosing network faults
US11223514B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
US9025437B2 (en) System and method for providing improved failover performance for pseudowires
US9124517B2 (en) Network system and network redundancy method
CN101707537B (en) Positioning method of failed link and alarm root cause analyzing method, equipment and system
US8422360B2 (en) Route switching method, server, boundary node apparatus, route switching system, and route switching program
US20200267069A1 (en) Link switching method, link switching device, network communication system, and computer-readable storage medium
CN102291455B (en) Distributed cluster processing system and message processing method thereof
CN101326762A (en) Constructing and implementing backup paths in autonomous systems
CN102281199A (en) Route equipment, route reflector and route information processing method and system
CN112769614B (en) Automatic management method of VPN (virtual private network) on demand and intercommunication system of heterogeneous network
CN103688510A (en) Method and device for inter-network communication
CN101931610B (en) Internet protocol security link protection method and device
CN109120446B (en) Zero configuration starting method and equipment
CN102457348B (en) A kind of method and system realizing pseudo-line traffic control word capability negotiation
CN102308526B (en) Method, convergence device and system for realizing connected detection
US20060013126A1 (en) Tunnel failure notification apparatus and method
US10887207B2 (en) System and method for determining branch gateway device availability in computer networks
CN105162705B (en) A kind of method, apparatus and system of notice UNI tunnel states
CN109347790B (en) Security attack test system and test method for electric power MPLS VPN network
US10771511B2 (en) Communication method to maintain an application session between a terminal and an application server
US7864708B1 (en) Method and apparatus for forwarding a tunneled packet in a data communications network
CN108337118A (en) Message forwarding method and device
CN111917646B (en) SD-WAN-based multi-data center interconnection optimization implementation method and system
WO2020103718A1 (en) Connection establishment method, packet transmission method, device, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing, Haidian District on the road, No. 3

Applicant after: Beijing Huawei Digital Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road, No. 3

Applicant before: Huawei Digit Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120404