hm2PortMonitorIntfAction
HM2-DIAGNOSTIC-MIB ·
.1.3.6.1.4.1.248.11.22.1.7.2.1.3
Object
column r/w
Enumeration
Interface link disable state.
Context
- MIB
- HM2-DIAGNOSTIC-MIB
- OID
.1.3.6.1.4.1.248.11.22.1.7.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2PortMonitorIntfEntry
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-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DIAGNOSTIC-MIB::hm2PortMonitorIntfAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DIAGNOSTIC-MIB::hm2PortMonitorIntfAction.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DIAGNOSTIC-MIB::hm2PortMonitorIntfAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | port-disable |
2 | trap-only |
3 | auto-disable |