Ip Netstream { Inbound | Outbound } Sampler - HP MSR1003-8S Command Reference Manual

Msr series network management and monitoring
Hide thumbs Also See for MSR1003-8S:
Table of Contents

Advertisement

outbound: Filters outgoing traffic.
acl acl-number: Specifies an ACL by its number. For a basic ACL, the value range is 2000 to 2999. For
an advanced ACL, the value range is 3000 to 3999.
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 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] ip netstream outbound
[Sysname-GigabitEthernet2/0/1] ip netstream outbound filter acl 2003

ip netstream { inbound | outbound } 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
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 outbound NetStream sampling on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] ip netstream inbound
[Sysname-GigabitEthernet2/0/1] ip netstream inbound sampler abc
374

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents