55-3
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 55 Configuring NetFlow-lite Configuring NetFlow Packet Sampling
Configuring Information about the External Collector
To configure the external collector, perform this task:

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 Exporter exporter1:
Network Protocol Configuration:
Destination IP address: 5.5.5.6
Source IP Address: 5.5.5.5
Command Purpose
Step 1 Switch# config terminal Enters configuration mode
Step 2 Switch(config)# netflow-lite exporter exporter Defines an exporter and to enter NetFlow-lite
exporter submode
Step 3 Switch(config-netflow-lite-exporter)# destination
source-address Specifies a destination address
Step 4 Switch(config-netflow-lite-exporter)# source
source-address Specifies a source Layer 3 interface
Step 5 Switch(config-netflow-lite-exporter)# vrf
source-address Specifies a VRF label
Step 6 Switch(config-netflow-lite-exporter)# transport udp
destination-port Specifies a UDP transport destination port
Step 7 Switch(config-netflow-lite-exporter)# ttl ttl-value Specifies a ttl value
Step 8 Switch(config-netflow-lite-exporter)# cos cos-value Specifies a cos value
Step 9 Switch(config-netflow-lite-exporter)# dscp dscp-value Specifies a dscp value
Step 10 Switch(config-netflow-lite-exporter)# template data
timeout timeout Specifies a template data timeout
Step 11 Switch(config-netflow-lite-exporter)# options
{sampler-table | interface-table} timeout timeout Specifies an options timeout
Step 12 Switch(config-netflow-lite-exporter)# export-protocol
{netflow-v9 | ipfix}Specifies the export protocol
Step 13 Switch(config-netflow-lite-exporter)# exit Returns to global configuration mode
Step 14 Switch(config)# exit Returns to EXEC mode
Step 15 Switch# show netflow-lite exporter exporter Displays the exporter configuration