hm21to1EgressIntf
HM2-NAT-MIB ·
.1.3.6.1.4.1.248.11.80.1.4.2.1.1.10
Object
The index of the interface from which the new target address can be reached. 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.4.2.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm21to1RuleEntry
- Groups
- 1
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::hm21to1EgressIntf'
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::hm21to1EgressIntf.<hm21to1RuleIndex>'
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::hm21to1EgressIntf'
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