restartPorts
MOXA-NP6000-MIB ·
.1.3.6.1.4.1.8691.2.8.1.8.1
Object
scalar r/w
Enumeration
Restart serial port. Restarting will cause port reseting.
Context
- MIB
- MOXA-NP6000-MIB
- OID
.1.3.6.1.4.1.8691.2.8.1.8.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- restart
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 'MOXA-NP6000-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-NP6000-MIB::restartPorts.0'
More examples
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::restartPorts'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | port1 |
1 | port2 |
2 | port3 |
3 | port4 |
4 | port5 |
5 | port6 |
6 | port7 |
7 | port8 |
8 | port9 |
9 | port10 |
10 | port11 |
11 | port12 |
12 | port13 |
13 | port14 |
14 | port15 |
15 | port16 |
16 | port17 |
17 | port18 |
18 | port19 |
19 | port20 |
20 | port21 |
21 | port22 |
22 | port23 |
23 | port24 |
24 | port25 |
25 | port26 |
26 | port27 |
27 | port28 |
28 | port29 |
29 | port30 |
30 | port31 |
31 | port32 |