I/G/C/B-Series f/w 6.42.02.0006 Sflow Timer triggers Inventory Manager config-change Alert

  • 0
  • 1
  • Article
  • Updated 4 years ago
  • (Edited)
Article ID: 13974 

Products
I-Series, firmware 6.42.01.0046 through 6.42.02.0006
G-Series, firmware 6.03.00.0022 through 6.42.02.0006
C5-Series, firmware 6.41.00.0022 through 6.42.02.0006
C3-Series, firmware 6.03.00.0022 through 6.42.02.0006
B5-Series, firmware 6.41.00.0022 through 6.42.02.0006
B3-Series, firmware 6.03.00.0022 through 6.42.02.0006
NetSight Inventory Manager

Changes
Configured sFlow ('set sflow...'; 12908).

Symptoms
SFlow receiver timeout value continually decreases.
Inventory Manager reports a configuration change having occurred in its managed sflow-configured switch(es).

Cause
As explained in 13973, the timeout value for each of the configured sFlow receivers continually decrements. With the above-stated firmware, this process is also reflected in the respective 'set sflow receiver ... owner ... timeout' commands as viewed in the configuration ('show config sflow').

Because of what amounts to a continually changing switch configuration, Inventory Manager will always report that the configuration has changed since the last time it checked.

Solution
Upgrade to firmware 6.42.03.0004 or higher.
Release notes state, in the 'Firmware Changes and Enhancements' section:
14757   sFlow Receivers are no longer persistent and will not be displayed in the running-config. Receivers can be viewed using the "show sflow receivers" command. This will prevent receiver timers from making configurations appear to change in Inventory Manager.

Side-effects of the fix:
    • "...will not be displayed in the running-config.": The 'set sflow receiver ... owner ... timeout' command no longer appears in the configuration, so the configured owner and current timeout may only be viewed by using the 'show sflow receivers' query as demonstrated below.
    • "Receivers are no longer persistent...": Any sflow receiver will not be properly (re-)created anytime the system is power cycled or reset for any reason. The same shortcoming will occur if the user saves ('show config outfile...') then reloads ('configure...') an sFlow-containing configuration (5623) without ediiting it between those two steps to restore the "missing" 'set sflow receiver ... owner ... timeout' command(s).

    This sFlow sample config uses firmware 6.42.03.0004 or higher, and the guidelines presented in 12908 and 13973.
    C3(su)->set sflow receiver 1 ip 10.20.1.2
    C3(su)->set sflow receiver 1 owner myCollector timeout 3153600000
    C3(su)->set sflow port ge.1.1-24 sampler 1
    C3(su)->set sflow port ge.1.1-24 sampler rate 1024
    C3(su)->set sflow port ge.1.1-24 poller 1
    C3(su)->set sflow port ge.1.1-24 poller interval 60
    C3(su)->show config sflow
    This command shows non-default configurations only.
    Use 'show config all' to show both default and non-default configurations.

    !
    #***** NON-DEFAULT CONFIGURATION *****
    !
    !
    # Firmware Revision: 06.42.06.0008
    !
    !

    #sflow
    set sflow receiver 1 ip 10.20.1.2
    set sflow port ge.1.1-24 sampler 1
    set sflow port ge.1.1 sampler rate 1024
    . . .
    set sflow port ge.1.24 sampler rate 1024
    set sflow port ge.1.1-24 poller 1
    set sflow port ge.1.1 poller interval 60
    . . .
    set sflow port ge.1.24 poller interval 60
    !

    C3(su)->show sflow ?

    agent Displays sFlow agent information.
    interface Display interface used for source IP address.
    pollers Displays sFlow Pollers information.
    receivers Displays sFlow receivers information.
    samplers Displays sFlow samplers information.

    C3(su)->show sflow receivers

    Receiver Time out Max Datagram Port IP Address Owner String
    Index Size (Truncated)
    -------- ---------- ------------ ----- ---------------- -----------------
    1 3153599792 1400 6343 10.20.1.2 myCollector
    2 0 1400 6343 0.0.0.0
    3 0 1400 6343 0.0.0.0
    4 0 1400 6343 0.0.0.0
    5 0 1400 6343 0.0.0.0
    6 0 1400 6343 0.0.0.0
    7 0 1400 6343 0.0.0.0
    8 0 1400 6343 0.0.0.0

    C3(su)->
    Photo of FAQ User

    FAQ User, Official Rep

    • 13,620 Points 10k badge 2x thumb

    Posted 4 years ago

    • 0
    • 1

    There are no replies.

    This conversation is no longer open for comments or replies.