Skip to main content

Configuring Cisco ASR 1002-X Devices

This document outlines the steps to configure Cisco ASR 1002-X devices to export Motadata NetFlow with NBAR information.

Configuration Steps

Enter configuration mode on the device. Configure flow record for incoming traffic:

flow record MFErecordIN
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match application name
match interface input
collect ipv4 source mask
collect ipv4 destination prefix
collect ipv4 destination mask
collect counter bytes long
collect counter packets long
collect timestamp sys-uptime first
collect timestamp sys-uptime last

Configure flow record for outgoing traffic:

flow record MFErecordOUT
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match application name
match interface output
collect ipv4 source mask
collect ipv4 destination prefix
collect ipv4 destination mask
collect counter bytes long
collect counter packets long
collect timestamp sys-uptime first
collect timestamp sys-uptime last

Configure flow exporter:

flow exporter MFEexporter
destination MOTADATA_NETFLOW-server-ip
source interface-ip(layer3)
transport udp 2055
template data timeout 60
option interface-table timeout 60
option application-table timeout 60

Configure flow monitor for incoming traffic:

flow monitor MFEmonitorIN
exporter MFEexporter
cache timeout active 60
record MFErecordIN

Configure flow monitor for outgoing traffic:

flow monitor MFEmonitorOUT
exporter MFEexporter
cache timeout active 60
record MFErecordOUT

If you are monitoring only one interface in the ObserveOps (formerly known as AIOps) Flow Explorer, configure:

ip flow monitor MFEmonitorIN input
ip flow monitor MFEmonitorOUT output

After completing the configuration, navigate to Menu > Flow Explorer and select Explorer to view the active flow data.