Patent ID: 11895021
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. 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.