侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

Cisco 交换机启用netflow

2022-12-24 星期六 / 0 评论 / 0 点赞 / 46 阅读 / 1892 字

Router2951#configureterminal//CreatingFlowRecordrouter2951(config)#flowrecordNTArecordrouter2951(con

.

Router2951#configure terminal//Creating Flow Recordrouter2951(config)# flow record NTArecordrouter2951 (config-flow-record)# match ipv4 source addressrouter2951 (config-flow-record)# match ipv4 destination addressrouter2951 (config-flow-record)# match ipv4 protocolrouter2951 (config-flow-record)# match transport source-portrouter2951 (config-flow-record)# match transport destination-portrouter2951 (config-flow-record)# match ipv4 tosrouter2951 (config-flow-record)# match interface inputrouter2951 (config-flow-record)# collect interface outputrouter2951 (config-flow-record)# collect counter bytesrouter2951 (config-flow-record)# collect counter packets//Creating Flow Exporterrouter2951(config)# flow exporter NTAexportrouter2951 (config-flow-exporter)#destination 172.16.0.117router2951 (config-flow-exporter)# source vlan1router2951 (config-flow-exporter)# transport udp 2055router2951 (config-flow-exporter)# template data timeout 60//Creating Flow Monitorrouter2951(config)# flow monitor NTAmonitorrouter2951(config-flow-monitor)# record NTArecordrouter2951(config-flow-monitor)# exporter NTAexportrouter2951(config-flow-monitor)# cache timeout active 60router2951(config-flow-monitor)# cache timeout inactive 15//Associating the Monitor to an Interfacerouter2951(config)# int FastEthernet0/1router2951(config-if)# ip flow monitor NTAmonitor input


.

广告 广告

评论区