portMode
MOXA-W2x50A-MIB ·
.1.3.6.1.4.1.8691.2.13.1.4.1.1.1.1.2
Object
column r/w
Enumeration
The operation mode of the serial port. Note that changing this setting may also change the application.
Context
- MIB
- MOXA-W2x50A-MIB
- OID
.1.3.6.1.4.1.8691.2.13.1.4.1.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- opModePortEntry
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 'MOXA-W2x50A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-W2x50A-MIB::portMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MOXA-W2x50A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-W2x50A-MIB::portMode.<portIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-W2x50A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-W2x50A-MIB::portMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | pair-connection-slave |
1 | pair-connection-master |
2 | real-Com |
7 | disable |
10 | tcp-Server |
12 | ethernet-modem |
13 | tcp-Client |
14 | udp |
20 | rfc-2217 |
21 | reverse-Terminal |