Enabling Flow-Based Statistics; Enabling Flow-Based Statistics On An Interface; Defining A Sampling Interval - Juniper JUNOSE 11.2.X IP SERVICES Configuration Manual

For e series broadband services routers - ip services configuration
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.2.x

Table of Contents