Configure an exporter map and apply it to the monitor map with the flow monitor-map
map_name
exporter
map_name command. You can configure the exporter map prior to configuring the monitor map, or you can configure the monitor map first
and then configure and apply an exporter map later on.
Note
|
Cisco IOS XR Software supports the configuration of a single collector only in the exporter map.
|
The steps that follow describe how to create and configure an exporter map and enable exporting of the sampler table or the
interface table.
This example shows how to create a new flow exporter map called “fem1,” which uses the version 9 (V9) export format for NetFlow
export packets. The data template flow-set is inserted into the V9 export packets once every 10 minutes, and the options interface
table flow-set is inserted into the V9 export packet. The export packets are sent to the flow collector destination 10.1.1.1,
where the source address is identical to the interface IP address of Loopback 0. The UDP destination port is 1024, and the
DSCP value is 10:
RP/0/(config)# flow exporter-map fem1
RP/0/(config-fem)# destination 10.1.1.1
RP/0/(config-fem)# source Loopback 0
RP/0/(config-fem)# transport udp 1024
RP/0/(config-fem)# dscp 10
RP/0/(config-fem)# exit
RP/0/(config-fem)# version v9
RP/0/(config-fem-ver)# template data timeout 600
RP/0/(config-fem-ver)# options interface-table
RP/0/(config-fem-ver)# exit