com1Option
KNGeneric-MIB ·
.1.3.6.1.4.1.21317.1.3.1.13.1.7.1
Object
scalar r/w
Enumeration
Set COM1 option
Context
- MIB
- KNGeneric-MIB
- OID
.1.3.6.1.4.1.21317.1.3.1.13.1.7.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- comSetting
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 'KNGeneric-MIB' -M '/opt/observium/mibs/aten:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'KNGeneric-MIB::com1Option.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'KNGeneric-MIB' -M '/opt/observium/mibs/aten:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'KNGeneric-MIB::com1Option'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | pdu |
1 | serialport |