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
•
Use the
no
version to disable J-Flow statistics on the interface.
•
See ip route-cache flow sampled.
Defining a Sampling Interval
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
95
Copyright © 2010, Juniper Networks, Inc.
Chapter 3: Configuring J-Flow Statistics
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...