No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Flexible Flow Statistics Template

Configuring a Flexible Flow Statistics Template

Context

You need to configure a flexible flow statistics template before applying it to an interface. To obtain richer flow statistics,

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the ip netstream record record-name command to create a flexible flow statistics template or enter the view of an existing flexible flow statistics template.

    By default, no flexible flow statistics template exists.

  3. Run the match ipv4 { protocol | tos | source-address | destination-address | source-port | destination-port } command to configure the aggregation keywords for the IPv4 flexible flow statistics template.

    By default, no IPv4 aggregation keyword is configured in a flexible flow statistics template.

  4. Run the match vxlan vni command to configure the VXLAN VNI aggregation keyword in the flexible flow statistics template.

    By default, no VXLAN VNI aggregation keyword is configured in a flexible flow statistics template.

  5. (Optional) Run the collect counter { bytes | packets } command to configure the flexible flow statistics exported to the NSC to contain the number of packets or bytes.

    By default, the flexible flow statistics that are exported to the NSC do not contain the number of packets and bytes.

  6. (Optional) Run the collect interface { input | output } command to configure the flexible flow statistics exported to the NSC to contain the indexes of the inbound or outbound interfaces.

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

  7. (Optional) Run the collect application { name | description } command to configure the application name or description of traffic to be added to the flexible flow statistics exported to the NSC.

    By default, the flexible flow statistics that are exported to the NSC do not contain the application name and description.

  8. (Optional) Run the collect category name command to configure the application category and subcategory of traffic to be added to the flexible flow statistics exported to the NSC.

    By default, the flexible flow statistics that are exported to the NSC do not contain the application category and subcategory.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 30440

Downloads: 177

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next