Hi, I used the following CLI to enable netflow on Cisco XR 12406 running on IOS 3.8.2[00]:
Telnet into user Exec mode on the Cisco XR device.
First Step: Configure Exporter Map
1. #configure -->enter configuration mode
2. #flow exporter-map -->e.g. solarwinds
3. #destination -->61.6.254.72
4. #transport udp -->2055
5. #version v5 -->set Netflow v5
6. #end -->exit configuration. Enter “yes” when prompted to save configuration
7. #exit -->exits flow exporter map
8. #exit -->enter user Exec mode
Second Step: Configure Sampler Map
1. #configure -->enter configuration mode
2. #sampler-map -->e.g. solarwinds
3. #random 1 out-of 65535 -->set sampling interval
4. #end -->exit configuration. Enter “yes” when prompted to save configuration
5. #exit -->exits flow exporter map
6. #exit -->enter user Exec mode
Third Step: Configure Monitor Map
1. #configure -->enter configuration mode
2. #flow monitor-map -->e.g. solarwinds
3. #record ipv4 -->configure flow record map name for ipv4
4. #exporter -->enter exporter map name defined in first step
5. #end -->exit configuration. Enter “yes” when prompted to save configuration
6. #exit -->exits flow exporter map
7. #exit -->enter user Exec mode
Final Step: Apply Monitor Map and Sampler Map to the interface (repeat for all desired interfaces in the device)
1. #configure -->enter configuration mode
2. #interface -->e.g. GigabitEthernet 0/0/0/0
3. #flow ipv4 monitor sampler egress -->enable Netflow for outgoing packets
4. #flow ipv4 monitor sampler ingress -->enable Netflow for incoming packets
5. #end -->exit configuration. Enter “yes” when prompted to save configuration
However, I am unable to get Netflow data at NTA. Am I doing anything wrong?