R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
324
Examples
# Configure the device to wait for 60 minutes before resending NetStream version 9 templates to
NetStream servers.
<Sysname> system-view
[Sysname] ip netstream export v9-template refresh-rate time 60
Related commands
ip netstream export v9-template refresh-rate packet
ip netstream export version
Use ip netstream export version 5 to export NetStream data in the version 5 format and choose whether
or not to record data about AS information.
Use ip netstream export version 9 to export NetStream data in the version 9 format and choose whether
to record data about AS and BGP next hop information.
Use undo ip netstream export version to restore the default.
Syntax
ip netstream export version 5 [ origin-as | peer-as ]
ip netstream export version 9 [ origin-as | peer-as ] [ bgp-nexthop ]
undo ip netstream export version
Default
The NetStream traditional data export uses the version 9 format. MPLS flow data is not exported. The
peer AS numbers are exported. The BGP next hop is not exported.
Views
System view
Predefined user roles
network-admin
Parameters
origin-as: Exports statistics of the source AS originating the route for the source address and the
destination AS for the destination address.
peer-as: Exports statistics of the peer ASs for the source and destination address.
bgp-nexthop: Exports statistics of BGP next hops.
Usage guidelines
A NetStream entry for a flow records the source IP address and destination IP address, and two AS
numbers for each IP address. You can choose to configure which AS numbers are to be exported as the
source AS and destination AS.
The version 5 and version 9 formats are mutually exclusive on a device.
If the version 5 format is configured to export NetStream data, the NetStream aggregation data export
uses the version 8 format.
If the version 9 format is configured to export NetStream data, the NetStream aggregation data export
uses the version 9 format.