R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

176
HP recommends that you connect the network management interface to the NetStream server and
configure it as the source interface.
Examples
# Configure the source interface for NetStream data export as GigabitEthernet 2/0/0.
<Sysname> system-view
[Sysname] ip netstream export source interface gigabitethernet 2/0/0
Related commands
ip netstream aggregation
ip netstream export v9-template refresh-rate packet
Use ip netstream export v9-template refresh-rate packet to configure the refresh frequency for
NetStream version 9 templates so that the templates are sent after the specified number of packets are
sent.
Use undo ip netstream export v9-template refresh-rate packet to restore the default.
Syntax
ip netstream export v9-template refresh-rate packet packets
undo ip netstream export v9-template refresh-rate packet
Default
Version 9 templates are sent every 20 packets.
Views
System view
Default command level
3: Manage level
Parameters
packets: Specifies the number of packets that are sent before version 9 templates are sent to the
NetStream server for an update. The value is in the range of 1 to 600.
Usage guidelines
Version 9 is template-based and supports user-defined formats, so the NetStream-enabled device needs
to send the new template to the NetStream server for an update. If the version 9 format is changed on the
NetStream-enabled device and not updated on the NetStream server, the server is unable to associate
the received statistics with its proper fields. To avoid such situation, configure the refresh frequency for
version 9 templates so that the NetStream server can refresh them on time.
The refresh frequency and interval can both be configured, and the template is resent when either of the
condition is reached.
Examples
# Configure the device to wait until 100 packets are sent before sending NetStream version 9 templates
again to the NetStream server.
<Sysname> system-view
[Sysname] ip netstream export v9-template refresh-rate packet 100