Skip to main content

Configuring Huawei CE (NetStream)

This document provides configuration steps for enabling NetStream on Huawei CE devices.

Configuration Steps for NetStream

Set the exported interface index to 32-bit format, which helps collectors correctly interpret large interface indexes:

netstream export ip index-switch 32

Set the active timeout for flow records. Active flows are exported every 1 minute:

netstream timeout ip active 1

Set the inactive timeout for flow records. Flows with no traffic are exported after 15 seconds:

netstream timeout ip inactive 15

Set the NetStream v9 template refresh interval to 1 minute to ensure the collector receives templates regularly:

netstream template ip timeout 1

Specify the source IP address used for exporting NetStream packets. The source interface IP must have network reachability to the MFE server:

netstream export ip source source {INTERFACE_IP}

Configure the Motadata Flow Explorer (MFE) server IP address and UDP port for flow export:

netstream export ip host {MOTADATA_SERVER_IP} 2055

Enable NetStream version 9 for exporting flow records:

netstream export ip version 9

Create a NetStream record for IP traffic and specify the fields to be matched and collected:

netstream record {MOTADATA_NETFLOW_IP}
match ip tos
match ip protocol
match ip source-address
match ip destination-address
match ip source-port
match ip destination-port
collect counter packets
collect counter bytes
collect interface input
collect interface output

This configuration defines what information is included in each exported flow record.

Under each interface where flow monitoring is required, apply the NetStream record and enable inbound flow collection:

netstream record {MOTADATA_SERVER_IP}
netstream inbound ip

Repeat this configuration for all relevant interfaces on the device.

After completing the configuration, navigate to Menu > Flow Explorer and select the Event Source(s) and the associated Interface(s) from the drop-downs to view the active flow data.