天天看點

netflow網絡流量管理

1、在裝置上配置netflow。

①netflow v5

全局配置:

ip flow-export source Vlan200

ip flow-export version 5

ip flow-export destination 10.16.6.166 9996

接口配置:

interface GigabitEthernet0/1

ip flow ingress

ip flow egress

②netflow v9

全局配置record部分:

flow record NetFlow

match ipv4 source address

match ipv4 destination address

match ipv4 protocol

match transport source-port

match transport destination-port

collect interface input

collect interface output

collect counter packets

collect counter bytes

全局配置exporter部分:

flow exporter NetFlow

destination 10.16.6.166

source GigabitEthernet0/1

transport udp 9996

全局配置monitor部分:

flow monitor NetFlow

exporter NetFlow

record NetFlow

繼續閱讀