
Procedure
Step 1
Run the
debugging ip netstream ip
{
event
|
packet
} command in the user view to enable the
debugging of IP NetStream.
----End
7.9 Example for Configuring NetStream
This section provides several configuration examples of NetStream.
7.9.1 Example for Configuring IPv4 Traffic Statistics
7.9.2 Example for Configuring IPv4 Aggregation Traffic Statistics
7.9.3 Example for Configuring Flexible NetStream
7.9.1 Example for Configuring IPv4 Traffic Statistics
Networking Requirements
As shown in
, the enterprise network is connected to the access Switch B of the carrier
through Switch A. The NetStream function is enabled on Switch B. The carrier collects traffic
statistics on the packets sent and received by GE1/0/0 of Switch B. The traffic statistics serve
as the basis for network accounting.
Figure 7-2
Networking diagram for configuring NetStream
GE1/0/0
VLANIF 100
10.1.1.1/24
GE1/0/0
VLANIF 100
10.1.1.2/24
GE2/0/0
VLANIF 200
10.2.1.1/24
User
Network
NSC&NDA
10.2.1.2/24
SwitchB
SwitchA
Configuration Roadmap
The configuration roadmap is as follows:
1.
Set IP addresses for interfaces on Switch A and Switch B.
2.
Enable the NetStream function on Switch B to collect statistics about outbound and inbound
traffic.
3.
Set the aging mode and aging time of packets.
NOTE
The default version of the exported packets is V5.
7 NetStream Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
7-22
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)