Cisco 6800 IOS Switch Configuration

    You can perform Cisco 6800 IOS Switch configuration using the following steps:

    config t
    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
    collect interface output
    collect ipv4 source mask
    collect ipv4 source prefix
    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

    flow exporter NFAexporter
    destination {NETFLOW_SERVER_IP}
    template data timeout 60

    flow monitor NFAmonitor
    exporter NFAexporter
    record NFArecord
    cache timeout active 60

    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 NFAmonitor input