hm2MasqIfmInterface
HM2-NAT-MIB ·
.1.3.6.1.4.1.248.11.80.1.5.2.2.1.4
Object
column IF-MIBInterfaceIndex
The interface this mapping entry is assigned to. This has to be either an hm2AgentSwitchIpInterfaceIfIndex or an hm2AgentSwitchIpVlanIfIndex. Note that for physical interfaces this only works if the corresponding hm2AgentSwitchIpInterfaceRoutingMode is set to enable.
Context
- MIB
- HM2-NAT-MIB
- OID
.1.3.6.1.4.1.248.11.80.1.5.2.2.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hm2MasqRuleIfMappingEntry
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 'HM2-NAT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-NAT-MIB::hm2MasqIfmInterface'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-NAT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-NAT-MIB::hm2MasqIfmInterface.<hm2MasqIfmInterface>.<hm2MasqIfmDirection>.<hm2MasqIfmRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-NAT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-NAT-MIB::hm2MasqIfmInterface'
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