< Home

Configuring NetStream Sampling

Context

You can set the intervals for sampling packets so that only statistics of sampled packets are collected. The statistics show the flow status on the entire network. The sampling function reduces the impact of NetStream on device performance.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the interface interface-type interface-number command to enter the interface view.
  3. Run the ip netstream sampler fix-packets packet-interval { inbound | outbound } command to configure IPv4 packet sampling on the interface.

    By default, an interface uses the packet-based regular sampling and the sampling ratio is 1000.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >