2299
Example # Set the NetStream statistics packet version number to 5 and the AS option to
origin-as.
<Sysname> system-view
[Sysname] ip netstream export version 5 origin-as

ip netstream max-entry

Syntax ip netstream max-entry max-entries
undo ip netstream max-entry
View System view
Parameter max-entries: NetStream cache size. The value ranges from 1000 to 1000000 and
defaults to 10000.
Description Use the ip netstream max-entry command to set the NetStream cache size,
meaning maximum number of entries that the NetStream cache can
accommodate.
Use the undo ip netstream max-entry command to restore the default.
Example # Set the NetStream cache size to 5000.
<Sysname> system-view
[Sysname] ip netstream max-entry 5000

ip netstream timeout active

Syntax ip netstream timeout active minutes
undo ip netstream timeout active
View System view
Parameter minutes: Sets the length of the active aging timer for NetStream cache entries, in
the range 1 to 60 minutes. The default value is 30 minutes.
Description Use the ip netstream timeout active command to set the active aging timer
for NetStream cache entries.
Use the undo ip netstream timeout active command to restore the default.
Related command: ip netstream timeout inactive.
cCAUTION: You can configure the active aging timer and inactive aging timer at the
same time. When either one of them times out, the entry ages out. The time
precision is 10 seconds.