showSwitchStartUpStatus
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.1.16
Object
scalar Enumeration
this object identifies start up status of switch and AM of chassis.1(idle) means hasn't wrote cfg since boot, 2(success) means wrote cfg successfully; 3(fail) means wrote cfg fail; 4(in-progress) means is writing cfg right now. for chassis:it can only be used by active master
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::showSwitchStartUpStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::showSwitchStartUpStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | idle |
2 | success |
3 | fail |
4 | in-progress |