Cisco Cisco IOS Software Release 12.0(15)S

Pagina di 26
 
NetFlow ToS-Based Router Aggregation
Configuration Examples
16
Cisco IOS Release 12.0(15)S, 12.0(16)ST, 12.2(14)S, and 12.2(4)T
Verifying ToS-Based NetFlow Aggregation Schemes
To view the configured ToS-based NetFlow aggregation scheme, use the following show commands in 
EXEC mode as needed:
Configuration Examples
This section provides the following configuration examples:
AS-ToS Aggregation Scheme Example
!
ip flow-aggregation cache as-tos
 cache timeout active 20
 export destination 2.2.2.2 3000
 enabled
!
Prefix-ToS Aggregation Scheme Example
!
ip flow-aggregation cache prefix-tos
 export destination 4.4.4.4 4000
 enabled
!
Command
Purpose
Step 1
Router(config)# ip flow-aggregation cache {as-tos | 
destination-prefix-tos 
prefix-tos prefix-port 
protocol-port-tos 
source-prefix-tos}
Configures the aggregation cache specifying the 
aggregation scheme.
Step 2
Router(config-flow-cache)# cache timeout active value
(Optional) Configures aggregation cache 
operational parameters to time out.
Step 3
Router(config-flow-cache)# export destination 
ip-address port
Enables the exporting of information from the 
NetFlow aggregation cache.
Step 4
Router(config-flow-cache)# enabled
Enables an aggregation cache.
Command
Purpose
Router# show ip cache flow aggregation
Displays the aggregation cache configuration.
Router# show ip cache verbose flow
Displays the aggregation cache flow statistics.
Router# show ip flow export
Displays the statistics for the data export.