Huawei AR150/200 Series Configuration Manual page 257

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
Step 4 (Optional) Run:
ip netstream sampler { fix-packets packet-interval | fix-time time-interval |
random-packets packet-interval | random-time time-interval } { inbound | outbound }
The packet sampling ratio is set on the interface.
By default, an interface samples packets at fixed packet intervals, and the packet interval is 100.
Step 5 Run:
ip netstream { inbound | outbound }
The NetStream function is enabled for the IPv4 traffic on the interface.
----End
7.6.8 Checking the Configuration
After configuring IPv4 flexible NetStream, you can view the configurations.
Prerequisites
All configurations are complete.
Procedure
l
l
----End
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 timeout inactive 100
ip netstream export source 100.1.10.10
ip netstream export host 100.1.10.1 100
ip netstream record hwrecord
match ipv4 destination-address
collect counter packets
collect interface input
collect interface output
Ethernet1/0/0
port ip netstream record hwrecord
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
Origin ingress packets
Origin ingress octets
Origin egress entries
Issue 02 (2012-03-30)
NOTE
Only one record can be configured on an interface. To modify the record in the same interface view, you
must first delete the existing configuration by running the undo port ip netstream record command.
Run the display ip netstream all command to view the NetStream configuration.
Run the display ip netstream statistic command to view the NetStream traffic statistics.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
: 30000
: 30000
: 1380000
: 0
7 NetStream Configuration
246

Advertisement

Table of Contents
loading

Table of Contents