Peer relationship management method and apparatus, device, and storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorHaibo Wang
Life of this patent
Estimating the term…
Abstract
This application provides a peer relationship management method and apparatus, a device, and a storage medium, and belongs to the field of network technologies. In this application, when a peer relationship between a first routing device and a second routing device is interrupted, routing entries received from the second routing device are not deleted. Services may be still processed, within a time range from a time at which the peer relationship is interrupted to a time at which the peer relationship is reestablished, by using the routing entries received from the second routing device.
Claims14
A method, applied to a first routing device, wherein the method comprises:
- interrupting a peer relationship between the first routing device and a second routing device based on a target address family capability being enabled for the second routing device, wherein the target address family capability is different from any address family capability that has been previously enabled for the second routing device;
- skipping deleting a first routing entry in a routing table when the peer relationship between the first routing device and the second routing device is interrupted, wherein the first routing entry is received by the first routing device from the second routing device;
- processing a service by using the first routing entry when the peer relationship between the first routing device and the second routing device is interrupted;
- receiving a second routing entry from the second routing device when the peer relationship is reestablished;
- and
- deleting a third routing entry from the routing table based on the first routing entry and the second routing entry, wherein the third routing entry belongs to the first routing entry and does not belong to the second routing entry.
An apparatus, applied to a first routing device, wherein the apparatus comprises:
- at least one processor;
- and
- one or more memories coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions instruct the at least one processor to cause the apparatus to:
- interrupt a peer relationship between the first routing device and a second routing device based on a target address family capability being enabled for the second routing device, wherein the target address family capability is different from any address family capability that has been previously enabled for the second routing device;
- skip deleting a first routing entry in a routing table when the peer relationship between the first routing device and the second routing device is interrupted, wherein the first routing entry is received by the first routing device from the second routing device;
- process a service by using the first routing entry when the peer relationship between the first routing device and the second routing device is interrupted;
- receive a second routing entry from the second routing device when the peer relationship is reestablished;
- and
- delete a third routing entry from the routing table based on the first routing entry and the second routing entry, wherein the third routing entry belongs to the first routing entry and does not belong to the second routing entry.
Dependencies are inferred from the claim text.