hmRouterStaticMask
HIRSCHMANN-ROUTER-MIB ·
.1.3.6.1.4.1.248.14.6.4.1.2
Object
DURABLE: The mask for this IP destination. It contains 1's in the bit positions for the net and subnet IDs and 0's in the bit positions for host ID. The 1's must be contiguous, starting with the left most bit. Note that a host route uses a 255.255.255.255 mask.
Context
- MIB
- HIRSCHMANN-ROUTER-MIB
- OID
.1.3.6.1.4.1.248.14.6.4.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- hmRouterStaticEntry
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 'HIRSCHMANN-ROUTER-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HIRSCHMANN-ROUTER-MIB::hmRouterStaticMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HIRSCHMANN-ROUTER-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HIRSCHMANN-ROUTER-MIB::hmRouterStaticMask.<hmRouterStaticDestIpAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HIRSCHMANN-ROUTER-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HIRSCHMANN-ROUTER-MIB::hmRouterStaticMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4