< Home

collect interface

Function

The collect interface command allows the flexible flow statistics exported to the NSC to contain the indexes of inbound and outbound interfaces.

The undo collect interface command restores the default setting.

By default, the flexible flow statistics exported to the NSC do not contain the index of inbound or outbound interface.

Format

collect interface { input | output }

undo collect interface { input | output }

Parameters

Parameter

Description

Value

input

Indicates that the flexible flow statistics exported to the NSC contain the index of inbound interface.

-

output

Indicates that the flexible flow statistics exported to the NSC contain the index of outbound interface.

-

Views

Flexible flow statistics template view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To obtain richer flow statistics, configure whether flexible flow statistics exported to the NSC contain indexes of inbound and outbound interfaces.

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.

Example

# Configure the flexible flow statistics template record1 to export the flexible flow statistics containing the inbound interface index to the NSC.

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