zxAnLogClear

ZTE-AN-SYS-MIB · .1.3.6.1.4.1.3902.1015.1.1.103.10.1

Object

scalar r/w SNMPv2-SMIInteger32
zxAnLogClear uses a complex coding to support different 
types and different levels log clear.
                             
|    Byte 3    |    Byte 2    |    Byte 1    |    Byte 0    |
|--------------|--------------|--------------|--------------|
|           Reserved          |  log type    |  log  level  |
|           16 bits           |   8 bits     |    8 bits    |
|-----------------------------|--------------|--------------|
          
** type  :       refer to zxAnLogType for definition.    
                 0x00 indicates all types. 
                           
** level :       refer to zxAnLogLevel for definition.   
                 0x00 indicates all levels or no level definition for current type.   
                                   
value 0 means clear all logs.

Context

MIB
ZTE-AN-SYS-MIB
OID
.1.3.6.1.4.1.3902.1015.1.1.103.10.1
Type
scalar
Access
readwrite
Status
current
Parent
zxAnLogGlobalObjects

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SYS-MIB::zxAnLogClear.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SYS-MIB::zxAnLogClear'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647