h3cCfgLogSrcCmd
H3C-CONFIG-MAN-MIB ·
.1.3.6.1.4.1.2011.10.2.4.1.1.7.1.3
Object
column Enumeration
Specify the source command which brought the log. Currently, we provide the following types of sources: 1.cmdLine(1):configure log instigated by command line. 2.snmp(2):configure log instigated by SNMPS. 3.other(3):configure log instigated by other source unknown.
Context
- MIB
- H3C-CONFIG-MAN-MIB
- OID
.1.3.6.1.4.1.2011.10.2.4.1.1.7.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- h3cCfgLogEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'H3C-CONFIG-MAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-CONFIG-MAN-MIB::h3cCfgLogSrcCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-CONFIG-MAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-CONFIG-MAN-MIB::h3cCfgLogSrcCmd.<h3cCfgLogIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-CONFIG-MAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-CONFIG-MAN-MIB::h3cCfgLogSrcCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | cmdLine |
2 | snmp |
3 | other |
Conformance
Member of