Concept Guide

the server OS is UNIX
you are using SNMP version 2c
the community name is public
the le f10-copy-cong.mib is in the current directory
NOTE: In UNIX, enter the snmpset command for help using this command.
The following examples show the command syntax using MIB object names and the same command using the object OIDs. In both cases,
the same index number used in the snmpset command follows the object.
The following command shows how to get a MIB object value using the object name.
> snmpget -v 2c -c private -m ./f10-copy-config.mib 10.11.131.140 copyTimeCompleted.110
FTOS-COPY-CONFIG-MIB::copyTimeCompleted.110 = Timeticks: (1179831) 3:16:38.31
The following command shows how to get a MIB object value using OID.
> snmpget -v 2c -c private 10.11.131.140 .1.3.6.1.4.1.6027.3.5.1.1.1.1.13.110
SNMPv2-SMI::enterprises.6027.3.5.1.1.1.1.13.110 = Timeticks: (1179831) 3:16:38.31
MIB Support to Display Reason for Last System
Reboot
Dell EMC Networking provides MIB objects to display the reason for the last system reboot. The dellNetProcessorResetReason object
contains the reason for the last system reboot. The following table lists the related MIB objects.
Table 111. MIB Objects for Displaying Reason for Last System Reboot
MIB Object OID Description
dellNetProcessorResetReason 1.3.6.1.4.1.6027.3.26.1.4.3.1.7 This is the table that contains the reason for
last system reboot.
dellNetProcessorResetTime 1.3.6.1.4.1.6027.3.26.1.4.3.1.8 This is the table that contains the
timestamp.
Viewing the Reason for Last System Reboot Using SNMP
To view the reason for last system reboot using SNMP, you can use any one of the applicable SNMP commands:
The following example shows a sample output of the snmpwalk command to view the last reset reason.
[DellEMC ~]$ snmpwalk -c public -v 2c 10.16.133.172 1.3.6.1.4.1.6027.3.26.1.4.3.1.7
DELL-NETWORKING-CHASSIS-MIB::dellNetProcessorResetReason.stack.1.1 = STRING: Reboot by
Software
DELL-NETWORKING-CHASSIS-MIB::dellNetProcessorResetReason.stack.2.1 = STRING: Reboot by
Software
DELL-NETWORKING-CHASSIS-MIB::dellNetProcessorResetReason.stack.3.1 = STRING: Cold Reset
[DellEMC ~]$
[DellEMC ~]$ snmpwalk -c public -v 2c 10.16.133.172 1.3.6.1.4.1.6027.3.26.1.4.3.1.8
DELL-NETWORKING-CHASSIS-MIB::dellNetProcessorResetTime.stack.1.1 = STRING:
2017-11-1,5:43:44.0
DELL-NETWORKING-CHASSIS-MIB::dellNetProcessorResetTime.stack.2.1 = STRING:
2017-11-1,5:43:44.0
DELL-NETWORKING-CHASSIS-MIB::dellNetProcessorResetTime.stack.3.1 = STRING:
Simple Network Management Protocol (SNMP)
965