NetFlow configuration for Cisco XR 12000 Series Routers

We would like to share the configuration for Cisco XR 12000 Series Routers, the NetFlow configuration for these routers is different from that of the other routers. Hence we thought of sharing this information with you.

We have to configure the following maps:

  • Exporter Map
  • Sampler Map
  • Flow Monitor Map

Once we have configured the above maps we have to apply Monitor Map and a Sampler Map to the Interfaces.

Please find below the steps to configure the different maps:

Exporter Map:
router(config)# flow exporter-map NFAEM
router(config-NFAEM )# destination 192.168.1.1
router(config-NFAEM )# source gi0/0
router(config-NFAEM )# transport udp 9996
router(config-NFAEM )# version v9
router(config-NFAEM-ver)# template data timeout 60
router(config-NFAEM -ver)# options interface-table timeout 60
router(config-NFAEM -ver)# exit

Sampler Map:
router(config)# sampler-map NFASM
router(config-NFASM )# random 1 out-of 65535
router(config)# exit

Flow Monitor Map:
router(config)# flow monitor-map NFAMM
router(config-NFAMM)# record ipv4
router(config-NFAMM)# exporter NFAEM
router(config-NFAMM)# cache timeout active 60
router(config-NFAMM)# cache timeout inactive 15
router(config-NFAMM)# exit

Now we have created all the maps. As informed earlier the next step is to apply the Monitor Map and Sampler Map to the Interfaces.

Given below the steps to apply Monitor Map and Sampler Map to an Interface
router(config)# interface Gi0/0
router(config-if)# flow ipv4 monitor NFAMM sampler NFASM ingress
router(config-if)# exit

Note: the Monitor Map and Sampler Map should be applied to all active interfaces of the router.

Once
you have configured NetFlow on the router, NetFlow Analyzer will be
able auto detect the router and start displaying the stats for you.

You can download the 30 day trial from here.

Praveen Manohar
NetFlow Analyzer
Technical Team

Download | Twitter |
Customers


You Can Learn More About the ManageEngine Product Line By Going to manageengine.optrics.com

The original article/video can be found at NetFlow configuration for Cisco XR 12000 Series Routers

Leave a Reply