Skip to main content

Cisco 9407 & Catalyst 4510 Switch Configuration

This document outlines the steps to configure Cisco 9407 and Catalyst 4510 switches using flow monitoring and exporting.

Enter global configuration mode:

config t

Create a flow record:

flow record MFERecordinput
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match mac destination-address
match mac source-address
match transport source-port
match transport destination-port
match interface input
collect interface output
collect counter bytes long
collect counter packets long
collect timestamp sys-uptime first
collect timestamp sys-uptime last

Create a flow exporter:

flow exporter MFEExporter
destination {MOTADATA_NETFLOW_SERVER_IP}
source {LOOPBACK_INTERFACE_NAME}
transport udp {MOTADATA_NETFLOW_SERVER_LISTENER_PORT}
template data timeout 60

Create a flow monitor:

flow monitor MFEMonitorinput
exporter MFEExporter
cache timeout active 60
record MFERecordinput

Enable flow monitoring on each desired interface:

interface {INTERFACE_NAME}
ip flow monitor MFEMonitorinput input

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