Configuring Aggregation Flow Caches
Aggregation caches are disabled by default. Exporting flow records from the router
does not occur while it is in the disabled state. When the configuration for an
aggregation cache is changed from enabled to disabled state, all flow records from
that cache are removed and flow collection stops.
For Prefix, Destination Prefix, and Source Prefix aggregation caches, you can specify
a minimum source and destination mask size to affect the granularity of the IP
address space captured in the aggregation cache. The commands to configure the
minimum mask size for the source and destination address are issued in Flow Cache
Configuration mode and are specific to each aggregation cache:
host1(config-flow-cache)#
mask source minimum value
host1(config-flow-cache)#
mask destination minimum value
The value (a number in the range 1–32) specifies the size of the minimum mask.
The no version restores the default minimum mask size, which is 0. A mask of size
N has the N most significant bits set in the corresponding bit mask.
You cannot configure a minimum mask size for aggregation caches that do not retain
an IP address in their aggregation scheme (like the AS aggregation cache). You can
configure the Prefix aggregation cache for both source and destination minimum
mask size. You can configure only the source minimum mask size for the Source
Prefix aggregation cache. You can configure only the destination minimum mask
size for the Destination Prefix aggregation cache.
The peer/origin information configured with the export command for the man V5
cache is used to display the AS number of the AS aggregation cache for both the
source and destination AS. If no (default) configuration is present, zero appears in
the AS numbers for both V5 export and V8 export and in the
show
commands for
the V8 AS aggregation cache.
Establish an aggregation cache:
1.
Enter Flow Cache Configuration mode for the AS aggregation cache.
host1(config)#
ip flow-aggregation cache as
2.
Configure the number of entries (1024—524288) in the aggregation cache; the
no version sets the number of entries back to its default value of 4096 (flow-data
may be lost if the previous setting is larger than the default).
host1(config-flow-cache)#
cache entries entryNumber
3.
Set the active (1-60) and inactive (10-600) aging timers.
host1(config-flow-cache)#
cache timeout active active-tmo
host1(config-flow-cache)#
cache timeout inactive inactive-tmo
4.
Configure an export destination for the aggregation cache; the no version removes
the destination.
Configuring Flow-Based Statistics Collection
■
103
Chapter 3: Configuring J-Flow Statistics
Содержание IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Страница 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Страница 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Страница 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Страница 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Страница 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Страница 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Страница 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Страница 357: ...Part 2 Index Index on page 333 Index 331...
Страница 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...