Ip Netstream Sampler; Ip Netstream Timeout Active - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

Usage guidelines
NetStream filtering uses an ACL to identify intended packets.
If you want to collect data for specific flows, use the ACL permit statements to identify the flows.
NetStream collects data only for these flows.
If you do not want to collect data for specific flows, use the ACL deny statements to identify the
flows. NetStream does not collect data for these flows.
Examples
# Use ACL 2003 for outbound NetStream filtering on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ip netstream outbound
[Sysname-GigabitEthernet1/0/1] ip netstream outbound filter acl 2003

ip netstream sampler

Use ip netstream sampler to enable NetStream sampling.
Use undo ip netstream sampler to disable NetStream sampling.
Syntax
ip netstream { inbound | outbound } sampler sampler-name
undo ip netstream { inbound | outbound } sampler
Default
NetStream sampling is disabled.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
inbound: Enables NetStream sampling in the inbound direction.
outbound: Enables NetStream sampling in the outbound direction.
sampler sampler-name: Specifies a sampler by its name. The name is a case-insensitive string of 1
to 31 characters.
Examples
# Use sampler abc for inbound NetStream sampling on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ip netstream inbound
[Sysname-GigabitEthernet1/0/1] ip netstream inbound sampler abc

ip netstream timeout active

Use ip netstream timeout active to set the aging timer for active flows.
Use undo ip netstream timeout active to restore the default.
349

Advertisement

Table of Contents
loading

Table of Contents