Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Reference: https://www.flowtraq.com/configuring-flexible-netflow-export-cisco-routers/

Verification:

STEP1: Login to UI >> SYSTEM>> LOGS AND FLOWS COLLECTION STATUS .

...

STEP 2: >> LOGS AND FLOWS COLLECTION STATUS .

...

STEP 3: >>Inside SOURCE DEVICE IP, IP will reflect.

...

Add label

Troubleshooting for common error

Error 1: Flow Monitor: Flow Monitor 'monitor1' couldn't be added. Please activate a sampler with the monitor in this case go through the following configuration.

Code Block
Switch(config)# flow exporter export1

...


Switch(config-flow-exporter)# destination 10.0.101.254

...


Switch(config-flow-exporter)# transport udp 2055

...


Switch(config-flow-exporter)# template data timeout 60

...


Switch(config-flow-exporter)# exit

...


Switch(config)# flow record record1

...


Switch(config-flow-record)# match ipv4 source address

...


Switch(config-flow-record)# match ipv4 destination address

...


Switch(config-flow-record)# match ipv4 protocol

...


Switch(config-flow-record)# match transport source-port

...


Switch(config-flow-record)# match transport destination-port

...


Switch(config-flow-record)# collect counter bytes long

...


Switch(config-flow-record)# collect counter packets long

...


Switch(config-flow-record)# collect timestamp sys-uptime first

...


Switch(config-flow-record)# collect timestamp sys-uptime last

...


Switch(config-flow-record)# exit

...


Switch(config)# sampler SampleTest

...


Switch(config-sampler)# mode random 1 out-of 100

...


Switch(config-sampler)# exit

...


Switch(config)# flow monitor monitor1

...


Switch(config-flow-monitor)# cache timeout active 300

...


Switch(config-flow-monitor)# cache timeout inactive 120

...


Switch(config-flow-monitor)# record record1

...


Switch(config-flow-monitor)# exporter export1

...


Switch(config-flow-monitor)# exit

...


Switch(config)# interface GigabitEthernet1/0/1

...


Switch(config-if)# ip flow monitor monitor1 sampler SampleTest input

...


Switch(config-if)# end

Add label