Cisco C881 Integrated Services Router Configuration

    The following set of commands have to be applied to configure Cisco C881 Integrated Services Router:

    Cisco C881 Integrated Services Router:
    flow record RECORD-1
    match ipv4 protocol
    match ipv4 source address
    match ipv4 destination address
    match transport source-port
    match transport destination-port
    match interface input
    collect interface output
    collect counter bytes long
    collect counter packets
    collect timestamp sys-uptime first
    collect timestamp sys-uptime last

    flow exporter EXPORTER-1
    destination {NETFLOW_SERVER_IP}
    source {LOOPBACK_INTERFACE_NAME}
    transport udp {NETFLOW_SERVER_LISTENER_PORT}
    template data timeout 60

    flow monitor MONITOR-1
    exporter EXPORTER-1
    cache timeout active 60
    record RECORD-1

    Enter global configuration mode on the router or MSFC, and issue the following commands for each interface on which you want to enable flow:
    interface {INTERFACE_NAME}
    ip flow monitor MONITOR-1 input