摘要 |
Embodiments of the present invention provide a method, an apparatus, and a system for flow measurement, which are used to reduce management bandwidth of a controller over a forwarding device. The method includes: receiving a data flow sent by a forwarding device, and knowing the type of the data flow by parsing the data flow; if the type of the data flow is a preset type in a measurement flow type set, obtaining a feature identifier carried in the data flow and packet header information of the data flow, and obtain operation information corresponding to the data flow, and adding a measurement operation for the feature identifier to the operation information, where the operation information is used to record various operations of the data flow; and sending, to the forwarding device, the packet header information and the operation information added with the measurement operation for the feature identifier. |