< Home

collect ip tcp-flag

Function

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.

Format

collect ip tcp-flag

undo collect ip tcp-flag

Parameters

None

Views

Flexible flow statistics template view

Default Level

3: Management level

Usage Guidelines

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.

Example

# Configure the flexible flow statistics exported to the NSC to contain the TCP flags of a flow.

<HUAWEI> system-view
[HUAWEI] ip netstream record record1
[HUAWEI-record-record1] collect ip tcp-flag
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >