hwUserlogAccessSyslog
HUAWEI-USERLOG-MIB ·
huawei variant
·
.1.3.6.1.4.1.2011.5.25.18.1.3.2
Object
BAS ACCESS LOG format. If 1, LOG format is sysLog; If 0, LOG format is UDP packet. UDP packet is the default format, and is recommended. Syslog can be used in the case that log amount is not too large.
Context
- MIB
- HUAWEI-USERLOG-MIB
- OID
.1.3.6.1.4.1.2011.5.25.18.1.3.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwUserlogAccessObjects
- Groups
- 1
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 'HUAWEI-USERLOG-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-USERLOG-MIB::hwUserlogAccessSyslog.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-USERLOG-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-USERLOG-MIB::hwUserlogAccessSyslog'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of