beautypg.com

Configuration procedure, Displaying and maintaining netstream – H3C Technologies H3C MSR 50 User Manual

Page 115

background image

Configuration procedure

To configure flow aging:

Step Command

Remarks

251.

Enter system view.

system-view

N/A

Optional.
By default:

Set the aging timer for active flows:

ip netstream timeout active minutes

The aging timer for active

flows is 30 minutes.

252.

Configure periodical

aging.

Set the aging timer for inactive flows:

ip netstream timeout inactive seconds

The aging timer for

inactive flows is 30
seconds.

Optional.

a.

Set the maximum entries that the cache

can accommodate:
ip netstream max-entry max-entries

By default, the cache can
accommodate a maximum of

100 entries.

253.

Configure forced

aging of the
NetStream entries.

b.

Exit to user view:
quit

The reset ip netstream

statistics command also
clears the cache.

c.

Configure forced aging:
reset ip netstream statistics

Displaying and maintaining NetStream

Task Command

Remarks

display ip netstream cache [ verbose ] [ |

{ begin | exclude | include }
regular-expression ]

Display NetStream entry information in
the cache.

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.

Available in user
view.

reset ip netstream statistics

102