The collect counter command allows the flexible flow statistics exported to the NetStream Collector (NSC) to contain the number of bytes and packets.
The undo collect counter command restores the default setting.
By default, the flexible flow statistics exported to the NSC do not contain the number of bytes or packets.
Parameter |
Description |
Value |
---|---|---|
bytes | Indicates that the flexible flow statistics exported to NSC contain the number of bytes. |
- |
packets | Indicates that the flexible flow statistics exported to NSC contain the number of packets. |
- |
Usage Scenario
To obtain richer flow statistics, configure whether flexible flow statistics contain the number of bytes and packets.
Precaution
The flexible flow statistics template that has been applied to an interface cannot be modified or deleted. Run the undo port ip netstream record command to unbind a specified flexible flow statistics template from the interface, and then you can modify or delete the template.
The command can be run multiple times, and all the configurations take effect.