swSysLogCtrlClearDangerousLog
SYSLOG-MIB ·
.1.3.6.1.4.1.171.12.12.4.2.2
Object
scalar r/w
Enumeration
Clear the dangerous switch logs.
Context
- MIB
- SYSLOG-MIB
- OID
.1.3.6.1.4.1.171.12.12.4.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swSysLogCtrlClearDangerousCtrl
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 'SYSLOG-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSLOG-MIB::swSysLogCtrlClearDangerousLog.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SYSLOG-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SYSLOG-MIB::swSysLogCtrlClearDangerousLog'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | start |