Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  QFX10002 sflow not working from mgmt

    Posted 26 days ago

    Hi,
    I have a QFX10002-36Q, and I configured sFlow with the following commands:

    set protocols sflow polling-interval 20
    set protocols sflow sample-rate ingress 10000
    set protocols sflow source-ip 10.x.x.246
    set protocols sflow collector 172.x.x.210
    set routing-options static route 172.x.x.x/32 next-table mgmt_junos.inet.0

    However, it seems that it cannot use the em0 interface to send flows.
    According to this Juniper article (https://supportportal.juniper.net/s/article/QFX-Example-How-to-send-sFlow-packets-using-mgmt-junos-non-default-routing-instance?language=en_US), it should be possible when using em0.

    Any ideas?



  • 2.  RE: QFX10002 sflow not working from mgmt

    Posted 25 days ago

    Hi.

    Comparing with the information in the article, it seems that the following four lines are missing. Have you set them?

    --
    set interfaces em0 unit 0 family inet address 10.x.x.246/yy
    set system management-instance
    set routing-instances mgmt_junos routing-options static route 0.0.0.0/0 next-hop 10.x.x.x
    (10.x.x.x is default GW for em0 subnet.)
    set protocols sflow interfaces xe-0/0/0.0



    ------------------------------
    RYOTA KOSAKA
    ------------------------------



  • 3.  RE: QFX10002 sflow not working from mgmt

    Posted 24 days ago

    Hi,

    We already added them, i just forgot to add them in the first reply.

    I think this is not possible in QFX1k series.




  • 4.  RE: QFX10002 sflow not working from mgmt

    Posted 24 days ago
    Edited by RYOTA KOSAKA 24 days ago

    Hi.

    Have you tried it on another platform like qfx5120?
    And,  have you tried using inet.0 instead of mgmt_junos.inet.0?

    I have only QFX5k series, so I can try them only with  QFX5k . 

    I'll try it when I have time.



    ------------------------------
    RYOTA KOSAKA
    ------------------------------



  • 5.  RE: QFX10002 sflow not working from mgmt

    Posted 24 days ago

    Hi,

    I have qfx5100 and qfx5200 they are working without any issue and sflow is working on inet.0 on qfx1k but it does not work on mgmt-junos,

    i just want to ensure everything is fine and this is only asic limitation on qfx1k




  • 6.  RE: QFX10002 sflow not working from mgmt

    Posted 24 days ago

    Hi.

    Thank you for the information.

    There doesn't seem to be any difference between the QFX10016(in knowledge base) and QFX10002-36Q , but I don't understand the cause.
    Sorry I couldn't be of any help.


    ------------------------------
    RYOTA KOSAKA
    ------------------------------



  • 7.  RE: QFX10002 sflow not working from mgmt

    Posted 23 days ago

    I banged my head on this for a while since I didn't understand the design limitation, but the reason you can't export the sFlow records via a management interface [em0/fxp0] is because the sFlow packets are generated directly on the PFE, which doesn't have any access to fxp0 (it can only be accessed by the RE).  sFlow packets have to be generated via a  PFE interface [ge/xe/et].