ip netstream record (VAP profile view)
Function
The ip netstream record command binds a flexible flow statistics template to a VAP profile.
The undo ip netstream record command unbinds a flexible flow statistics template from a VAP profile.
By default, no flexible flow statistics template is bound to a VAP profile.
Usage Guidelines
Usage Scenario
After a flexible flow statistics template is configured, run the ip netstream record command to bind the template to a VAP profile so that the flexible statistics exporting function can take effect.
After a flexible flow statistics template is bound to a VAP profile, the VAP aggregates flows based on the aggregation keywords configured in the VAP profile, collects flow statistics, and exports aged flows to the NSC.
Prerequisites
A flexible flow statistics template has been created and at least one aggregation keyword has been configured using the match command.
Precautions
Each VAP profile can be configured with only one flexible flow statistics template. To modify the flexible flow statistics template in the same VAP profile, run the undo ip netstream record command to delete the existing configuration.
If a flexible flow statistics template has been applied to the VAP profile, the template configuration cannot be modified or deleted.
Example
# Configure the flexible flow statistics template abc1 (aggregating flows based on the source and destination IP addresses, collecting statistics about the number of packets, and sending the inbound interface index) and bind the template to the VAP profile huawei.
<AC6605> system-view [AC6605] ip netstream record abc1 [AC6605-record-abc1] match ipv4 source-address [AC6605-record-abc1] match ipv4 destination-address [AC6605-record-abc1] collect counter packets [AC6605-record-abc1] collect interface input [AC6605-record-abc1] quit [AC6605] wlan [AC6605-wlan-view] vap-profile name huawei [AC6605-wlan-vap-prof-huawei] ip netstream record abc1