The source IP address configured in the aggregation view takes precedence over that configured
in the system view. If no source IP address is configured in the aggregation view, the source IP
address configured in the system view takes effect.
Step 6
Run:
ipv6 netstream export host
ip-address
port
The destination IP address is configured for aggregated flows.
NOTE
l
You can configure two destination IP addresses in the system view , the IPv4 NetStream aggregation
view and the IPv4 NetStream aggregation view.
l
The destination IP address configured in the system view takes precedence over that configured in the
NetStream aggregation view.
Step 7
(Optional) Configure parameters for aging aggregated flows as needed.
l
Run:
ipv6 netstream aggregation timeout
active
active-interval
The active aging time is configured for NetStream aggregated flows.
l
Run:
ipv6 netstream aggregation timeout
inactive
inactive-interval
The inactive aging time is configured for NetStream aggregated flows.
The default active aging time of NetStream aggregated flows is 30 minutes and the default
inactive aging time is 300 seconds.
Step 8
Run:
commit
The configuration is committed.
----End
6.6.4 (Optional) Adjusting the AS Field Mode and Interface Index
Type
To enable the NSC to normally receive and parse NetStream packets output from the NDE,
ensure that the AS field modes and interface index types on the NDE are the same as that on the
NSC.
Context
To enable the NSC to normally receive and parse NetStream packets output from the NDE,
ensure that the AS field modes and interface index types on the NDE and NSC are the same.
l
AS field mode
: As defined in the pertaining protocol, the length of the AS field in IP packets
is 16 bits. On networks in some areas, however, the length of the AS field in IP packets is
32 bits. If different AS field modes exist on a network, you need to convert the AS field
mode when configuring NetStream. Otherwise, NetStream cannot sample inter-AS traffic.
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
6 NetStream Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
165