Configuring Cisco ASR 1k Series Devices


    Please configure the below commands in the config mode in the device. Steps to Configure Cisco ASR 1k series device to export netflow with NBAR information :


    flow record NFArecord

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


    flow exporter NFAexporter

    source Loopback0
    transport udp 9996
    template data timeout 60
    option interface-table timeout 60
    option application-table timeout 60


    flow monitor NFAmonitor

    exporter NFAexporter
    record NFArecord
    cache timeout active 60


    Once the changes in the configuration are performed, please apply the Flow monitor "ip flow monitor NFAmonitor input" to all the L3 interfaces to get the correct traffic information.

    Please refer the below link for the Ezpm configuration:

    Steps to enable AVC in Cisco IOS and IOS XE routers