The collect ip tcp-flag command configures the flexible flow statistics exported to the NSC to contain the TCP flags of a flow.
The undo collect ip tcp-flag command restores the default setting.
By default, the flexible flow statistics exported to the NSC do not contain the TCP flags of a flow.
Usage Scenario
To obtain richer flow statistics, configure whether the flexible flow statistics exported to the NSC contain the TCP flags of a flow.
Precautions
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.