Network requirements, Configuration procedure, Verifying the configuration – H3C Technologies H3C MSR 5600 User Manual
Page 202
189
Task Command
Age out and export all NetStream data, and
clear the cache.
reset ip netstream statistics
NetStream traditional data export configuration
example
Network requirements
As shown in
, configure NetStream on Router A to collect statistics on packets passing through
it. Enable NetStream for incoming traffic on Ethernet 1/1 and for outgoing traffic on Ethernet 1/2.
Configure the router to export NetStream traditional data to UDP port 5000 of the NetStream server at
12.110.2.2/16.
Figure 55 Network diagram
Configuration procedure
# Enable NetStream for incoming traffic on Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 11.110.2.1 255.255.0.0
[RouterA-Ethernet1/1] ip netstream inbound
[RouterA-Ethernet1/1] quit
# Enable NetStream for outgoing traffic on Ethernet1/2.
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] ip address 12.110.2.1 255.255.0.0
[RouterA-Ethernet1/2] ip netstream outbound
[RouterA-Ethernet1/2] quit
# Configure the destination address as 12.110.2.2 and destination UDP port number as 5000 for the
NetStream traditional data export.
[RouterA] ip netstream export host 12.110.2.2 5000
Verifying the configuration
Display the NetStream traditional data export after the device operates for a while.
# Display NetStream entry information in the cache.
[RouterA] display ip netstream cache
IP NetStream cache information:
Network
NetStream server
Router A
Eth1/1
11.110.2.1/16
Eth1/2
12.110.2.1/16
12.110.2.2/16