![Huawei NetEngine5000E Скачать руководство пользователя страница 182](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429182.webp)
ipv6 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:
l
To sample only MPLS labels, not inner IP packets, configure
label-only
.
l
To sample only inner IP packets, not MPLS labels, configure
ip-only
.
l
To sample both MPLS labels and inner IP packets, configure
label-and-ip
.
Step 3
Output statistics about MPLS IPv6 packets in the form of original flows or aggregated flows as
needed. For detailed applications, see
6.5 Collecting Statistics About IPv6 Original Flows
and
6.6 Collecting Statistics About IPv6 Aggregated Flows
.
NOTE
MPLS original flows and aggregated flows can be output only in V9 format.
----End
Checking the Configuration
Run the following commands to check the previous configuration.
Run the
display ipv6 netstream cache origin slot
3
command. If NetStream is successfully
configured, you can view various statistics about MPLS packets cached in the NetStream buffer
on the router.
<HUAWEI>
display ipv6 netstream cache origin slot 3
Show information of IP and MPLS cache of slot 3 is starting.
get show cache user data success.
DstIf DstP Msk Pro Tos Flags Packets
SrcIf SrcP Msk
NextHop Direction
DstIP DstAs
SrcIP SrcAs
BGP: BGP NextHop TopLabelType
Label1 Exp1 Bottom1
Label2 Exp2 Bottom2
Label3 Exp3 Bottom3
TopLabelIpAddress VlanId
--------------------------------------------------------------------------
Unknown 0 0 59 0 0 1
GI5/0/0 0 0
0.0.0.0 in
1114::200:0:3A01:102 0
1000::200:0:3701:44AC 0
0.0.0.0 0
0 0 0
0 0 0
0 0 0
0.0.0.0 0
GI5/0/10 0 0 59 0 0 1
Unknown 0 0
0.0.0.0 out
1114::200:0:3A01:102 0
1000::200:0:3701:44AB
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.
174