hwUserlogNatSourceIP

HUAWEI-USERLOG-MIB · huawei variant · .1.3.6.1.4.1.2011.5.25.18.1.1.3

Object

scalar r/w SNMPv2-SMIIpAddress
The Source IP address of NAT LOG UDP packet.
By default, the source IP address of the UDP packet 
is the IP address of the interface through which the 
router outputs the user log packet.
On the user log server side, the source of log 
information can be located rapidly through identifying 
the source IP address of the log. You are recommended 
to configure a loopback address or router ID to function 
as the source IP address of the UDP packet.

Context

MIB
HUAWEI-USERLOG-MIB
OID
.1.3.6.1.4.1.2011.5.25.18.1.1.3
Type
scalar
Access
readwrite
Status
current
Parent
hwUserlogNatObjects
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-USERLOG-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-USERLOG-MIB::hwUserlogNatSourceIP.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-USERLOG-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-USERLOG-MIB::hwUserlogNatSourceIP'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4

Conformance