Skip to main content

Configuring Cisco ASR 1k Series Devices

This document outlines the steps to configure Cisco ASR 1k series devices for exporting MOTADATA_NETFLOW with NBAR information.

Configuration Steps

Enter to the configuration mode on your device.

Configure the 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 the 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

Set up the 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 the flow monitor for incoming traffic:

flow monitor MFEmonitorIN
exporter MFEexporter
cache timeout active 60
record MFErecordIN

Configure the flow monitor for outgoing traffic:

flow monitor MFEmonitorOUT
exporter MFEexporter
cache timeout active 60
record MFErecordOUT

If you are monitoring only one interface, configure the following commands:

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.