![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 468](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487468.webp)
7.3.2 Configuring the NetStream Function on an Interface
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
{
ethernet
|
gigabitethernet
|
xgigabitethernet
}
interface-number
The interface view is displayed.
Step 3
Run:
ip netstream
{
inbound
|
outbound
}
The NetStream function is enabled on the interface to collect statistics about IPv4 unicast traffic.
By default, the NetStream function is disabled in inbound and outbound directions. In this case,
statistics about IPv4 unicast traffic are not collected.
The Netstream can collect statistics about inbound and outbound packets separately.
Step 4
(Optional) Run:
ip netstream suppress
suppress-rate
{
inbound
|
outbound
}
The suppression ratio of the packets on the interface is set.
By default, the suppression ratio on interfaces is 1000.
The suppression ratio is used for packet sampling. After the suppression ratio is set, the S9300
does not sample the packets that are filtered out in the suppression.
Step 5
(Optional) Run:
ip netstream sampler
fix-packets
packet-interval
{
inbound
|
outbound
}
The fixed-packets sampling ratio is set on the interface.
By default, the fixed-packets sampling ratio on an interface is 1000:1.
----End
7.3.3 (Optional) Configuring the Version of Exported Packets
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ip netstream export version
version
[
origin-as
|
peer-as
] [
bgp-nexthop
]
The version of exported packets is configured.
By default, the version of exported packets is v5, the AS option is none, and the statistics do not
contain the information about the BGP nexthop.
7 NetStream Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
7-6
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)