254
Configuring the refresh rate for NetStream version 9 or
version 10 template
Version 9 and version 10 are template-based and support user-defined formats. A NetStream device
must send the template to NetStream servers regularly, because the servers do not permanently
save the templates.
For a NetStream server to use correct version 9 or version 10 template, configure the time-based or
packet count-based refresh rate. If both settings are configured, the template is sent when either of
the conditions is met.
To configure the refresh rate for NetStream version 9 or version 10 template:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the refresh rate for
NetStream version 9 or
version 10 template.
ip netstream export template
refresh-rate
{
packet packets |
time minutes
}
By default, the packet
count-based refresh rate is 20
packets, and the time-based
refresh interval is 30 minutes.
Configuring NetStream flow aging
Flow aging methods
Periodical aging
Periodical aging uses the following methods:
•
Inactive flow aging
—A flow is inactive if no packet arrives for this NetStream entry within the
period specified by using the
ip netstream timeout inactive
command. When the inactive flow
aging timer expires, the following events occur:
The inactive flow entry is aged out.
The statistics of the flow are sent to NetStream servers and are cleared in the cache. The
statistics can no longer be displayed by using the
display ip netstream cache
command.
When you use the inactive flow aging method, the cache is large enough for new flow entries.
•
Active flow aging
—A flow is active if packets arrive for the NetStream entry within the period
specified by using the
ip netstream timeout active
command. When the active flow aging
timer expires, the statistics of the active flow are exported to NetStream servers. The device
continues to collect active flow statistics, which can be displayed by using the
display ip
netstream cache
command. The active flow aging method periodically exports the statistics of
active flows to NetStream servers.
Forced aging
To implement forced aging, use the
reset ip netstream statistics
command. This command ages
out all NetStream entries, and exports and clears the statistics.
Configuration procedure
To configure flow aging:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...