Enabling Netstream On An Interface; Checking The Configuration - Huawei AR150/200 Series Configuration Manual

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
By default, the active aging time of the aggregation traffic is 30 minutes.
----End

7.5.7 Enabling NetStream on an Interface

You can collect the statistics on aggregated IPv4 unicast traffic only of the interface enabled
with the NetStream function.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Step 3 (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 4 If the aggregation mode is as-tos, destination-prefix-tos, prefix-tos, protocol-port-tos, or source-
prefix-tos, run the trust dscp command to configure DSCP priority mapping on the interface.
Step 5 Run:
ip netstream { inbound | outbound }
The NetStream function is enabled on the interface to collect statistics about IPv4 unicast traffic.
By default, NetStream is disabled for IPv4 traffic.
----End

7.5.8 Checking the Configuration

After configuring the function of aggregating the original IPv4 unicast traffic statistics, you can
view the configuration.
Prerequisites
All configurations are complete.
Procedure
l
l
----End
Issue 02 (2012-03-30)
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.
7 NetStream Configuration
241

Advertisement

Table of Contents
loading

Table of Contents