How does one reboot Nexus using SNMP?'
Normally, I reboot IOS gear using:
snmpset -c {private} {switch|router|whatever} tsMsgSend.0 i 2
tsMsgSend OBJECT-TYPE
SYNTAX INTEGER {
nothing(1),
reload(2),
messagedone(3),
abort(4)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Sends the message. The value determines what
to do after the message has completed."
::= { lts 9 }
But our new Nexi (5000 and 7500) don't support tsMsgSend in various ways:
N5K
Reason: notWritable (That object does not support modification)
Failed object: OLD-CISCO-TS-MIB::tsMsgSend.0
N7K
Reason: wrongValue (The set value is illegal or unsupported in some way)
Failed object: OLD-CISCO-TS-MIB::tsMsgSend.0
Yes, I have the following in the Nexi config files:
snmp-server system-shutdown
How does one reboot a Nexus using SNMP?
--sk
Stuart Kendrick
FHCRC
Solved! Go to Solution.
Hi,
The only way that a device can be reloaded using SNMP is with the SNMP object tsMsgSend (1.3.6.1.4.1.9.2.9.9). As per the official Nexus MIB support list, the OID is not supported in NX-OS
Thanks-
Afroz
[Do rate the useful posts]
Hi,
The only way that a device can be reloaded using SNMP is with the SNMP object tsMsgSend (1.3.6.1.4.1.9.2.9.9). As per the official Nexus MIB support list, the OID is not supported in NX-OS
Thanks-
Afroz
[Do rate the useful posts]