hwSocketTransClientIP
HUAWEI-AR-SERIAL-CONNECT-MIB ·
.1.3.6.1.4.1.2011.5.25.338.1.4.1.6
Object
Indicate the client IP when the serial is worked in tcp server, this project can also be the client local IP 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.6- 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::hwSocketTransClientIP'
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::hwSocketTransClientIP.<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::hwSocketTransClientIP'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of