CN110191059B - Routing information monitoring method and device - Google Patents

Routing information monitoring method and device Download PDF

Info

Publication number
CN110191059B
CN110191059B CN201910691270.4A CN201910691270A CN110191059B CN 110191059 B CN110191059 B CN 110191059B CN 201910691270 A CN201910691270 A CN 201910691270A CN 110191059 B CN110191059 B CN 110191059B
Authority
CN
China
Prior art keywords
neighbor
network device
neighbors
monitoring
target
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
Application number
CN201910691270.4A
Other languages
Chinese (zh)
Other versions
CN110191059A (en
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 CN201910691270.4A priority Critical patent/CN110191059B/en
Publication of CN110191059A publication Critical patent/CN110191059A/en
Application granted granted Critical
Publication of CN110191059B publication Critical patent/CN110191059B/en
Priority to PCT/CN2020/105297 priority patent/WO2021018155A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/025Updating only a limited number of routers, e.g. fish-eye update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing

Landscapes

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

Abstract

The application discloses a method and a device for monitoring routing information.A network device acquires neighbor monitoring conditions; the network equipment determines the neighbor meeting the neighbor monitoring condition from all the neighbors as a target neighbor, thereby sending the routing information of the target neighbor to the controller and realizing the monitoring of the network equipment by the controller. Therefore, according to the routing information monitoring method provided by the embodiment of the application, after the network device acquires the neighbor monitoring condition, the network device can flexibly select the target neighbor meeting the neighbor monitoring condition according to the neighbor monitoring condition, so that the problem that the routing information of part of the neighbors of the network device is wasted due to the fact that the network device sends all the routing information of all the neighbors to the controller without screening, and the routing information of part of the neighbors of the network device is not concerned at all is solved, and the flexibility of monitoring the routing information of the network device is improved.

Description

Routing information monitoring method and device
Technical Field
the present application relates to the field of communications technologies, and in particular, to a method and an apparatus for monitoring routing information.
Background
with the rapid development of communication technology, Border Gateway Protocol (BGP) has become the standard of Internet Border routing Protocol for exchanging routing information between autonomous areas. However, with the expansion of the network scale and the increase of the number of routing tables, the exchange amount of routing information between autonomous regions is larger and larger, which gradually affects the network performance, especially the frequent change of the routing caused by network oscillation, and initiates a great challenge to the operation and maintenance of the network. Therefore, BGP routing information on each network device needs to be monitored, so that the network can be analyzed through the monitored routing information to quickly find out the problem causing the routing forwarding anomaly.
At present, in a method for Monitoring BGP routing information of each network device, besides obtaining BGP routing information of each network device through a manual query, a BGP Monitoring Protocol (BMP, for short) that enables the network devices to be monitored (also referred to as "enabling Monitoring") may be configured one by one, and the network devices to be monitored, which are configured as BMP, send routing information of all BGP neighbors of the network devices to a Monitoring server (Monitoring state), so as to monitor the BGP routing information of the network devices. However, in the method for monitoring the routing information, after the network device to be monitored is enabled and monitored, the routing information of all neighbors is sent without screening, and the sent routing information possibly includes many routing information of neighbors which do not need to be concerned at all, so that the monitoring is not flexible enough and monitoring resources are wasted, and the problem of flexible monitoring of the routing information of the network device is difficult to realize.
Disclosure of Invention
based on this, the embodiments of the present application provide a method and an apparatus for monitoring routing information, so that a network device reports routing information of a target neighbor meeting a screening condition to a controller by setting the screening condition of a monitoring target neighbor, thereby implementing more flexible monitoring on the routing information of each network device to be monitored.
In a first aspect, in this embodiment of the present application, a process of monitoring routing information of a network device to be monitored may include: the network equipment acquires neighbor monitoring conditions; the network equipment determines neighbors meeting the neighbor monitoring conditions from all the neighbors of the network equipment as target neighbors; the network device can send the routing information of the target neighbor, and the network device to be monitored is monitored according to the neighbor monitoring condition. Therefore, according to the routing information monitoring method provided by the embodiment of the application, after the network device acquires the neighbor monitoring condition, the network device can flexibly select the target neighbor meeting the neighbor monitoring condition according to the neighbor monitoring condition, so that the problem that the routing information of part of the neighbors of the network device is wasted due to the fact that the network device sends all the routing information of all the neighbors to the controller without screening, and the routing information of part of the neighbors of the network device is not concerned at all is solved, and the flexibility of monitoring the routing information of the network device is improved.
with reference to a specific implementation manner of the first aspect, the sending, by the network device, the routing information of the target neighbor may specifically be: the network equipment sends the routing information of a first target neighbor in an on-line state among target neighbors; in this embodiment, the method may further include: and when a second target neighbor in an off-line state among the target neighbors is on line, the network equipment sends the routing information of the second target neighbor.
With reference to another specific implementation manner of the first aspect, the network device obtains the neighbor monitoring condition, and in one case, the method may be: a neighbor monitoring condition received by the network device from a controller; in another case, the neighbor monitoring condition may also be: the configuration information received by the network device includes neighbor monitoring conditions. Therefore, by flexibly acquiring the neighbor monitoring conditions, the routing information of the target neighbor to be concerned can be screened out effectively subsequently, and the screened routing information of the target neighbor is sent to the controller, so that the flexible monitoring of the routing information is realized, and a data basis is provided for improving the flexibility of the routing information monitoring of the network equipment.
It is to be understood that the neighbor monitoring condition includes at least one of the following conditions: the first condition is that BGP neighbors of public networks in the neighbors of the network equipment, the second condition is that BGP neighbors of private networks in the neighbors of the network equipment, the third condition is that BGP neighbors of a fourth version Internet Protocol (IPv 4) in the neighbors of the network equipment, the fourth condition is that BGP neighbors of a sixth version Internet Protocol (IPv 6) in the neighbors of the network equipment, the fifth condition is that BGP neighbors of an Internal Border Gateway Protocol (iBGP) in the neighbors of the network equipment, the sixth condition is that BGP neighbors of an external Border Gateway Protocol (eBGP) in the neighbors of the network equipment, and the seventh condition is that neighbor addresses of the network equipment meet the neighbors of a target expression. Therefore, by setting any one or more combinations of the neighbor monitoring conditions, the routing information is flexibly monitored, and a data basis is provided for improving the flexibility of monitoring the routing information of the network equipment.
With reference to another specific implementation manner of the first aspect, the neighbor monitoring condition may be specifically implemented by dynamic programming, so that flexibility of dynamically monitoring the network device is improved.
With reference to still another specific implementation manner of the first aspect, for example, before the network device is enabled to monitor, the embodiment of the present application may further include: the network equipment and the controller establish a BGP monitoring protocol BMP session; the network equipment sends the summary information of all neighbors, the summary information at least comprises the internet protocol IP address, the routing identification RD and the autonomous system serial Number AS Number of each neighbor, and all the neighbors are neighbors which establish BGP neighbor relation with the network equipment at the current moment. As an example, the network device sends the summary information of all neighbors, which may specifically be: the network equipment sends the Summary information of all neighbors through a BMP extended neighbor Summary Report Peer Summary Report message. Wherein, the Peer summary report message includes: a message Header, a group of neighbor Header lists and a timestamp; the message Header comprises a neighbor Header Number field and a message Sequence Number field; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor identification Peer BGP ID field. Therefore, before the network equipment is enabled to be monitored, the controller can acquire the summary information of all the neighbors of the network equipment, and a data basis can be provided for determining neighbor monitoring conditions more accurately in the follow-up process.
It should be noted that, in this embodiment of the application, the network device sends the routing information of the target neighbor, which may specifically be: the network device sends the routing information of the target neighbor through the BMP. Therefore, the routing information of the target neighbor of the network equipment can be flexibly monitored in a BMP scene.
With reference to still another specific implementation manner of the first aspect, if the route of the target neighbor is updated, the embodiment may further include: and the network equipment sends the updated routing information of the target neighbor. Therefore, the target neighbor of the network equipment can be monitored in real time, the problem that the network operation and maintenance are influenced due to poor timeliness of the routing information monitoring is solved, and the reliability of the network is improved.
It should be noted that, when the network device obtains the neighbor monitoring condition and also obtains the target device list, the network device may determine whether the network device is in the target device list, and if the network device is in the target device list, the network device may determine, according to the obtained neighbor monitoring condition, a target neighbor that satisfies the neighbor monitoring condition among the neighbors of the network device. In addition, the network device may also serve as a relay device, and respectively forward the neighbor monitoring condition to other target devices except for the network device itself in the target device list according to the target device list.
In a second aspect, in this embodiment of the present application, the monitoring of the routing information of the network device to be monitored may include: the controller sends a neighbor monitoring condition to the network equipment, wherein the neighbor monitoring condition is used for indicating the network equipment of the receiving party to determine a target neighbor of the network equipment according to the neighbor monitoring condition; then, the controller may receive the routing information of the target neighbor sent by the network device. Therefore, according to the routing information monitoring method provided by the embodiment of the application, after the controller sends the neighbor monitoring condition to the network device, the network device can flexibly select the target neighbor meeting the neighbor monitoring condition according to the neighbor monitoring condition, so that the problem that the network device sends all the routing information of all the neighbors to the controller without screening, but the routing information of part of the neighbors does not need to be concerned at all, so that the monitoring of the routing information is wasted is solved, and the flexibility of monitoring the routing information of the network device is improved.
It can be understood that the controller may further send the target device list to the network device, so that the network device may serve as a relay device, and forward the neighbor monitoring condition to other target devices in the target device list according to the target device list, so as to reduce data interaction between the controller and each network device.
with reference to a specific implementation manner of the second aspect, the receiving, by the controller, the routing information of the target neighbor may specifically be: the method comprises the steps that a controller receives routing information of a first target neighbor in an on-line state in a target neighbor; in this embodiment, the method may further include: when a second target neighbor in an off-line state among the target neighbors gets on line, the controller receives the routing information of the second target neighbor.
with reference to yet another specific implementation manner of the second aspect, the neighbor monitoring condition is specifically implemented by dynamic programming.
With reference to another specific implementation manner of the second aspect, for example, before the network device is enabled to monitor, the embodiment may further include: the controller establishes BGP monitoring protocol BMP conversation with the network equipment, receives the summary information of all neighbors of the network equipment, wherein the summary information at least comprises the Internet protocol IP addresses, the routing identifiers RD and the autonomous system serial Number AS Number of each neighbor, and all the neighbors are neighbors which establish BGP neighbor relation with the network equipment at the current time. As an example, the controller receives summary information of all neighbors of the network device, specifically: the controller receives a neighbor Summary Report message sent by the network device, wherein the neighbor Summary Report message is a message expanded by a BGP monitoring protocol BMP and carries Summary information of all neighbors of the network device. Wherein, the Peer Summary Report message includes: a message Header, a group of neighbor Header lists and a timestamp; the message header comprises a Peer Number field of the Number of neighbor headers and a Sequence Number field of the message; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
It is to be appreciated that the neighbor monitoring condition includes at least one of the following conditions, as one example: a BGP neighbor of a public network among the neighbors of the network device, a BGP neighbor of a private network among the neighbors of the network device, a BGP neighbor of IPv4 among the neighbors of the network device, a BGP neighbor of IPv6 among the neighbors of the network device, a BGP neighbor of iBGP among the neighbors of the network device, a BGP neighbor of eBGP among the neighbors of the network device, or a BGP neighbor whose address satisfies the target regular expression. Or, as another example, the embodiment may further include: the controller determines a neighbor monitoring condition according to the summary information, where the neighbor monitoring condition is used to indicate the target neighbor of the routing information to be sent, for example: the neighbor summary condition is a list of identifications of the target neighbor.
With reference to another specific implementation manner of the second aspect, the receiving, by the controller, the routing information of the target neighbor sent by the network device specifically includes: the controller receives the routing information of the target neighbor through a BGP monitoring protocol BMP.
With reference to another specific implementation manner of the second aspect, if the route of the target neighbor is updated, the embodiment may further include: the controller receives updated routing information for a target neighbor of the network device.
it should be noted that the method provided by the second aspect corresponds to the method provided by the first aspect, and therefore, reference may be made to the description of the method provided by the first aspect for various possible implementations of the method provided by the second aspect and technical effects achieved.
In a third aspect, in this embodiment of the present application, the monitoring of the routing information of the network device to be monitored may include: when a network device and a controller establish a BGP monitoring protocol BMP session, the network device may send digest information of all neighbors, where the digest information at least includes an Internet Protocol (IP) address, a routing identifier (RD), and an Autonomous System serial Number (AS Number) of each neighbor, and the neighbors are neighbors that have established a BGP neighbor relationship with the network device at the current time. Therefore, by the routing information monitoring method provided by the embodiment of the application, the controller can acquire the neighbor and the summary information of the neighbor of the network device without enabling monitoring of the network device, so that monitoring of the neighbor of the network device is realized, and a data basis is provided for monitoring the routing information of the network device according to the embodiment provided by the first aspect or the second aspect.
With reference to a specific implementation manner of the third aspect, the sending, by the network device, the summary information of all neighbors specifically includes: the network equipment sends a neighbor Summary Report message, wherein the neighbor Summary Report message is a message expanded by a BGP monitoring protocol BMP and carries Summary information of all neighbors of the network equipment. It can be understood that the PeerSummary Report message includes: a message Header, a group of neighbor Header lists and a timestamp; the message Header comprises a neighbor Header Number field and a message Sequence Number field; each PeerHeader comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor identification Peer BGP ID field.
With reference to another specific implementation manner of the third aspect, when the network device has a new neighbor that establishes the BGP neighbor relationship, this embodiment may further include: the network device sends the summary information of the new neighbor. It can be understood that the Summary information of the new neighbor may also be sent by being carried in a Peer Summary Report message by the network device.
It can be understood that, after the network device establishes a BGP monitoring protocol BMP session with the controller, before the network device sends the summary information of all neighbors, the embodiment of the present application may further include: the network device sends an initialization message to the controller, and the initialization message is used for notifying the controller of provider information and a software version number of the network device, wherein the software version number is used for identifying that the Peer Summary Report message is supported, and if the controller does not support the software version number, the controller can not process the Peer Summary Report message.
It should be noted that the method provided by the third aspect corresponds to some implementation manners in the method provided by the first aspect, and therefore, reference may be made to the description in the method provided by the first aspect for various possible implementation manners and achieved technical effects of the method provided by the third aspect.
in a fourth aspect, in an embodiment of the present application, there is further provided a network device, including: the device comprises an acquisition unit, a determination unit and a sending unit.
the system comprises an acquisition unit, a monitoring unit and a monitoring unit, wherein the acquisition unit is used for acquiring neighbor monitoring conditions;
A determining unit, configured to determine, according to the neighbor monitoring condition, a target neighbor that satisfies the neighbor monitoring condition among neighbors of the network device;
And the sending unit is used for sending the routing information of the target neighbor.
With reference to a specific implementation manner of the fourth aspect, the obtaining unit may be specifically configured to: a neighbor monitoring condition is received from a controller.
with reference to another specific implementation manner of the fourth aspect, the obtaining unit may be specifically configured to: and receiving the configuration information and generating a neighbor monitoring condition based on the configuration information.
Wherein the neighbor monitoring condition includes at least one of the following conditions: the Border Gateway Protocol (BGP) neighbor of a public network in the neighbor of the network device, the BGP neighbor of a private network in the neighbor of the network device, the BGP neighbor of a fourth version Internet protocol (IPv 4) in the neighbor of the network device, the BGP neighbor of a sixth version Internet protocol (IPv 6) in the neighbor of the network device, the BGP neighbor of an Internal Border Gateway Protocol (iBGP) in the neighbor of the network device, the BGP neighbor of an external border gateway protocol (eBGP) in the neighbor of the network device, or the BGP neighbor address of the network device meets a target regular expression.
It will be appreciated that the neighbor monitoring condition is implemented in particular by dynamic programming.
With reference to still another specific implementation manner of the fourth aspect, the apparatus further includes: and establishing a session unit. The session establishing unit is used for establishing a BGP monitoring protocol BMP session with the controller; then, the sending unit is further configured to send summary information of all neighbors after a BMP session is established with the controller, where the summary information at least includes an internet protocol IP address, a routing identifier RD, and an autonomous system serial Number AS Number of each neighbor, and all the neighbors are neighbors that have established a BGP neighbor relationship with the network device at the current time.
With reference to another specific implementation manner of the fourth aspect, the sending unit is specifically configured to: after a BMP conversation is established with the controller, the Summary information of all neighbors is sent through a neighbor Summary Report Peer Summary Report message expanded by the BMP. Wherein, the Peer Summary Report message includes: a message Header, a group of neighbor Header lists and a timestamp; the message Header comprises a neighbor Header Number field and a message sequence Number field; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor identification Peer BGP ID field.
with reference to still another specific implementation manner of the fourth aspect, the sending unit is specifically configured to: and sending the routing information of the target neighbor through the BMP.
with reference to still another specific implementation manner of the fourth aspect, the sending unit is further configured to send the updated routing information of the target neighbor when the route of the target neighbor is updated.
With reference to still another specific implementation manner of the fourth aspect, the sending unit is specifically configured to: sending routing information of a first target neighbor in an online state in a target neighbor; then, the sending unit is further configured to send the routing information of the second target neighbor when the second target neighbor in the target neighbor that is in the offline state is online.
It should be noted that the network device provided in the fourth aspect corresponds to the method provided in the first aspect, and therefore, reference may be made to the description in the method provided in the first aspect for various possible implementations of the network device provided in the fourth aspect and achieved technical effects.
In a fifth aspect, an embodiment of the present application further provides a controller, including: a transmitting unit and a receiving unit.
The system comprises a sending unit, a receiving unit and a sending unit, wherein the sending unit is used for sending a neighbor monitoring condition to network equipment, and the neighbor monitoring condition is used for indicating the network equipment to determine a target neighbor meeting the neighbor monitoring condition in the neighbors of the network equipment according to the neighbor monitoring condition;
and the receiving unit is used for receiving the routing information of the target neighbor sent by the network equipment.
With reference to a specific implementation manner of the fifth aspect, the neighbor monitoring condition includes at least one of the following conditions: the Border Gateway Protocol (BGP) neighbor of a public network in the neighbor of the network device, the BGP neighbor of a private network in the neighbor of the network device, the BGP neighbor of a fourth version Internet protocol (IPv 4) in the neighbor of the network device, the BGP neighbor of a sixth version Internet protocol (IPv 6) in the neighbor of the network device, the BGP neighbor of an Internal Border Gateway Protocol (iBGP) in the neighbor of the network device, the BGP neighbor of an external border gateway protocol (eBGP) in the neighbor of the network device, or the BGP neighbor address of the network device meets a target regular expression.
with reference to another specific implementation manner of the fifth aspect, the apparatus further includes: and establishing a session unit. The session establishing unit is used for establishing a BGP monitoring protocol BMP session with the network equipment; at this time, the receiving unit is further configured to receive summary information of all neighbors of the network device when a BMP session is established with the network device, where the summary information includes an internet protocol IP address, a routing identifier RD, and an autonomous system serial Number AS Number of each neighbor, and all the neighbors are neighbors that have established a BGP neighbor relationship with the network device at the current time. As an example, the receiving unit is specifically configured to: when a BMP session is established with a network device, a neighbor Summary Report message sent by the network device is received, wherein the neighbor Summary Report message is a message expanded by the BMP and carries Summary information of all neighbors of the network device. Wherein, the Peer Summary Report message includes: a message Header, a group of neighbor Header lists and a timestamp; the message header comprises a neighbor header Number field and a message Sequence Number field; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor identification Peer BGP ID field.
In this implementation, as an example, the controller further includes: a determination unit. The determining unit is used for determining the neighbor monitoring condition according to the abstract information; the neighbor monitoring condition is used for indicating a target neighbor of the routing information to be sent.
With reference to still another specific implementation manner of the fifth aspect, the neighbor monitoring condition is specifically implemented by dynamic programming.
With reference to another specific implementation manner of the fifth aspect, the receiving unit is specifically configured to: and receiving the routing information of the target neighbor through the BMP.
with reference to still another specific implementation manner of the fifth aspect, the receiving unit is further configured to receive updated routing information of a target neighbor of the network device.
With reference to another specific implementation manner of the fifth aspect, the receiving unit is specifically configured to: receiving routing information of a first target neighbor in an online state in a target neighbor; then, the receiving unit is further configured to receive the routing information of the second target neighbor when the second target neighbor in the target neighbor that is in the offline state is online.
It should be noted that the controller provided in the fifth aspect corresponds to the method provided in the second aspect, and therefore, reference may be made to the description in the method provided in the second aspect for various possible implementations of the controller provided in the fifth aspect and achieved technical effects.
in a sixth aspect, an embodiment of the present application further provides a network device, including: a session establishing unit and a sending unit.
The device comprises a session establishing unit, a session establishing unit and a processing unit, wherein the session establishing unit is used for establishing a Border Gateway Protocol (BGP) monitoring protocol (BMP) session with a controller;
the system comprises a sending unit, a receiving unit and a sending unit, wherein the sending unit is used for sending summary information of all neighbors, and the summary information comprises Internet Protocol (IP) addresses, routing identifiers (RD) and autonomous system serial Number (AS) numbers of all the neighbors; all the neighbors are neighbors which establish BGP neighbor relation with the network equipment at the current moment.
With reference to a specific implementation manner of the sixth aspect, the sending unit is further configured to: and when the network equipment has a new neighbor establishing a BGP neighbor relation, sending summary information of the new neighbor.
with reference to still another specific implementation manner of the sixth aspect, the sending unit is specifically configured to: and sending a neighbor Summary Report, wherein the Peer Summary Report is a Report extended by a BMP and carries Summary information of all neighbors of the network equipment. Wherein, the Peer Summary Report message includes: a message header, a group of neighbor header lists and a timestamp; the message Header comprises a neighbor Header Number field and a message Sequence Number field; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification PeerFlags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
It should be noted that the network device provided in the sixth aspect corresponds to the method provided in the third aspect, and therefore, reference may be made to the introduction in the method provided in the third aspect for various possible implementations and achieved technical effects of the network device provided in the sixth aspect.
In a seventh aspect, an embodiment of the present application further provides a network device, including: a processor, a memory and a transceiver, where the memory stores at least one instruction, the processor is configured to load the instruction and control the transceiver to perform a sending and receiving operation in the routing information monitoring method according to any one of the foregoing first aspect or third aspect, and the processor is further configured to load the instruction and perform other operations besides the sending and receiving operation in the routing information monitoring method according to any one of the foregoing first aspect or third aspect, for example: establish session operations, again for example: an operation is determined.
In an eighth aspect, an embodiment of the present application further provides a controller, including: the processor is configured to load the instruction and control the transceiver to perform a sending operation in the routing information monitoring method according to any one of the implementation manners in the second aspect, and the processor is further configured to load the instruction and perform a session establishment operation in the routing information monitoring method according to any one of the implementation manners in the second aspect.
In a ninth aspect, an embodiment of the present application further provides a routing information monitoring system, where the system includes: a network device and a controller, wherein the network device is configured to execute the routing information monitoring method in any one implementation manner of the first aspect or the third aspect; and the controller is configured to execute the routing information monitoring method in any implementation manner of the second aspect.
in a tenth aspect, an embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute the routing information monitoring method in any one of the implementation manners of the first aspect to the third aspect.
in an eleventh aspect, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the computer is caused to execute the routing information monitoring method in any one implementation manner of the first to third aspects.
drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a signaling flowchart of a method for implementing routing information monitoring in an embodiment of the present application;
Fig. 2 is a schematic diagram of a framework of a network system according to an application scenario in the embodiment of the present application;
Fig. 3 is a signaling flow diagram of an example of a method for implementing route information monitoring in the embodiment of the present application;
Fig. 4 is a schematic flowchart of a method for monitoring routing information according to an embodiment of the present application;
fig. 5 is a signaling flow diagram of an example of a method for monitoring routing information in an embodiment of the present application;
Fig. 6 is a schematic diagram of a general packet header of a Peer Summary Report packet in the embodiment of the present application;
Fig. 7 is a schematic diagram of a Peer Summary Report packet in the embodiment of the present application;
Fig. 8 is a schematic diagram of a Peer Header of a Peer Summary Report packet in the embodiment of the present application;
fig. 9 is a schematic flowchart of another method for monitoring routing information in this embodiment;
Fig. 10 is a schematic structural diagram of a network device in an embodiment of the present application;
FIG. 11 is a schematic structural diagram of a controller according to an embodiment of the present application;
Fig. 12 is a schematic structural diagram of another network device in the embodiment of the present application;
fig. 13 is a schematic structural diagram of a network device in an embodiment of the present application;
FIG. 14 is a schematic structural diagram of a controller according to an embodiment of the present application;
Fig. 15 is a schematic structural diagram of a routing information monitoring system in an embodiment of the present application.
Detailed Description
Border Gateway Protocol (BGP), which is the standard of Internet Border routing Protocol, is used to exchange routing information between autonomous areas. With the enlargement of the network scale and the increase of the number of routing tables, the exchange amount of routing information among autonomous regions is larger and larger, and once abnormal conditions such as frequent routing change and the like caused by network oscillation occur, great challenges are initiated to the operation and maintenance of the network. Therefore, it is necessary to monitor the routing information on each network device in the network, so that the network can be analyzed through the monitored routing information to quickly find out the problem causing the routing forwarding abnormality.
At present, besides obtaining the routing information of each network device in the network by a manual query manner to monitor the routing information of the network device, the network devices to be monitored may be configured manually one by one, that is, BGP Monitoring Protocol (BMP) enablement is performed on the network devices to be monitored one by one, so that the network devices to be monitored configured as BMP are in a monitored state, that is, the routing information of all neighbors of the network device may be sent to a Monitoring server (english: Monitoring Station) that establishes a session with the network devices, so as to monitor the routing information of the network device by the Monitoring server.
For example: fig. 1 shows an exemplary signaling flow diagram for performing the above-mentioned route information monitoring method between a network device and a monitoring server. In this example, the BMP protocol defines a method for effectively monitoring a network device BGP route, and a monitoring server monitors and manages a BGP operating state of a network device to be monitored in a network. In a specific implementation, the process of monitoring the routing information of the network device 20 by the monitoring server 10 may include: s11, the network device 20 establishes a BMP session with the monitoring server 10; s12, the network administrator manually enables monitoring on the network device 20; s13, the network device 20 sends an initialization message to the monitoring server 10 for notifying the monitoring server 10 of the vendor information, software version number, etc. of the network device; s14, the network device 20 sends a neighbor presence notification (Peer notification) message to the monitoring server 10, and is configured to send a BGP neighbor that establishes a neighbor relationship with the network device 20 to the monitoring server 10; s15, the network device 20 sends a Route Monitoring message to the Monitoring server 10, which is used to send all the Route information received from the BGP neighbors to the Monitoring server 10; s16, the network device 20 sends a completion indication message to the monitoring server 10, for informing that the monitoring server 10 has completed sending the routing information of all BGP neighbors on the network device 20; s17, when a BGP neighbor of the network device 20 changes, such as adding or removing a route, the network device 20 sends the latest route information to the monitoring server 10; s18, the network device 20 sends a statistics report (english: statistics Reports) message to the monitoring server 10, for sending the statistics information of the running status of the network device 20 to the monitoring server 10; s19, the network device 20 sends a neighbor offline/online Notification (Peer Down/Up Notification) message to the monitoring server 10, and notifies the monitoring server 10 and the network device 20 of interrupting the BGP neighbor of the neighbor relationship or creating a BGP neighbor of the neighbor relationship; s20, the network device 20 sends a Termination message to the monitoring server 10 to notify the monitoring server 10 of the BMP session being closed, or the reason for the BMP session being closed. It should be noted that the network device 20 may be a network device supporting the BMP function, that is, before S11, the monitoring server 10 may enable the BMP capability to the network device 20.
However, the route information monitoring method exemplarily shown in fig. 1 is inconvenient because network management personnel need to configure and enable the network devices to be monitored one by one; moreover, the network device in the enabled monitoring state sends all the routing information of all the neighbors without screening, and the routing information of some neighbors of the network device is likely not to need to be concerned at all, so that the monitoring method of the routing information has the problems of network resource waste and insufficient flexibility.
Based on this, in the embodiment of the present application, as long as the network device can acquire the neighbor monitoring condition, the neighbor that needs to send the routing information of the network device can be screened, the target neighbor that meets the neighbor monitoring condition is flexibly selected, and the routing information of the target neighbor of the network device is sent, so that the routing information of the network device is flexibly monitored.
For example, one of the scenarios in the embodiment of the present application may be applied to the scenario shown in fig. 2. The scene includes Network device 101, Network device 102, Network device 103, Software Defined Network (SDN) controller 200 and Network administrator 300. Network device 102 may be a network device to be monitored, and network device 101 and network device 103 are BGP neighbors of network device 102; the SDN controller 200 may include a policy analysis unit 201, a management unit 202, and a BMP monitoring unit 203, where the policy analysis unit 201 is connected to the management unit 202 and the BMP monitoring unit 203, respectively.
as an example, the routing information monitoring method provided in the embodiment of the present application may specifically refer to fig. 3, which includes S21 ~ S26, S21, where the network administrator 300 may deploy BMP monitoring on the SDN controller 200 and set a neighbor monitoring condition (for example, public network BGP neighbors in a neighborhood of the monitoring network device), and the SDN controller 200 may store the neighbor monitoring condition on the policy analysis unit 201 therein, S22, establish a BMP session between the network device 102 and the SDN controller 200, S23, send digest information of all BGP neighbors to the BMP monitoring unit 203 of the SDN controller 200, S24, the policy analysis unit 201 reads the digest information of all BGP neighbors of the network device 102 received by the monitoring unit 203, and determines a target neighbor list of the network device 102 according to the digest information and the neighbor monitoring condition set by the network administrator 300, S25, and the policy analysis unit 201 sends the target neighbor list to the network device 102 through the management unit 202, S26, and the network device 102 sends the target neighbor information of the neighbor list to the neighbor monitoring network device 203, so that the routing information of the SDN controller 200 may implement flexible routing monitoring of the network device according to the BMP monitoring purpose.
it should be noted that, in order ~ ensure reliability and security of the network, the foregoing S24 ~ S26 may be periodically executed, ~ check whether the route of the target neighbor on the network device 102 monitored by the SDN controller 200 changes, and update the route information of the target neighbor monitored by the SDN controller 200 and obtained by the network device 102, and the network administrator 300 may also reset the neighbor monitoring condition on the SDN controller 200 according ~ the change in demand, and execute the foregoing S22 ~ S26 again according ~ the new neighbor monitoring condition ~ monitor the route information of the network device 102, so that the network administrator 300 or other related technical personnel may see a new monitoring result through a display device connected ~ the SDN controller 200 after executing S26.
It is understood that there may be two channels between the SDN controller 200 and the network device 102 to be monitored, where one channel may be a BMP protocol channel, and is used for the network device 102 to send summary information of all BGP neighbors and routing information of a target BGP neighbor to the SDN controller 200; the other channel may be a BMP monitoring channel, which is used for the SDN controller 200 to send information such as neighbor monitoring conditions to the network device 102, and the channel may be specifically implemented in a network configuration Protocol (NETCONF) or a Command Line Interface (CLI), and may also be implemented by extending a BMP Protocol; the channel interface can be realized by a Yet other Next Generation (YANG) data model interface or a NETCONF interface.
it should be noted that the network devices 101 ~ 103 may specifically be any devices having a routing function, for example, devices such as a router, a switch, a gateway, and the like, which are not specifically limited in this embodiment, and the SDN controller 200 may also be another controller, as long as the functions of the SDN controller 200 in this embodiment can be implemented, which is not specifically limited in this embodiment.
It is to be understood that the above scenario is only one example of a scenario provided in the embodiment of the present application, and the embodiment of the present application is not limited to this scenario.
The following describes a specific implementation manner of a routing information monitoring method in the embodiment of the present application in detail by embodiments with reference to the accompanying drawings.
fig. 4 is a schematic flow chart of a routing information monitoring method in an embodiment of the present application, referring to fig. 4, the method may include the following steps 401 to 405, for example:
step 401, the controller sends the neighbor monitoring condition to the network device.
Step 402, the network device obtains the neighbor monitoring condition.
It can be understood that the neighbor monitoring condition is used to instruct the network device to select a target neighbor to send routing information from all its neighbors, that is, the target neighbor needs to satisfy the neighbor monitoring condition. In one case, the neighbor monitoring condition may be a neighbor monitoring condition in the form of a screening condition, and in another case, the neighbor monitoring condition may also be a neighbor monitoring condition in the form of a neighbor list.
The neighbor monitoring condition in the form of a screening condition may refer to a condition configured by a network administrator on a controller or a network device as required, and may specifically include at least one of the following conditions: the first condition is that a public network Border Gateway Protocol (BGP) neighbor is in the neighborhood of the network device, the second condition is that a BGP neighbor of a private network is in the neighborhood of the network device, the third condition is that a BGP neighbor of a fourth version Internet Protocol (IPv 4) is in the neighborhood of the network device, the fourth condition is that a BGP neighbor of a sixth version Internet Protocol (IPv 6) is in the neighborhood of the network device, the fifth condition is that a BGP neighbor of an internal Border Gateway Protocol (internal Border Gateway Protocol, iBGP) is in the neighborhood of the network device, the sixth condition is that an external Border Gateway Protocol (external BGP) is in the neighborhood of the network device, and the seventh condition is that the neighbor address of the network device satisfies a regular target expression. For example: if the neighbor monitoring condition received by the network device is condition one, the neighbor monitoring condition is used to indicate that the network device is in all neighbors, and a BGP neighbor of the public network is selected as a target neighbor to be monitored by the network device. Another example is: the neighbor monitoring conditions received by the network device include condition two, condition three and condition five, then the neighbor monitoring conditions are used for indicating that the network device is in all neighbors, and BGP neighbors belonging to the private network, IPv4 and iBGP are selected as target neighbors to be monitored by the network device; for another example: the neighbor monitoring conditions received by the network device include a condition two, a condition four, and a condition six and a condition seven, and then the neighbor monitoring conditions are used for indicating that the network device is in all neighbors, and BGP neighbors which belong to the private network, IPv6, eBGP and satisfy the target regular expression are selected as target neighbors to be monitored by the network device.
It can be understood that, in order to be conveniently adjusted according to different monitoring requirements at different times, the neighbor monitoring condition may be specifically implemented by dynamic programming. For example: the method comprises the steps that except public network neighbors with prefix IP addresses of 1.1.1.1 and 2.2.2.2 on network equipment, the public network neighbors in all the neighbors do not need to be inquired on the network equipment, and then the public network neighbors with prefix IP addresses not 1.1.1.1 and 2.2.2.2 are enabled one by one, so that the configuration workload before monitoring routing information is huge especially when the public network neighbors of the network equipment are numerous; in the embodiment of the present application, technicians such as a network administrator only need to set the neighbor monitoring condition in the screening condition form in a dynamic programming manner, and corresponding to the example, the neighbor monitoring condition in the screening condition form can be implemented by dynamic programming: the public network neighbors of the network equipment are monitored, and the public network neighbors with prefix IP addresses of 1.1.1.1 and 2.2.2.2 are filtered through the deny statement, so that the neighbor monitoring conditions in the form of the screening conditions are embodied through simple and convenient dynamic programming, and flexible routing information monitoring becomes possible.
In a specific implementation, if a network administrator or other technicians set a neighbor monitoring condition in the form of a screening condition on a controller, then, if the controller receives summary information of a neighbor according to the following embodiment corresponding to fig. 5, as an example, in step 401, the neighbor monitoring condition sent by the controller to the network device may refer to: the controller determines neighbor monitoring conditions in the form of a neighbor list according to the neighbor monitoring conditions in the form of the screening conditions and the summary information of the neighbors; as another example, in step 401, the neighbor monitoring condition sent by the controller to the network device may also refer to: screening the neighbor monitoring condition in the form of a condition, wherein in step 401, after the network device receives the neighbor monitoring condition in the form of the screening condition, the network device can analyze the neighbor monitoring condition in the form of the screening condition to determine a target neighbor; or, the network device may also determine the target neighbor according to the neighbor monitoring condition in the form of the screening condition and the digest information of all neighbors known to itself.
If the network administrator or other technicians set the neighbor monitoring conditions in the form of the screening conditions on the network device, the network device does not need to execute step 401, and in step 402, the network device obtains the neighbor monitoring conditions, specifically: the network device receives configuration information set on the network device by a network administrator or other technician, the configuration information including the neighbor monitoring condition.
For neighbor monitoring conditions in the form of a neighbor list, it may be used to indicate target neighbors among all neighbors of the network device, for example: the neighbor monitoring condition in the form of the neighbor list may be a target neighbor list.
As an example, the controller may determine a target neighbor list jointly according to the neighbor monitoring condition configured on the controller by the network administrator in the form of the screening condition and the summary information of the neighbor received according to the corresponding embodiment of fig. 5 described below, as the neighbor monitoring condition in the form of the neighbor list; at this time, the controller may send the neighbor monitoring condition in the form of the neighbor list to the network device as the "neighbor monitoring condition" in steps 401 and 402.
As another example, a network administrator or other technical personnel may directly set a target neighbor list on the network device as a neighbor monitoring condition in the form of a neighbor list, and then, without executing step 401, the network device may directly obtain the neighbor monitoring condition in the form of the neighbor list as a "neighbor monitoring condition" in step 402, so as to directly determine the target neighbor.
in some possible implementations, when the neighbor monitoring condition applies to multiple target devices, for example, the neighbor monitoring condition 1 applies to network device a, network device B, and network device C. in one case, the controller may send the neighbor monitoring condition to the target devices, for example, the controller sends the neighbor monitoring condition 1 to network device a, network device B, and network device C, so that each target device may implement the monitoring of the routing information provided in the present embodiment according to the neighbor monitoring condition, in another case, the controller may send the identifier of the target device while sending the neighbor monitoring condition to all network devices to be monitored, for example, the controller may send the identifier of the target device to network device a, network device B, and network device C, if the identifier of the target device a, network device B, network device C, … …, and if the identifier of the neighbor monitoring condition 1 and the identifier of the target device a are matched, the target device may determine that the target device is a target device, the target device C, and if the target device a monitoring condition is matched with the identifier of the target device a, the target device C, the network device C, and if the target device a monitoring condition is not matched with the target device 403, the target device a is a, the target device 403, the target device C, and the target device C, the network device C may send the network device a monitoring information to be controlled by the target device 405, and the target device C, if the target device C, the target device D, and the network device C in the network device C, and the network device D may send the network device D, and the network device D may send the network device C, and the network device D may send the network device D, and the network device D may send the network device D.
It should be noted that the neighbor monitoring condition sent by the controller to the network device may be carried in the monitoring instruction in one case, and then, after the network device receives the monitoring instruction, on one hand, the network device may know that the controller requires to monitor the routing information of the network device; on the other hand, the network device may analyze the monitoring instruction to obtain a neighbor monitoring condition, thereby determining a rule followed by the route information monitoring, that is, a condition that the target neighbor needs to satisfy. In another case, a neighbor monitoring condition may also be sent to the network device first, where the neighbor monitoring condition only informs the network device of a rule that the monitoring route information needs to follow, and does not trigger a monitoring event; when the network device is required to send the routing information, the controller sends a monitoring start instruction associated with the neighbor monitoring condition to the network device.
In some implementations, the embodiments of the present application may further include: after the network device establishes a BGP monitoring protocol BMP session with the controller, but before the controller has not enabled monitoring of the network device, the network device sends digest information of all neighbors, where the digest information at least includes: the IP address of the internet protocol, the route identification RD and the serial Number AS Number of the autonomous system of each neighbor, wherein all the neighbors are neighbors which establish BGP neighbor relation with the network equipment at the current moment.
in a specific implementation, the network device sends summary information of all neighbors, as shown in fig. 5, a specific process may include:
step 501, a network device and a controller establish a BGP monitoring protocol BMP session;
Step 502, the network device sends an initialization message to the controller, which is used to notify the controller of the provider information, software version number, etc. of the network device;
step 503, the network device may send Summary information of all neighbors of the network device to a neighbor Summary Report message extended by the BGP monitoring protocol BMP.
It should be noted that, after step 503, the network device may be monitored according to the routing information monitoring method provided in the embodiment of the present application, and details are not described here again.
the method includes the steps that a network device and a controller can establish a BMP session based on a BMP protocol, and once the session is established successfully, the network device can send a BMP message to the controller, because of the BMP protocol specification, the first message which needs to be sent to the controller is an initialization message which is used for notifying information of a provider of the network device, software version and the like, a software version is newly defined for identifying that the extended BMP protocol supports a Peer Summary Report message, and if the controller determines that the version number does not support the newly defined software version number after receiving the Peer Summary Report message, the controller can ignore the Peer Summary Report message and directly monitor routing information through steps 401-405.
As an example, in this embodiment of the present application, the adding of the Peer Summary Report message after the BMP extension may include: a message Header, a group of neighbor Header lists and a Timestamp. The BGP-format packet further includes a general packet header, and specifically, as shown in fig. 6, the format of the general packet header is adopted, a packet header type msg.type =7 is defined, and the packet is indicated as a Peer Summary Report packet; in addition, the Message header also carries Version and Message Length.
Fig. 7 schematically shows the Peer Summary Report packet, where a packet header includes: a 2-byte neighbor head Number Peer Number field and a 2-byte message Sequence Number field. The Peer Header Number represents the Number N of the Peer Headers of the neighbor heads carried in the message; the Sequence Number represents a message serial Number, when the Number of neighbors of the network device is small and Summary information of all the neighbors can be carried through one Peer _ Summary _ Report message, the Sequence Number in the Peer _ Summary _ Report message =0, and when the Number of the neighbors of the network device is large and the Summary information of all the neighbors needs to be carried through a plurality of Peer _ Summary _ Report messages, the Sequence Number in each Peer _ Summary _ Report message is increased from 0.
Referring to fig. 8, each Peer Header of the Peer Summary Report packet may include: the system comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field. The RD field may occupy 8 bytes, and the Peer Address field may occupy 16 bytes.
The Timestamp of the Peer Summary Report packet, as shown in fig. 7, includes: a field corresponding to seconds and a field corresponding to microseconds microsecond.
As an example, when a network device has a new neighbor with which to establish a BGP neighbor relationship, the network device may also send summary information for the new neighbor to the controller. For example: as long as the network equipment has a new neighbor and establishes a BGP neighbor relation with the new neighbor, the network equipment can send the summary information of the new neighbor to the controller; another example is: a reporting period may also be preset, and the network device may periodically report the summary information of the new neighbor establishing the BGP neighbor relationship with the network device in the period. It can be understood that the network device may also carry the summary information of the new neighbor in the Peer summary report message, and send the message to the controller.
As can be seen, by executing the method for monitoring routing information corresponding to fig. 5 before step 401, even if the network device is not monitored, the controller can also obtain the neighbor and the neighbor information of the network device, so as to monitor the neighbor of the network device, and provide a data basis for subsequently implementing the method corresponding to fig. 4 and monitoring the routing information of the network device.
it should be noted that, before the network device is not enabled to monitor, the above steps 501 to 503 are executed, that is, the controller receives summary information of all current neighbors on the network device, then the neighbor monitoring conditions in steps 401 and 402 may be neighbor monitoring conditions in the form of a screening condition or neighbor monitoring conditions in the form of a neighbor list.
it can be understood that, through steps 401 to 402, the network device obtains the neighbor monitoring condition, and provides a data basis for implementing flexible and efficient routing information monitoring.
in step 403, the network device determines a target neighbor satisfying the neighbor monitoring condition from the neighbors of the network device according to the neighbor monitoring condition.
in a specific implementation, as an example, when the neighbor monitoring condition received by the network device is a neighbor monitoring condition in the form of a neighbor list, the network device may directly determine the target neighbor. As another example, when the neighbor monitoring condition received by the network device is a neighbor monitoring condition in the form of a screening condition, the network device may analyze the neighbor monitoring condition in the form of the screening condition to determine a target neighbor, for example: the network device may determine a target neighbor satisfying the neighbor monitoring condition in the form of the screening condition from all neighbors based on the neighbor monitoring condition in the form of the screening condition and digest information of all neighbors known to itself.
Step 404, the network device sends the routing information of the target neighbor.
It is understood that the network device may send the routing information of the target neighbor via the BMP.
In step 405, the controller receives the routing information of the target neighbor sent by the network device.
It can be understood that, when all the determined target neighbors are in an on-line state, the network device may send the routing information of all the target neighbors to the controller. When some target neighbors are in an online state in the determined target neighbors, the network device may first send the routing information of the target neighbors in the online state to the controller, and once other target neighbors in an offline state are in an online state, the network device may send the routing information of the target neighbors which are newly in the online state to the controller again.
in some specific implementation manners, when the route of the target neighbor is updated, the embodiment of the present application may further include: the network device sends the updated routing information of the target neighbor to the controller, so that the controller receives the updated routing information of the target neighbor of the network device.
As an example, when the neighbors of a network device change, for example: when the neighbor on the network equipment is added or deleted, the network equipment can send neighbor change information to the controller in real time and inform the controller of the change condition of the neighbor of the network equipment; and when the changed neighbor is the target neighbor of the network equipment, the network equipment can also autonomously send the summary information after the change of the target neighbor and the route information after the update of the target neighbor to the controller, so that the real-time monitoring of the target neighbor condition of the network equipment can be realized, the problem that the network operation and maintenance are influenced due to the poor timeliness of the route information monitoring is avoided, and the reliability of the network is improved.
It can be seen that, with the routing information monitoring method provided by the embodiment of the present application, after the network device acquires the neighbor monitoring condition, the network device can flexibly select the target neighbor that meets the neighbor monitoring condition according to the neighbor monitoring condition, thereby solving the problem that the network device sends all the routing information of all the neighbors to the controller without screening, and the routing information of some of the neighbors does not need to be concerned at all, which results in the monitoring waste of the routing information, and improving the flexibility of monitoring the routing information of the network device.
It should be noted that, an embodiment of the present application further provides a route monitoring method, where before monitoring is not enabled for a network device, the network device autonomously sends summary information of all neighbors that have established a BGP neighbor relationship with the network device at a current time, where the summary information at least includes: the IP address of the internet protocol of each neighbor, the route identification RD and the serial Number AS Number of the autonomous system. Referring to fig. 9, this embodiment may specifically include:
In step 901, the network device and the controller establish a BGP session.
step 902, the network device sends the summary information of all neighbors, the summary information includes the internet protocol IP address, the route identification RD and the autonomous system serial Number AS Number of each neighbor; all the neighbors are neighbors which have established BGP neighbor relation with the network equipment at the current moment.
As an example, between step 901 and step 902, the present embodiment may further perform: the network device sends an initialization message for notifying the controller of the vendor information and the software version number of the network device.
in specific implementation, the network device may send the Summary information of all the neighbors through a neighbor Summary Report Peer Summary Report extended by a BGP monitoring protocol BMP. Wherein, the Peer Summary Report message includes: the device comprises a message Header, a group of neighbor Header lists and a timestamp. The message header comprises a Peer Number field of the Number of neighbor heads and a Sequence Number field of a message; each Peer Header comprises a neighbor type PeerType field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
it is understood that, in order to ensure the accuracy of the routing information monitoring, the routing information of all neighbors on the network device may be changed with respect to sending the summary information of all neighbors, for example: when the neighbor on the network device is added or deleted, the step 901 is triggered to be executed again, so as to provide an accurate data base for the subsequent network monitoring shown in fig. 4, improve the accuracy of the routing information monitoring, and thus improve the network reliability. Or, a sending period may also be preset, and summary information of all neighbors currently establishing a BGP neighbor relationship with the network device is periodically sent, so that the network device is monitored more accurately and timely, and accuracy of control and management decisions such as sending neighbor monitoring conditions by the controller is improved.
it should be noted that, in the above-mentioned step 901 to step 902, after the network device and the controller establish the BGP monitoring protocol BMP session, the network device may send the summary information of all neighbors, so that the controller may obtain the neighbor and the neighbor information of the network device at the initial stage of establishing the session with the network device, implement the monitoring of the neighbor of the network device, and also provide a data basis for the subsequent monitoring of other possible indexes.
It should be noted that, for a specific implementation manner and an achieved effect of this embodiment, reference may be made to the related description of the corresponding embodiment part of fig. 5 described above.
Therefore, according to the routing information monitoring method provided by the embodiment of the application, the controller can acquire the neighbor and the neighbor information of the network device without enabling the network device, so that the neighbor of the network device is monitored, and a data basis is provided for monitoring the routing information of the network device according to the embodiment provided by the first aspect or the second aspect.
fig. 10 is a schematic structural diagram of a network device according to an embodiment of the present application. The network device 1000 includes: acquisition section 1001, determination section 1002, and transmission section 1003.
the acquiring unit 1001 is configured to acquire a neighbor monitoring condition;
A determining unit 1002, configured to determine, according to the neighbor monitoring condition, a target neighbor satisfying the neighbor monitoring condition in neighbors of the network device;
A sending unit 903, configured to send the routing information of the target neighbor.
in a specific implementation manner, the obtaining unit 1001 may specifically be configured to: a neighbor monitoring condition is received from a controller.
In another specific implementation manner, the obtaining unit 1001 may specifically be configured to: and receiving the configuration information and generating a neighbor monitoring condition based on the configuration information.
Wherein the neighbor monitoring condition includes at least one of the following conditions: the Border Gateway Protocol (BGP) neighbor of a public network in the neighbor of the network device, the BGP neighbor of a private network in the neighbor of the network device, the BGP neighbor of a fourth version Internet protocol (IPv 4) in the neighbor of the network device, the BGP neighbor of a sixth version Internet protocol (IPv 6) in the neighbor of the network device, the BGP neighbor of an Internal Border Gateway Protocol (iBGP) in the neighbor of the network device, the BGP neighbor of an external border gateway protocol (eBGP) in the neighbor of the network device, or the BGP neighbor address of the network device meets a target regular expression.
It will be appreciated that the neighbor monitoring condition is implemented in particular by dynamic programming.
In another specific implementation manner, the network device 1000 further includes: and establishing a session unit. The session establishing unit is used for establishing a BGP monitoring protocol BMP session with the controller; then, the sending unit 1003 is further configured to send, after establishing a BMP session with the controller, digest information of all neighbors, where the digest information at least includes an internet protocol IP address, a routing identifier RD, and an autonomous system serial Number AS Number of each neighbor, and all the neighbors are neighbors that have established a BGP neighbor relationship with the network device at the current time.
In another specific implementation manner, the sending unit 1003 is specifically configured to: after a BMP conversation is established with the controller, the Summary information of all neighbors is sent through a neighbor Summary Report Peer Summary Report message expanded by the BMP. Wherein, the Peer Summary Report message includes: a message Header, a group of neighbor Header lists and a timestamp; the message Header comprises a neighbor Header Number field and a message Sequence Number field; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor identification Peer BGP ID field.
In another specific implementation manner, the sending unit 1003 is specifically configured to: and sending the routing information of the target neighbor through the BMP.
in another specific implementation manner, the sending unit 1003 is further configured to send updated routing information of the target neighbor when the route of the target neighbor is updated.
In another specific implementation manner, the sending unit 1003 is specifically configured to: sending routing information of a first target neighbor in an online state in a target neighbor; then, the sending unit 1003 is further configured to send the routing information of the second target neighbor when the second target neighbor in the target neighbor that is in the offline state is online.
it should be noted that, for various possible implementation manners and achieved technical effects of the network device 1000, reference may be made to the description in the foregoing method corresponding to the embodiment shown in fig. 4.
Fig. 11 is a schematic structural diagram of a controller according to an embodiment of the present application. The controller 1100 includes: a transmitting unit 1101 and a receiving unit 1102.
the sending unit 1101 is configured to send a neighbor monitoring condition to the network device, where the neighbor monitoring condition is used to instruct the network device to determine, according to the neighbor monitoring condition, a target neighbor that meets the neighbor monitoring condition in neighbors of the network device;
A receiving unit 1102, configured to receive the routing information of the target neighbor sent by the network device.
In one specific implementation, the neighbor monitoring condition includes at least one of the following conditions: the Border Gateway Protocol (BGP) neighbor of a public network in the neighbor of the network device, the BGP neighbor of a private network in the neighbor of the network device, the BGP neighbor of a fourth version Internet protocol (IPv 4) in the neighbor of the network device, the BGP neighbor of a sixth version Internet protocol (IPv 6) in the neighbor of the network device, the BGP neighbor of an Internal Border Gateway Protocol (iBGP) in the neighbor of the network device, the BGP neighbor of an external border gateway protocol (eBGP) in the neighbor of the network device, or the BGP neighbor address of the network device meets a target regular expression.
In another specific implementation, the controller 1100 further includes: and establishing a session unit. The session establishing unit is used for establishing a BGP monitoring protocol BMP session with the network equipment; at this time, the receiving unit 1102 is further configured to receive, when a BMP session is established with the network device, summary information of all neighbors of the network device, where the summary information includes an internet protocol IP address, a routing identifier RD, and an autonomous system serial Number AS Number of each neighbor, and all the neighbors are neighbors that have established a BGP neighbor relationship with the network device at the current time. As an example, the receiving unit is specifically configured to: when a BMP session is established with a network device, a neighbor Summary Report message sent by the network device is received, wherein the neighbor Summary Report message is a message expanded by the BMP and carries Summary information of all neighbors of the network device. Wherein, the Peer Summary Report message includes: a message Header, a group of neighbor Header lists and a timestamp; the message header comprises a neighbor header Number field and a message Sequence Number field; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor identification Peer BGP ID field.
in this implementation, as an example, the controller 1100 further includes: a determination unit. The determining unit is used for determining the neighbor monitoring condition according to the abstract information; the neighbor monitoring condition is used for indicating a target neighbor of the routing information to be sent.
In yet another specific implementation, the neighbor monitoring condition is specifically implemented by dynamic programming.
In another specific implementation manner, the receiving unit 1102 is specifically configured to: and receiving the routing information of the target neighbor through the BMP.
In yet another specific implementation manner, the receiving unit 1102 is further configured to receive updated routing information of a target neighbor of the network device.
In another specific implementation manner, the receiving unit 1102 is specifically configured to: receiving routing information of a first target neighbor in an online state in a target neighbor; then, the receiving unit 1102 is further configured to receive the routing information of the second target neighbor when the second target neighbor in the target neighbor that is in the offline state is online.
It should be noted that, for various possible implementations of the controller 1100 and the achieved technical effects, reference may be made to the description of the method provided in the embodiment shown in fig. 4.
Fig. 12 is a schematic structural diagram of another network device according to an embodiment of the present application. The network device 1200 includes: a session establishing unit 1201 and a sending unit 1202.
The session establishing unit 1201 is configured to establish a BGP session with the controller;
A sending unit 1202, configured to send summary information of all neighbors, where the summary information includes an internet protocol IP address, a routing identifier RD, and an autonomous system serial Number AS Number of each neighbor; all the neighbors are neighbors which establish BGP neighbor relation with the network equipment at the current moment.
in a specific implementation manner, the sending unit 1202 is further configured to: and when the network equipment has a new neighbor establishing a BGP neighbor relation, sending summary information of the new neighbor.
In another specific implementation manner, the sending unit 1202 is specifically configured to: and sending a neighbor Summary Report, wherein the Peer Summary Report is a Report extended by a BMP and carries Summary information of all neighbors of the network equipment. Wherein, the Peer Summary Report message includes: a message header, a group of neighbor header lists and a timestamp; the message Header comprises a neighbor Header Number field and a message Sequence Number field; each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification PeerFlags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
it should be noted that, for various possible implementations of the network device 1200 and the achieved technical effects, reference may be made to the descriptions in the methods provided by the embodiments shown in fig. 5 or fig. 9.
In addition, an embodiment of the present application further provides a network device, as shown in fig. 13, where the network device 1300 includes: a processor 1301, a memory 1302, and a transceiver 1303, where the memory 1302 stores at least one instruction, the processor 1301 is configured to load the instruction, and control the transceiver 1303 to execute, for example, a receiving operation in step 402, a sending operation in step 404, a sending operation in step 902, and the like in the routing information monitoring method in any one of the embodiments corresponding to fig. 4 or fig. 9, and the processor 1301 is further configured to load the instruction and execute other operations, for example, a determining operation in step 403, in the routing information monitoring method in any one of the embodiments corresponding to fig. 4 or fig. 9, besides the sending and receiving operations.
Illustratively, the processor 1301 of the network device 1300 is configured to load the instructions and perform the following steps: the network equipment acquires neighbor monitoring conditions; the network equipment determines a target neighbor meeting the neighbor monitoring condition in the neighbor of the network equipment according to the neighbor monitoring condition; the processor 1301 is further configured to load the instruction, and control the transceiver 1303 to perform the following steps: the network device sends the routing information of the target neighbor.
Illustratively, the processor 1301 of the network device 1300 is configured to load the instructions and perform the following steps: the network equipment and the controller establish a Border Gateway Protocol (BGP) monitoring protocol (BMP) session; the processor 1301 is further configured to load the instruction, and control the transceiver 1303 to perform the following steps: the network equipment sends the summary information of all neighbors, wherein the summary information comprises the Internet protocol IP address, the routing identification RD and the autonomous system serial Number AS Number of each neighbor; wherein, the all neighbors are the neighbors which have established BGP neighbor relation with the network device at the current moment.
in addition, an embodiment of the present application further provides a controller, as shown in fig. 14, where the controller 1400 includes: a processor 1401, a memory 1402, and a transceiver 1403, where the memory 1402 stores at least one instruction, the processor 1401 is configured to load the instruction, and control the transceiver 1403 to perform a sending operation, such as a sending operation of step 401, a receiving operation of step 405, and a receiving operation of step 902, in the routing information monitoring method according to any one of the embodiments corresponding to fig. 4 or fig. 9, and the processor 1401 is further configured to load the instruction and perform the routing information monitoring method according to any one of the embodiments corresponding to fig. 9, for example: the establish session of step 901 operates.
Illustratively, the processor 1401 in the controller 1400 is configured to load the instructions and control the transceiver 1303 to perform the following steps: the controller sends a neighbor monitoring condition to the network equipment, wherein the neighbor monitoring condition is used for indicating the network equipment to determine a target neighbor meeting the neighbor monitoring condition in the neighbors of the network equipment according to the neighbor monitoring condition; the controller receives the routing information of the target neighbor sent by the network device.
in addition, an embodiment of the present application further provides a routing information monitoring system, as shown in fig. 15, where the system 1500 includes: a network device 1501 and a controller 1502, where the network device 1501 is configured to execute a routing information monitoring method in any one of the implementations of fig. 4, fig. 5, and fig. 9; the controller 1502 is configured to execute the routing information monitoring method in any one of the implementations of fig. 4, fig. 5, and fig. 9.
in addition, an embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute the routing information monitoring method in any one implementation manner of the foregoing fig. 4, fig. 5, and fig. 9.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the routing information monitoring method in any one implementation manner of fig. 4, 5, and 9.
The first in the names of the first target neighbor and the like mentioned in the embodiments of the present application is only used for name identification, and does not represent the first in sequence. The same applies to "second" etc.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a read-only memory (ROM)/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the apparatus embodiments and system embodiments are substantially similar to the method embodiments and are therefore described in a relatively simple manner, where relevant, reference may be made to some descriptions of the method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the modules described as separate parts may or may not be physically separate, and the parts shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only an exemplary embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (26)

1. A method for monitoring routing information is characterized by comprising the following steps:
The controller and the network equipment establish a BGP monitoring protocol BMP session;
The controller receives summary information of all neighbors sent by the network equipment, wherein the summary information comprises an Internet Protocol (IP) address, a routing identifier (RD) and an autonomous system serial Number (AS) Number of each neighbor, and all the neighbors are neighbors which establish a BGP neighbor relationship with the network equipment at the current moment;
the controller determines a neighbor monitoring condition according to the summary information, wherein the neighbor monitoring condition is used for indicating a target neighbor of routing information to be sent;
The controller sends the neighbor monitoring condition to the network equipment, wherein the neighbor monitoring condition is used for instructing the network equipment to determine the target neighbor meeting the neighbor monitoring condition in the neighbors of the network equipment according to the neighbor monitoring condition;
And the controller receives the routing information of the target neighbor sent by the network equipment.
2. the method of claim 1, wherein the neighbor monitoring condition comprises at least one of: the Border Gateway Protocol (BGP) neighbor of a public network in the neighbor of the network equipment, the BGP neighbor of a private network in the neighbor of the network equipment, the BGP neighbor of a fourth version internet protocol (IPv 4) in the neighbor of the network equipment, the BGP neighbor of a sixth version internet protocol (IPv 6) in the neighbor of the network equipment, the BGP neighbor of an Internal Border Gateway Protocol (iBGP) in the neighbor of the network equipment, the BGP neighbor of an external border gateway protocol (eBGP) in the neighbor of the network equipment, or the BGP neighbor address of the network equipment meets a target regular expression.
3. The method according to claim 1, wherein the controller receives summary information of all neighbors sent by the network device, specifically:
and the controller receives a neighbor Summary Report message sent by the network equipment, wherein the neighbor Summary Report message is a message expanded by a BMP and carries Summary information of all neighbors of the network equipment.
4. The method according to claim 3, wherein the Peer Summary Report message includes: a message Header, a group of neighbor Header lists and a timestamp;
The message Header comprises a neighbor Header Number field and a message Sequence Number field;
each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
5. the method according to claim 1, characterized in that the neighbor monitoring condition is implemented in particular by dynamic programming.
6. the method according to claim 1, wherein the controller receives the routing information of the target neighbor sent by the network device, specifically:
And the controller receives the routing information of the target neighbor sent by the network equipment through the BMP.
7. The method of claim 1, wherein if the route of the target neighbor is updated, the method further comprises:
and the controller receives the updated routing information of the target neighbor sent by the network equipment.
8. The method according to claim 1, wherein the controller receives the routing information of the target neighbor sent by the network device, specifically: the controller receives the routing information of a first target neighbor which is in an on-line state in the target neighbors;
The method further comprises the following steps:
and when a second target neighbor in an off-line state among the target neighbors is on line, the controller receives the routing information of the second target neighbor.
9. a method for monitoring routing information is characterized by comprising the following steps:
the network equipment and the controller establish a Border Gateway Protocol (BGP) monitoring protocol (BMP) session;
The network equipment sends the summary information of all neighbors to the controller so that the controller determines neighbor monitoring conditions according to the summary information, the neighbor monitoring conditions are used for indicating target neighbors of routing information to be sent, and the summary information comprises Internet Protocol (IP) addresses, routing identifiers (RD) and autonomous system serial Number (AS) numbers of all the neighbors; all the neighbors are neighbors which establish BGP neighbor relations with the network equipment at the current moment;
The network equipment receives the neighbor monitoring condition;
the network equipment determines the target neighbor meeting the neighbor monitoring condition in the neighbors of the network equipment according to the neighbor monitoring condition;
And the network equipment sends the routing information of the target neighbor to the controller.
10. The method of claim 9, further comprising:
and when the network equipment has a new neighbor establishing a BGP neighbor relation with the network equipment, the network equipment sends the summary information of the new neighbor.
11. The method according to claim 9, wherein the network device sends summary information of all neighbors, specifically:
The network equipment sends a neighbor Summary Report message, wherein the neighbor Summary Report message is a message expanded by a BMP and carries Summary information of all neighbors of the network equipment.
12. The method according to claim 11, wherein the Peer Summary Report message includes: a message Header, a group of neighbor Header lists and a timestamp;
The message Header comprises a neighbor Header Number field and a message Sequence Number field;
each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
13. a controller, comprising:
A session establishing unit, configured to establish a BGP monitoring protocol BMP session with a network device;
A receiving unit, configured to receive summary information of all neighbors of the network device, where the summary information includes an internet protocol IP address, a routing identifier RD, and an autonomous system serial Number AS Number of each neighbor, and all the neighbors are neighbors that have established a BGP neighbor relationship with the network device at the current time;
a determining unit, configured to determine a neighbor monitoring condition according to the summary information, where the neighbor monitoring condition is used to indicate a target neighbor of routing information to be sent;
A sending unit, configured to send the neighbor monitoring condition to the network device, where the neighbor monitoring condition is used to instruct the network device to determine, according to the neighbor monitoring condition, the target neighbor that satisfies the neighbor monitoring condition among the neighbors of the network device;
The receiving unit is further configured to receive the routing information of the target neighbor sent by the network device.
14. The controller of claim 13, wherein the neighbor monitoring condition comprises at least one of: the Border Gateway Protocol (BGP) neighbor of a public network in the neighbor of the network equipment, the BGP neighbor of a private network in the neighbor of the network equipment, the BGP neighbor of a fourth version internet protocol (IPv 4) in the neighbor of the network equipment, the BGP neighbor of a sixth version internet protocol (IPv 6) in the neighbor of the network equipment, the BGP neighbor of an Internal Border Gateway Protocol (iBGP) in the neighbor of the network equipment, the BGP neighbor of an external border gateway protocol (eBGP) in the neighbor of the network equipment, or the BGP neighbor address of the network equipment meets a target regular expression.
15. The controller according to claim 14, wherein the receiving unit is specifically configured to: and after establishing the BMP session with the network equipment, receiving a neighbor Summary Report message sent by the network equipment, wherein the neighbor Summary Report message is a message expanded by the BMP and carries Summary information of all neighbors of the network equipment.
16. The controller according to claim 15, wherein the Peer Summary Report packet includes: a message Header, a group of neighbor Header lists and a timestamp;
The message Header comprises a neighbor Header Number field and a message Sequence Number field;
Each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
17. Controller according to claim 13, characterized in that the neighbor monitoring condition is implemented in particular by dynamic programming.
18. The controller according to claim 13, wherein the receiving unit is specifically configured to: and receiving the routing information of the target neighbor through the BMP.
19. The controller according to claim 13, wherein the receiving unit is further configured to receive, when the route of the target neighbor is updated, the route information that is sent by the network device after the update of the target neighbor.
20. The controller according to claim 13, wherein the receiving unit is specifically configured to: receiving routing information of a first target neighbor in an online state in the target neighbors;
The receiving unit is further configured to receive, when a second target neighbor in an offline state among the target neighbors gets online, routing information of the second target neighbor.
21. a network device, comprising:
A session establishing unit, configured to establish a BGP session with a controller;
The device comprises a sending unit, a neighbor monitoring unit and a routing unit, wherein the sending unit is used for sending summary information of all neighbors to the controller so that the controller determines neighbor monitoring conditions according to the summary information, the neighbor monitoring conditions are used for indicating target neighbors of routing information to be sent, and the summary information comprises Internet Protocol (IP) addresses, routing identifiers (RD) and autonomous system serial numbers (AS) of all the neighbors; all the neighbors are neighbors which establish BGP neighbor relations with the network equipment at the current moment;
a receiving unit, configured to receive the neighbor monitoring condition;
A determining unit, configured to determine, according to the neighbor monitoring condition, the target neighbor satisfying the neighbor monitoring condition among the neighbors of the network device;
The sending unit is further configured to send the routing information of the target neighbor to the controller.
22. The network device of claim 21, wherein the sending unit is further configured to: and when the network equipment has a new neighbor establishing a BGP neighbor relation with the network equipment, sending summary information of the new neighbor.
23. The network device according to claim 21, wherein the sending unit is specifically configured to: and sending a neighbor Summary Report (Peer Summary Report) message, wherein the Peer Summary Report message is a message expanded by a BMP and carries Summary information of all neighbors of the network equipment.
24. the network device of claim 23, wherein the Peer Summary Report packet comprises: a message Header, a group of neighbor Header lists and a timestamp;
The message Header comprises a neighbor Header Number field and a message Sequence Number field;
Each Peer Header comprises a neighbor Type Peer Type field, a neighbor identification Peer Flags field, an RD field, a Local AS field of the Local autonomous system, a neighbor Address PeerAddress field, a neighbor autonomous system Peer AS field and a neighbor BGP identification Peer BGP ID field.
25. A routing information monitoring system, comprising: a network device and a controller, wherein the controller is connected with the network device,
Wherein, the network device is configured to execute the routing information monitoring method according to any one of the above claims 9 to 12;
The controller is configured to perform the routing information monitoring method according to any one of claims 1 to 8.
26. A computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the routing information monitoring method of any one of the preceding claims 1 to 12.
CN201910691270.4A 2019-07-29 2019-07-29 Routing information monitoring method and device Active CN110191059B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910691270.4A CN110191059B (en) 2019-07-29 2019-07-29 Routing information monitoring method and device
PCT/CN2020/105297 WO2021018155A1 (en) 2019-07-29 2020-07-28 Routing information monitoring method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910691270.4A CN110191059B (en) 2019-07-29 2019-07-29 Routing information monitoring method and device

Publications (2)

Publication Number Publication Date
CN110191059A CN110191059A (en) 2019-08-30
CN110191059B true CN110191059B (en) 2019-12-13

Family

ID=67725875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910691270.4A Active CN110191059B (en) 2019-07-29 2019-07-29 Routing information monitoring method and device

Country Status (2)

Country Link
CN (1) CN110191059B (en)
WO (1) WO2021018155A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191059B (en) * 2019-07-29 2019-12-13 华为技术有限公司 Routing information monitoring method and device
CN112822103B (en) * 2019-11-15 2022-09-23 华为技术有限公司 Information reporting method, information processing method and equipment
CN113132227A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Method, device, computer equipment and storage medium for updating routing information
CN113572685B (en) * 2020-04-29 2023-03-10 华为技术有限公司 Information reporting method, information processing method, device and equipment
CN116016315A (en) * 2020-05-25 2023-04-25 华为技术有限公司 Route management method, device and system
CN112671654B (en) * 2020-12-28 2022-09-27 北京东土军悦科技有限公司 Routing information updating method, device, equipment and medium and OSPF network
CN114244734B (en) * 2021-11-19 2024-02-09 新华三技术有限公司合肥分公司 Message sending method and device
CN116437158B (en) * 2023-06-13 2023-09-01 浙江大华技术股份有限公司 Video transmission method, video transmission device, and computer-readable storage medium
CN116760830B (en) * 2023-08-14 2024-03-01 腾讯科技(深圳)有限公司 Method and device for processing routing information, computer readable medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581013A (en) * 2012-07-25 2014-02-12 杭州华三通信技术有限公司 Method and device for achieving non-stop routing of routing protocol
CN105281942B (en) * 2014-07-23 2018-10-30 华为技术有限公司 A kind of network equipment and method sending bgp information

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100413290C (en) * 2005-11-11 2008-08-20 清华大学 Method for setting up notification function for route selection according to border gateway protocol
JP4249210B2 (en) * 2006-08-24 2009-04-02 日本電信電話株式会社 Route number monitoring device, route number monitoring method, and route number monitoring program
CN101056270B (en) * 2007-05-18 2010-10-06 华为技术有限公司 A route convergence method and routing device
CN101076029B (en) * 2007-07-12 2011-05-11 中兴通讯股份有限公司 Method for updating boundary gate protocol recursion router
CN102137002B (en) * 2010-12-01 2013-10-09 华为技术有限公司 Load sharing method and device for border gateway protocol (BGP)
CN106487709A (en) * 2015-08-28 2017-03-08 中兴通讯股份有限公司 A kind of file transmitting method and system
CN106161256B (en) * 2016-07-26 2019-08-23 新华三技术有限公司 A kind of processing method and processing device of Border Gateway Protocol (BGP) routing
WO2018109536A1 (en) * 2016-12-17 2018-06-21 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for monitoring virtual extensible local area network (vxlan) tunnel with border gateway protocol (bgp)-ethernet virtual private network (evpn) infrastructure
CN110191059B (en) * 2019-07-29 2019-12-13 华为技术有限公司 Routing information monitoring method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581013A (en) * 2012-07-25 2014-02-12 杭州华三通信技术有限公司 Method and device for achieving non-stop routing of routing protocol
CN105281942B (en) * 2014-07-23 2018-10-30 华为技术有限公司 A kind of network equipment and method sending bgp information

Also Published As

Publication number Publication date
WO2021018155A1 (en) 2021-02-04
CN110191059A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN110191059B (en) Routing information monitoring method and device
CN107438016B (en) Network management method, device, system and storage medium
US8797912B2 (en) Integration apparatus, communication network and method for integrating a network node into a communication network
JP5441719B2 (en) Wireless terminal operation tracking command
CN110730111A (en) Network quality monitoring method, device, server and medium
CN109842507B (en) Network slice management method and equipment
CN112512059A (en) Network optimization method, server, network side equipment, system and storage medium
EP4099631A1 (en) Method for configuring performance test indication information, and related device
CN113114509B (en) Method and equipment for message forwarding simulation in SDN network environment
JP5368473B2 (en) Automatic configuration of Internet Protocol service quality assurance router
EP2279589B1 (en) Methods and apparatus for advertising a route for transmitting data packets
US11245615B2 (en) Method for determining link state, and device
US9391842B2 (en) Self-configuring transport network
CN107645394B (en) Switch configuration method in SDN network
US8514725B2 (en) Operating network entities in a communications system
CN105357180A (en) Network system, attack message intercepting method, attack message intercepting apparatus, and device
CN114500376B (en) Method, system, server and storage medium for accessing cloud resource pool
CN113132227A (en) Method, device, computer equipment and storage medium for updating routing information
CN104247480A (en) Communication apparatus, communication method, communication system, control apparatus and program
CN117061357A (en) Network topology management method and system based on virtual private network
KR102273390B1 (en) Method and Apparatus for Integrating Network Function
CN114143372A (en) End network control method and system based on converged network splitter
CN101764737B (en) Route aging method, device and router based on border gateway protocol
EP4213457A1 (en) Determining an organizational level network topology
CN113726916B (en) Method for configuring IP address of network equipment and related equipment

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