![Huawei NetEngine5000E Configuration Manual Download Page 178](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429178.webp)
Figure 6-10
Networking diagram of MPLS flow statistics collection
Traffic
NDE
NDE
NSC
NDA
NSC
NDA
Context
Before collecting statistics about MPLS IPv4 packets, complete the following task:
l
Enabling MPLS on the device and interfaces, and configuring the MPLS network
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Output statistics about MPLS IPv4 packets in the form of original flows or aggregated flows as
needed.
NOTE
MPLS original flows and aggregated flows can be output only in V9 format.
l
Statistics about original flows
1.
Run:
ip netstream mpls-aware
{
label-only
|
ip-only
|
label-and-ip
}
Statistics collection of MPLS packets is enabled.
When sampling MPLS packets, choose one of the following sampling modes as needed:
–
To sample only MPLS labels, not inner IP packets, configure
label-only
.
–
To sample only inner IP packets, not MPLS labels, configure
ip-only
.
–
To sample both MPLS labels and inner IP packets, configure
label-and-ip
.
2.
For other configurations, see
6.3 Collecting Statistics About IPv4 Original Flows
.
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
6 NetStream Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
170