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

Claim 0:
1. A traffic processing method implemented by a network device, wherein the traffic processing method comprises:
obtaining Border Gateway Protocol (BGP) flow specification (FlowSpec) information, wherein the BGP FlowSpec information comprises a filter condition and an action, wherein the BGP FlowSpec information indicates to perform the action on first traffic matching the filter condition, and wherein the filter condition comprises a first attribute of a first destination address; and
generating, based on the BGP FlowSpec information, a first forwarding information base (FIB) table entry,
wherein the first FIB table entry comprises a first correspondence between a first prefix and the action,
wherein the first FIB table entry instructs the network device to perform the action on second traffic matching the first prefix, and
wherein a second attribute of the first prefix is the same as the first attribute.