Example
# After successful configurations, run the
display ip netstream
all
command in the user view
to check the configurations.
<Huawei>
display ip netstream all
ip netstream aggregation timeout inactive
100
ip netstream aggregation as
enable
ip netstream export source 100.1.10.10
ip netstream export host 100.1.10.1 100
Ethernet1/0/0
ip netstream inbound
ip netstream outbound
# After successful configurations, run the
display ip netstream
statistic
command in the user
view to view the NetStream traffic statistics.
<Huawei>
display ip netstream statistic
Origin ingress entries : 30000
Origin ingress packets : 30000
Origin ingress octets : 1380000
Origin egress entries : 0
Origin egress packets : 0
Origin egress octets : 0
Origin total entries : 30000
Origin total entries : 0
Agility ingress entries : 30000
Agility ingress packets : 30000
Agility ingress octets : 3960000
Agility egress entries : 0
Agility egress packets : 0
Agility egress octets : 0
Agility total entries : 30000
Handle origin entries : 29035
Handle agility entries : 29050
Handle As aggre entries : 1
Handle ProtPort aggre entries : 1
Handle SrcPrefix aggre entries : 118
Handle DstPrefix aggre entries : 1
Handle Prefix aggre entries : 118
Handle AsTos aggre entries : 1
Handle ProtPortTos aggre entries : 1
Handle SrcPreTos aggre entries : 118
Handle DstPreTos aggre entries : 1
Handle PreTos aggre entries : 118
7.6 Configuring the Flexible NetStream Feature
This section describes how to configure the Flexible NetStream feature to flexibly create
NetStream statistics according to records.
7.6.1 Establishing the Configuration Task
Applicable Environment
To collect statistics on packets based on the protocol type, TOS, source IP address, destination
IP address, source port number, destination port number, you can configure Flexible NetStream.
Pre-configuration Tasks
Before configuring IPV4 Flexible NetStream, complete the following task:
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
7 NetStream Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
242