hm2RmaPrefixLength
HM2-MGMTACCESS-MIB ·
.1.3.6.1.4.1.248.11.25.1.7.1.1.5
Object
The length of the IP netmask.
Context
- MIB
- HM2-MGMTACCESS-MIB
- OID
.1.3.6.1.4.1.248.11.25.1.7.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2RmaEntry
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-MGMTACCESS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-MGMTACCESS-MIB::hm2RmaPrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-MGMTACCESS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-MGMTACCESS-MIB::hm2RmaPrefixLength.<hm2RmaIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-MGMTACCESS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-MGMTACCESS-MIB::hm2RmaPrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040