To check the network status or locate network faults, you can enable IPv4 or IPv6 packet statistics collection on an interface and view packet statistics on the interface, monitoring traffic on the interface.
The system view is displayed.
The interface view is displayed.
IPv4 or IPv6 packet statistics collection is enabled on the interface.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support IPv4 or IPv6 packet statistics collection on interfaces.
This command and the statistic enable { both | inbound | outbound } command used in the VLANIF interface view are mutually exclusive.
If this command and the traffic policy command are configured together on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S, traffic statistics will fail to be collected.