hwSocketTransClientPort
HUAWEI-AR-SERIAL-CONNECT-MIB ·
.1.3.6.1.4.1.2011.5.25.338.1.4.1.7
Object
Indicate the client port when the serial is worked in tcp server, this project can also be the client local port when the serial is worked in tcp client or udp client.
Context
- MIB
- HUAWEI-AR-SERIAL-CONNECT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.338.1.4.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSocketTransEntry
- Groups
- 1
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 'HUAWEI-AR-SERIAL-CONNECT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-AR-SERIAL-CONNECT-MIB::hwSocketTransClientPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-AR-SERIAL-CONNECT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-AR-SERIAL-CONNECT-MIB::hwSocketTransClientPort.<hwTtyId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-AR-SERIAL-CONNECT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-AR-SERIAL-CONNECT-MIB::hwSocketTransClientPort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of