To output statistics packets, you can enable interfaces, set the output formats of packets, and configure the statistics output.