agentRs232PortConfig
DES2218-MIB ·
.1.3.6.1.4.1.171.11.1.2.5
Object
scalar mandatory
r/w
Enumeration
The current setting of RS-232C port. The RS-232C port can be configured as the console port or used for out-of-band connection.
Context
- MIB
- DES2218-MIB
- OID
.1.3.6.1.4.1.171.11.1.2.5- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- agentBasicConfig
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 'DES2218-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES2218-MIB::agentRs232PortConfig.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES2218-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES2218-MIB::agentRs232PortConfig'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | console |
3 | out-of-band |