# Configure the version of the output statistics on Router B.
[RouterB]
ip netstream export version 9
By default, export the statistics in Version 5.
# Configure Router B to output the statistics to NSC&NDA.
[RouterB]
ip netstream export host 10.2.1.2 6000
# Configure the source address of the output statistics on Router B.
[RouterB]
ip netstream export source 10.2.1.1
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 export source 10.2.1.1
ip netstream export host 10.2.1.2 6000
Ethernet1/0/0
ip netstream inbound
ip netstream outbound
----End
Configuration Files
l
Configuration file of Router A
#
sysname RouterA
#
interface Ethernet1/0/0
ip address 10.1.1.1 255.255.255.0
#
return
l
Configuration file of Router B
#
sysname RouterB
#
ip netstream export version 9
ip netstream export source 10.2.1.1
ip netstream export host 10.2.1.2 6000
#
interface Ethernet1/0/0
ip address 10.1.1.2 255.255.255.0
ip netstream inbound
ip netstream outbound
#
interface Ethernet2/0/0
ip address 10.2.1.1 255.255.255.0
#
return
7.9.2 Example for Configuring NetStream of IPv4 Aggregation
Traffic
This section provides examples for configuring the IPv4 aggregation traffic statistics collection.
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.
253