hm2L2IfmType
HM2-FW-MIB ·
.1.3.6.1.4.1.248.11.79.1.6.3.2.1.1
Object
column Enumeration
Meanings: - port(1): Apply this rule to packets arriving on non-routing physical interface. - vlan(2): Apply this rule to packets arriving on non-routing vlan interface.
Context
- MIB
- HM2-FW-MIB
- OID
.1.3.6.1.4.1.248.11.79.1.6.3.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hm2L2RuleIfMappingEntry
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-FW-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-FW-MIB::hm2L2IfmType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-FW-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-FW-MIB::hm2L2IfmType.<hm2L2IfmType>.<hm2L2IfmInterface>.<hm2L2IfmDirection>.<hm2L2IfmRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-FW-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-FW-MIB::hm2L2IfmType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | port |
2 | vlan |