R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

143
Configuration procedure
To configure flow aging:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable periodical
aging and TCP FIN-
and RST-triggered
aging.
ip netstream aging
Optional.
By default, periodical aging
and TCP FIN- and
RST-triggered aging are
enabled.
3. Configure periodical
aging.
Set the aging timer for active flows:
ip netstream timeout active seconds
Set the aging timer for inactive flows:
ip netstream timeout inactive seconds
Optional.
By default:
The aging timer for active
flows is 1800 seconds.
The aging timer for
inactive flows is 30
seconds.
4. Configure forced
aging of the
NetStream entries.
a. Set the maximum entries that the cache
can accommodate, and the processing
method when the upper limit is reached:
ip netstream max-entry { max-entries |
aging | disable-caching }
b. Exit to user view:
quit
c. Configure forced aging:
reset ip netstream statistics
Optional.
By default, the cache can
accommodate a maximum of
620000 entries, and the
device ages out the entries
when the upper limit is
reached.
The ip netstream max-entry
command is supported on
only 6602 and HSR6602
routers.
The reset ip netstream
statistics command also
clears the cache.
Displaying and maintaining NetStream
Task Command
Remarks
Display NetStream entry
information in the cache.
display ip netstream cache [ verbose ]
[ destination ip-address | interface
interface-type interface-number | source
ip-address ] * [ slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display information about
NetStream data export.
display ip netstream export [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display the configuration and
status of the NetStream flow
record templates.
display ip netstream template [ slot
slot-number ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.