Follow the below command to enable NetStream on huawei devices
ip netstream export host {hostname|ip_address} 9996 |
This exports the NetStream exports to the specified IP address. Use the IP address of the NetFlow Analyzer server and the configured listener port. The default port is 9996.
ip netstream export source interface {interface name} |
Sets the source IP address of the NetStream exports sent by the device to the specified IP address. NetFlow Analyzer will make SNMP requests of the device on this address. For enabling Netstream on the desired interface, please execute the following command
ip netstream inbound |
To configure Huawei device 192.168.1.1 to export flow to server 192.168.2.2
ip netstream export host 192.168.2.2 9996
ip netstream export source 192.168.1.1
ip netstream timeout active 1
ip netstream timeout inactive 15
ip netstream export version 9
ip netstream template timeout 1
Under all interfaces:
ip netstream inbound
ip netstream inbound