DX NetOps

  • 1.  Using snmp to reboot a switch

    Posted Feb 13, 2018 05:01 PM

    Hi All,

    Is it possible to utilize SNMP (with a write string ) in Spectrum to reboot a network switch? Either cisco or Juniper. If so, is there a utility within Spectrum that can be used to perform as a scheduled task. I was thinking maybe NCM, but I am not sure because I have never been asked to do it before.

     

    TIA

    Patrick



  • 2.  Re: Using snmp to reboot a switch

    Posted Feb 14, 2018 05:17 AM

    I don't think this is possible



  • 3.  Re: Using snmp to reboot a switch

    Broadcom Employee
    Posted Feb 19, 2018 11:52 PM

    Hi Patrick,

     

    NCM can load firmware and can also upload Perl Configuration scripts as well as a few other things;

     

    Network Configuration Manager Capabilities

     

    As Hamza said, not sure if this is possible but you may be able to write a custom Perl script which when uploaded (and assuming appropriate permissions) executes a reboot command.



  • 4.  RE: Using snmp to reboot a switch

    Broadcom Employee
    Posted Oct 25, 2021 09:11 AM
    Sorry for not seeing this earlier but I believe you can do this:

    • Use Spectrum to reload switch via SNMP

    https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/26009-faq-snmpcat.html

    You would need to map the sysReset OID from the CISCO-STACK-MIB.my to an attribute and then you could use REST/CLI, Policy Manager, Event Procedure, etc. to set the attribute to reset(2).