cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
882
Views
0
Helpful
1
Replies
STUART KENDRICK
Beginner

how to reboot Nexi using SNMP (tsMsgSend not supported)

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

1 ACCEPTED SOLUTION

Accepted Solutions
AFROJ AHMAD
Cisco Employee

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]
Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

1 REPLY 1
AFROJ AHMAD
Cisco Employee

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]
Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****