![Huawei NetEngine5000E Configuration Manual Download Page 174](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429174.webp)
CAUTION
On a network where the 32-bit AS field mode is used, the NMS needs to identify the 32-
bit AS field. Otherwise, the NMS will fail to identify inter-AS traffic sent from devices.
l
Interface index
: The NMS uses the interface index carried in the NetStream packet output
from the NDE to query information about the interface from which the packet is output.
The interface index can be of 16 bits or 32 bits, which is determined by NMS devices of
different vendors. Therefore, the NDE needs to use a proper interface index type according
to the index parsing capability of the NMS. For example, if the NMS can parse a 32-bit
interface index, the interface index carried in the NetStream packet must be a 32-bit value.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ipv6 netstream as-mode
{
16
|
32
}
The AS field mode is configured on the router.
By default, the AS field mode on the router is 16 bits.
Step 3
Run:
ipv6 netstream export index-switch
{
16
|
32
}
The type of the interface index carried in the NetStream packet output from the router is
configured.
By default, the interface index carried in the NetStream packet output from the router is of 16
bits. Before converting an interface index from 16 bits to 32 bits, ensure that the following
conditions are met:
l
Original flows are output in V9 format.
l
Aggregated flows are output in V9 format.
----End
6.6.5 Sampling IPv6 Flows
You can enable NetStream to sample and analyze the incoming or outgoing flows on an interface
as needed.
Context
By default, NetStream enabled on an interface can sample and collect the statistics about the
following packets:
l
Unicast packets
l
Multicast packets
l
Packets discarded by the uRPF/RPF check
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.
166