hostNetmask
BLUESERVER-MIB ·
.1.3.6.1.4.1.9967.1.3.1.1.4
Object
Netmask for network entries. To be set to 255.255.255.255 if hostType is set to 'H'
Context
- MIB
- BLUESERVER-MIB
- OID
.1.3.6.1.4.1.9967.1.3.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hostEntry
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 'BLUESERVER-MIB' -M '/opt/observium/mibs/bluesocket:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLUESERVER-MIB::hostNetmask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BLUESERVER-MIB' -M '/opt/observium/mibs/bluesocket:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLUESERVER-MIB::hostNetmask.<hostId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BLUESERVER-MIB' -M '/opt/observium/mibs/bluesocket:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BLUESERVER-MIB::hostNetmask'
Syntax
- Source
- BlueIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 7..15