Submit a ticketCall us
Home > Success Center > Netflow Traffic Analyzer (NTA) > NTA - Knowledgebase Articles > NetFlow Configuration Example - Cisco 3850 IOS XE

NetFlow Configuration Example - Cisco 3850 IOS XE

Table of contents

Overview

This article contains a NetFlow configuration example to export flow data from 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

Tags

Classifications

Public