rs232SyncPortRole
RS-232-MIB ·
aten variant
·
.1.3.6.1.2.1.10.33.4.1.8
Object
column r/w
Enumeration
The role the device is playing that is using this port.
dte means the device is performing the role of
data terminal equipment
dce means the device is performing the role of
data circuit-terminating equipment.
Context
- MIB
- RS-232-MIB
- OID
.1.3.6.1.2.1.10.33.4.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rs232SyncPortEntry
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 'RS-232-MIB' -M '/opt/observium/mibs/aten:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RS-232-MIB::rs232SyncPortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RS-232-MIB' -M '/opt/observium/mibs/aten:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RS-232-MIB::rs232SyncPortRole.<rs232SyncPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RS-232-MIB' -M '/opt/observium/mibs/aten:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RS-232-MIB::rs232SyncPortRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dte |
2 | dce |