[j-nsp] cflowd ASN lookup
Aden Bos
aden.bos at ukbroadband.com
Fri Dec 14 06:06:20 EST 2007
Richard A Steenbergen wrote:
> On Thu, Dec 13, 2007 at 09:31:58AM -0800, Chris Kawchuk wrote:
>> Ensure your stanza looks something like this:
>>
>> forwarding-options {
>> sampling {
>> input {
>> family inet {
>> rate 10;
>> run-length 10;
>> max-packets-per-second 7000;
>> }
>> }
>> output {
>> cflowd 172.28.1.14 {
>> port 9996;
>> source-address 10.2.1.11;
>> version 5;
>> no-local-dump;
>> autonomous-system-type origin;
>> }
>> }
>> }
>> }
>>
>> You may be missing the "autonomous-system-type origin" entry.
>
> You also have to configure "routing-options route-record" as well. Note
> that this increases your memory and CPU use, and it has to constantly copy
> the routing table data from rpd to the sampled process. If you don't need
> AS data in your flow export, don't configure this.
>
This is my config, which looks pretty much the same as what everyone
else has.
forwarding-options {
sampling {
input {
family inet {
rate 1;
run-length 20;
max-packets-per-second 100;
}
}
output {
cflowd 172.16.1.8 {
port 4444;
version 5;
autonomous-system-type origin;
}
}
}
}
I already have "routing-options route-record" enabled.
And this router does have a full routing table.
More information about the juniper-nsp
mailing list