Control method, apparatus, and system for collecting traffic statistics

    公开(公告)号:US11381480B2

    公开(公告)日:2022-07-05

    申请号:US16148429

    申请日:2018-10-01

    摘要: A control method for collecting traffic statistics includes a control node obtains a statistics collection instruction, where the statistics collection instruction is used to instruct to collect traffic statistics of a target data flow, generates a traffic statistics collection policy according to the statistics collection instruction, where the traffic statistics collection policy includes a matching identifier of the target data flow, a first command, and a second command, and sends the traffic statistics collection policy to a forwarding node. The first command is used to instruct the forwarding node to set a traffic identifier for the target data flow based on the matching identifier, the second command is used to instruct the forwarding node to add traffic generated by a target packet to a traffic statistics collection result corresponding to the traffic identifier which is used to describe the traffic of the target data flow.

    Routing control method, network device, and controller

    公开(公告)号:US11349759B2

    公开(公告)日:2022-05-31

    申请号:US16887299

    申请日:2020-05-29

    摘要: A routing control methodincludes: the network device obtains a route suppression request; determines the second routing entry; and sets a state of the second routing entry to a non-delivery state that is used to indicate that the second routing entry does not need to be delivered to a forwarding table. Wherein the network device has a first routing entry and a second routing entry, an address prefix of the first routing entry is a first address prefix, an address prefix of the second routing entry is a second address prefix, a network segment to which the second address prefix belongs is a subset of a network segment to which the first address prefix belongs, and a mask in the second address prefix is greater than a mask in the first address prefix.

    Method and apparatus for implementing load sharing

    公开(公告)号:US11336577B2

    公开(公告)日:2022-05-17

    申请号:US16937563

    申请日:2020-07-23

    摘要: The present disclosure discloses a method and an apparatus for implementing load sharing. The method includes: for a congested first link on a first forwarding node, selecting, by a network device, a packet flow forwarded by using the first link; selecting a second link that may be used to forward the packet flow and that is not congested after available bandwidth of the second link is occupied by the packet flow, where the second link is a link between the first forwarding node and a second forwarding node; selecting a first hash gene corresponding to the second link; determining that a third link is not in a congested state after available bandwidth of the third link is occupied by the packet flow; and saving the first hash gene in a source node of the packet flow, where the third link is a link that is on the second forwarding node.

    Path determining method, apparatus, and system

    公开(公告)号:US11323366B2

    公开(公告)日:2022-05-03

    申请号:US16221568

    申请日:2018-12-16

    摘要: Embodiments of the present invention disclose a path determining method, apparatus, and system. In a hybrid network including one controller for implementing a control function, the controller may separately obtain network topology information of a first network and a second network of different network types by using a same control channel protocol. When the controller obtains a path determining requirement for the data transmission path, because the controller has the network topology information of the first network and the second network, during computation of the data transmission path, the controller can determine a path computation result including transmission path parts of the first network and the second network, without performing additional information exchange with another device, and send the path computation result to the first network device. In this way, planning efficiency of the data transmission path is improved.

    Packet forwarding method, apparatus, and system

    公开(公告)号:US11303564B2

    公开(公告)日:2022-04-12

    申请号:US16878428

    申请日:2020-05-19

    摘要: A packet forwarding method, a packet forwarding system, and a provider edge (PE) device. The method applied to an Ingress PE includes: determining, in an Ethernet virtual private network instance (EVI), that a state of the EVI on a first Egress PE is Active, where an Ethernet virtual private network (EVPN) corresponding to the EVI includes a first customer edge (CE); determining that a state of the EVI on a second Egress PE is Inactive; skipping, forwarding a broadcast, unknown unicast, and multicast (BUM) packet to the second Egress PE, where the BUM packet is from the first CE; and forwarding, the BUM packet to the first Egress PE. According to the application, repeated BUM traffic that is transmitted in a bearer network and is not finally sent to a remote site is reduced; therefore, a waste of bandwidth in the bearer network is reduced.

    Information synchronization method, apparatus, and system

    公开(公告)号:US10999194B2

    公开(公告)日:2021-05-04

    申请号:US16279401

    申请日:2019-02-19

    摘要: An information synchronization method includes sending, by a controller, a first message to a network device, where the first message carries control routing protocol (CRP) routing entry information, and is used to advertise a CRP route, and the first message includes first identification information, and after receiving the first message, storing, by a forwarding device, the CRP routing entry information into a CRP routing table of the network device as indicated by the first identification information. Hence, because a route advertised by the controller and a route advertised using a routing protocol between forwarding devices are stored in different routing tables, a related application of the route advertised using the routing protocol between the forwarding devices is not affected.

    Virtual private network VPN service optimization method and device

    公开(公告)号:US10797911B2

    公开(公告)日:2020-10-06

    申请号:US16047735

    申请日:2018-07-27

    摘要: A first network device includes a processor configured to analyze a data stream entering a network on which the first network device is located to obtain a traffic characteristic of a target data stream, and advertise a Flow Specification (FlowSpec) route, where the FlowSpec route carries redirect indication information, the redirect indication information includes identification information, the identification information is used to uniquely identify a first virtual private network (VPN) instance in a second network device, the redirect indication information instructing to redirect the data stream including the traffic characteristic of the target data stream to the first VPN instance, the second network device is an edge device of a service provider network accessed by the network, and the first VPN instance is a target VPN instance to which the target data stream is redirected in the second network device.

    Flow specification protocol-based communications method, device, and system

    公开(公告)号:US10757008B2

    公开(公告)日:2020-08-25

    申请号:US16137817

    申请日:2018-09-21

    摘要: Embodiments of the present invention provide a Flow Specification-based communications method, device, and system. The method includes: obtaining, by a controller, a requirement indicating that a first resource on a forwarding device needs to be associated with a second resource on the forwarding device; and sending, by the controller, a Border Gateway Protocol Flow Specification BGP Flow Spec protocol packet according to the requirement, where the BGP Flow Spec protocol packet includes a network layer reachability information field and an extended community attribute field, the network layer reachability information field carries characteristic information of the first resource, the extended community attribute field carries a global identifier GID used to indicate the second resource, and the BGP Flow Spec protocol packet is used to instruct to associate the first resource with the second resource.

    Information Synchronization Method, Apparatus, and System

    公开(公告)号:US20190182152A1

    公开(公告)日:2019-06-13

    申请号:US16279401

    申请日:2019-02-19

    IPC分类号: H04L12/741

    摘要: An information synchronization method includes sending, by a controller, a first message to a network device, where the first message carries control routing protocol (CRP) routing entry information, and is used to advertise a CRP route, and the first message includes first identification information, and after receiving the first message, storing, by a forwarding device, the CRP routing entry information into a CRP routing table of the network device as indicated by the first identification information. Hence, because a route advertised by the controller and a route advertised using a routing protocol between forwarding devices are stored in different routing tables, a related application of the route advertised using the routing protocol between the forwarding devices is not affected.

    ROUTING CONTROL METHOD, NETWORK DEVICE, AND CONTROLLER

    公开(公告)号:US20190036822A1

    公开(公告)日:2019-01-31

    申请号:US16147179

    申请日:2018-09-28

    IPC分类号: H04L12/741 H04L12/721

    摘要: Embodiments of the present disclosure provide a routing control method, network device, and controller. The method may include the network device obtaining a route suppression request. The method may also include determining the second routing entry. Furthermore, the method may include setting a state of the second routing entry to a non-delivery state that is used to indicate that the second routing entry does not need to be delivered to a forwarding table. In the method, the network device may have a first routing entry and a second routing entry, an address prefix of the first routing entry is a first address prefix, an address prefix of the second routing entry is a second address prefix, a network segment to which the second address prefix belongs is a subset of a network segment to which the first address prefix belongs, and a mask in the second address prefix is greater than a mask in the first address prefix.