R3303-HP 6600/HSR6600 Routers Network Management and Monitoring Command Reference

182
undo ip netstream sampler sampler-name { inbound | outbound }
Default
NetStream sampling is disabled.
Views
Interface view
Default command level
3: Manage level
Parameters
sampler sampler-name: Specifies a sampler name, a string of up to 32 characters.
inbound: Enables NetStream sampling in the inbound direction.
outbound: Enables NetStream sampling in the outbound direction.
Examples
# Enable NetStream sampling in the inbound direction of GigabitEthernet 2/0/0 by referencing
sampler abc.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/0
[Sysname-GigabitEthernet2/0/0] ip netstream inbound
[Sysname-GigabitEthernet2/0/0] ip netstream sampler abc inbound
ip netstream timeout active
Use ip netstream timeout active to set the aging timer for active flows. This timer applies to NetStream
traditional data flows.
Use undo ip netstream timeout active to restore the default.
Syntax
ip netstream timeout active seconds
undo ip netstream timeout active
Default
The aging timer is 1800 seconds for active flows.
Views
System view
Default command level
3: Manage level
Parameters
seconds: Sets the aging timer for active flows, in the range of 10 to 3600 seconds.
Usage guidelines
You can configure both the aging timer for active flows and the aging timer for inactive flows. When
either timer for a flow expires, the flow is aged out. The time precision is 10 seconds.