WO2018121284A1 - 一种处理路由的方法及网络设备 - Google Patents

一种处理路由的方法及网络设备 Download PDF

Info

Publication number
WO2018121284A1
WO2018121284A1 PCT/CN2017/116223 CN2017116223W WO2018121284A1 WO 2018121284 A1 WO2018121284 A1 WO 2018121284A1 CN 2017116223 W CN2017116223 W CN 2017116223W WO 2018121284 A1 WO2018121284 A1 WO 2018121284A1
Authority
WO
WIPO (PCT)
Prior art keywords
bmp
network device
server
message
route
Prior art date
Application number
PCT/CN2017/116223
Other languages
English (en)
French (fr)
Inventor
赵志远
王晓畅
王海波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018121284A1 publication Critical patent/WO2018121284A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • 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/033Topology update or discovery by updating distance vector protocols

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method for processing a route and a network device.
  • the BGP Monitoring Protocol (BMP) server can monitor the BGP running status of the devices in the network in real time.
  • the BGP running status includes the establishment and cancellation of the peer relationship.
  • the network device periodically sends BGP routes stored by the network device to the BMP server.
  • the BMP server can also monitor the BGP routing information of the network device.
  • the BMP server cannot process the BGP route stored in the BMP server in time, resulting in waste of storage resources of the BMP server.
  • the embodiment of the present application provides a method for processing a route.
  • an embodiment of the present application provides a method for routing processing, where the method includes:
  • the BMP server establishes a BMP session with the network device.
  • the BMP server receives and stores the BGP routing information sent by the network device by using the BMP session.
  • the BMP server starts a timer, where the duration of the timer is greater than a time interval of the BMP message sent by the network device to the BMP server periodically through the BMP session, the time The interval is a time difference between two adjacent BMP messages sent by the network device to the BMP server, where the BMP message includes BGP routing information that is sent by the network device to the BMP server.
  • the BMP server deletes the BGP routing information that is received by the BMP server and receives the BGP routing information from the network device, and the duration from the start of the timer to the timer timeout is equal to the duration.
  • the BMP server starts the timer, and sets the timer duration to be longer than the interval at which the network device sends the BMP message to the BMP server periodically through the BMP session. After the timer expires, the network stored by the BMP server is deleted. BGP routing information of the device, that is, when the BMP server does not periodically receive the BMP message sent by the network device, the BGP routing information of the network device is deleted, so that the BMP server can always store the BGP routing information of the network device. A technical problem that causes waste of storage resources of the BMP server.
  • the BMP server can delete the BGP route of the network device in time, and the BMP server can update the network topology in time, so that the forwarding path can be accurately updated and the packets are forwarded normally.
  • the method further includes:
  • the timer is restarted when the BMP server receives the BMP message. After the timer has not expired, the BMP message is sent from the network device, and the BMP server resets the timer, which is equivalent to restarting the timer, and restarts the timer to ensure that the BMP server can periodically receive the network device to send. In the case of a BMP message, the timer does not time out, and the BMP server does not delete the BGP routing information of the network device. This ensures that the BGP of the network device is properly monitored when the BMP server can periodically receive BMP messages sent by the network device. Routing information.
  • the BMP message is a BMP Route Monitoring message.
  • the method further includes:
  • the BMP server receives the network device sent by the network device to disable a BMP capability message. After receiving the BMP capability message, the BMP server cancels the BGP route monitoring of the network device. The network device disables the BMP capability, which means that the network device no longer needs the BMP server to monitor the BGP routes of the network device. After the BMP server receives the BMP capability message of the network device, the BGP route monitoring of the network device is cancelled, that is, the BMP server deletes the BGP routing information received from the network device, which can save the storage resource of the BMP server. In addition, the BMP server can delete the BGP route of the network device in time, and the BMP server can update the network topology in time, so that the forwarding path can be accurately updated and the packets are forwarded normally.
  • the embodiment of the present application provides a method for processing a route, where the method includes:
  • the network device establishes a BMP session with the BMP server.
  • the network device sets a route identifier for the route into the private network routing table of the network device.
  • the network device traverses the private network routing table, and adds the route with the identifier set to the first BMP message.
  • the network device sends the first BMP message to the BMP server by using the BMP session to trigger the BMP server to monitor a route in the BMP message.
  • the network device By setting a special identifier for the route imported into the private network routing table, when the network device sends a BGP route to the BMP server, the network device also sends a route with a special identifier to the BMP server, so that the BMP server can implement the introduction of the private packet.
  • the routes in the network routing table are monitored. Thereby implementing the BMP server and accurately monitoring the BGP routes of the network device.
  • the routing introduced into the private network routing table of the network device includes:
  • CE Customer Edge
  • PE Provider Edge
  • the method further includes:
  • the second BMP message is sent to the BMP server, where the second BMP message includes indication information that the network device has disabled BMP capability to trigger the BMP server. And deleting BGP routing information sent by the network device that is stored by the BMP server.
  • the embodiment of the present application provides a method for processing a route, including:
  • the BMP message is generated, where the BMP message includes indication information that the network device has disabled BMP capability;
  • the network device sends the BMP message to the BMP server to trigger the BMP server to delete the BGP routing information received by the BMP server and received from the network device.
  • the network device disables the BMP capability, which means that the network device no longer needs the BMP server to the network device.
  • BGP routes are monitored.
  • the network device actively informs the BMP server that the network device has been disabled to enable BMP.
  • the BMP server cancels the BGP route monitoring of the network device, that is, the BMP server deletes the network device.
  • the BGP routing information that is obtained, which can save the storage resources of the BMP server.
  • the embodiment of the present application provides a BMP server, where the BMP server includes:
  • a unit is established for establishing a BMP session with a network device.
  • a receiving unit configured to receive, by using the BMP session established by the establishing unit, BGP routing information sent by the network device.
  • a storage unit configured to store BGP routing information accepted by the receiving unit.
  • a timer unit configured to start a timer in response to receiving the BGP routing information, where the duration of the timer is greater than a time interval of the BMP message sent by the network device to the BMP server periodically through the BMP session.
  • the time interval is a time difference between two adjacent BMP messages sent by the network device to the BMP server, and the BMP message includes BGP routing information that is sent by the network device to the BMP server.
  • the processing unit is configured to delete the BGP routing information stored by the BMP server after the timer expires, and the duration from the start of the timer to the timer timeout is equal to the duration.
  • the processing unit is further configured to restart the timer when receiving the BMP message.
  • the receiving unit is further configured to receive, by the network device, the network device to enable a BMP capability message.
  • the processing unit is further configured to cancel BGP route monitoring on the network device after the receiving unit receives the BMP capability message from the network device.
  • the embodiment of the present application provides a network device, where the network device includes:
  • a unit is established for establishing a BMP session with the BMP server.
  • a setting unit configured to set a route identifier in a private network routing table introduced to the network device.
  • the processing unit is configured to: when generating the first BMP message, traverse the private network routing table, and add the route with the identifier set to the first BMP message.
  • a sending unit configured to send the first BMP message to the BMP server by using the BMP session, to trigger the BMP server to monitor a route in the BMP message.
  • the sending unit is further configured to: when the network device disables the BMP capability, send a second BMP message to the BMP server, to trigger the BMP server to cancel the network. Monitoring of BGP routes of the device.
  • the embodiment of the present application provides a network device, where the network device includes:
  • the generating unit is configured to generate a BMP message when the BMP capability is disabled, where the BMP message includes indication information that the network device has disabled the BMP capability.
  • a sending unit configured to send the BMP message to the BMP server, to trigger the BMP server to delete the BGP routing information that is received by the BMP server and received from the network device.
  • the embodiment of the present application provides a system for routing processing, where the system includes: a BMP server and a network device, where
  • the network device is configured to establish a BMP session with the BMP server, and set a route identifier to a route that is imported into the private network routing table of the network device, and traverse the private network routing table when generating the first BMP message. Adding the route with the identifier set to the first BMP message, and sending the first BMP message to the BMP server through the BMP session.
  • the BMP server is configured to receive the network device to send The first BMP message stores routing information in the first BMP message, and monitors the stored routing information.
  • the network device is further configured to: when the network device disables the BMP capability, send a second BMP message to the BMP server, where the second BMP message includes the network device Instructions for enabling BMP capabilities have been disabled.
  • the BMP server is further configured to receive the second BMP message, and after deleting, according to the indication information, that the second BMP message includes that the network device has disabled BMP capability, deleting the BMP server BGP routing information sent by the network device.
  • an embodiment of the present application provides a BMP server, where the BMP server network device includes a processor and a memory, where the program instruction and data are stored, and the processor is configured to invoke a program instruction in the memory to execute the method of the first aspect. The corresponding function.
  • the embodiment of the present application provides a network device, where the network device includes a processor and a memory, where the program instruction and data are stored in the memory, and the processor is configured to invoke the program instruction in the memory to perform the second aspect or the third aspect. The corresponding steps in the method.
  • a computer readable storage medium for storing computer software instructions for use in the above BMP server or network device, comprising a program designed to perform the above aspects, is provided.
  • FIG. 1 is a schematic diagram of an application scenario of a method for processing a route according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for processing a route according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of another method for processing a route according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart diagram of another method for processing a route according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a BMP server according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another BMP server according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of a system for processing a route according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram of an application scenario of a method for processing a route according to an embodiment of the present disclosure.
  • the network scenario includes a BMP server 101, a network device 102, a network device 103, a network device 104, and a network device 105.
  • Network device 102 and network device 103 are backbone edge (PE) devices in the backbone network and support BMPs, respectively.
  • the network device 104 and the network device 105 are User Edge (CE) devices connected through a backbone network, and BMP is not supported.
  • CE User Edge
  • a second BMP session is established between the BMP server 101 and the network device 103.
  • a BGP neighbor is established between the network device 102 and the network device 103.
  • the network device 102 sends a BGP route to the network device 103 through BGP, and stores the sent BGP route in the RIB sent by the neighbor of the network device 102 (Adjacency-routing information base- Output, Adj-RIB-Out).
  • the network device 103 stores the BGP route received from the network device 102 in an ARB (Adjacency-routing information base-input, Adj-RIB-In) received by the neighbor of the network device 103.
  • the network device 102 transmits the BGP route in the network device 102 to the BMP server 101 through the first BMP session through the first session, and the BMP server 101 monitors the BGP routing information received from the network device 102.
  • the network device 103 transmits the BGP route in the network device 103 to the BMP server 101 through the second BMP session through the second session, and the BMP server 101 monitors the BGP routing information received from the network device 103.
  • a connection failure occurs between the network device 102 or the network device 103 and the BMP server 101, for example, the first BMP session or the second BMP session is disconnected, at this time, the BMP server 101 transmits the stored network device 102 and the network device 103. BGP routes will not be properly monitored and processed.
  • the network device 102 or the network device 103 can no longer send a BMP message to the BMP service.
  • the BMP server 101 pairs the stored network device 102 and the network device.
  • the BGP routes sent by the 103 will not be properly monitored and processed. In the above case, the storage resources of the BMP server 101 are wasted.
  • the embodiment of the present application can be applied to an open flow network architecture with separate control and forwarding.
  • the control and forwarding separation separates the forwarding plane and the control plane of the network device and deploys them on two different devices. The two work together to complete the data in the network. Forwarding of the message.
  • a device of the corresponding control plane called a control device or a controller, is deployed on a separate device independent of the forwarding plane.
  • the device corresponding to the forwarding plane is called a forwarding device or a repeater.
  • the repeater has the ability to communicate with the controller.
  • the repeater can communicate with the controller through the control channel.
  • the BMP server 101 in FIG. 1 may be a controller in a control forwarding separate network architecture, and the network device 102, the network device 103, the network device 104, and the network device 105 may be forwarders in a control forwarding separate network architecture.
  • the embodiment of the present application provides a method for processing a route, where the method includes:
  • the BMP server establishes a BMP session with the network device.
  • the BMP server receives and stores BGP routing information sent by the network device by using the BMP session.
  • the BMP server In response to receiving the BGP routing information, the BMP server starts a timer, where the duration of the timer is greater than a time interval during which the network device sends a BMP message to the BMP server periodically through a BMP session.
  • the time interval is a time difference between two adjacent BMP messages sent by the network device to the BMP server, where the BMP message includes BGP routing information sent by the network device to the BMP server.
  • the BMP server deletes the BGP routing information that is received by the BMP server and receives the BGP routing information from the network device, and the duration from the start of the timer to the timer expires is equal to the duration.
  • the BMP server may be a controller in a control forwarding separate network architecture, and the controller supports BMP, with the function of BMP server.
  • the network device may be a transponder in a control forwarding separate network structure and support BMP.
  • the network device periodically sends a BMP message to the BMP server, and the BGP route of the network device stored by the BMP server is updated. For example, the network device sends a BMP message to the BMP server every 300 seconds. In this case, you can set the timer duration to be greater than 300 seconds, such as 400 seconds. When the timer has not received the BMP message after 400 seconds from the start of the startup, the network device is considered to be disconnected from the BMP server.
  • the BGP routes received from the network device stored on the BMP server can be deleted.
  • the timer is restarted.
  • the BMP server receives the BMP message sent from the network device, and the BMP server resets the timer, which is equivalent to restarting the timer, and restarts the timing to ensure that the BMP server can periodically receive the network device.
  • the timer does not expire, and the BMP server does not delete the BGP routing information of the network device. This ensures that the BGP routing information of the network device is normally monitored in this case.
  • the BMP message is a BMP Route Monitoring message.
  • the BMP Route Monitoring message format can be specifically referred to Request Request Comments (RFC) 7854.
  • the BMP server receives the network device sent by the network device to disable a BMP capability message.
  • the BMP server cancels the BGP route monitoring of the network device.
  • the network device disables the BMP capability, which means that the network device no longer needs the BMP server to monitor the BGP routes of the network device.
  • the BMP server receives the BMP capability message of the network device, the BGP route monitoring of the network device is cancelled, that is, the BMP server deletes the BGP routing information received from the network device, which can save the storage resource of the BMP server.
  • the BMP server can delete the BGP route of the network device in time, and the BMP server can update the network topology in time, so that the forwarding path can be accurately updated and the packets are forwarded normally.
  • the method may further include:
  • the BMP server determines the number of timer timeouts.
  • the foregoing solution may be: when the BMP server determines that the timer timeout number exceeds a specific value, the BMP server deletes the BGP routing information that is received by the BMP server and is received by the network device.
  • the specific value is 1, that is, when the BMP server determines that the timer has expired once, and then determines that the timer expires, the BGP routing information received by the BMP server and received from the network device is deleted.
  • a BMP message may be lost in the process.
  • the BMP server does not need to delete the BGP route of the network device.
  • the BMP server sets a timer, and the timer duration is greater than the interval at which the network device periodically sends a BMP message to the BMP server through the BMP session, and after the timer expires, the BMP server is deleted.
  • the BGP routing information of the network device that is, when the BMP server does not periodically receive the BMP message sent by the network device, the BGP routing information of the network device is deleted, thereby preventing the BMP server from always storing the network device.
  • BGP routing information causing BMP The technical problem of server storage resource waste.
  • the BMP server can delete the BGP route of the network device in time, and the BMP server can update the network topology in time, and can accurately update the forwarding path to implement normal packet forwarding.
  • the embodiment of the present application provides a method for routing processing, where the method includes:
  • the network device establishes a BMP session with the BMP server.
  • the network device sets an identifier for a route that is imported into a private network routing table of the network device.
  • the network device traverses the private network routing table when the first BMP message is generated, and adds the route with the identifier set to the first BMP message.
  • the network device sends the first BMP message to the BMP server by using the BMP session, to trigger the BMP server to monitor routing information in the BMP message.
  • the BGP route sent by the network device to the BMP server can only be the BGP route learned by the neighbor.
  • the BMP server cannot monitor the route imported into the private network routing table.
  • a special identifier is set for the route introduced into the private network routing table.
  • the method further includes:
  • the second BMP message is sent to the BMP server to trigger the BMP server to cancel the monitoring of the BGP route of the network device.
  • the network device disables the BMP capability, which means that the network device no longer needs the BMP server to monitor the BGP routes of the network device.
  • the BMP server receives the BMP capability message of the network device
  • the BGP route monitoring of the network device is cancelled, that is, the BMP server deletes the BGP routing information received from the network device, which can save the storage resource of the BMP server.
  • the BMP server can delete the BGP route of the network device in time, and the BMP server can update the network topology in time, so that the forwarding path can be accurately updated and the packets are forwarded normally.
  • the routing introduced in the private network routing table of the network device includes:
  • the network device 104 belongs to a virtual private network (Virtual Private Network, VPN) A
  • the network device 105 belongs to the VPN B
  • the network device 102 stores the private network routing table for VPN A and the private network routing table for VPN B.
  • the network device 102 needs to receive the network device 104.
  • VPN Virtual Private Network
  • the private network route belonging to VPN A is imported into the routing table of VPN B.
  • a special flag needs to be set for the private network route belonging to VPN A introduced into the VPN B routing table, so that the network device 102 sends the packet to the BMP server.
  • a special flag is also set and the private network route belonging to VPN A is sent to the BMP server. That is to say, through the above scheme, when the cross-references are made between different VPN routes, the BMP server can also monitor the private network routes.
  • monitoring, by the BMP server, the routing information in the BMP message includes the following content:
  • the BMP server obtains attribute information in each BGP route, and the attribute information may include:
  • the priority information of the BGP route can be used to identify the priority of the BGP route when the path is selected or the packet is forwarded. Therefore, the BMP server can perform the forwarding path planning more efficiently according to the priority information.
  • the status information of the BGP route in the Routing Information Base (RIB) can be used to identify the status of the BGP route in the RIB of the network device. If the BGP route is inactive in the RIB, the BGP route is inactive. It cannot be used for routing or to guide message forwarding.
  • the BGP routing information indicates that the BGP route has been delivered to the forwarding information base (FIB) of the network device. If the indication information indicates that the BGP route is not delivered to the FIB, the BGP route cannot be forwarded.
  • FIB forwarding information base
  • the status information of the BGP route delivered to the FIB can be used to identify the status of the BGP route in the FIB. If the BGP route is in the FIB state, the BGP route cannot be used for routing or packet forwarding.
  • the embodiment of the present application provides a method for processing a route, where the method includes:
  • the network device When the network device is configured to enable the BMP capability, generate a BMP message, where the BMP message includes indication information that the network device has disabled the BMP capability.
  • the network device sends the BMP message to the BMP server, to trigger the BMP server to delete the BGP routing information that is received by the BMP server and received from the network device.
  • the second BMP message is sent to the BMP server to trigger the BMP server to cancel the monitoring of the BGP route of the network device.
  • the network device disables the BMP capability, which means that the network device no longer needs the BMP server to monitor the BGP routes of the network device.
  • the BMP server receives the BMP capability message of the network device, the BGP route monitoring of the network device is cancelled, that is, the BMP server deletes the BGP routing information received from the network device, which can save the storage resource of the BMP server.
  • the embodiment of the present application provides a BMP server 500, wherein the BMP server 500 in FIG. 5 can perform the method in the embodiment shown in FIG. 2, and the BMP server 500 can be a figure. 2.
  • the BMP server 500 includes:
  • the establishing unit 501 is configured to establish a BMP session with the network device.
  • the receiving unit 502 is configured to receive, by using the BMP session established by the establishing unit 501, BGP routing information sent by the network device.
  • the storage unit 503 is configured to store BGP routing information accepted by the receiving unit 502.
  • the timer unit 504 is configured to start a timer in response to receiving the BGP routing information, where the duration of the timer is greater than a time interval during which the network device sends a BMP message to the BMP server periodically through the BMP session.
  • the time interval is a time difference between two adjacent BMP messages sent by the network device to the BMP server, where the BMP message includes BGP sent by the network device to the BMP server. Routing information;
  • the processing unit 505 is configured to delete the BGP routing information stored by the BMP server after the timer expires, and the duration from the start of the timer to the timer timeout is equal to the duration.
  • processing unit 505 is further configured to restart the timer when the BMP message is received.
  • the receiving unit 502 is further configured to receive, by the network device, the network device to enable a BMP capability message;
  • the processing unit 505 is further configured to cancel BGP route monitoring on the network device after the receiving unit 502 receives the BMP capability message from the network device.
  • the embodiment of the present application provides a network device 600, wherein the network device 600 in FIG. 6 can perform the method in the embodiment shown in FIG.
  • the network device 600 may be the network device in FIG. 2 or FIG. 3, and the network device 600 includes:
  • the establishing unit 601 is configured to establish a BMP session with the BMP server.
  • the setting unit 602 is configured to set a route identifier in a private network routing table introduced to the network device;
  • the processing unit 603 is configured to: when generating the first BMP message, traverse the private network routing table, and add the route with the identifier set to the first BMP message;
  • the sending unit 604 is configured to send the first BMP message to the BMP server by using the BMP session, to trigger the BMP server to monitor a route in the BMP message.
  • the sending unit 604 is further configured to: when the network device 600 disables the BMP capability, send a second BMP message to the BMP server, to trigger the BMP server to cancel the network device. Monitoring of BGP routes.
  • the embodiment of the present application provides a network device 700, wherein the network device 700 in FIG. 7 can perform the method in the embodiment shown in FIG.
  • the network device 700 can be the network device in FIG. 2, FIG. 3 or FIG. 4, and the network device 700 includes:
  • the generating unit 701 is configured to: when the network device 700 is used to enable the BMP capability, generate a BMP message, where the BMP message includes indication information that the network device has disabled BMP capability;
  • the sending unit 702 is configured to send the BMP message to the BMP server, to trigger the BMP server to delete the BGP routing information that is received by the BMP server and received from the network device.
  • a BMP server 800 is provided in the embodiment of the present application, wherein the BMP server 800 in FIG. 8 can perform the method in the embodiment shown in FIG.
  • the BMP server 800 can be the BMP server in the embodiment of FIG. 2 or FIG.
  • the BMP server 800 includes a processor 801, a network interface 802, and a memory 803.
  • the processor 801 includes but is not limited to a CPU, a network processor (English: Network Processor, NP for short), an application-specific integrated circuit (ASIC) or a programmable logic device (English: Programmable Logic Device).
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above PLD can be a complex programmable logic device (English: Complex Programmable Logic Device, abbreviation: CPLD), Field-Programmable Gate Array (English: Field-Programmable Gate Array, abbreviation: FPGA), general array logic (English: Generic Array Logic, abbreviation: GAL) or any combination thereof.
  • CPLD Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • GAL Generic Array Logic
  • the memory 803 may be, but not limited to, a content-addressable memory (English: Content-Addressable Memory, CAM for short), such as a Ternary CAM (TCAM), a random access memory (English: Random-Access Memory, referred to as RAM.
  • a content-addressable memory English: Content-Addressable Memory, CAM for short
  • TCAM Ternary CAM
  • RAM Random-Access Memory
  • the network interface 802 can include a common physical interface, and the physical interface can be an Ethernet interface or an Asynchronous Transfer Mode (ATM) interface.
  • the processor 801, network interface 802, and memory 803 can be integrated into one or more separate circuits or hardware, such as an ASIC.
  • the memory 803 can be used to store the program code and data of the BMP server 800, and the processor 801 is used to call the program instructions in the memory 803 to execute the method shown in the embodiment of FIG. 2.
  • the specific implementation steps refer to the foregoing embodiment, where not Narration.
  • FIG. 9 a schematic structural diagram of a network device 900 according to an embodiment of the present application is provided.
  • the network device 900 provided in this embodiment can be applied to the method in the embodiment shown in FIG. 3 to implement the functions of the network device.
  • Network device 900 can be the network device in the embodiment of FIG. 2 or FIG.
  • the network device 900 includes a processor 901, a network interface 902, and a memory 903.
  • Processor 901 includes, but is not limited to, one or more of a CPU, NP, ASIC, or PLD.
  • the above PLD may be a CPLD, an FPGA, a GAL, or any combination thereof.
  • Memory 903 can be, but not limited to, a CAM, such as a TCAM or RAM.
  • the network interface 902 can include a common physical interface, which can be an Ethernet interface or an ATM interface.
  • the processor 901, network interface 902, and memory 903 can be integrated into one or more separate circuits or hardware, such as an ASIC.
  • the memory 903 can be used to store the program code and data of the network device 900, and the processor 901 is used to call the program instructions in the memory 903 to execute the method in the embodiment shown in FIG. 3.
  • the processor 901 is used to call the program instructions in the memory 903 to execute the method in the embodiment shown in FIG. 3.
  • the specific implementation steps refer to the foregoing embodiment, where the Narration.
  • FIG. 10 is a schematic structural diagram of a network device 1000 according to an embodiment of the present application.
  • the network device 1000 provided in this embodiment may be applied to the method in the embodiment shown in FIG. 4 to implement the functions of the network device.
  • Network device 1000 may be the network device in the embodiment of FIG. 2, FIG. 3 or FIG.
  • the network device 1000 includes a processor 1001, a network interface 1002, and a memory 1003.
  • Processor 1001 includes, but is not limited to, one or more of a CPU, NP, ASIC, or PLD.
  • the above PLD may be a CPLD, an FPGA, a GAL, or any combination thereof.
  • Memory 1003 may be, but not limited to, a CAM, such as a TCAM or RAM.
  • the network interface 1002 can include a common physical interface, which can be an Ethernet interface or an ATM interface.
  • the processor 1001, the network interface 1002, and the memory 1003 may be integrated into one or more separate circuits or hardware, such as an ASIC.
  • the memory 1003 can be used to store the program code and data of the network device 1000, and the processor 1001 is used to invoke the program instructions in the memory 1003 to execute the method in the embodiment shown in FIG. 4.
  • the processor 1001 is used to invoke the program instructions in the memory 1003 to execute the method in the embodiment shown in FIG. 4.
  • the specific implementation steps refer to the foregoing embodiment, where the Narration.
  • an embodiment of the present application provides a route detection system 1100, where the system includes: a network device 1101 and a BMP server 1102, where
  • the network device 1101 is configured to establish a BMP session with the BMP server 1102, and set a route setting identifier to the private network routing table that is imported into the network device to generate a first BMP message, where the first BMP message includes a border gateway protocol BGP routing information set, the BGP routing information set includes a route to which the identifier is added in the private network routing table, and sends the first BMP message to the BMP server by using the BMP session;
  • the BMP server 1102 is configured to receive the first BMP message sent by the network device 1101, store routing information in the BGP routing information set in the first BMP message, and use the BGP routing information in the first BMP message. The routing information in the collection is monitored.
  • the network device 1101 is further configured to: when the network device 1101 disables BMP capability, send a second BMP message to the BMP server 1002, where the second BMP message includes that the network device has Instructions to disable BMP capabilities;
  • the BMP server 1102 is further configured to receive the second BMP message, and after deleting, according to the indication information, that the second BMP message includes that the network device has disabled BMP capability, deleting the BMP server 1102.
  • the network device 1101 may be the first network device in the embodiment shown in FIG. 2, FIG. 3, FIG. 6, or FIG. 9.
  • the BMP server 1102 may be as shown in FIG. 2, FIG. 3, FIG. 5 or FIG. The BMP server in the embodiment.

Landscapes

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

Abstract

本申请公开了处理路由的方法,该方法包括:BMP服务器与网络设备建立BMP会话,BMP服务器通过BMP会话接收并存储网络设备发送的BGP路由信息,BMP服务器启动定时器,定时器的时长大于网络设备通过BMP会话周期性的向BMP服务器发送BMP消息的时间间隔,BMP消息包括网络设备向BMP服务器发送的BGP路由信息,当定时器超时后,BMP服务器删除BMP服务器存储的从网络设备接收到的BGP路由信息。BMP服务器通过设置定时器来删除BMP服务器存储的网络设备的BGP路由信息,从而能够避免BMP服务器一直存储网络设备的BGP路由信息,造成BMP服务器存储资源浪费的技术问题。另外,通过上述方案,还能够保证BMP服务器及时更新网络拓扑,准确的更新转发路径,实现报文的正常转发。

Description

一种处理路由的方法及网络设备
本申请要求于2016年12月28日提交中国专利局、申请号为201611239135.9、申请名称为“一种处理路由的方法及网络设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,特别涉及一种处理路由的方法及网络设备。
背景技术
边界网关协议(Border gateway protocol,BGP)监控协议(BGP Monitoring Protocol,BMP)服务器能够对网络中的设备的BGP运行状态进行实时监控,BGP运行状态包括对等体关系的建立与解除等。另外,网络设备会周期性的向BMP服务器发送网络设备存储的BGP路由。进一步,BMP服务器还能够对网络设备的BGP路由信息进行监控。但是,现有技术中,当网络设备与BMP服务器之间的BMP会话断开时,BMP服务器不能及时的对BMP服务器存储的BGP路由进行处理,导致BMP服务器的存储资源浪费。
发明内容
本申请实施例提供了处理路由的方法。用于解决现有技术中BMP服务器的存储资源浪费的技术问题。
第一方面,本申请实施例提供了一种路由处理的方法,该方法包括:
BMP服务器与网络设备建立BMP会话。BMP服务器通过所述BMP会话接收并存储所述网络设备发送的BGP路由信息。响应于接收所述BGP路由信息,所述BMP服务器启动定时器,所述定时器的时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送的BMP消息的时间间隔,所述时间间隔为所述网络设备向所述BMP服务器发送的相邻的两个BMP消息之间的时间差,所述BMP消息包括所述网络设备向所述BMP服务器发送的BGP路由信息。当所述定时器超时后,所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息,从启动所述定时器到所述定时器超时的持续时间等于所述时长。
BMP服务器通过启动定时器,并且设置定时器时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送BMP消息的时间间隔,在该定时器超时后,删除BMP服务器存储的所述网络设备的BGP路由信息,也就是说在BMP服务器没有周期性的收到网络设备发送的BMP消息时,删除所述网络设备的BGP路由信息,从而能够避免BMP服务器一直存储网络设备的BGP路由信息,造成BMP服务器存储资源浪费的技术问题。另外,BMP服务器及时删除网络设备的BGP路由还可以实现BMP服务器及时更新网络拓扑,从而能够准确的更新转发路径,实现报文的正常转发。
在一种可能的设计中,所述方法还包括:
当BMP服务器接收到所述BMP消息时,重新启动所述定时器。在定时器没有超时后,收到从网络设备发送的BMP消息,BMP服务器则重新设置定时器,相当于重新启动定时器,并重新开始计时,保证在BMP服务器能够周期性的接收网络设备发送的BMP消息的情况下,定时器不超时,并且BMP服务器不删除网络设备的BGP路由信息,这样能够保证在BMP服务器能够周期性的接收网络设备发送的BMP消息的情况下,正常监控网络设备的BGP路由信息。
在一种可能的设计中,所述BMP消息为BMP路由监控(Route Monitoring)消息。
在一种可能的设计中,所述方法还包括:
所述BMP服务器接收所述网络设备发送的所述网络设备去使能BMP能力消息。所述BMP服务器在接收到所述网络设备去使能BMP能力消息后,取消对所述网络设备的BGP路由监控。网络设备去使能BMP能力,也就是说网络设备不再需要BMP服务器对网络设备的BGP路由进行监控。在BMP服务器接收到网络设备的去使能BMP能力消息后,取消对网络设备的BGP路由监控,也就是BMP服务器删除从网络设备接收到的BGP路由信息,这样能够节省BMP服务器的存储资源。另外,BMP服务器及时删除网络设备的BGP路由还可以实现BMP服务器及时更新网络拓扑,从而能够准确的更新转发路径,实现报文的正常转发。
第二方面,本申请实施例提供了一种处理路由的方法,所述方法包括:
网络设备与BMP服务器建立BMP会话。网络设备对引入到所述网络设备的私网路由表中路由设置标识。网络设备在生成第一BMP消息时,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中。所述网络设备通过所述BMP会话向所述BMP服务器发送所述第一BMP消息,以触发所述BMP服务器对所述BMP消息中的路由进行监控。通过对引入到私网路由表中的路由设置特殊标识,网络设备在向BMP服务器发送BGP路由时,也将设置了特殊标识的路由发送到BMP服务器,这样能过实现BMP服务器对这些引入到私网路由表中的路由进行监控。从而实现BMP服务器并对网络设备的BGP路由进行准确的监控。
在一种可能的设计中,所述引入到所述网络设备的私网路由表中的路由包括:
与所述网络设备连接的用户边界(Customer Edge,CE)设备向所述网络设备发送的私网路由;或者,与所述网络设备建立BGP邻居的骨干网边界(Provider Edge,PE)设备向所述网络设备发送的私网路由,或者,所述网络设备中存储的公网路由。
在一种可能的设计中,所述方法还包括:
当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,所述第二BMP消息包含所述网络设备已经去使能BMP能力的指示信息,以触发所述BMP服务器删除所述BMP服务器存储的所述网络设备发送的BGP路由信息。
第三方面,本申请实施例提供了一种处理路由的方法,包括:
在网络设备去使能BMP能力时,生成BMP消息,所述BMP消息包含所述网络设备已经去使能BMP能力的指示信息;
所述网络设备向所述BMP服务器发送该BMP消息,以触发所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。
网络设备去使能BMP能力,也就是说网络设备不再需要BMP服务器对网络设备 的BGP路由进行监控。网络设备主动向BMP服务器通知该网络设备已经去使能BMP能力,BMP服务器接收到网络设备的去使能BMP能力消息后,取消对网络设备的BGP路由监控,也就是BMP服务器删除从网络设备接收到的BGP路由信息,这样能够节省BMP服务器的存储资源。
第四方面,本申请实施例提供了一种BMP服务器,所述BMP服务器包括:
建立单元,用于与网络设备建立BMP会话。接收单元,用于通过所述建立单元建立的所述BMP会话接收所述网络设备发送的BGP路由信息。存储单元,用于存储所述接收单元接受的BGP路由信息。定时器单元,用于响应于接收所述BGP路由信息,启动定时器,所述定时器的时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送的BMP消息的时间间隔,所述时间间隔为所述网络设备向所述BMP服务器发送的相邻的两个BMP消息之间的时间差,所述BMP消息包括所述网络设备向所述BMP服务器发送的BGP路由信息。处理单元,用于当所述定时器超时后,删除所述BMP服务器存储的BGP路由信息,从启动所述定时器到所述定时器超时的持续时间等于所述时长。
在一种可能的设计中,所述处理单元,还用于当接收到所述BMP消息时,重新启动所述定时器。
在一种可能的设计中,所述接收单元,还用于接收所述网络设备发送的所述网络设备去使能BMP能力消息。所述处理单元,还用于在所述接收单元接收到所述网络设备去使能BMP能力消息后,取消对所述网络设备的BGP路由监控。
第五方面,本申请实施例提供了一种网络设备,所述网络设备包括:
建立单元,用于与BMP服务器建立BMP会话。设置单元,用于对引入到所述网络设备的私网路由表中路由设置标识。处理单元,用于在生成第一BMP消息,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中。发送单元,用于通过所述BMP会话向所述BMP服务器发送所述第一BMP消息,以触发所述BMP服务器对所述BMP消息中的路由进行监控。
在一种可能的设计中,所述发送单元,还用于当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,以触发所述BMP服务器取消对所述网络设备的BGP路由的监控。
第六方面,本申请实施例提供了一种网络设备,所述网络设备包括:
生成单元,用在去使能BMP能力时,生成BMP消息,所述BMP消息包含所述网络设备已经去使能BMP能力的指示信息。发送单元,用于向所述BMP服务器发送该BMP消息,以触发所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。
第七方面,本申请实施例提供了一种路由处理的系统,该系统包括:BMP服务器和网络设备,其中,
所述网络设备,用于与所述BMP服务器建立BMP会话,对引入到所述网络设备的私网路由表中的路由设置标识,在生成第一BMP消息时,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中,并通过所述BMP会话向所述BMP服务器发送所述第一BMP消息。所述BMP服务器,用于接收所述网络设备发送 的所述第一BMP消息,存储所述第一BMP消息中的的路由信息,并对存储的所述路由信息进行监控。
在一种可能的设计中,所述网络设备,还用于当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,所述第二BMP消息包含所述网络设备已经去使能BMP能力的指示信息。所述BMP服务器,还用于接收所述第二BMP消息,在根据所述指示信息确定所述第二BMP消息中包含所述网络设备已经去使能BMP能力后,删除所述BMP服务器存储的所述网络设备发送的BGP路由信息。
第八方面,本申请实施例提供了一种BMP服务器,该BMP服务器网络设备包括处理器和存储器,存储器中存储了程序指令和数据,处理器用于调用存储器中的程序指令执行第一方面的方法中相应的功能。
第九方面,本申请实施例提供了一种网络设备,该网络设备包括处理器和存储器,存储器中存储了程序指令和数据,处理器用于调用存储器中的程序指令执行第二方面或第三方面的方法中相应的步骤。
第十方面,提供了一种计算机可读存储介质,用于储存为上述BMP服务器或网络设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本申请实施例提供的一种处理路由的方法应用场景示意图;
图2为本申请实施例提供的一种处理路由的方法的流程示意图;
图3为本申请实施例提供的另一种处理路由的方法的流程示意图;
图4为本申请实施例提供的另一种处理路由的方法的流程示意图;
图5为本申请实施例提供的一种BMP服务器的结构示意图;
图6为本申请实施例提供的一种网络设备的结构示意图;
图7为本申请实施例提供的另一种网络设备的结构示意图;
图8为本申请实施例提供的另一种BMP服务器的结构示意图;
图9为本申请实施例提供的另一种网络设备的结构示意图;
图10为本申请实施例提供的另一种网络设备的结构示意图;
图11为本申请实施例提供的一种处理路由的系统的示意图。
具体实施方式
下面结合附图,对本发明的实施例进行描述。
参见图1,图1为本申请实施例提供的一种处理路由的方法的应用场景示意图。该网络场景包括:BMP服务器101、网络设备102、网络设备103、网络设备104和网络设备105。网络设备102和网络设备103是骨干网中的骨干网边界(Provider Edge,PE)设备,并且分别支持BMP。网络设备104和网络设备105为通过骨干网连接的用户边界(Customer Edge,CE)设备,不支持BMP。在第二网络设备使能BMP功能后,BMP服务器101与网络设备102之间建立第一BMP会话。在网络设备103使能BMP功能 后,BMP服务器101与网络设备103之间建立第二BMP会话。网络设备102与网络设备103之间建立有BGP邻居,网络设备102通过BGP向网络设备103发送BGP路由,并将发送过的BGP路由存储在网络设备102邻居发送的RIB(Adjacency-routing information base-output,Adj-RIB-Out)中。网络设备103将从网络设备102接收的BGP路由存储在网络设备103的邻居接收到的RIB(Adjacency-routing information base-input,Adj-RIB-In)中。
网络设备102会通过第一会话将网络设备102中的BGP路由通过第一BMP会话向BMP服务器101发送,BMP服务器101会对从网络设备102接收的BGP路由信息进行监控。网络设备103会通过第二会话将网络设备103中的BGP路由通过第二BMP会话向BMP服务器101发送,BMP服务器101会对从网络设备103接收的BGP路由信息进行监控。当网络设备102或网络设备103与BMP服务器101之间出现连接故障时,例如:第一BMP会话或第二BMP会话断开,此时,BMP服务器101对存储的网络设备102和网络设备103发送的BGP路由将无法正常监控和处理。另外,当网络设备102或网络设备103去使能BMP功能后,网络设备102或网络设备103就不能再向BMP服务发送BMP消息了,此时,BMP服务器101对存储的网络设备102和网络设备103发送的BGP路由也将无法正常监控和处理,在上述情况下,会导致BMP服务器101的存储资源浪费。
可选地,本申请实施例可以应用到一种控制、转发分离的开放流网络架构。与传统的集中式架构的网络设备相比,控制和转发分离是将对网络设备的转发平面与控制平面分离开来,部署在两个不同的设备上,两者协同工作,完成对网络中数据报文的转发。对应的控制平面的设备,称为控制设备或控制器(Controller),部署在独立于转发平面之外的独立设备之上,对应的转发平面的设备,称为转发设备或转发器。转发器具备与控制器进行通信的能力。转发器能够通过控制通道与控制器通信。图1中的BMP服务器101可以为控制转发分离网络架构中的控制器,网络设备102、网络设备103、网络设备104和网络设备105可以为控制转发分离网络架构中的转发器。
参见图2,结合图1所示的应用场景,本申请实施例提供了一种处理路由的方法,该方法包括:
201,BMP服务器与网络设备建立BMP会话。
202,所述BMP服务器通过所述BMP会话接收并存储所述网络设备发送的BGP路由信息。
203,响应于接收所述BGP路由信息,所述BMP服务器启动定时器,所述定时器的时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送BMP消息的时间间隔,所述时间间隔为所述网络设备向所述BMP服务器发送的相邻的两个BMP消息之间的时间差,所述BMP消息包括所述网络设备向所述BMP服务器发送的BGP路由信息。
204,当所述定时器超时后,所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息,从启动所述定时器到所述定时器超时的持续时间等于所述时长。
可选地,BMP服务器可以是控制转发分离网络架构中的控制器,该控制器支持 BMP,具有BMP服务器的功能。所述网络设备可以是控制转发分离网络结构中的转发器,并支持BMP。
网络设备会周期性的向BMP服务器发送BMP消息,已更新BMP服务器存储的网络设备的BGP路由,例如,网络设备每隔300秒向BMP服务器发送BMP消息。在这种情况下,可以设置定时器时长大于300秒,如400秒,当定时器从启动开始经过400秒后还没有收到BMP消息,则认为网络设备已经和BMP服务器断开连接,此时可以删除BMP服务器上存储的从网络设备接收的BGP路由。
可选地,当所述BMP服务器接收到所述BMP消息时,重新启动所述定时器。
在定时器没有超时之前,BMP服务器收到从网络设备发送的BMP消息,BMP服务器则重新设置定时器,相当于重新启动定时器,并重新开始计时,保证在BMP服务器周期性的能够接收网络设备发送的BMP消息的情况下,定时器不超时,并且BMP服务器不删除网络设备的BGP路由信息,这样能够保证在这种情况下正常监控网络设备的BGP路由信息。
可选地,所述BMP消息为BMP Route Monitoring消息。BMP Route Monitoring消息格式可以具体参见请求注解(Request For Comments,RFC)7854。
可选地,所述BMP服务器接收所述网络设备发送的所述网络设备去使能BMP能力消息。所述BMP服务器在接收到所述网络设备去使能BMP能力消息后,取消对所述网络设备的BGP路由监控。网络设备去使能BMP能力,也就是说网络设备不再需要BMP服务器对网络设备的BGP路由进行监控。在BMP服务器接收到网络设备的去使能BMP能力消息后,取消对网络设备的BGP路由监控,也就是BMP服务器删除从网络设备接收到的BGP路由信息,这样能够节省BMP服务器的存储资源。另外,BMP服务器及时删除网络设备的BGP路由还可以实现BMP服务器及时更新网络拓扑,从而能够准确的更新转发路径,实现报文的正常转发。
可选地,在上述方案中,在判断定时器超时之前,该方法还可以包括:
BMP服务器判断定时器超时次数。则上述方案可以为,当BMP服务器判断定时器超时次数超过一个特定值时,所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。举例来说,该特定值为1,即当BMP服务器判断定时器已经超时1次后,再次判断定时器超时,则删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。通过这种实现方式,在能够有效的节省BMP服务器存储资源的情况下,更能准确的实现对网络设备的BGP路由进行监控。例如,当网络设备和BMP服务器之间的BMP会话出现暂时故障时,这个过程中可能会丢失1个BMP消息,这个过程BMP服务器不需要删除网络设备的BGP路由,在BMP会话恢复后,还可以继续对网络设备的BGP路由进行监控,从而避免频繁删除、存储网络设备的BGP路由造成网络资源的浪费。
在上述技术方案,BMP服务器通过设置定时器,并且定时器时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送BMP消息的时间间隔,在该定时器超时后,删除BMP服务器存储的所述网络设备的BGP路由信息,也就是说在BMP服务器没有周期性的收到网络设备发送的BMP消息时,删除所述网络设备的BGP路由信息,从而能够避免BMP服务器一直存储网络设备的BGP路由信息,造成BMP 服务器存储资源浪费的技术问题。另外,BMP服务器及时的删除网络设备的BGP路由还可以实现BMP服务器及时更新网络拓扑,能够准确的更新转发路径,实现报文的正常转发。
参见图3,结合图1所示的应用场景,本申请实施例提供了一种路由处理的方法,该方法包括:
301,网络设备与BMP服务器建立BMP会话;
302,所述网络设备对引入到所述网络设备的私网路由表中的路由设置标识;
303,所述网络设备在生成第一BMP消息时,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中;
304,所述网络设备通过所述BMP会话向所述BMP服务器发送所述第一BMP消息,以触发所述BMP服务器对所述BMP消息中的路由信息进行监控。
现有技术中,网络设备向BMP服务器发送的BGP路由,只能是通过邻居学习到的BGP路由,而对于引入到私网路由表中的路由,BMP服务器是无法实现监控的。通过上述技术方案,对引入到私网路由表中的路由设置特殊标识,网络设备在向BMP服务器发送BGP路由时,遍历私网路由表,将设置了特殊标识的路由发送到BMP服务器,这样能过实现BMP服务器对这些引入到私网路由表中的路由进行监控。从而实现BMP服务器并对网络设备的路由进行全面、准确的监控。
可选地,所述方法还包括:
当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,以触发所述BMP服务器取消对所述网络设备的BGP路由的监控。网络设备去使能BMP能力,也就是说网络设备不再需要BMP服务器对网络设备的BGP路由进行监控。在BMP服务器接收到网络设备的去使能BMP能力消息后,取消对网络设备的BGP路由监控,也就是BMP服务器删除从网络设备接收到的BGP路由信息,这样能够节省BMP服务器的存储资源。另外,BMP服务器及时删除网络设备的BGP路由还可以实现BMP服务器及时更新网络拓扑,从而能够准确的更新转发路径,实现报文的正常转发。
可选地,所述引入到所述网络设备的私网路由表中的路由包括:
与所述网络设备连接的用户边界CE设备向所述网络设备发送的私网路由;或者,与所述网络设备建立边界网关协议BGP邻居的骨干网边界PE设备向所述网络设备发送的私网路由,或者,所述网络设备中存储的公网路由。引入到网络设备的私网路由表中的路由所属的私网可以与所述私网路由表对应的私网不同,结合图1,举例来说,网络设备104属于虚拟私有网络(Virtual Private Network,VPN)A,网络设备105属于VPN B,网络设备102存储了针对VPN A的私网路由表和针对VPN B的私网路由表,在一些应用场景下,网络设备102需要将从网络设备104接收的属于VPN A的私网路由引入到VPN B的路由表中,此时,需要针对引入到VPN B路由表中的属于VPN A的私网路由设置特殊标志,这样在网络设备102向BMP服务器发送BGP路由时,也将设置了特殊标志并且属于VPN A的私网路由向BMP服务器发送。也就是说,通过上述方案,在不同的VPN路由之间交叉引用时,也能够实现BMP服务器对私网路由的监控。
可选地,BMP服务器对所述BMP消息中的路由信息进行监控包括以下内容:
BMP服务器获得每条BGP路由中的属性信息,该属性信息可以包括:
用于标识BGP路由的优先级的优先级信息;
用于标识BGP路由在网络设备中的RIB中的状态的状态信息;
用于标识BGP路由是否下发到FIB的指示信息;
用于标识BGP路由下发到FIB后的状态信息。
BGP路由的优先级信息可以标识BGP路由在进行路径选择或报文转发时的优先级,这样,BMP服务器可以根据该优先级别信息更加高效的进行转发路径规划。BGP路由在路由信息库(Routing Information Base,RIB)中的状态信息可以标识BGP路由在网络设备中的RIB中的状态,如果BGP路由在RIB中状态为非激活状态(inactive),则该BGP路由就不能用于路由选择或指导报文转发。BGP路由的指示信息可以标识BGP路由是否已经下发到网络设备的转发信息库(Forwarding Information Base,FIB)中,如果该指示信息表示该BGP路由没有下发到FIB中,则该BGP路由就不能用于路由选择或指导报文转发。BGP路由下发到FIB中的状态信息可以标识BGP路由在FIB中的状态,如果BGP路由在FIB中状态为不可用状态,则该BGP路由就不能用于路由选择或指导报文转发。
参见图4,结合图1所示的应用场景,本申请实施例提供了一种处理路由的方法,该方法包括:
401,在网络设备去使能BMP能力时,生成BMP消息,所述BMP消息包含所述网络设备已经去使能BMP能力的指示信息。
402,网络设备向所述BMP服务器发送该BMP消息,以触发所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。
当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,以触发所述BMP服务器取消对所述网络设备的BGP路由的监控。网络设备去使能BMP能力,也就是说网络设备不再需要BMP服务器对网络设备的BGP路由进行监控。在BMP服务器接收到网络设备的去使能BMP能力消息后,取消对网络设备的BGP路由监控,也就是BMP服务器删除从网络设备接收到的BGP路由信息,这样能够节省BMP服务器的存储资源。
参见图5,结合图1所示的应用场景,本申请实施例提供了一种BMP服务器500,其中图5中的BMP服务器500可以执行图2所示实施例的方法,BMP服务器500可以为图2、图3或图4所述实施例中的BMP服务器。BMP服务器500包括:
建立单元501,用于与网络设备建立BMP会话;
接收单元502,用于通过所述建立单元501建立的所述BMP会话接收所述网络设备发送的BGP路由信息;
存储单元503,用于存储所述接收单元502接受的BGP路由信息;
定时器单元504,用于响应于接收所述BGP路由信息,启动定时器,所述定时器的时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送BMP消息的时间间隔,所述时间间隔为所述网络设备向所述BMP服务器发送的相邻的两个BMP消息之间的时间差,所述BMP消息包括所述网络设备向所述BMP服务器发送的BGP 路由信息;
处理单元505,用于当所述定时器超时后,删除所述BMP服务器存储的BGP路由信息,从启动所述定时器到所述定时器超时的持续时间等于所述时长。
可选地,所述处理单元505,还用于当接收到所述BMP消息时,重新启动所述定时器。
可选地,所述接收单元502,还用于接收所述网络设备发送的所述网络设备去使能BMP能力消息;
所述处理单元505,还用于在所述接收单元502接收到所述网络设备去使能BMP能力消息后,取消对所述网络设备的BGP路由监控。
参见图6,结合图1所示的应用场景,本申请实施例提供了一种网络设备600,其中图6中的网络设备600可以执行图3所示实施例中的方法。网络设备600可以为图2或图3中的网络设备,网络设备600包括:
建立单元601,用于与BMP服务器建立BMP会话;
设置单元602,用于对引入到所述网络设备的私网路由表中路由设置标识;
处理单元603,用于在生成第一BMP消息,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中;
发送单元604,用于通过所述BMP会话向所述BMP服务器发送所述第一BMP消息,以触发所述BMP服务器对所述BMP消息中的路由进行监控。
可选地,所述发送单元604,还用于当所述网络设备600去使能BMP能力时,向所述BMP服务器发送第二BMP消息,以触发所述BMP服务器取消对所述网络设备的BGP路由的监控。
参见图7,结合图1所示的应用场景,本申请实施例提供了一种网络设备700,其中图7中的网络设备700可以执行图5所示实施例中的方法。网络设备700可以为图2,图3或图4中的网络设备,网络设备700包括:
生成单元701,用在网络设备700去使能BMP能力时,生成BMP消息,所述BMP消息包含所述网络设备已经去使能BMP能力的指示信息;
发送单元702,用于向所述BMP服务器发送该BMP消息,以触发所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。
参见图8,本申请实施例提供的一种BMP服务器800,其中图8中的BMP服务器800可以执行图2所示实施例的方法。BMP服务器800可以为图2或图3所述实施例中的BMP服务器。BMP服务器800包括处理器801、网络接口802和存储器803。处理器801包括但不限于CPU,网络处理器(英文:Network Processor,简称:NP),专用集成电路(英文:Application-Specific Integrated Circuit,简称:ASIC)或者可编程逻辑器件(英文:Programmable Logic Device,缩写:PLD)中的一个或多个。上述PLD可以是复杂可编程逻辑器件(英文:Complex Programmable Logic Device,缩写:CPLD),现场可编程逻辑门阵列(英文:Field-Programmable Gate Array,缩写:FPGA),通用阵列逻辑(英文:Generic Array Logic,缩写:GAL)或其任意组合。
存储器803可以是包括但不限于内容寻址存储器(英文:Content-Addressable Memory,简称:CAM),例如三态内容寻址存储器(英文:Ternary CAM,简称:TCAM),随机存取存储器(英文:Random-Access Memory,简称:RAM)。
所述网络接口802可以包含普通物理接口,所述物理接口可以为Ethernet接口或异步传输模式(Asynchronous Transfer Mode,ATM)接口。所述处理器801、网络接口802和存储器803可以集成为一个或多个独立的电路或硬件,如:ASIC。
存储器803可以用于存储该BMP服务器800的程序代码和数据,处理器801用于调用存储器803中的程序指令执行图2实施例所示的方法,具体执行步骤可以参见前述实施例,此处不在赘述。
参见图9,本申请实施例提供的一种网络设备900的结构示意图。本实施例提供的网络设备900可以应用于图3所示实施例的方法中,实现网路设备的功能。网络设备900可以为图2或图3所述实施例中的网络设备。网络设备900包括处理器901、网络接口902、存储器903。处理器901包括但不限于CPU、NP、ASIC或者PLD中的一个或多个。上述PLD可以是CPLD、FPGA、GAL或其任意组合。
存储器903可以是包括但不限于CAM,例如TCAM或RAM。
网络接口902可以包含普通物理接口,所述物理接口可以为Ethernet接口或ATM接口。所述处理器901、网络接口902和存储器903可以集成为一个或多个独立的电路或硬件,如:ASIC。
存储器903可以用于存储网络设备900的程序代码和数据,处理器901用于调用存储器903中的程序指令执行图3所示实施例中的方法,具体执行步骤可以参见前述实施例,此处不在赘述。
参见图10,本申请实施例提供的一种网络设备1000的结构示意图。本实施例提供的网络设备1000可以应用于图4所示实施例的方法中,实现网路设备的功能。网络设备1000可以为图2,图3或图4所述实施例中的网络设备。网络设备1000包括处理器1001、网络接口1002、存储器1003。处理器1001包括但不限于CPU、NP、ASIC或者PLD中的一个或多个。上述PLD可以是CPLD、FPGA、GAL或其任意组合。
存储器1003可以是包括但不限于CAM,例如TCAM或RAM。
网络接口1002可以包含普通物理接口,所述物理接口可以为Ethernet接口或ATM接口。所述处理器1001、网络接口1002和存储器1003可以集成为一个或多个独立的电路或硬件,如:ASIC。
存储器1003可以用于存储网络设备1000的程序代码和数据,处理器1001用于调用存储器1003中的程序指令执行图4所示实施例中的方法,具体执行步骤可以参见前述实施例,此处不在赘述。
参见图11,本申请实施例提供了一种路由检测系统1100,所述系统包括:网络设备1101和BMP服务器1102,其中,
网络设备1101,用于与所述BMP服务器1102建立BMP会话,对引入到所述网络设备的私网路由表中路由设置标识,生成第一BMP消息,所述第一BMP消息包括 边界网关协议BGP路由信息集合,所述BGP路由信息集合包含所述私网路由表中添加了所述标识的路由,并通过所述BMP会话向所述BMP服务器发送所述第一BMP消息;
所述BMP服务器1102,用于接收所述网络设备1101发送的所述第一BMP消息,存储所述第一BMP消息中的所述BGP路由信息集合中的路由信息,并对所述BGP路由信息集合中的路由信息进行监控。
可选地,所述网络设备1101,还用于当所述网络设备1101去使能BMP能力时,向所述BMP服务器1002发送第二BMP消息,所述第二BMP消息包含所述网络设备已经去使能BMP能力的指示信息;
所述BMP服务器1102,还用于接收所述第二BMP消息,在根据所述指示信息确定所述第二BMP消息中包含所述网络设备已经去使能BMP能力后,删除所述BMP服务器1102存储的所述网络设备1101发送的BGP路由信息。
可选地,上述网络设备1101可为图2、图3、图6或图9所示实施例中的第一网络设备,BMP服务器1102可为图2、图3、图5或图8所示实施例中的BMP服务器。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质可以是下述介质中的至少一种:只读存储器(Read-Only Memory,ROM)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例仅用以示例性说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请及本申请带来的有益效果进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请权利要求的范围。

Claims (14)

  1. 一种处理路由的方法,其特征在于,所述方法包括:
    边界网关协议监控协议BMP服务器与网络设备建立BMP会话;
    所述BMP服务器通过所述BMP会话接收并存储所述网络设备发送的边界网关协议BGP路由信息;
    响应于接收所述BGP路由信息,所述BMP服务器启动定时器,所述定时器的时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送的BMP消息的时间间隔,所述时间间隔为所述网络设备向所述BMP服务器发送的相邻的两个BMP消息之间的时间差,所述BMP消息包括所述网络设备向所述BMP服务器发送的BGP路由信息;
    当所述定时器超时后,所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收到的BGP路由信息,从启动所述定时器到所述定时器超时的持续时间等于所述时长。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述BMP服务器接收到所述BMP消息时,重新启动所述定时器。
  3. 根据权利要求1或2所述的方法,其特征在于,所述BMP消息为BMP路由监控Route Monitoring消息。
  4. 根据权利要求1至3任一权利要求所述的方法,其特征在于,所述方法还包括:
    所述BMP服务器接收所述网络设备发送的所述网络设备去使能BMP能力消息;
    所述BMP服务器在接收到所述网络设备去使能BMP能力消息后,取消对所述网络设备的BGP路由监控。
  5. 一种处理路由的方法,其特征在于,所述方法包括:
    网络设备与边界网关协议监控协议BMP服务器建立BMP会话;
    所述网络设备对引入到所述网络设备的私网路由表中的路由设置标识;
    所述网络设备在生成第一BMP消息时,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中;
    所述网络设备通过所述BMP会话向所述BMP服务器发送所述第一BMP消息,以触发所述BMP服务器对所述BMP消息中的路由进行监控。
  6. 根据权利要求5所述的方法,其特征在于,所述引入到所述网络设备的私网路由表中的路由包括:
    与所述网络设备连接的用户边界CE设备向所述网络设备发送的私网路由;或者,与所述网络设备建立边界网关协议BGP邻居的骨干网边界PE设备向所述网络设备发送的私网路由,或者,所述网络设备中存储的公网路由。
  7. 根据权利要求5或6所述的方法,其特征在于,所述方法还包括:
    当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,所述第二BMP消息包含所述网络设备已经去使能BMP能力的指示信息,以触发所述BMP服务器删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。
  8. 一种边界网关协议监控协议BMP服务器,其特征在于,所述BMP服务器包括:
    建立单元,用于与网络设备建立BMP会话;
    接收单元,用于通过所述建立单元建立的所述BMP会话接收所述网络设备发送的边界网关协议BGP路由信息;
    存储单元,用于存储所述接收单元接受的BGP路由信息;
    定时器单元,用于响应于接收所述BGP路由信息,启动定时器,所述定时器的时长大于所述网络设备通过BMP会话周期性的向所述BMP服务器发送的BMP消息的时间间隔,所述时间间隔为所述网络设备向所述BMP服务器发送的相邻的两个BMP消息之间的时间差,所述BMP消息包括所述网络设备向所述BMP服务器发送的BGP路由信息;
    处理单元,用于当所述定时器超时后,删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息,从启动所述定时器到所述定时器超时的持续时间等于所述时长。
  9. 根据权利要求8所述的BMP服务器,其特征在于,
    所述处理单元,还用于当接收到所述BMP消息时,重新启动所述定时器。
  10. 根据权利要求8或9所述的BMP服务器,其特征在于,
    所述接收单元,还用于接收所述网络设备发送的所述网络设备去使能BMP能力消息;
    所述处理单元,还用于在所述接收单元接收到所述网络设备去使能BMP能力消息后,取消对所述网络设备的BGP路由监控。
  11. 一种网络设备,其特征在于,所述网络设备包括:
    建立单元,用于与边界网关协议监控协议BMP服务器建立BMP会话;
    设置单元,用于对引入到所述网络设备的私网路由表中的路由设置标识;
    处理单元,用于在生成第一BMP消息,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中;
    发送单元,用于通过所述BMP会话向所述BMP服务器发送所述第一BMP消息,以触发所述BMP服务器对所述BMP消息中的路由进行监控。
  12. 根据权利要求11所述的网络设备,其特征在于,
    所述发送单元,还用于当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,以触发所述BMP服务器取消对从所述网络设备接收的BGP路由的监控。
  13. 一种处理路由的系统,其特征在于,所述系统包括:边界网关协议监控协议BMP服务器和网络设备,其中,
    所述网络设备,用于与所述BMP服务器建立BMP会话,对引入到所述网络设备的私网路由表中的路由设置标识;在生成第一BMP消息时,遍历所述私网路由表,将设置了所述标识的路由添加到所述第一BMP消息中,并通过所述BMP会话向所述BMP服务器发送所述第一BMP消息;
    所述BMP服务器,用于接收所述网络设备发送的所述第一BMP消息,存储所述第一BMP消息中的路由信息,并对存储的所述路由信息进行监控。
  14. 根据权利要求13所述的系统,其特征在于,
    所述网络设备,还用于当所述网络设备去使能BMP能力时,向所述BMP服务器发送第二BMP消息,所述第二BMP消息包含所述网络设备已经去使能BMP能力的指示信息;
    所述BMP服务器,还用于接收所述第二BMP消息,在根据所述指示信息确定所述第二BMP消息中包含所述网络设备已经去使能BMP能力后,删除所述BMP服务器存储的从所述网络设备接收的BGP路由信息。
PCT/CN2017/116223 2016-12-28 2017-12-14 一种处理路由的方法及网络设备 WO2018121284A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611239135.9A CN106789638B (zh) 2016-12-28 2016-12-28 一种处理路由的方法及网络设备
CN201611239135.9 2016-12-28

Publications (1)

Publication Number Publication Date
WO2018121284A1 true WO2018121284A1 (zh) 2018-07-05

Family

ID=58924121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116223 WO2018121284A1 (zh) 2016-12-28 2017-12-14 一种处理路由的方法及网络设备

Country Status (2)

Country Link
CN (2) CN106789638B (zh)
WO (1) WO2018121284A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615914A (zh) * 2020-12-10 2021-04-06 中通服咨询设计研究院有限公司 一种利用边界网关协议传递组播热备表项的方法
WO2021088439A1 (zh) * 2019-11-06 2021-05-14 华为技术有限公司 一种监控对等体的运行状态的方法、装置及存储介质
CN113794644A (zh) * 2021-10-12 2021-12-14 新华三信息安全技术有限公司 一种路由表项删除方法及装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789638B (zh) * 2016-12-28 2020-08-07 华为技术有限公司 一种处理路由的方法及网络设备
CN108768723B (zh) * 2018-05-29 2021-10-22 北京星网锐捷网络技术有限公司 一种业务收敛方法、设备、介质和系统
CN110557317B (zh) 2018-06-01 2022-05-13 华为技术有限公司 管理虚拟专用网络的方法和设备
CN114765621B (zh) * 2020-12-31 2024-10-18 华为技术有限公司 检测bgp会话的状态的方法、装置和网络设备
CN113852560A (zh) * 2021-10-20 2021-12-28 浪潮思科网络科技有限公司 一种bgp对等体之间的路由信息更新方法、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355416A (zh) * 2011-09-30 2012-02-15 杭州华三通信技术有限公司 路由信息协议联动双向会话检测建立路由的方法及设备
CN105281942A (zh) * 2014-07-23 2016-01-27 华为技术有限公司 一种发送bgp信息的网络设备和方法
CN106161256A (zh) * 2016-07-26 2016-11-23 杭州华三通信技术有限公司 一种边界网关协议bgp路由的处理方法及装置
CN106169978A (zh) * 2016-07-07 2016-11-30 杭州华三通信技术有限公司 Bmp报文的处理方法和装置
CN106789638A (zh) * 2016-12-28 2017-05-31 华为技术有限公司 一种处理路由的方法及网络设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304379A (zh) * 2008-06-30 2008-11-12 杭州华三通信技术有限公司 边界网关协议路由决策方法及装置
WO2011124177A2 (zh) * 2011-05-12 2011-10-13 华为技术有限公司 设备之间的交互方法和机器通信网络系统
CN103684838B (zh) * 2012-09-25 2017-02-08 华为技术有限公司 虚拟机的网络策略配置方法及装置、系统
CN106254251A (zh) * 2016-08-24 2016-12-21 杭州华三通信技术有限公司 一种路由信息处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355416A (zh) * 2011-09-30 2012-02-15 杭州华三通信技术有限公司 路由信息协议联动双向会话检测建立路由的方法及设备
CN105281942A (zh) * 2014-07-23 2016-01-27 华为技术有限公司 一种发送bgp信息的网络设备和方法
CN106169978A (zh) * 2016-07-07 2016-11-30 杭州华三通信技术有限公司 Bmp报文的处理方法和装置
CN106161256A (zh) * 2016-07-26 2016-11-23 杭州华三通信技术有限公司 一种边界网关协议bgp路由的处理方法及装置
CN106789638A (zh) * 2016-12-28 2017-05-31 华为技术有限公司 一种处理路由的方法及网络设备

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021088439A1 (zh) * 2019-11-06 2021-05-14 华为技术有限公司 一种监控对等体的运行状态的方法、装置及存储介质
US12132640B2 (en) 2019-11-06 2024-10-29 Huawei Technologies Co., Ltd. Method for monitoring running state of peer, apparatus, and storage medium
CN112615914A (zh) * 2020-12-10 2021-04-06 中通服咨询设计研究院有限公司 一种利用边界网关协议传递组播热备表项的方法
CN112615914B (zh) * 2020-12-10 2022-07-05 中国电信股份有限公司江苏分公司 一种利用边界网关协议传递组播热备表项的方法
CN113794644A (zh) * 2021-10-12 2021-12-14 新华三信息安全技术有限公司 一种路由表项删除方法及装置
CN113794644B (zh) * 2021-10-12 2023-05-26 新华三信息安全技术有限公司 一种路由表项删除方法及装置

Also Published As

Publication number Publication date
CN106789638B (zh) 2020-08-07
CN112039769B (zh) 2024-10-15
CN106789638A (zh) 2017-05-31
CN112039769A (zh) 2020-12-04

Similar Documents

Publication Publication Date Title
WO2018121284A1 (zh) 一种处理路由的方法及网络设备
US10757006B1 (en) Enhanced traffic flow in software-defined networking controller-based architecture
EP2586163B1 (en) Notifying a controller of a change to a packet forwarding configuration of a network element over a communication channel
US10673736B2 (en) Traffic reduction in data center fabrics
US9219640B2 (en) Performing failover in a redundancy group
US20150326469A1 (en) Oam aided explicit path report via igp
EP2725743A1 (en) Method and device for processing location information about fault point
US9774494B2 (en) Method, node, and system for detecting performance of layer 3 virtual private network
CN110891018B (zh) 网络流量恢复方法、装置、sdn控制器及存储介质
KR20140035925A (ko) 액티브 tcp 어플리케이션으로부터 스탠바이 tcp 어플리케이션으로의 무중단 스위치오버
US9270558B2 (en) Method, local gateway, and system for local voice survivability
WO2018050120A1 (zh) 主备伪线pw切换
WO2018099309A1 (zh) 一种路由检测的方法及网络设备
EP3806404A1 (en) Communication method, device and system for avoiding loop
WO2016019866A1 (en) Tunnel between interior border gateway protocol neighbors
WO2021082803A1 (zh) 路由信息传输方法及装置、数据中心互联网络
EP2575306B1 (en) Ospf nonstop routing synchronization nack
US10680930B2 (en) Method and apparatus for communication in virtual network
CN101635656B (zh) 层次化有序地址分组网络中故障检测的方法、系统及设备
EP3550785B1 (en) Message processing method and network device
WO2019001487A1 (zh) 一种路径数据的删除方法、一种消息转发方法和装置
WO2017162172A1 (zh) 重启恢复时间的调整方法和装置
WO2009071024A1 (fr) Procédé de traitement d'échec de vpn et routeur pe pour fournisseur de réseau
US20230269168A1 (en) Method and apparatus for establishing border gateway protocol bgp peer, device, and system
US20240244124A1 (en) Input state synchronization for border gateway protocol (bgp) processes

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17886662

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17886662

Country of ref document: EP

Kind code of ref document: A1