Huawei AR150/200 Series Configuration Manual page 266

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
3.
4.
5.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Procedure
Step 1 Configure reachable routes between Router B on the access network, Router A on the user
network, Router C on ISP1, and Router D on ISP2 (The detailed procedure is not mentioned
here.).
Step 2 Configure the NetStream function on Router B.
# Configure Router B to export the statistics about the aggregation traffic and set the version of
the exported packets.
[RouterB] ip netstream aggregation as
[RouterB-aggregation-as] export version 9
[RouterB-aggregation-as] ip netstream export host 10.4.1.2 6000
[RouterB-aggregation-as] ip netstream export source 10.4.1.1
[RouterB-aggregation-as] enable
[RouterB-aggregation-as] quit
# Set the sampling ratio and enable traffic statistics for inbound and outbound traffic.
[RouterB] interface ethernet 2/0/1
[RouterB-Ethernet2/0/1] ip netstream sampler fix-packets 100 inbound
[RouterB-Ethernet2/0/1] ip netstream sampler fix-packets 100 outbound
[RouterB-Ethernet2/0/1] ip netstream inbound
[RouterB-Ethernet2/0/1] ip netstream outbound
[RouterB-Ethernet2/0/1] quit
[RouterB] quit
Step 3 Verify the configuration.
# After successful configurations, run the display ip netstream all command in the user view
of Router B to check the configurations.
<RouterB> display ip netstream all
ip netstream aggregation as
enable
export version 9
ip netstream export source 10.4.1.1
ip netstream export host 10.4.1.2 6000
Ethernet2/0/1
ip netstream inbound
ip netstream outbound
----End
Issue 02 (2012-03-30)
Specify the version of the NetStream packet format on Router B.
Configure the destination address and port number on Router B for sending NetStream
packets to the NSC&NDA.
Specify the source address for NetStream packets on Router B. In this example, Eth 1/0/1
on Router B is the source port.
IP addresses of interfaces
IP address and port number of the NSC
Packet sampling ratio
Version number of exported packets
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 NetStream Configuration
255

Advertisement

Table of Contents
loading

Table of Contents