h3cNATSessionPeerIP
A3COM-HUAWEI-NAT-MIB ·
.1.3.6.1.4.1.43.45.1.10.2.18.2.9.1.7
Object
column RFC1155-SMIIpAddress
The peer IP of session.
Context
- MIB
- A3COM-HUAWEI-NAT-MIB
- OID
.1.3.6.1.4.1.43.45.1.10.2.18.2.9.1.7- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- h3cNATSessionEntry
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 'A3COM-HUAWEI-NAT-MIB' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'A3COM-HUAWEI-NAT-MIB::h3cNATSessionPeerIP'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'A3COM-HUAWEI-NAT-MIB' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'A3COM-HUAWEI-NAT-MIB::h3cNATSessionPeerIP.<h3cNATSessionHashNumber>.<h3cNATSessionProtocol>.<h3cNATSessionInsideIP>.<h3cNATSessionInsidePort>.<h3cNATSessionPeerIP>.<h3cNATSessionPeerPort>.<h3cNATSessionVpnIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'A3COM-HUAWEI-NAT-MIB' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'A3COM-HUAWEI-NAT-MIB::h3cNATSessionPeerIP'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4