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

Claim 0:
1. 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.