Enabling Flow-Based Statistics
ip flow statistics
Enabling Flow-Based Statistics on an Interface
ip route-cache flow sampled
Defining a Sampling Interval
Copyright © 2010, Juniper Networks, Inc.
Use the ip flow statistics command to explicitly enable J-Flow.
NOTE: Issuing any configuration-level commands implicitly enables J-Flow.
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 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.
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
Use the no version to disable J-Flow statistics on the interface.
See ip route-cache flow sampled.
Use the ip flow-sampling-mode packet-interval command to define the packet-sampling
interval for the virtual router. The sampling interval specifies the rate at which the virtual
router samples J-Flow information. This rate is used for all interfaces that have J-Flow
enabled. After you enable J-Flow on an interface, the virtual router samples one packet
Chapter 3: Configuring J-Flow Statistics
95
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP SERVICES CONFIGURATION GUIDE 2010-10-01 and is the answer not in the manual?