R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

141
Figure 51 Recorded AS information varies with different keyword configurations
Configuring the refresh rate for NetStream version 9 templates
Version 9 is template-based and supports user-defined formats, so the NetStream-enabled device needs
to resend a new template to the NetStream server for an update. If the version 9 format is changed on
the NetStream-enabled device and is not updated on the NetStream server, the server cannot associate
the received statistics with its proper fields. To avoid this situation, configure the refresh frequency and
rate for version 9 templates so that the NetStream server can refresh the templates on time.
The refresh frequency and interval can be both configured, and the template is resent when either of the
condition is reached.
To configure the refresh rate for NetStream version 9 templates:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the refresh frequency
for NetStream version 9
templates.
ip netstream export v9-template
refresh-rate packet packets
Optional.
By default, the version 9 templates
are sent every 20 packets.
3. Configure the refresh interval
for NetStream version 9
templates.
ip netstream export v9-template
refresh-rate time minutes
Optional.
By default, the version 9 templates
are sent every 30 minutes.
Configuring MPLS-aware NetStream
An MPLS flow is identified by the same labels in the same position and the same 7-tuple elements.
MPLS-aware NetStream collects and exports statistics on labels (up to three) in the label stack, FEC
corresponding to the top label, and traditional 7-tuple elements data.
AS 20 AS 21
AS 22
AS 23
Enable NetStream
Include origin-as in the command.
AS 20 is recorded as the source AS and
AS 24 as the destination AS.
AS 24
Include peer-as in the command.
AS 21 is recorded as the source AS, and
AS 23 as the destination AS.