R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide
144
Task Command
Remarks
Clear the cache, age out, and
export all NetStream data.
reset ip netstream statistics Available in user view.
NetStream configuration examples
NetStream traditional data export configuration example
Network requirements
As shown in Figure 52, configure NetStream on Router A to collect statistics on packets passing through
it. Enable NetStream for incoming traffic on GigabitEthernet 2/0/0 and for outgoing traffic on
GigabitEthernet 2/0/1. Configure the router to export NetStream traditional data to UDP port 5000 of
the NetStream server at 12.110.2.2/16.
Figure 52 Network diagram
Configuration procedure
# Enable NetStream for incoming traffic on GigabitEthernet 2/0/0.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] ip address 11.110.2.1 255.255.0.0
[RouterA-GigabitEthernet2/0/0] ip netstream inbound
[RouterA-GigabitEthernet2/0/0] quit
# Enable NetStream for outgoing traffic on GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 12.110.2.1 255.255.0.0
[RouterA-GigabitEthernet2/0/1] ip netstream outbound
[RouterA-GigabitEthernet2/0/1] quit
# Configure the destination address and the destination UDP port number for the NetStream traditional
data export.
[RouterA] ip netstream export host 12.110.2.2 5000
NetStream aggregation data export configuration example
Network requirements
As shown in Figure 53, configure NetStream on Router A to meet the following requirements
• Router A exports NetStream traditional data in version 5 export format to port 5000 of the
NetStream server at 4.1.1.1/16.