原思科配置如下:
flow exporter LiuLiangJianKong3
destination 10.5.10.48
source Loopback0
transport udp 9995
export-protocol netflow-v5
!
!
flow monitor LiuLiangJianKong
exporter LiuLiangJianKong1
exporter LiuLiangJianKong2
exporter LiuLiangJianKong3
cache timeout active 300
record netflow ipv4 original-input
更改为华三配置是对应的如下配置吗
ip netstream timeout active 5
ip netstream export host 10.6.10.48 9995
ip netstream export host 10.16.28.201 9996
ip netstream export host 10.5.10.48 9995
ip netstream export source interface LoopBack0
“flow monitor LiuLiangJianKong”应该怎么配置
(0)
最佳答案
如图1-3所示,在Device上启动NetStream功能。要求在GigabitEthernet1/0/1上配置NetStream的入方向与出方向的统计功能,并将NetStream普通流的统计信息输出到NetStream服务器。NetStream服务器的IP地址为12.110.2.2/16,UDP端口号为5000。
图1-3 NetStream普通流的统计信息输出配置组网图
(1) 配置IP地址
请按照图1-3配置各接口的IP地址和子网掩码,具体配置过程略。
(2) 配置NetStream统计功能
# 在GigabitEthernet1/0/1上启动NetStream的入方向与出方向的统计功能。
<Device> system-view
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] ip netstream inbound
[Device-GigabitEthernet1/0/1] ip netstream outbound
[Device-GigabitEthernet1/0/1] quit
# 配置NetStream普通流统计信息输出的目的地址为12.110.2.2和目的UDP端口号为5000。
[Device] ip netstream export host 12.110.2.2 5000
设备运行一段时间后,查看NetStream普通流的统计信息。
# 查看NetStream流缓冲区信息。
[Device] display ip netstream cache
IP NetStream cache information:
Active flow timeout : 30 min
Inactive flow timeout : 30 sec
Max number of entries : 1024
IP active flow entries : 2
MPLS active flow entries : 0
L2 active flow entries : 0
IPL2 active flow entries : 0
IP flow entries counted : 0
MPLS flow entries counted : 0
L2 flow entries counted : 0
IPL2 flow entries counted : 0
Last statistics resetting time : Never
IP packet size distribution (11 packets in total):
1-32 64 96 128 160 192 224 256 288 320 352 384 416 448 480
.000 .000 .909 .000 .000 .090 .000 .000 .000 .000 .000 .000 .000 .000 .000
512 544 576 1024 1536 2048 2560 3072 3584 4096 4608 >4608
.000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000
Protocol Total Packets Flows Packets Active(sec) Idle(sec)
Flows /sec /sec /flow /flow /flow
---------------------------------------------------------------------------
Type DstIP(Port) SrcIP(Port) Pro ToS VNI APPID If(Direct) Pkts
DstMAC(VLAN) SrcMAC(VLAN)
TopLblType(IP/MASK) Lbl-Exp-S-List
---------------------------------------------------------------------------
IP 10.1.1.1 (21) 100.1.1.2(1024) 1 2 N/A 0xe GE1/0/1(I) 5
IP 100.1.1.2 (1024) 10.1.1.1 (21) 1 2 N/A 0xe GE1/0/1(O) 5
# 查看NetStream统计输出报文的各种信息。
[Device] display ip netstream export
IP export information:
Flow source interface : Not specified
Flow destination VPN instance : Not specified
Flow destination IP address (UDP) : 12.110.2.2 (5000)
Version 5 exported flow number : 0
Version 5 exported UDP datagram number (failed) : 0 (0)
Version 9 exported flow number : 10
Version 9 exported UDP datagram number (failed) : 10 (0)
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论