loghostfacility
HUAWEI-MLSR-DEV-ADM-MIB ·
.1.3.6.1.4.1.2011.2.2.1.1.3.2.1.6
Object
column mandatory
r/w
Enumeration
The log that send to host is stored in the facility indicated logfacility .
Context
- MIB
- HUAWEI-MLSR-DEV-ADM-MIB
- OID
.1.3.6.1.4.1.2011.2.2.1.1.3.2.1.6- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- loghostEntry
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 'HUAWEI-MLSR-DEV-ADM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MLSR-DEV-ADM-MIB::loghostfacility'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MLSR-DEV-ADM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MLSR-DEV-ADM-MIB::loghostfacility.<loghostaddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MLSR-DEV-ADM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MLSR-DEV-ADM-MIB::loghostfacility'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | kern |
2 | user |
3 | |
4 | daemon |
5 | auth |
6 | syslog |
7 | lpr |
8 | news |
9 | uucp |
10 | cron |
11 | authpriv |
12 | ftp |
17 | local0 |
18 | local1 |
19 | local2 |
20 | local3 |
21 | local4 |
22 | local5 |
23 | local6 |
24 | local7 |