tcpServerTcpPort
MOXA-W2x50A-MIB ·
.1.3.6.1.4.1.8691.2.13.1.4.1.2.3.1.1.6
Object
The 'TCP port' is the TCP port that the NPort W2x50A series device server uses to listen to connections, and that other devices must use to contact the NPort W2x50A series device server.
Context
- MIB
- MOXA-W2x50A-MIB
- OID
.1.3.6.1.4.1.8691.2.13.1.4.1.2.3.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tcpServerEntry
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::tcpServerTcpPort'
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::tcpServerTcpPort.<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::tcpServerTcpPort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647