Cisco 交换机启用netflow
2024-10-09 02:39:05
Router2951#configure terminal //Creating Flow Record
router2951(config)# flow record NTArecord
router2951 (config-flow-record)# match ipv4 source address
router2951 (config-flow-record)# match ipv4 destination address
router2951 (config-flow-record)# match ipv4 protocol
router2951 (config-flow-record)# match transport source-port
router2951 (config-flow-record)# match transport destination-port
router2951 (config-flow-record)# match ipv4 tos
router2951 (config-flow-record)# match interface input
router2951 (config-flow-record)# collect interface output
router2951 (config-flow-record)# collect counter bytes
router2951 (config-flow-record)# collect counter packets //Creating Flow Exporter
router2951(config)# flow exporter NTAexport
router2951 (config-flow-exporter)#destination 172.16.0.117
router2951 (config-flow-exporter)# source vlan1
router2951 (config-flow-exporter)# transport udp 2055
router2951 (config-flow-exporter)# template data timeout 60
//Creating Flow Monitor
router2951(config)# flow monitor NTAmonitor
router2951(config-flow-monitor)# record NTArecord
router2951(config-flow-monitor)# exporter NTAexport
router2951(config-flow-monitor)# cache timeout active 60
router2951(config-flow-monitor)# cache timeout inactive 15 //Associating the Monitor to an Interface
router2951(config)# int FastEthernet0/1
router2951(config-if)# ip flow monitor NTAmonitor input
转载于:https://blog.51cto.com/magic3/1958694
最新文章
- GreenPlum高效去除表重复数据
- [数据库]cakephp操作ENUM、tinyint等类型的一点说明
- Ubuntu 16.04 风扇特别响解决办法
- iptables之链之间的跳转
- ES6 module export options 模块导出、导入语法
- c语言指针占几个字节
- MySql目录没有data文件夹怎么办
- hdu 1124 Factorial(数论)
- nav标签的作用
- IOS添加多个按钮在导航栏
- VS2008下WinRar源码生成dll和 lib总结
- HDU2602 Bone Collector 【01背包】
- linux下安装TensorFlow(centos)
- CSS常用字体Unicode 编码
- 分别用EasyAR和Vuforia开发AR(入门级)
- jquery.ajax()详解
- 用pyspider爬取并解析json字符串
- windows Apache 环境下配置支持HTTPS的SSL证书
- Tomcat修改版本号教程(CentOS)
- Codeforces 494C - Helping People