Skip to main content

Cisco 4500 Series

In this guide, we’ll walk through the steps for configuring Cisco 4500 series with Cisco IOS XE for flow data export, record creation, and monitoring setup within Motadata ObserveOps (formerly known as AIOps).

Prerequisites

Before you begin, ensure that the device from which you are forwarding the flow that should be reachable through port 2055 in the Motadata ObserveOps application.

Steps to Configuring Cisco 4500 Series

Configure the Flow Exporter

Enter global configuration mode on your Cisco device:

configure terminal

Set up the exporter with the following commands:

flow exporter {exporter_name}
destination {destination_ip_address}
transport-protocol version-9
transport udp 2055
template data timeout 60
option application-table timeout 60
exit
info

You can configure the flow exporter with a unique name. Multiple Flow exporter profiles can be configured as needed.

Configure the Flow Record

Enter the following configuration command:

ip flow record {record_name}
match datalink destination-vlan-id
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 application names
collect interface output
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
exit

Configure the Flow Monitor

Enter the configuration for the flow monitor:

ip flow monitor {monitor_name}
record {record_name}
exporter {exporter_name}
cache timeout active 60
exit

Associate Flow Monitor to Interfaces

For each interface on your Cisco device, use the following command to apply the flow monitor:

interface {interface_name} {interface_number}
ip flow monitor {monitor_name} input
exit
note

Flow monitoring must be enabled on the interfaces to capture accurate traffic data for both ingress and egress flows.

Verification

To verify the configuration:

Use the show commands to check the status of the configured flow monitor and exporter:

show ip flow exporter
show ip flow monitor
show ip flow interface

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