hm2FMActionSourceInterface
HM2-FILEMGMT-MIB ·
.1.3.6.1.4.1.248.11.21.1.2.21
Object
This variable defines the interface from which the source IP address will be taken for the file transfer session. The frames will not necessarily be sent on this interface, only the IP address of the interface will be used as source. By default it has value 0.
Context
- MIB
- HM2-FILEMGMT-MIB
- OID
.1.3.6.1.4.1.248.11.21.1.2.21- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2FileMgmtActionGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-FILEMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-FILEMGMT-MIB::hm2FMActionSourceInterface.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-FILEMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-FILEMGMT-MIB::hm2FMActionSourceInterface'
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