中国电信集团系统集成公司

上传人:xzh****18 文档编号:55676891 上传时间:2018-10-04 格式:PPT 页数:22 大小:432KB
返回 下载 相关 举报
中国电信集团系统集成公司_第1页
第1页 / 共22页
中国电信集团系统集成公司_第2页
第2页 / 共22页
中国电信集团系统集成公司_第3页
第3页 / 共22页
中国电信集团系统集成公司_第4页
第4页 / 共22页
中国电信集团系统集成公司_第5页
第5页 / 共22页
点击查看更多>>
资源描述

《中国电信集团系统集成公司》由会员分享,可在线阅读,更多相关《中国电信集团系统集成公司(22页珍藏版)》请在金锄头文库上搜索。

1、Netflow 要点介绍,First of All,This lecture is not a step-by-step guide, just focuses on the core concept.,,为什么需要netflow?,路由器,交换机A在某种意义上是黑盒子 管理员不知道黑盒子里面发生了什么 黑盒子里面的数据都在干什么,谁发出的,到哪里去,流量大小等等指标,什么是netflow?,Netflow的作用 流量分析和监控 根据流量计费 网络加速 用于安全分析,什么是netflow?,谁可以使用netflow 使用netflow必须是CCNX、CCXE么? No,你甚至可以不懂 路由!,

2、什么是netflow?,理解netflow的关键 (core!) 问题 同一时刻 路由交换设备上的ip流量非常大且杂乱,怎么捕获? 面向Flow! 面向flow?,什么是netflow?,理解netflow的关键(core!) Flow由7个因素构成(交换机可以略少) Source IP address Destination IP address Source port number Destination port number Protocol type Type of service (ToS) Input interface. 观察上面7个要素可以发现它们可以唯一的标识路由器上的一个

3、网络连接。,什么是netflow?,理解netflow的关键 (core!) 例子,客户经过路由器向内部网络ssh登录 Source IP address Destination IP address Source port number Destination port number Protocol type Type of service (ToS) Input interface. 无论客户在整个ssh过程中做什么动作,工作时间长短,上面的7个关键点保证了在整个过程中此路由器上这个网络连接是可以唯一标识的。 面向Flow! 以flow为对象采集数据,如这个“flow”在通讯过程的总字节

4、数 ,使用的src/dst port, src/dst address等等。,Netflow采集的数据内容,Source IP Address Destination IP Address,Next Hop Address Source AS Number Dest. AS Number Source Prefix Mask Dest. Prefix Mask,Input Interface Port Output Interface Port,Type of Service TCP Flags Protocol,Packet Count Byte Count,Start Timestamp

5、End Timestamp,Source TCP/UDP Port Destination TCP/UDP Port,Usage,QoS,Time of Day,Application,Routing and Peering,From/To,Port Utilization,Netflow 工作架构,使设备输出Netflow数据(Data Export),在路由器上配置 在全局配置模式下: ip flow-export source Loopback0 ip flow-export version 5 ip flow-export destination 9995 ip flow-sampl

6、ing-mode packet-interval 100 端口配置模式下: interface e1/0 ip route-cache flow sampled,Netflow数据收集工具,Netflow数据收集工具 Flow collector (cisco的软件包),Netflow数据分析工具,Netflow数据分析工具 FlowAnalyzer (cisco的软件包) 读取flow collector的数据,个人感觉华而不实 So what is the best? You brain! + unix tools(awk,sed,cat etc) ,Flow collector,软件的安

7、装 很简单,没什么技术含量,请参考软件readme. So.跳过! ;),Flow collector 处理流程图,filter,什么是filter Filter filterA Filter filterB,permit nexthop 202.102.224.136 0.0.0.0,deny addr 1.2.0.0 0.0.255.255 permit addr 0.0.0.0 0.0.0.0,Aggregation,什么是Aggregation ? 是cisco公司定制好的对网络连接监控的内容 以DestPort这个Aggregation为例 Key field: dstport Va

8、lue fields: packet count, byte count, flow count DestPort这个Aggregation通俗的理解:这一段时刻,我的路由器上的数据包都发往了哪些tcp/udp端口?发到这些端口的数据的包数,字节大小,总流数目是多少? 78|6367|557723|853 FlowCollector Aggregation Schemes里面可以找到所有的Aggregation,FlowCollector Aggregation Schemes,Flow collector,安装好的目录结构 注意红色标记,Flow collector,Data 目录下 存放的

9、是输出的netflow记录文件 (最有价值的记录内容就在这里!;) /opt/CSCOnfc/Data/2003_04_21/202.102.224.1/DestPort 78|6367|557723|853 80|9836608|864296991|619219 81|8836|790568|433 82|5319|520273|385 83|2695|161981|130 Bin目录下 ./nfcollector status | show-tech | clean | start|stop all|nfcgw|collection,Flow collector,Config目录下 nfconfig.file (core!) 配置文件部分内容 Thread routerport Aggregation Destport Period 5 Port 9995 State Active DataSetPath /opt/CSCOnfc/Data Compression No Binary No MaxUsage 500,This is the end of NETFLOW CORE lecture,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号