CPC H04L 45/16 (2013.01) [H04L 12/1845 (2013.01); H04L 43/026 (2013.01); H04L 45/34 (2013.01)] | 30 Claims |
1. A method, comprising:
performing, by a first network device, bit index explicit replication (BIER) encapsulation on first multicast data based on a traffic statistics collection instruction, to obtain a first BIER packet, wherein the traffic statistics collection instruction indicates a multicast source group of the first multicast data, and the traffic statistics collection instruction instructs to perform traffic statistics collection on the first multicast data that belongs to the multicast source group, and wherein the first network device is an ingress device in a BIER domain;
performing, by the first network device, traffic statistics collection on the first BIER packet based on multicast flow information, to obtain a traffic statistics collection result of the first BIER packet, wherein the multicast flow information identifies a multicast flow to which the first BIER packet belongs; and
sending, by the first network device, the multicast flow information and the traffic statistics collection result of the first BIER packet to a controller.
|