Use the following commands to modify cflowd collector and aggregation parameters:
- config>cflowd#
- collector ip-address[:port] [version version]
- no collector ip-address[:port]
- [no] aggregation
- [no] as-matrix
- [no] destination-prefix
- [no] protocol-port
- [no] raw
- [no] source-destination-prefix
- [no] source-prefix
- [no] autonomous-system-type [origin | peer]
- [no] description description-string
- [no] shutdown
- template-set {basic | mpls-ip | l2-ip | mpls-transport}
If a specific collector UDP port is not identified, flows are sent to port 2055 by default.
The following example displays basic cflowd modifications:
A:ALA-1>config>cflowd# info
-----------------------------------------
active-flow-timeout 3600
overflow 2
sample-rate 10
collector 10.10.10.1:2000 version 5
description "AS info collector"
exit
collector 10.10.10.2:5000 version 8
aggregation
source-prefix
raw
exit
description "Test collector"
exit
-----------------------------------------
A:ALA-1>config>cflowd#