![Huawei NetEngine5000E Configuration Manual Download Page 195](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429195.webp)
# Enable NetStream sampling and configure the fixed packet sampling mode.
[~RouterB]
ip netstream sampler fix-packets 10000 inbound
[~RouterB]
ip netstream sampler fix-packets 10000 outbound
[~RouterB]
commit
Step 4
Verify the configuration.
# Run the
display ip netstream cache origin slot 4
command in the user view. You can view
information about the NetStream flow buffer and the statistics about output flows.
<RouterB>
display ip netstream cache origin slot 4
Show information of IP and MPLS cache of slot 4 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 20 0 6 0 0 1
PO2/0/0 10 0
0.0.0.0 in
58.1.1.2 0
55.67.121.72 0
0.0.0.0 0
1011 2 1
0 0 0
0 0 0
1.1.1.9 0
Unknown 20 0 6 0 0 1
PO1/0/0 10 0
0.0.0.0 in
58.1.1.2 0
55.67.121.70 0
0.0.0.0 0
1001 2 1
0 0 0
0 0 0
10.1.1.9 0
PO2/0/0 20 0 6 0 0 1
PO1/0/0 10 0
0.0.0.0 out
58.1.1.2 0
55.67.121.68 0
0.0.0.0 0
1021 2 1
0 0 0
0 0 0
20.1.1.9 0
----End
Configuration Files
l
Configuration file of Router A
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.
187