After NetStream is configured, the NSC cannot export the statistics packets to the NDA.
Run the display netstream all command to check NetStream configurations.
<HUAWEI>display netstream all system ip netstream export version 9 ip netstream export host 10.1.1.2 6000 ipv6 netstream export version 9 ipv6 netstream export host 10.1.1.3 6000 ip netstream aggregation destination-prefix ip netstream export host 10.1.1.5 6000 enable export version 9 slot 0 GigabitEthernet0/0/1 ip netstream inbound
Criteria |
Checking Method |
Solution |
---|---|---|
NetStream is enabled on the interface. |
Check whether the output contains ip netstream inbound, ip netstream outbound, ipv6 netstream inbound, or ipv6 netstream outbound. |
Original flows are classified into IPv4 and IPv6 flows. To collect statistics on a given type of flow, NetStream must be enabled for that type of flow.
|
The aging time is set properly. |
Check whether the output contains ip netstream timeout
inactive inactive-interval.
|
The default aging time of 30 seconds is recommended. To restore the default aging time, run the undo ip netstream timeout inactive command in the system view. |
The destination address and destination port of the exported packets are correctly configured. |
Check whether the output contains ip netstream export host ip-address port-number and ipv6 netstream export host ip-address port-number. |
NOTE:
The destination is the NSC address. |
Criteria |
Checking Method |
Solution |
---|---|---|
Flexible NetStream is configured. |
Check whether the output contains port ip netstream record record-name. |
If flexible NetStream is configured, NetStream for aggregation flows is invalid. Run the undo port ip netstream record command to disable flexible NetStream. |
NetStream is enabled for IPv4 flows on the interface. |
Check whether the output contains ip netstream inbound or ip netstream outbound. |
Currently, only IPv4 flows can be aggregated. To enable NetStream, run the ip netstream { inbound | outbound } command in the interface view. |
The aging time is set properly. |
Check whether the output contains ip netstream timeout
inactive inactive-interval.
|
The default aging time of 30 seconds is recommended. To restore the default aging time, run the undo ip netstream timeout inactive command in the system view. |
Aggregation NetStream is enabled. |
Check whether the output in the NetStream aggregation view contains enable. |
To enable aggregation NetStream, run the enable command in the NetStream aggregation view. |
The destination address and destination port of the exported packets are correctly configured. |
Check whether the output in the NetStream aggregation view contains ip netstream export host ip-address port-number. |
The destination NSC address configured in the aggregation
view takes precedence over that configured in the system view. After
the destination NSC address is configured:
To configure the destination IP address and destination port number, run the ip netstream export host ip-address port-number command in the NetStream aggregation view. |