deviceControlTcpPort
MOXA-NP6000-MIB ·
.1.3.6.1.4.1.8691.2.8.1.4.1.2.1.1.1.11
Object
The 'TCP port' is the TCP port that the NPort 6000 series device server uses to listen to connections, and that other devices must use to contact the NPort 6000 series device server. This setting is used in RFC2217 mode.
Context
- MIB
- MOXA-NP6000-MIB
- OID
.1.3.6.1.4.1.8691.2.8.1.4.1.2.1.1.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- deviceControlEntry
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::deviceControlTcpPort'
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::deviceControlTcpPort.<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::deviceControlTcpPort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647