hm2PoeMgmtPortName
HM2-POE-MIB ·
.1.3.6.1.4.1.248.11.12.1.1.3.1.6
Object
column r/w
OctetString
A manager will set the value of this variable to indicate the type of powered device that is connected to the port. The default value supplied by the agent if no value has ever been set should be a zero-length octet string.
Context
- MIB
- HM2-POE-MIB
- OID
.1.3.6.1.4.1.248.11.12.1.1.3.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2PoeMgmtPortEntry
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-POE-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-POE-MIB::hm2PoeMgmtPortName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-POE-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-POE-MIB::hm2PoeMgmtPortName.<hm2IfacePhysIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-POE-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-POE-MIB::hm2PoeMgmtPortName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-32