R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)

99
Ste
p
Command
Remarks
3. Configure forced
aging of the
NetStream entries.
a. Set the maximum entries that the cache
can accommodate:
ip netstream max-entry max-entries
b. Exit to user view:
quit
c. Configure forced aging:
reset ip netstream statistics
Optional.
By default, the cache can
accommodate a maximum of
100 entries.
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 ] [ |
{ 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 [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Clear the cache, age out, and export
all NetStream data.
reset ip netstream statistics
Available in user
view.
NetStream configuration examples
NetStream traditional data export configuration example
Network requirements
As shown in Figure 34, configure NetStream on Router A to collect statistics on packets passing through
it. Enable NetStream for incoming traffic on Ethernet 1/0 and for outgoing traffic on Ethernet 1/1.
Configure the router to export NetStream traditional data to UDP port 5000 of the NetStream server at
12.110.2.2/16.
Figure 34 Network diagram