Junos
Junos

Atfer JUNOS Upgrade Netflow not working

[ Edited ]
‎08-25-2011 07:05 AM

Hello,

 

after upgrading our MX480 from 10.0R3 to 10.4R6 our NetFlow configuration stopped working. Originally, this was configured:

 

> show configuration forwarding-options
sampling {
    input {
        family inet {
            rate 1000;
            run-length 0;
            max-packets-per-second 10000;
        }
    }
    output { ## Warning: 'output' is deprecated
        flow-server x.x.x.x {
            port 9702;
            autonomous-system-type origin;
            no-local-dump;
            source-address y.y.y.y;
            version 5;
        }
    }
}

 

 

Unfortunately, the documentation seems to be real outdated, I couldn't find any entry that the "ouput" command is deprectaed. Then I reconfigured the flow sampling with the following config:

 

# show forwarding-options sampling
input {
    rate 1000;
    run-length 0;
    max-packets-per-second 10000;
}
family inet {
    output {
        flow-server x.x.x.x {
            port 9702;
            autonomous-system-type origin;
            no-local-dump;
            source-address y.y.y.y;
            version 5;
        }
    }
}

 

 

But it still doesn't work, the traceoptions show that the router doesn't send out anything. Do you have any input for me how I can get this to work again?

 

Thank you!

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
9 REPLIES 9
Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-25-2011 10:05 AM

Hello,

Your destination UDP port is not the same (9703 vs 9702).

Perhaps you have a FW filter blocking UDP dst.port 9702 outbound from the router?

HTH

Rgds
Alex 

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-25-2011 10:11 AM
Hi Alex, sorry, this was a fault, the destination port was 9702 in the old config and it is in the new config too. This is not the issue. Regards, Daniel
--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-26-2011 04:09 AM

Have seen the same (loss of sampling from some/all cards) on an ISSU upgrade from 10.0 to 10.4

Is it on DPC/DPCE? Have you tried reloading the DPC/DPCE or chassis?

Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-26-2011 04:17 AM

Yes, we have two DPCE-R-4XGE-XFP inside the chassis. No, we did not reboot it because this means that our customers have a loss of service.

Did you just reboot it and then it worked again?

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-30-2011 06:34 AM

Have you tried 'restart sampling' command or deactivating and activating again the flow stanza?

Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-30-2011 06:36 AM

Yes, we executed restart sampling, but this did not help. What do you mean with "deactivating and activating again the flow stanza"?

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-30-2011 06:45 AM

I mean you should type deactivate forwarding-options sampling, commit, activate forwarding-options sampling and commit once again. But I guess it's the same thing as restarting the daemon.

Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎08-30-2011 06:57 AM

We tried this already a few times, but this did not help too.

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Highlighted
Junos

Re: Atfer JUNOS Upgrade Netflow not working

‎09-08-2011 06:26 AM

Just to inform you, this is a known bug:

 

https://www2.juniper.net/prsearch/viewpr.jsp?txtPrnumber=681271

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Feedback