The cache can accommodate a maximum of 620000 NetStream entries, and the device ages out the
entries when the upper limit is reached.
Views
System view
Default command level
3: Manage level
Parameters
max-entries: Specifies the maximum number of entries that the cache can save. The value range is 1000
to 620000.
aging: Ages out the entries in the cache when the maximum number is reached.
disable-caching: Disables creation of a new entry when the maximum number is reached.
Usage guidelines
The following matrix shows the command and router compatibility:
Command
ipv6 netstream
max-entry
Examples
# Set the maximum entries in the cache to 5000.
<Sysname> system-view
[Sysname] ipv6 netstream max-entry 5000
# Disable creation of a new entry when the upper limit is reached.
<Sysname> system-view
[Sysname] ipv6 netstream max-entry disable-caching
# Age out the entries when the upper limit is reached.
<Sysname> system-view
[Sysname] ipv6 netstream max-entry aging
ipv6 netstream timeout active
Use ipv6 netstream timeout active to set the aging timer for active flows. This timer applies to only
NetStream traditional data flows.
Use undo ipv6 netstream timeout active to restore the default.
Syntax
ipv6 netstream timeout active minutes
undo ipv6 netstream timeout active
Default
The aging timer is 30 minutes for active flows.
Views
System view
SR6602
SR6602-X
Yes
Yes
SR6604/SR6608/SR6616
Yes on routers with the MCP MPU
200
SR6604-X/SR660
8-X/SR6616-X
No