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.
- Run the following command on the FW on which NetStream
sampling is required to access the system view.
system-view
- 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.
- Run the following command on the FW on which NetStream
sampling is required to access the system view.
system-view
- Access the view of the specified aggregation mode.
ip netstream aggregation { as | destination-prefix | protocol-port | protocol-port-tos | source-prefix }
- Set the parameters for refreshing the template for outputting
the statistics on aggregated traffic in version 9.
template timeout-rate timeout-interval