SNMPSET - Reload via SNMP - Cisco 3560 - HELP!

kohr-ahkohr-ah Member Posts: 1,277
I am going nuts on this.
I can do push and pull via SNMP.
I can reload a router via SNMP but I can't find the OID to reload a Cisco 3560 via SNMPSET and it isn't the same as the router.

Does anyone know it or have they done it?

Comments

  • kohr-ahkohr-ah Member Posts: 1,277
    Aha! Got it.

    I had to push snmp-server server-shutdown with an acl only to my PC, rebooted via SNMP set and removed the server shutdown

    Darn IOS15 memory leaks.

    (This is how)
    [SNMP PUSH THE CONFIG with SNMP-SERVER SYSTEM-SHUTDOWN ENABLED]
    snmpset -v2c -c string IP_ADDRESS 1.3.6.1.4.1.9.9.96.1.1.1.1.14.222 i 5
    snmpset -v2c -c string IP_ADDRESS 1.3.6.1.4.1.9.9.96.1.1.1.1.2.222 i 1
    snmpset -v2c -c string IP_ADDRESS 1.3.6.1.4.1.9.9.96.1.1.1.1.3.222 i 1
    snmpset -v2c -c string IP_ADDRESS 1.3.6.1.4.1.9.9.96.1.1.1.1.4.222 i 4
    snmpset -v2c -c string IP_ADDRESS 1.3.6.1.4.1.9.9.96.1.1.1.1.5.222 a 10.100.10.198
    snmpset -v2c -c string IP_ADDRESS 1.3.6.1.4.1.9.9.96.1.1.1.1.6.222 s "config.txt"
    snmpset -v2c -c string IP_ADDRESS 1.3.6.1.4.1.9.9.96.1.1.1.1.14.222 i 1

    [THIS REBOOTS IT]
    snmpset -v2c -c string IP_ADDRESS .1.3.6.1.4.1.9.2.9.9.0 i 2

Sign In or Register to comment.