dSyslogSourceIfIndex

DLINKSW-SYSLOG-MIB · .1.3.6.1.4.1.171.14.13.1.1.1

Object

This object indicates the ifIndex of the interface whose IP address
will be used as the source address for sending the SYSLOG packet. 
A special value of zero indicates the source interface is not
specified, the IP address of the closest interface will be used.

Context

MIB
DLINKSW-SYSLOG-MIB
OID
.1.3.6.1.4.1.171.14.13.1.1.1
Type
scalar
Access
readwrite
Status
current
Parent
dSyslogGeneral
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 'DLINKSW-SYSLOG-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINKSW-SYSLOG-MIB::dSyslogSourceIfIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINKSW-SYSLOG-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINKSW-SYSLOG-MIB::dSyslogSourceIfIndex'

Syntax

Source
IF-MIBInterfaceIndexOrZero
Base type
Integer32
Display format
d
Type Description
This textual convention is an extension of the
InterfaceIndex convention.  The latter defines a greater
than zero value used to identify an interface or interface
sub-layer in the managed system.  This extension permits the
additional value of zero.  the value zero is object-specific
and must therefore be defined as part of the description of
any object which uses this syntax.  Examples of the usage of
zero might include situations where interface was unknown,
or when none or all interfaces need to be referenced.

Values & Constraints

Type Constraints
range: 0..2147483647

Conformance

Member of
Compliance refinements
It is compliant to implement this object as
read-only. The write-access is only required
when source interface is configurable.