Huawei NetEngine5000E Configuration Manual page 188

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
# Configure the destination address, destination port number, and source address for NetStream
flows output in V5 format
[~PE] ip netstream export host 192.168.2.2 9001
[~PE] ip netstream export source 192.168.2.1
# Enable NetStream sampling and configure the fixed packet sampling mode.
[~PE] ip netstream sampler fix-packets 10000 inbound
[~PE] ip netstream sampler fix-packets 10000 outbound
[~PE] commit
# Configure NetStream to collect statistics about incoming and outgoing flows on POS 1/0/0 of
the PE.
[~PE] interface pos 1/0/0
[~PE-Pos1/0/0] undo shutdown
[~PE-Pos1/0/0] ip netstream inbound
[~PE-Pos1/0/0] ip netstream outbound
[~PE-Pos1/0/0] quit
[~PE] commit
Step 3 Verify the configuration result.
# Run the display ip netstream cache origin slot 4 command in the user view. You can view
information about various original flows in the NetStream flow buffer.
<PE> 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
SrcIf
NextHop
DstIP
SrcIP
BGP: BGP NextHop
Label1
Label2
Label3
TopLabelIpAddress
--------------------------------------------------------------------------
Unknown
PO2/0/0
0.0.0.0
58.1.1.2
55.67.121.72
0.0.0.0
0
0
0
0.0.0.0
Unknown
PO1/0/0
0.0.0.0
58.1.1.2
55.67.121.70
0.0.0.0
0
0
0
0.0.0.0
PO2/0/0
Issue 01 (2011-10-15)
DstP
Msk
SrcP
Msk
Exp1
Exp2
Exp3
20
0
10
0
0
0
0
20
0
10
0
0
0
0
20
0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 NetStream Configuration
Pro Tos Flags
Packets
Direction
DstAs
SrcAs
TopLabelType
Bottom1
Bottom2
Bottom3
VlanId
6
0
0
1
in
0
0
0
0
0
0
0
6
0
0
1
in
0
0
0
0
0
0
0
6
0
0
1
180

Advertisement

Table of Contents
loading

Table of Contents