Configuring mpls-aware netstream, Introduction to mpls-aware netstream, Configuring netstream flow aging – H3C Technologies H3C SR8800 User Manual
Page 156

144
Configuring MPLS-aware NetStream
Introduction to MPLS-aware NetStream
When you configure MPLS-aware NetStream, you can set whether to collect and export statistics about
the three labels of MPLS packets. For MPLS packets that carry non-IPv4 data, NetStream records only
statistics on labels (up to three). For MPLS packets that carry IPv4 data, NetStream records statistics on
labels (up to three) in the label stack, forwarding equivalent class (FEC) corresponding to the top label,
and the traditional 7-tuple elements data. For more information about MPLS, see MPLS Configuration
Guide.
Configuring MPLS-aware NetStream
To configure MPLS-aware NetStream:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure to count and export
statistics on MPLS packets.
ip netstream mpls [ label-positions
{ label-position1 [ label-position2 ]
[ label-position3 ] } ] [ no-ip-fields ]
By default, no statistics
about MPLS packets are
counted and exported.
NOTE:
•
Collection of NetStream MPLS packet statistics is supported only when NetStream is enabled.
•
To collect statistics about MPLS packets carrying IPv4 data, enable IPv4 NetStream.
•
To collect statistics about MPLS packets carrying IPv6 data, enable IPv6 NetStream. For more
information about IPv6 NetStream, see the chapter “IPv6 NetStream configuration.”
•
To collect statistics about MPLS packets carrying neither IPv4 nor IPv6 data, enable IPv4 NetStream.
•
On a NAM card, to collect statistics about MPLS packets carrying non-IPv4 data, enable IPv4
NetStream. Only the statistics about labels are collected.
Configuring NetStream flow aging
To configure flow aging:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure periodical aging.
•
Set the aging timer for active flows:
ip netstream timeout active minutes
•
Set the aging timer for inactive flows:
ip netstream timeout inactive seconds
Optional.
By default:
•
The aging timer for
active flows is 30
minutes.
•
The aging timer for
inactive flows is 30
seconds.
- H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module