Juniper routers can generate and send flow records to a management server. This allows the administrator to monitor all the traffic that is being routed and better understand the users’ behavior and needs when using the network. Besides that, it also creates a database with every connection originated or destined to your autonomous system for further consultation.
The following tutorial shows how to configure the router and how to set up a management server to receive and store the data using open source tools. In addition, it will also show how to query the information base.
Configuring the Router
1. Define and configure an interface to export flow data, like ge-1/1/0. The flow collector must be reachable through this interface, since flow records cannot be exported if the flow collector is reachable through a management interface like fxp0.1)http://www.juniper.net/techpubs/en_US/junos13.3/topics/task/configuration/inline-flow-monitoring.html#VT5jL4VmFUHwaj4i.97
set interfaces ge-1/1/0 unit 0 family inet address 172.16.200.4/16
References [ + ]