cisco route netflow V9

1、config全局状态下配置netflow版本号:

(config)#ip flow-export version 9

此命令将netflow配置为版本5。

本程序暂时只支持netflow版本V9、V5、V6。

2、config全局状态下配置netflow服务器地址和端口号:

(config)#ip flow-export destination xxx.xxx.xxx.xxx 55888
(config)#ip flow-cache timeout active 1
(config)#ip flow-cache timeout inactive 15

其中,xxx.xxx.xxx.xxx为netflow服务器地址,即运行netflow版流量监视程序主机的IP地址,55888为服务端口号。

3、在Cisco系列路由器交换机每个接口上(例如interface fastethernet0/0;interface
fastethernet0/1等)配置:

(config-if)#ip route-cache flow

4.设置设备NTP时间同步

5.接口模式启用netflow
(config)#interface FastEthernet 0/1
(config-if)#ip route-cache flow
(config-if)#exit

6.snmp配合
(config)#snmp-server ifindex persist
(config)#snmp-server community public RO

7.查看命令
#show ip flow export 查看netflow输出的统计情况
#show ip cache flow  
#show ip cache verbose flow
8.关闭全局
(config)# no ip route-cache flow
(config)# no ip flow-export destination {hostname|ip_address} {port_number}

参考:http://blog.sina.com.cn/s/blog_550b4ac80100tnb5.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值