R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

153
Syntax
ip netstream filter acl acl-number { inbound | outbound }
undo ip netstream filter acl acl-number { inbound | outbound }
Default
NetStream filtering is disabled. NetStream collects statistics about all IPv4 packets passing through the
interface.
Views
Interface view
Default command level
3: Manage level
Parameters
acl acl-number: Specifies an ACL number in the range of 2000 to 3999.
inbound: Filters incoming traffic.
outbound: Filters outgoing traffic.
Usage guidelines
The NetStream filtering function is not effective on MPLS packets.
If NetStream filtering and sampling are both configured, packets are filtered first and then the permitted
packets are sampled.
An ACL referenced by NetStream filtering must already exist and cannot be empty. An ACL that is
referenced by NetStream filtering cannot be deleted or modified. For more information about ACLs, see
ACL and QoS Configuration Guide.
Examples
# Reference ACL 2003 to enable NetStream filtering in the outbound direction of Ethernet 1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] ip netstream outbound
[Sysname-Ethernet1/0] ip netstream filter acl 2003 outbound
ip netstream max-entry
Use ip netstream max-entry to configure the maximum number of NetStream entries that the cache can
accommodate.
Use undo ip netstream max-entry to restore the default.
Syntax
ip netstream max-entry max-entries
undo ip netstream max-entry
Default
The cache can accommodate a maximum of NetStream 10000 entries.
Views
System view