R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
155
[Sysname] ip netstream mpls no-ip-fields
ip netstream sampler
Use ip netstream sampler to enable NetStream sampling.
Use undo ip netstream sampler to disable NetStream sampling.
Syntax
ip netstream sampler sampler-name { inbound | outbound }
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 Ethernet 1/0 by referencing sampler abc.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] ip netstream inbound
[Sysname-Ethernet1/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 minutes
undo ip netstream timeout active
Default
The aging timer is 30 minutes for active flows.
Views
System view
Default command level
3: Manage level










