Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Netflow Traffic Analyzer (NTA) > Example NetFlow Config - Cisco 3850 IOS XE

Example NetFlow Config - Cisco 3850 IOS XE

Table of contents
Created by Anthony.Rinaldi_ret, last modified by Michael Almadova on Feb 23, 2017

Views: 2,073 Votes: 1 Revisions: 3

Overview

This article contains an example device NetFlow config to export flow data from a Cisco 3850 IOS XE.

Environment

  • All versions of NTA
  • Cisco 3850 IOS XE

Detail

The IOS XE requires separate flow records and flow monitors for ingress and egress.

flow record Netflow-In
match flow direction
match interface input
match ipv4 destination address
match ipv4 protocol
match ipv4 source address
match ipv4 tos
match transport destination-port
match transport source-port
collect counter bytes
collect counter packets
collect interface output
flow record Netflow-Out
match flow direction
match interface output
match ipv4 destination address
match ipv4 protocol
match ipv4 source address
match ipv4 tos
match transport destination-port
match transport source-port
collect counter bytes
collect counter packets
collect interface input
Flow Exporter
flow exporter Netflow-to-Orion
Source Loopback1 (Layer 3 Interface)
destination 10.10.10.10
transport udp 2055 (Orion’s collection port)
export-protocol netflow-v9
flow monitor Netflow-Monitor-In 
 exporter Netflow-to-Orion 
 cache timeout inactive 10 
 cache timeout active 60 
 record Netflow-In
flow monitor Netflow-Monitor-Out 
 exporter Netflow-to-Orion 
 cache timeout inactive 10 
 cache timeout active 60 
 record Netflow-Out
Config t# interface gigabitethernet 1/0/1
ip flow monitor Netflow-Monitor-In input
ip flow monitor Netflow-Monitor-Out output

 

 

 

Last modified
14:54, 23 Feb 2017

Tags

Classifications

Public