UNSOLVED

yeowkm99

updated

2 years ago

Y

yeowkm99

2 Intern

•

123 Posts

•

12 Points

0

133

August 28th, 2024 01:00

enable sflow on dell s series switch for Opmanager

I am trying to configure sflow on my S series S31XX switches to send flow data to OPManager, but seems to hit error.

OPManager not able to configure the switch and even if i manually configure on the switch, it does not work.

switch not added to OPManager for sflow.

sflow collector 172.16.xx.xx agent-addr 172.16.xx.xx max-datagram-size 400
sflow enable
sflow extended-switch enable
sflow polling-interval 60
sflow max-header-size extended

  • DELL-Joey C

    Moderator

    •

    4170 Posts

    •

    20965 Points

    0

    0

    Posted August 28th, 2024 08:30

    Hi,

     

    Can you elaborate on you mentioned "OPManager not able to configure the switch"? Is it that it is unable to discover the device? Can the switch ping the OPManager, is it reachable? When you do a show sflow; what is the output? What is your firmware version of the switch?

     

    DELL-Joey C

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did. 

  • yeowkm99

    2 Intern

    •

    123 Posts

    •

    12 Points

    0

    0

    Posted August 28th, 2024 08:42

    OPManager is not able to add S series switch for flow analysis.

    this is the output for sflow

    S3148#show sflow
    sFlow services are enabled
    Egress Management Interface sFlow services are disabled
    Global default sampling rate: 4096
    Global default counter polling interval: 600
    Global default extended maximum header size: 256 bytes
    Global extended information enabled: switch
    1 collectors configured
    Collector IP addr: 172.16.0.xxx, Agent IP addr: 172.16.0.xxx, UDP port: 6343 VRF: Default
    38 UDP packets exported
    0 UDP packets dropped
    6 sFlow samples collected

    firmware version is 9.14(2.12)

    i managed to add S5248 on OS10 but not S3148 switch 

    (edited)

  • DELL-Joey C

    Moderator

    •

    4170 Posts

    •

    20965 Points

    0

    0

    Posted August 28th, 2024 09:46

    Hi,

     

    Looks like the switch is configured correctly. Is the sFlow collection that you configured is the management port or data port? 

     

    What error does OPmanager appear?

    DELL-Joey C

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did. 

  • yeowkm99

    2 Intern

    •

    123 Posts

    •

    12 Points

    0

    0

    Posted August 29th, 2024 03:25

    it will says the commands are invalid

  • DELL-Joey C

    Moderator

    •

    4170 Posts

    •

    20965 Points

    0

    0

    Posted August 29th, 2024 03:48

    Hi,

     

    Can you remove max-datagram-size 400 from your sFlow config based on "sflow collector 172.16.xx.xx agent-addr 172.16.xx.xx max-datagram-size 400"

    DELL-Joey C

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did. 

  • yeowkm99

    2 Intern

    •

    123 Posts

    •

    12 Points

    0

    0

    Posted August 30th, 2024 07:46

    have already changed the config to this 

    sflow collector 172.16.0.xx agent-addr 172.16.0.xx
    sflow enable
    sflow extended-switch enable
    sflow polling-interval 600
    sflow max-header-size extended

  • DELL-Joey C

    Moderator

    •

    4170 Posts

    •

    20965 Points

    0

    0

    Posted August 30th, 2024 09:47

    Hi,

     

    After reconfig, OPManager still having the same issue? Can I check if OPManager has how many switches discovered now? How about if you were to remove some or as many, to check the issue? Have you tried contacting OPManager to reach out and check?

     

    Also can I check for #agent-addr 172.16.0.xx is the IP of the switch management right? 

     

    Can you also add these commands:

     

    #sflow polling-interval <15-86400> this value match with collector server setting

    #sflow sample-rate <256-8388608> this value match with collector server setting

    DELL-Joey C

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.