hm2IfacePowerState
HM2-DEVMGMT-MIB ·
.1.3.6.1.4.1.248.11.10.1.6.1.1.4
Object
This variable configures the power on the interface. When set to 'enable' that means the interface-power is on (power up) When set to 'disable' that means the interface-power is off (power down) The interface power state settings have no effect if the interface admin state (ifAdminStatus) is enabled
Context
- MIB
- HM2-DEVMGMT-MIB
- OID
.1.3.6.1.4.1.248.11.10.1.6.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2IfaceEntry
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-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DEVMGMT-MIB::hm2IfacePowerState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DEVMGMT-MIB::hm2IfacePowerState.<hm2IfacePhysIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DEVMGMT-MIB::hm2IfacePowerState'
Syntax
- Source
- HM2-TC-MIBHmEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enable |
2 | disable |