Skip to main content

Cisco Catalyst 6500 Configuration

This document provides configuration steps for implementing MOTADATA_NETFLOW on Cisco Catalyst 6500 switch using both Supervisor Engine 720 and Supervisor Engine 2T. Follow the steps below to enable and configure MOTADATA_NETFLOW on your switch.

Configuration for Supervisor Engine 720

Enter global configuration mode:

Config t

Configure MOTADATA_NETFLOW settings:

mls MOTADATA_NETFLOW
mls nde sender version 5
mls aging long 64
mls aging normal 32
mls flow ip interface-full
mls nde interface

ip flow-export destination {MOTADATA_NETFLOW_SERVER_IP} {MOTADATA_NETFLOW_SERVER_LISTENER_PORT}
ip flow-export source {LOOPBACK_INTERFACE_NAME}
ip flow-export version 5
ip flow-cache timeout active 1
ip flow-cache timeout inactive 15
snmp-server ifindex persist

For each interface on which you want to enable flow, enter:

interface {INTERFACE_NAME}
ip flow ingress

Configuration for Supervisor Engine 2T

Enter global configuration mode:

Config t

Create a flow exporter named "ObserveOps":

flow exporter ObserveOps
destination {MOTADATA_NETFLOW_SERVER_IP}
Export protocol v9
transport udp {MOTADATA_NETFLOW_SERVER_LISTENER_PORT}
source loopback {LOOPBACK_INTERFACE_NAME}
data template timeout 60

Create a flow record named "ObserveOps":

flow record ObserveOps
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
match interface output
collect routing source as
collect routing destination as
collect routing next-hop address ipv4
collect ipv4 source mask
collect ipv4 destination mask
collect transport tcp flags
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last

Create a flow monitor named "ObserveOps":

flow monitor ObserveOps
record ObserveOps
record exporter
exporter ObserveOps
cache timeout active 60
cache timeout inactive 15

For each interface on which you want to enable flow, enter:

interface {INTERFACE_NAME}
ip flow monitor ObserveOps input

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