snAgSFlowSourceInterface

HP-SN-AGENT-MIB · .1.3.6.1.4.1.11.2.3.7.11.12.1.2.1.59

Object

Use the ifIndex value here to specify the
source interface to be used for sFlow packets.
The interface should have IP address configured
on it. Value of 0 indicates that source interface
has not been configured for sFlow. Port 65534
is used to specify a null port.

Context

MIB
HP-SN-AGENT-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.2.1.59
Type
scalar
Access
readwrite
Status
current
Parent
snAgentGbl

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

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

Syntax

Source
IF-MIBInterfaceIndex
Base type
Integer32
Display format
d
Type Description
A unique value, greater than zero, for each interface or
interface sub-layer in the managed system.  It is
recommended that values are assigned contiguously starting
from 1.  The value for each interface sub-layer must remain
constant at least from one re-initialization of the entity's
network management system to the next re-initialization.

Values & Constraints

Type Constraints
range: 1..2147483647