Configuring Routing Engine-Based Sampling on M, MX and T Series Routers for Export to Multiple Flow Servers
Routing Engine-based sampling supports up to eight flow servers for both version 5 and version 8 configurations. The total number of collectors is limited to eight, regardless of how many are configured for version 5 or version 8. When you configure sampling, the export packets are replicated to all collectors configured to receive them. If two collectors are configured to receive version 5 records, both collectors will receive records for a specified flow.
The following configuration example allows replication of export packets to two collectors.
forwarding-options {
sampling {
input {
family inet {
rate 1;
}
}
output {
cflowd 10.10.3.2 {
port 2055;
version 5;
source-address 192.168.164.119;
}
cflowd 172.17.20.62 {
port 2055;
version 5;
source-address 192.168.164.119;
}
}
}
}