portMode
MOXA-NP6000-MIB ·
.1.3.6.1.4.1.8691.2.8.1.4.1.1.1.1.3
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-NP6000-MIB
- OID
.1.3.6.1.4.1.8691.2.8.1.4.1.1.1.1.3- 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-NP6000-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-NP6000-MIB::portMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MOXA-NP6000-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-NP6000-MIB::portMode.<portIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-NP6000-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-NP6000-MIB::portMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | pair-Slave |
1 | pair-Master |
2 | real-Com |
3 | raw-PRN |
4 | slip |
5 | slipd |
6 | ppp |
7 | disable |
8 | reverse-Telnet |
9 | dynamic |
10 | tcp-Server |
11 | lpd-PRN |
12 | ethernet-Modem |
13 | tcp-Client |
14 | udp |
15 | pppd |
16 | term-ASC |
17 | term-BIN |
18 | reverse-SSH |
19 | ssh |
20 | rfc-2217 |
21 | reverse-Real-Com |