R3102-R3103-HP 6600/HSR6600 Routers Network Management and Monitoring Configuration Guide
144
Task Command
Remarks
Display the configuration and status
of the NetStream flow record
templates. (In IRF mode.)
display ip netstream template [ chassis
chassis-number slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
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 so that:










