R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
179
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 this command takes effect only after the
ACL is created. 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 GigabitEthernet
2/0/0.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/0
[Sysname-GigabitEthernet2/0/0] ip netstream outbound
[Sysname-GigabitEthernet2/0/0] ip netstream filter acl 2003 outbound
ip netstream mpls
Use ip netstream mpls to collect and export statistics on MPLS packets. If you do not provide any
arguments, the top label and IP fields are also counted. If the no-ip-fields keyword is provided, the
command exports data about MPLS packet only.
Use undo ip netstream mpls to disable counting and exporting of MPLS packets.
Syntax
ip netstream mpls [ label-positions label-position1 [ label-position2 [ label-position3 ] ] ] [ no-ip-fields ]
undo ip netstream mpls
Default
Counting and exporting of MPLS packets are disabled.
Views
System view