3.
4.
5.
6.
Enabling Flow-Based Statistics
Use the ip flow statistics command to explicitly enable J-Flow.
NOTE: Issuing any configuration-level commands implicitly enables J-Flow.
ip flow statistics
Enabling Flow-Based Statistics on an Interface
Use the ip route-cache flow sampled command to enable J-Flow statistics on an
interface. You can also use this command to configure an IP profile that is applied
to dynamically created IP interfaces. This feature provides J-flow capability on all
dynamically created IP interfaces, including those used for MPLS-to-IP forwarding
scenarios.
NOTE: Issuing an interface-level flow command does not enable J-Flow on the virtual
router. To enable J-Flow, issue the ip flow statistics command.
ip route-cache flow sampled
(Optional) Define the sampling interval at which you want to collect statistics.
(Optional) Customize the size of the main flow cache.
(Optional) Define flow cache aging timers.
(Optional) Specify to where you want to export J-Flow statistics.
Use to enable J-Flow.
Example
host1(config)#ip flow statistics
Use the no version to disable J-Flow on the virtual router.
See ip flow statistics.
Use to enable J-Flow on an interface. or in an IP profile for dynamically created
IP interfaces.
Examples
host1(config-if)#ip route-cache flow sampled
or
host1(config-profile)#ip route-cache flow sampled
Chapter 3: Configuring J-Flow Statistics
Configuring Flow-Based Statistics Collection
99
Need help?
Do you have a question about the IP SERVICES - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?
Questions and answers