Sampling Ipv4 Flows - Huawei NetEngine5000E Configuration Manual

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
The system view is displayed.
Step 2 Run:
ip netstream tcp-flag enable
Statistics collection of TCP flags is enabled.
An original flow is created for each flag value. If statistics collection of TCP flags is enabled,
the number of original flows in the system will greatly increase. By default, statistics collection
of TCP flags is disabled.
Step 3 Run:
commit
The configuration is committed.
----End

6.3.5 Sampling IPv4 Flows

You can enable NetStream to sample and analyze the incoming or outgoing flows on an interface
as needed.
Context
By default, NetStream enabled on an interface can sample and collect the statistics about the
following packets:
l
l
l
l
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 (Optional) Run:
ip netstream sampler fix-packets fix-packets-number { inbound | outbound }
The sampling mode and sampling ratio are configured globally.
By default, NetStream is disabled from packet sampling.
Step 3 Run:
interface interface-type interface-number
The interface view is displayed.
Step 4 (Optional) Run:
ip netstream sampler fix-packets fix-packets-number { inbound | outbound }
Issue 01 (2011-10-15)
Unicast packets
Multicast packets
Packets discarded by the uRPF/RPF check
Fragmented packets (only the first fragment of each packet will be sampled)
NOTE
If a NetStream-enabled interface is bound to a VPN instance, all packets in the VPN instance will be
sampled.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 NetStream Configuration
135

Advertisement

Table of Contents
loading

Table of Contents