CN106850328B - Monitor the method and device of routing device - Google Patents
Monitor the method and device of routing device Download PDFInfo
- Publication number
- CN106850328B CN106850328B CN201510891980.3A CN201510891980A CN106850328B CN 106850328 B CN106850328 B CN 106850328B CN 201510891980 A CN201510891980 A CN 201510891980A CN 106850328 B CN106850328 B CN 106850328B
- Authority
- CN
- China
- Prior art keywords
- protocol
- routing
- message
- routing device
- field
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012544 monitoring process Methods 0.000 claims abstract description 28
- 230000014759 maintenance of location Effects 0.000 claims abstract description 26
- 238000012790 confirmation Methods 0.000 claims abstract description 23
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 7
- 230000003993 interaction Effects 0.000 abstract description 11
- ABEXEQSGABRUHS-UHFFFAOYSA-N 16-methylheptadecyl 16-methylheptadecanoate Chemical compound CC(C)CCCCCCCCCCCCCCCOC(=O)CCCCCCCCCCCCCCC(C)C ABEXEQSGABRUHS-UHFFFAOYSA-N 0.000 description 3
- 241000764238 Isis Species 0.000 description 3
- 238000005417 image-selected in vivo spectroscopy Methods 0.000 description 3
- 238000012739 integrated shape imaging system Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method and devices for monitoring routing device, are related to information technology field, can reduce the frequency of interaction between routing device, and improve the bandwidth for being actually used in business service.The described method includes: the keep alive message of multiple Routing Protocols is added in the extended field of Network Time Protocol message by local terminal routing device first, then Network Time Protocol message is sent to opposite end routing device every preset time, and determine the Routing Protocol for not receiving corresponding confirmation message in the corresponding retention time of each Routing Protocol, finally determine that the corresponding routing protocol process of Routing Protocol for not receiving corresponding confirmation message breaks down.The present invention is suitable for whether the corresponding each routing protocol process of monitoring routing device breaks down.
Description
Technical field
The present invention relates to information technology field, in particular to a kind of method and device for monitoring routing device.
Background technique
With the development of information technology, the use of routing device also develops therewith, currently, needing in existing net every pre-
Set time supervision opposite end routing device whether failure, to avoid opposite end failure of routing equipment is not known by when local terminal routing device
When, the opposite end routing device of the failure is forwarded the packet to, so as to cause the loss of data of user.
Currently, a kind of method for monitoring routing device, local terminal routing device are sent out every preset time to opposite end routing device
Send multiple routing protocol packets, the routing protocol packet include: Interior Gateway Protocol (english abbreviation: IGP) routing protocol packet,
Border Gateway Protocol (full name in English: Border Gateway Protocol, english abbreviation: BGP) routing protocol packet and double
Direction forward detection (full name in English: Bidirectional Forwarding Detection, english abbreviation: BFD) routing association
Discuss message, when local terminal routing device do not received within each message corresponding retention time opposite end routing device transmission with it is above-mentioned
When routing protocol packet corresponds to local terminal confirmation message, then local terminal routing device determine the corresponding Routing Protocol of opposite end routing device into
Journey failure.
However, when local terminal routing device sends the message of multiple Routing Protocols every preset time to opposite end routing device,
When monitoring opposite end routing device, since local terminal routing device is needed per specific to the transmission of opposite end routing device at regular intervals
Routing protocol packet, for example, every 1 second to opposite end routing device send Interior Gateway Protocol (full name in English: Interior
Gateway Protocol, english abbreviation: IGP) routing protocol packet, BGP routing association was sent to opposite end routing device every 2 seconds
Message is discussed, sent BFD routing protocol packet to opposite end routing device every 0.5 second, it is multiple due to needing to send in the short period
The message of Routing Protocol with monitor the corresponding protocol process of routing device whether failure, so as to cause the interaction between routing device
Frequency is higher, and then the bandwidth for being actually used in business service is caused to gradually decrease.
Summary of the invention
The present invention provides a kind of method and device for monitoring routing device, can reduce the interaction frequency between routing device
Rate, and improve the bandwidth for being actually used in business service.
The technical solution adopted by the present invention are as follows:
In a first aspect, the present invention provides a kind of method for monitoring routing device, comprising:
The keep alive message of multiple Routing Protocols is added to the extended field of Network Time Protocol message by local terminal routing device
In;
The local terminal routing device sends the Network Time Protocol message to opposite end routing device every preset time;
The local terminal routing device is determined not to be received accordingly in the corresponding retention time of each Routing Protocol
The Routing Protocol of confirmation message;
The local terminal routing device determines the corresponding routing protocol process of Routing Protocol for not receiving confirmation message
It breaks down.
Second aspect, the present invention provides a kind of devices for monitoring routing device, comprising:
Adding unit is located in local terminal routing device, for by the detection alive message keep of multiple Routing Protocols
Alive message is added in the extended field of Network Time Protocol Network Time Protocol message;
Transmission unit is located in the local terminal routing device, for sending institute to opposite end routing device every preset time
State Network Time Protocol message;
Determination unit is located in the local terminal routing device, for determining in the corresponding reservation of each Routing Protocol
The Routing Protocol of corresponding confirmation message is not received in time;
The determination unit is located in the local terminal routing device, is also used to determine and described do not receive corresponding confirmation and disappear
The corresponding routing protocol process of the Routing Protocol of breath breaks down.
The method and device of monitoring routing device provided by the invention, local terminal routing device is first by multiple Routing Protocols
Keep alive message is added in the extended field of Network Time Protocol message, is then sent out every preset time to opposite end routing device
Network Time Protocol message is sent, and determination does not receive corresponding confirmation message in the corresponding retention time of each Routing Protocol
Routing Protocol finally determines that the corresponding routing protocol process of Routing Protocol for not receiving corresponding confirmation message breaks down.With
Local terminal routing device sends the message of multiple Routing Protocols every preset time to opposite end routing device at present, to monitor opposite end road
It is compared by equipment, the present invention is only needed by the way that the keep alive message of multiple Routing Protocols to be added in NTP message
It is sent every preset time and the NTP message is sent to opposite end routing device, it can by the keep of multiple Routing Protocols
Alive message is sent to opposite end routing device, without in a relatively short period of time that multiple Routing Protocols are corresponding
Keep alive message is respectively sent to opposite end routing device, so as to reduce the frequency of interaction between routing device, in turn
The bandwidth for being actually used in business service can be improved.
Detailed description of the invention
It, below will be to the present invention or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art
Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other attached drawings.
Fig. 1 is the method flow diagram that routing device is monitored in the embodiment of the present invention;
Fig. 2 is the method flow diagram of another monitoring routing device in the embodiment of the present invention;
Fig. 3 is the schematic device that routing device is monitored in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of method for monitoring routing device, can reduce the interaction frequency between routing device
Rate, and the utilization rate of network link is improved, as shown in Figure 1, which comprises
101, the keep alive message of multiple Routing Protocols is added to the extension of Network Time Protocol message by local terminal routing device
In field.
For the embodiment of the present invention, local terminal routing device needs to redefine the detection alive message of each Routing Protocol
(full name in English: keep alive) message format.Include: in the keep alive message of Routing Protocol version number position, message it is long
Angle value, reserved field, wherein version number's bit field accounts for 0-7, and message length value field accounts for 8-15, and reserved field accounts for
16-31;In the keep alive message of Routing Protocol further include: at least one first field, the first field successively include:
Protocol type field, protocol version field and retention time field, wherein the first field is sequentially located at after reserved field,
First field accounts for 32, wherein protocol type field accounts for 8, and protocol version field accounts for 8, and retention time field accounts for 16, such as
Shown in table one.
Table one
For the embodiment of the present invention, version number characterizes current network time agreement (full name in English: Network Time
Protocol, english abbreviation: NTP) protocol extension type selecting version number.For example, current version is v1, then preceding 8 values are
0x01.In embodiments of the present invention, message length characterizes the number of the keep alive message carried in the NTP message, wherein
The number of the keep alive message can be from 0x01 to 0xFF.
For the embodiment of the present invention, protocol type characterizes the type of the Routing Protocol carried in the Network Time Protocol message.Its
In, the Protocol Type value of bgp protocol is 0x01, Intermediate System-to-Intermediate System (full name in English: Intermediate system
To intermediate system, english abbreviation: ISIS) Protocol Type value of agreement is 0x02, open type shortest path is excellent
First the Protocol Type value of (full name in English: Open Shortest Path First, english abbreviation: OSPF) agreement is 0x03, road
By the protocol type of information protocol (English is whole: Routing Information Protocol, english abbreviation: RIP) agreement
Value is 0x04, specific as shown in Table 2.
Table two
Protocol type | Protocol Type value |
Bgp protocol | 0x01 |
ISIS agreement | 0x02 |
Ospf protocol | 0x03 |
RIP agreement | 0x04 |
For the embodiment of the present invention, the version of most Routing Protocols is IPv4 version and IPv6 version.Wherein, the road BGP
Include two versions, respectively BGPv3 and BGPv4 by agreement, characterized respectively with 0x03 and 0x04, ISIS agreement includes
ISISv4 version and ISISv6 version are characterized with 0x04 and 0x06 respectively, ospf protocol include OSPFv2 version and
OSPFv3 version is characterized with 0x02 and 0x03 respectively, and RIP agreement includes RIPv1 version and RIPv2 version, is used respectively
0x01 and 0x02 characterization.
Wherein, in the extended field of Network Time Protocol message further include: the number of bits of keep alive message, keep alive
The number of bits of message is used to characterize the quantity of the corresponding Routing Protocol of keep alive message of carrying.
102, local terminal routing device sends Network Time Protocol message to opposite end routing device every preset time.
For the embodiment of the present invention, preset time can be 0.5 second (s), 5s and 10s.In embodiments of the present invention not
It limits.
103, local terminal routing device is determined does not receive accordingly really in the corresponding retention time of each Routing Protocol
Recognize the Routing Protocol of message.
For the embodiment of the present invention, retention time is the frequency that opposite end routing device is monitored in network, i.e., in the reservation
The interior confirmation message for not receiving the return of opposite end routing device, then local terminal routing device determines that event occurs for the routing protocol process
Barrier.
For the embodiment of the present invention, retention time can be 1 second, 5 seconds, 20 seconds etc..It does not limit in embodiments of the present invention
It is fixed.
104, local terminal routing device determines the corresponding routing protocol process of Routing Protocol for not receiving corresponding confirmation message
It breaks down.
For example, local terminal routing device will carry the keep of the keep alive message and RIP agreement of bgp protocol
The Network Time Protocol message of alive message is sent to opposite equip., wherein the keep alive message and RIP agreement of bgp protocol
The corresponding retention time of keep alive message be 5 seconds and 10 seconds, when local terminal routing device receives pair in 5 seconds
The corresponding confirmation message of bgp protocol for holding routing device to send, but local terminal routing device does not receive RIP agreement pair in 10 seconds
The confirmation message answered, then local terminal routing device determines that the bgp protocol process does not break down, and RIP protocol process breaks down.
The method of monitoring routing device provided in an embodiment of the present invention, local terminal routing device is first by multiple Routing Protocols
Keep alive message is added in the extended field of Network Time Protocol message, is then sent out every preset time to opposite end routing device
Network Time Protocol message is sent, and determination does not receive corresponding confirmation message in the corresponding retention time of each Routing Protocol
Routing Protocol finally determines that the corresponding routing protocol process of Routing Protocol for not receiving corresponding confirmation message breaks down.With
Local terminal routing device sends the message of multiple Routing Protocols every preset time to opposite end routing device at present, to monitor opposite end road
Compared by equipment, the embodiment of the present invention by the way that the keep alive message of multiple Routing Protocols is added in NTP message, and
It only needs to send every preset time and the NTP message is sent to opposite end routing device, it can by multiple Routing Protocols
Keep alive message is sent to opposite end routing device, without in a relatively short period of time respectively corresponding multiple Routing Protocols
Keep alive message be respectively sent to opposite end routing device, so as to reduce the frequency of interaction between routing device, into
And the bandwidth for being actually used in business service can be improved.
The alternatively possible implementation of the embodiment of the present invention, on the basis of as shown in Figure 1, step 101, local terminal road
The keep alive message of multiple Routing Protocols is carried in the extended field of Network Time Protocol message by equipment, further includes before
Step 201-203 as shown in Figure 2.
201, local terminal routing device determines the corresponding routing of keep alive message for needing to be sent to opposite end routing device
Agreement.
For the embodiment of the present invention, local terminal routing device is not needed the corresponding keep of all Routing Protocols every time
Alive message is carried in Network Time Protocol.Therefore local terminal routing device is it needs to be determined that be sent to the keep of opposite end routing device
The corresponding Routing Protocol of alive message.
For the embodiment of the present invention, local terminal routing device passes through the Routing Protocol for determining and needing to send opposite end routing device,
It can determine the number of Routing Protocol, the length of NTP extended field determined so as to the number according to the Routing Protocol.
202, local terminal routing device is sent to the corresponding routing of keep alive message of opposite end routing device as needed
Agreement determines the length of NTP extended field.
For the embodiment of the present invention, since the number of the Routing Protocol carried in Network Time Protocol message extended field is different, then
Need the length of Network Time Protocol extended field different, local terminal routing device determines the road for needing to be sent to opposite end routing device first
By the number of agreement, and determine the length of the Network Time Protocol extended field.Wherein, the corresponding keep alive of each Routing Protocol
The length of message is 32bits.
203, local terminal routing device determines the corresponding routing of keep alive message for needing to be sent to opposite end routing device
The protocol version information and retention time of agreement.
For the embodiment of the present invention, since each Routing Protocol includes multiple version informations, it is therefore desirable to determine routing association
The protocol version information of view.In embodiments of the present invention, the corresponding retention time of different Routing Protocols is different.
For the embodiment of the present invention, the keep alive message redefined is passed through Network Time Protocol branch by local terminal routing device
The configuration mode for the order line held is configured in Network Time Protocol message.In embodiments of the present invention, local terminal routing device configures first
Then the configurations information of the NTP such as the transmission time interval of NFP message determines and configures the length of extended field, thereafter, into
Enter the expanded configuration of keep alive message in Network Time Protocol, and determines the agreement for needing to be sent to opposite end routing device simultaneously
Number finally configures protocol type, protocol version and retention time in keep alive agreement.Wherein, local terminal routing device
The configuration mode for the order line that can be supported by the keep alive message that clock order redefines by Network Time Protocol is matched
It is placed in Network Time Protocol message;Local terminal routing device needs the length of extended field by external option order configuration.
For the embodiment of the present invention, mode through the above configuration can obtain carrying multiple Routing Protocols corresponding
The Network Time Protocol message of keep alive message, and by that the Network Time Protocol message can be sent to opposite end routing device, without
It needs that the keep alive message of different Routing Protocols is repeatedly sent to opposite end routing device, with the different routing association of determination
Whether view process breaks down, and so as to further reduce the frequency of interaction between routing device, and then net can be improved
The utilization rate of network link.
Further, the embodiment of the invention provides the method for another monitoring routing device, local terminal routing device passes through
It determines the Routing Protocol for needing to send opposite end routing device, can determine the number of Routing Protocol, so as to according to the routing
The number of agreement determines the length of NTP extended field;Mode through the above configuration can obtain carrying multiple Routing Protocols pair
The Network Time Protocol message for the keep alive message answered, and by that the Network Time Protocol message can be sent to opposite end routing device,
Without the keep alive message of different Routing Protocols is repeatedly sent to opposite end routing device, with the different road of determination
Whether broken down by protocol process, so as to further reduce the frequency of interaction between routing device, and then can be mentioned
The utilization rate of high network link.
As the realization to method shown in Fig. 1 and Fig. 2, the embodiment of the invention also provides a kind of dresses for monitoring routing device
It sets, the frequency of interaction between routing device can be reduced, and improve the bandwidth for being actually used in business service.As shown in figure 3, described
Device includes: adding unit 31, transmission unit 32, determination unit 33.
Adding unit 31 is located in local terminal routing device, for by the detection alive message keep of multiple Routing Protocols
Alive message is added in the extended field of Network Time Protocol Network Time Protocol message.
Wherein, include: in the keep alive message of Routing Protocol version number position, message length value, reserved field,
In, version number's bit field accounts for 0-7, and message length value field accounts for 8-15, and reserved field accounts for 16-31;Routing association
In the keep alive message of view further include: at least one first field, the first field successively include: protocol type field, association
Discuss version field and retention time field, wherein the first field is sequentially located at after reserved field, and the first field accounts for 32,
Wherein, protocol type field accounts for 8, and protocol version field accounts for 8, and retention time field accounts for 16.
Wherein, in the extended field of Network Time Protocol message further include: the number of bits of keep alive message, keep alive
The number of bits of message is used to characterize the quantity of the corresponding Routing Protocol of keep alive message of carrying.
Transmission unit 32 is located in local terminal routing device, for sending NTP association to opposite end routing device every preset time
Discuss message.
Determination unit 33 is located in local terminal routing device, for determining in the corresponding reservation of each Routing Protocol
The interior Routing Protocol for not receiving corresponding confirmation message.
Determination unit 33 is located in local terminal routing device, is also used to determine the routing association for not receiving corresponding confirmation message
Corresponding routing protocol process is discussed to break down.
Determination unit 33 is located in local terminal routing device, is also used to determine the keep for needing to be sent to opposite end routing device
The corresponding Routing Protocol of alive message.
Determination unit 33 is located in local terminal routing device, is also used to be sent to the keep of opposite end routing device as needed
The corresponding Routing Protocol of alive message, determines the length of NTP extended field.
Determination unit 33 is located in local terminal routing device, is also used to determine the keep for needing to be sent to opposite end routing device
The protocol version information and retention time of the corresponding Routing Protocol of alive message.
The device of monitoring routing device provided in an embodiment of the present invention, local terminal routing device is first by multiple Routing Protocols
Keep alive message is added in the extended field of Network Time Protocol message, is then sent out every preset time to opposite end routing device
Network Time Protocol message is sent, and determination does not receive corresponding confirmation message in the corresponding retention time of each Routing Protocol
Routing Protocol finally determines that the corresponding routing protocol process of Routing Protocol for not receiving corresponding confirmation message breaks down.With
Local terminal routing device sends the message of multiple Routing Protocols every preset time to opposite end routing device at present, to monitor opposite end road
Compared by equipment, the embodiment of the present invention by the way that the keep alive message of multiple Routing Protocols is added in NTP message, and
It only needs to send every preset time and the NTP message is sent to opposite end routing device, it can by multiple Routing Protocols
Keep alive message is sent to opposite end routing device, without in a relatively short period of time respectively corresponding multiple Routing Protocols
Keep alive message be respectively sent to opposite end routing device, so as to reduce the frequency of interaction between routing device, into
And the bandwidth for being actually used in business service can be improved.
Further, the embodiment of the invention provides the device of another monitoring routing device, local terminal routing device passes through
It determines the Routing Protocol for needing to send opposite end routing device, can determine the number of Routing Protocol, so as to according to the routing
The number of agreement determines the length of NTP extended field;Mode through the above configuration can obtain carrying multiple Routing Protocols pair
The Network Time Protocol message for the keep alive message answered, and by that the Network Time Protocol message can be sent to opposite end routing device,
Without the keep alive message of different Routing Protocols is repeatedly sent to opposite end routing device, with the different road of determination
Whether broken down by protocol process, so as to further reduce the frequency of interaction between routing device, and then can be mentioned
The utilization rate of high network link.
It should be noted that in the device of the monitoring routing device provided in the embodiment of the present invention corresponding to each unit its
He accordingly describes, can referring to Figure 1 and Figure 2 in corresponding description, details are not described herein.
The embodiment of the method for above-mentioned offer may be implemented in the device of monitoring routing device provided in an embodiment of the present invention, specifically
Function realizes the explanation referred in embodiment of the method, and details are not described herein.Monitoring routing device provided in an embodiment of the present invention
Method and device can be adapted for monitoring whether the corresponding each routing protocol process of routing device breaks down, but not only limit
In this.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (8)
1. a kind of method for monitoring routing device characterized by comprising
The detection alive message keep alive message of multiple Routing Protocols is added to Network Time Protocol by local terminal routing device
In the extended field of Network Time Protocol message;
The local terminal routing device sends the Network Time Protocol message to opposite end routing device every preset time;
The local terminal routing device determines the corresponding retention time of each Routing Protocol in the multiple Routing Protocol
The Routing Protocol of corresponding confirmation message is not received inside;
The local terminal routing device determines the routing association for not receiving corresponding confirmation message in the multiple Routing Protocol
Corresponding routing protocol process is discussed to break down.
2. the method for monitoring routing device according to claim 1, which is characterized in that
It include: version number position, message length value, reserved field in the keep alive message of Routing Protocol, wherein the version
Number bit field accounts for 0-7, and message length value field accounts for 8-15, and reserved field accounts for 16-31;The Routing Protocol
In keep alive message further include: at least one first field, first field successively include: protocol type field, association
View version field and retention time field, first field are sequentially located at after the reserved field, first field
Account for 32, wherein protocol type field accounts for 8, and protocol version field accounts for 8, and retention time field accounts for 16.
3. the method for monitoring routing device according to claim 1, which is characterized in that
In the extended field of the Network Time Protocol message further include: the number of bits of keep alive message, the keep alive report
The number of bits of text is used to characterize the quantity of the corresponding Routing Protocol of keep alive message of carrying.
4. the method for monitoring routing device according to claim 1, which is characterized in that the local terminal routing device will be multiple
The keep alive message of Routing Protocol is added to before the step in the extended field of Network Time Protocol message, further includes:
The local terminal routing device determines the corresponding routing of keep alive message for needing to be sent to the opposite end routing device
Agreement;
The local terminal routing device is corresponding according to the keep alive message for needing to be sent to the opposite end routing device
Routing Protocol determines the length of the extended field of the Network Time Protocol message;
The local terminal routing device determines that the keep alive message for needing to be sent to the opposite end routing device is corresponding
The protocol version information and retention time of Routing Protocol.
5. a kind of device for monitoring routing device characterized by comprising
Adding unit is located in local terminal routing device, for reporting the detection alive message keep alive of multiple Routing Protocols
Text is added in the extended field of Network Time Protocol Network Time Protocol message;
Transmission unit is located in the local terminal routing device, for sending the NTP to opposite end routing device every preset time
Protocol massages;
Determination unit is located in the local terminal routing device, for determining each routing association in the multiple Routing Protocol
Discuss the Routing Protocol for not receiving corresponding confirmation message in corresponding retention time;
The determination unit is also used to determine the routing for not receiving corresponding confirmation message in the multiple Routing Protocol
The corresponding routing protocol process of agreement breaks down.
6. the device of monitoring routing device according to claim 5, which is characterized in that
It include: version number position, message length value, reserved field in the keep alive message of Routing Protocol, wherein the version
Number bit field accounts for 0-7, and message length value field accounts for 8-15, and reserved field accounts for 16-31;The Routing Protocol
In keep alive message further include: at least one first field, first field successively include: protocol type field, association
View version field and retention time field, first field are sequentially located at after the reserved field, first field
Account for 32, wherein protocol type field accounts for 8, and protocol version field accounts for 8, and retention time field accounts for 16.
7. the device of monitoring routing device according to claim 5, which is characterized in that
In the extended field of the Network Time Protocol message further include: the number of bits of keep alive message, the keep alive report
The number of bits of text is used to characterize the quantity of the corresponding Routing Protocol of keep alive message of carrying.
8. the device of monitoring routing device according to claim 5, which is characterized in that
The determination unit is also used to determine the corresponding road of keep alive message for needing to be sent to the opposite end routing device
By agreement;
The determination unit is also used to corresponding according to the keep alive message for needing to be sent to the opposite end routing device
Routing Protocol, determine the length of the extended field of the Network Time Protocol message;
The determination unit is also used to determine that the keep alive message for needing to be sent to the opposite end routing device is corresponding
Routing Protocol protocol version information and retention time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510891980.3A CN106850328B (en) | 2015-12-07 | 2015-12-07 | Monitor the method and device of routing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510891980.3A CN106850328B (en) | 2015-12-07 | 2015-12-07 | Monitor the method and device of routing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106850328A CN106850328A (en) | 2017-06-13 |
CN106850328B true CN106850328B (en) | 2019-08-09 |
Family
ID=59150706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510891980.3A Active CN106850328B (en) | 2015-12-07 | 2015-12-07 | Monitor the method and device of routing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106850328B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110881006B (en) * | 2018-09-06 | 2021-02-23 | 华为技术有限公司 | Method for sending message, network equipment and computer storage medium |
CN110601980B (en) * | 2019-08-26 | 2022-01-14 | 中国第一汽车股份有限公司 | Communication method, system and storage medium of vehicle-mounted terminal |
CN113783802A (en) * | 2021-08-09 | 2021-12-10 | 新华三大数据技术有限公司 | Bandwidth adjusting method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051940A (en) * | 2006-06-19 | 2007-10-10 | 华为技术有限公司 | Method and system for obtaining its opposite end existing state for net managing participating part |
CN101494802A (en) * | 2008-12-26 | 2009-07-29 | 中国移动通信集团四川有限公司 | Method for automatically recycling transmission network circuit resource |
CN102347855A (en) * | 2011-07-21 | 2012-02-08 | 福建星网锐捷网络有限公司 | Method, device and network equipment for realizing bidirectional forwarding detection |
CN102347909A (en) * | 2011-11-22 | 2012-02-08 | 迈普通信技术股份有限公司 | Method and device for sending massive protocol messages |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103001887B (en) * | 2012-11-22 | 2018-01-05 | 中兴通讯股份有限公司 | A kind of link keep-alive method, controller and interchanger |
-
2015
- 2015-12-07 CN CN201510891980.3A patent/CN106850328B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051940A (en) * | 2006-06-19 | 2007-10-10 | 华为技术有限公司 | Method and system for obtaining its opposite end existing state for net managing participating part |
CN101494802A (en) * | 2008-12-26 | 2009-07-29 | 中国移动通信集团四川有限公司 | Method for automatically recycling transmission network circuit resource |
CN102347855A (en) * | 2011-07-21 | 2012-02-08 | 福建星网锐捷网络有限公司 | Method, device and network equipment for realizing bidirectional forwarding detection |
CN102347909A (en) * | 2011-11-22 | 2012-02-08 | 迈普通信技术股份有限公司 | Method and device for sending massive protocol messages |
Also Published As
Publication number | Publication date |
---|---|
CN106850328A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10075870B2 (en) | Mobile communications network detection method and apparatus | |
US9001669B2 (en) | Remote stitched directed acyclic graphs | |
US9712433B2 (en) | Maintaining and communicating nodal neighboring information | |
US20170163527A1 (en) | Network traffic control during limited power situations | |
US20120155276A1 (en) | Dynamic Expelling of Child Nodes in Directed Acyclic Graphs in a Computer Network | |
US8593986B2 (en) | Lightweight storing mode for constrained computer networks | |
US9948434B2 (en) | Method for bit error rate detection, and network device | |
CN106850328B (en) | Monitor the method and device of routing device | |
EP4044519A1 (en) | Network quality detection method and apparatus, network element device, computer device, and computer readable medium | |
CN110784373B (en) | Virtual network convergence method and device | |
US11489836B2 (en) | Method, apparatus, and system for collecting access control list | |
WO2016090978A1 (en) | Traffic switching method and device | |
CN104041109B (en) | Control method, terminating gateway, terminal device and the system of flow | |
EP2525536A1 (en) | Method, system and device for pseudo wire establishment | |
US9081567B1 (en) | Method and apparatus to control routing convergence during node reboot by entering a freeze state that inhibits routing convergence during the reboot process | |
CN102355421B (en) | Method for handling LSP (Label Switched Path) network congestion, device and system | |
CN110290017B (en) | Fault node positioning method and PE equipment | |
KR20140119656A (en) | Data transmission method, device, and system | |
KR20160131532A (en) | Adaptive Bidirectional Forwarding Detection protocol and equipment for maximizing service availability in network system | |
CN103442386A (en) | Fault detecting method and node equipment | |
CN107317753B (en) | Method, device and system for Bidirectional Forwarding Detection (BFD) session establishment | |
CN105553966B (en) | The method and device that key exchanges | |
CN115801676B (en) | Route filtering method and device and electronic equipment | |
WO2023093227A1 (en) | Information collection method and apparatus, and storage medium and electronic apparatus | |
CN106470160B (en) | Information transmission method and network node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |