Example - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 73
Configuring NetFlow-lite
Command
Step 1
Switch# config terminal
Step 2
Switch(config)# netflow-lite exporter exporter
Step 3
Switch(config-netflow-lite-exporter)# destination
source-address
Step 4
Switch(config-netflow-lite-exporter)# source
source-address
Step 5
Switch(config-netflow-lite-exporter)# vrf
source-address
Step 6
Switch(config-netflow-lite-exporter)# transport udp
destination-port
Step 7
Switch(config-netflow-lite-exporter)# ttl ttl-value
Step 8
Switch(config-netflow-lite-exporter)# cos cos-value
Step 9
Switch(config-netflow-lite-exporter)# dscp dscp-value
Step 10
Switch(config-netflow-lite-exporter)# template data
timeout timeout
Step 11
Switch(config-netflow-lite-exporter)# options
{sampler-table | interface-table} timeout timeout
Step 12
Switch(config-netflow-lite-exporter)# export-protocol
{netflow-v9 | ipfix}
Step 13
Switch(config-netflow-lite-exporter)# exit
Step 14
Switch(config)# exit
Step 15
Switch# show netflow-lite exporter exporter

Example

This example shows how configure the external collector and to verify the exporter configuration:
Switch# config terminal
Switch(config)# netflow-lite exporter exporter1
Switch(config-netflow-lite-exporter)# destination 5.5.5.6
Switch(config-netflow-lite-exporter)# source 5.5.5.5
Switch(config-netflow-lite-exporter)# transport udp 8188
Switch(config-netflow-lite-exporter)# ttl 128
Switch(config-netflow-lite-exporter)# cos 7
Switch(config-netflow-lite-exporter)# dscp 32
Switch(config-netflow-lite-exporter)# template data timeout 1
Switch(config-netflow-lite-exporter)# options sampler-table timeout 1
Switch(config-netflow-lite-exporter)# options interface-table timeout 1
Switch(config-netflow-lite-exporter)# export-protocol netflow-v9
Switch(config-netflow-lite-exporter)# exit
Switch(config)# exit
Switch# show netflow-lite exporter exporter1
Netflow-lite
Network Protocol Configuration:
Exporter exporter1:
Destination IP address:
Source IP Address:
VRF label:
DSCP:
TTL:
COS:
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Enters configuration mode
Defines an exporter and to enter NetFlow-lite
exporter submode
Specifies a destination address
Specifies a source Layer 3 interface
Specifies a VRF label
Specifies a UDP transport destination port
Specifies a ttl value
Specifies a cos value
Specifies a dscp value
Specifies a template data timeout
Specifies an options timeout
Specifies the export protocol
Returns to global configuration mode
Returns to EXEC mode
Displays the exporter configuration
5.5.5.6
5.5.5.5
none
0x20
128
7
Configuring NetFlow Packet Sampling
73-3

Advertisement

Table of Contents
loading

Table of Contents