3.
(Optional) Define the sampling interval at which you want to collect statistics.
4.
(Optional) Customize the size of the main flow cache.
5.
(Optional) Define flow cache aging timers.
6.
(Optional) Specify to where you want to export J-Flow statistics.
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
■
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.
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
■
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
Configuring Flow-Based Statistics Collection
■
99
Chapter 3: Configuring J-Flow Statistics
Summary of Contents for IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Page 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Page 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Page 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Page 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Page 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Page 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Page 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Page 357: ...Part 2 Index Index on page 333 Index 331...
Page 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...