< Home

Configuring Parameters for Refreshing the Template

Version 9 uses the template to output statistics. For example, by adjusting the parameters in the template, you can change the interval for sending the template.

Procedure

  • Configure the parameters for refreshing the template for original traffic flows.
    1. Run the following command on the FW on which NetStream sampling is required to access the system view.

      system-view

    2. Set the parameters for refreshing the template for outputting the statistics on original traffic flows in version 9.

      { ip | ipv6 } netstream export template timeout-rate timeout-interval

      For the NSC to receive and process the statistics, you need to send the appropriate template to the NSC. After you set the parameters for refreshing the template, the template on the NSC can be synchronized with that of the system.

  • Configure the parameters for refreshing the template for aggregated traffic.
    1. Run the following command on the FW on which NetStream sampling is required to access the system view.

      system-view

    2. Access the view of the specified aggregation mode.

      ip netstream aggregation { as | destination-prefix | protocol-port |  protocol-port-tos | source-prefix }

    3. Set the parameters for refreshing the template for outputting the statistics on aggregated traffic in version 9.

      template timeout-rate timeout-interval

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic