The statistic mode forward command enables a device's all main physical interfaces and logical interfaces to collect traffic statistics based on IPv4 and IPv6 forwarding.
The undo statistic mode forward command restores the default traffic statistics collection mode.
By default, an interface collects traffic statistics based on the destination MAC address in packets.
Usage Scenario
To enable a device's all interfaces to collect traffic statistics based on IPv4 and IPv6 forwarding, run the statistic mode forward command. The supported interfaces include main physical interfaces and logical interfaces.
Configuration Impact
After statistics collection in forward mode is configured on a device, statistics about IPv4 unicast and IPv6 unicast packets are displayed in the output of the command that displays interface statistics.
Precautions