Message sending and receiving method, apparatus, and system
AssigneeHuawei Technologies Co., Ltd.
InventorKun Zhao
Life of this patent
Estimating the term…
Abstract
A first network device sends a border gateway protocol (BGP) message to a second network device. The BGP message includes Ethernet virtual private network network layer reachability information (EVPN NLRI) and first information. The first information indicates a first maximum rate at which the second network device sends traffic to the first network device based on the EVPN NLRI. When the second network device sends the traffic to the first network device based on the EVPN NLRI, a first-type rate is less than or equal to the first maximum rate. According to the method in this application, less public network bandwidth is occupied, and overheads of the network device can be reduced.
Claims14
A first network device, comprising:
- a processor;
- and
- a memory storing computer-readable instructions, which when executed by the processor, cause the processor to perform following operations:
- generating, by the first network device, a border gateway protocol (BGP) message, wherein the BGP message comprises Ethernet virtual private network network layer reachability information (EVPN NLRI), first information indicating a first maximum rate at which a second network device sends traffic to the first network device based on the EVPN NLRI, and second information indicating a type of the traffic with a type rate being less than or equal to the first maximum rate, the type of the traffic being one of a unicast traffic, a multicast traffic, and a broadcast traffic, wherein the EVPN NLRI is an NLRI associated to an EVPN;
- sending, by the first network device, the BGP message to the second network device;
- and
- receiving, by the first network device, the traffic from the second network device at the type rate limited by the first maximum rate, wherein the type rate is a committed information rate (CIR) or a peak information rate (PIR) and a type of the received traffic corresponds to the type of traffic as indicated by the second information, wherein the first information is carried in an extended community attribute of the BGP message.
A second network device, comprising:
- a processor;
- and
- a memory storing computer-readable instructions, which when executed by the processor, cause the processor to perform following operations:
- receiving a border gateway protocol (BGP) message from a first network device, wherein the BGP message comprises Ethernet virtual private network network layer reachability information (EVPN NLRI), first information indicating a first maximum rate at which the second network device sends traffic to the first network device based on the EVPN NLRI, and second information indicating a type of the traffic with a type rate being less than or equal to the first maximum rate, the type of the traffic being one of a unicast traffic, a multicast traffic, and a broadcast traffic, wherein the EVPN NLRI is an NLRI associated to an EVPN;
- and
- sending the traffic to the first network device at the type rate based on the EVPN NLRI, the first information, and the second information, wherein the first network device is to receive the traffic from the second network device at the type rate and the type rate is less than or equal to the first maximum rate, wherein the type rate is a committed information rate (CIR) or a peak information rate (PIR) and a type of the sent traffic corresponds to the type of traffic as indicated by the second information, wherein the first information is carried in an extended community attribute of the BGP message.
A communications system, comprising:
- a first network device;
- and
- a second network device,
- wherein the first network device is to generate a border gateway protocol (BGP) message comprising Ethernet virtual private network network layer reachability information (EVPN NLRI), first informationindicating a first maximum rate at which the second network device sends traffic to the first network device based on the EVPN NLRI, and second information indicating a type of the traffic with a type rate being less than or equal to the first maximum rate, the type of the traffic being one of a unicast traffic, a multicast traffic, and a broadcast traffic, and the first network device is to send the BGP message to the second network device, wherein the EVPN NLRI is an NLRI associated to an EVPN;
- wherein the second network device is to receive a-the BGP message from the first network device, the BGP message comprising the EVPN NLRI, the first information, and the second information, and the second network device is to send the traffic to the first network device at a type rate based on the EVPN NLRL, first information, and the second information, wherein the type rate is less than or equal to the first maximum rate, wherein the type rate is a committed information rate (CIR) or a peak information rate (PIR) and the type of the sent traffic corresponds to the type as indicated by the second information;
- and
- wherein the first network device is to receive the traffic from the second network device at the type rate limited by the first maximum rate and a type of the received traffic corresponds to the type of traffic as indicated by the second information, wherein the first information is carried in an extended community attribute of the BGP message.
Dependencies are inferred from the claim text.