Step 1: Configure Net flow Collector ( is a device where you want to send the netflow information and having netflow application).
Router (config)# ip flow-export destination 1.1.1.1 (1.1.1.1 is the dest IP address).
Step 2: Configure Netflow Version
Router(config)# ip flow-export version 9
Step 3: Configure Netflow Top Talkers
Router(config)# ip flow-top-talkers
Router(config-flow-top-talkers)# top 10 -- specifying how many number of top talkers
Router(config-flow-top-talkers)# sort-by bytes --specifying bytes consumption for each one
Router(config-flow-top-talkers)# cache-timeout 10000
Router(config-flow-top-talkers)# match input interface e0/0--- source interface
Router(config-flow-top-talkers)# match output interface e0/1--- destination interface
Router(config-flow-top-talkers)# match source address 123.1.1.1 255.255.255.0
Router(config-flow-top-talkers)# match destination address 1.1.1.1 255.0.0.0
Router(config-flow-top-talkers)# match protocol 10
Step 4: Enable Netflow on the interface
Router (config)# interface e0/1
Router(config-if)# ip flow ingress/egress
Router (config)# ip flow-export destination 1.1.1.1 (1.1.1.1 is the dest IP address).
Step 2: Configure Netflow Version
Router(config)# ip flow-export version 9
Step 3: Configure Netflow Top Talkers
Router(config)# ip flow-top-talkers
Router(config-flow-top-talkers)# top 10 -- specifying how many number of top talkers
Router(config-flow-top-talkers)# sort-by bytes --specifying bytes consumption for each one
Router(config-flow-top-talkers)# cache-timeout 10000
Router(config-flow-top-talkers)# match input interface e0/0--- source interface
Router(config-flow-top-talkers)# match output interface e0/1--- destination interface
Router(config-flow-top-talkers)# match source address 123.1.1.1 255.255.255.0
Router(config-flow-top-talkers)# match destination address 1.1.1.1 255.0.0.0
Router(config-flow-top-talkers)# match protocol 10
Step 4: Enable Netflow on the interface
Router (config)# interface e0/1
Router(config-if)# ip flow ingress/egress
I knew a new monitoring technique!
ReplyDeletethanks
Hi This is Santosh.. Above command will support on NXOS: version 7.0..
ReplyDelete