No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


NE40E V800R010C00 Configuration Guide - System Monitor 01

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Collecting Statistics About MPLS IPv6 Packets

Collecting Statistics About MPLS IPv6 Packets

Collecting packet statistics on MPLS networks helps you to monitor MPLS network conditions.

Usage Scenario

On the network shown in Figure 3-15, a carrier enables NetStream on the P functioning as an NetStream Data Exporter (NDE) to obtain detailed network application information. The carrier can use the information to monitor abnormal network traffic, analyze users' operation modes, and plan networks between ASs.

If statistics about MPLS packets are collected on the P, the P sends statistics to inform the NetStream Collector (NSC) of the MPLS label-specific traffic volume.

The NetStream can be functioned only in the user side of the MPLS network, if the SR-TE tunnel is applied in public network.

Figure 3-15  Networking diagram for collecting MPLS flow statistics


Before collecting statistics about MPLS IPv6 packets, enable MPLS on the device and interfaces and configure the MPLS network.


  1. Run:


    The system view is displayed.

  2. Run:

    ipv6 netstream mpls-aware { label-only | ip-only | label-and-ip }

    Statistics collection of MPLS packets is enabled.

    One of the following parameters can be configured to sample MPLS packets:

    • label-only: The device samples only MPLS labels, not inner IP packets.

    • ip-only: The device samples only inner IP packets, not MPLS labels.

    • label-and-ip: The device samples both MPLS labels and inner IP packets.

  3. Output statistics about MPLS IPv6 packets in the form of original or aggregated flows. For application details, see Collecting Statistics About IPv6 Original Flows and Collecting Statistics About IPv6 Aggregated Flows.


    MPLS original and aggregated flows can be output only in V9 or IPFIX format.

Checking the Configurations

After completing the configuration, run the following commands to verify the configuration.

Run the display ipv6 netstream cache origin slot command to check various statistics about MPLS packets cached in the NetStream buffer on the router.

<HUAWEI> display ipv6 netstream cache origin slot 1

 DstP                          Msk          Pro            Tos 
 SrcP                          Msk          Flags          
 Packets                                                   Bytes
 NextHop                                                   Direction
 DstIP                                                     DstAs
 SrcIP                                                     SrcAs
 BGP: BGP NextHop                                          TopLabelType
 Label1                        Exp1         Bottom1
 Label2                        Exp2         Bottom2
 Label3                        Exp3         Bottom3
 TopLabelIpAddress                          VlanId         VniId

 0                             0            59             0  
 0                             0            0              
 443426                                                    56758528  
 ::                                                        in
 FEC0::101:200:0:C055:101                                  0         
 FEC0::101:200:0:C0A8:101                                  0         
 ::                                                        UNKNOWN             
 0                             0            0         
 0                             0            0         
 0                             0            0                                     0              0
Updated: 2018-07-12

Document ID: EDOC1100028538

Views: 28031

Downloads: 212

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next