netConfigPrefixLength
ES4524D-MIB ·
.1.3.6.1.4.1.259.6.10.95.1.10.1.1.4
Object
The subnet mask of this Net interface. The default value for this object is 0. If the netConfigIPAddress is 0.0.0.0 and netConfigPrefixLength is 0, when the device boots, it may use BOOTP to try to figure out what these values should be. If BOOTP fails, before the device can talk on the network, this value must be configured (e.g., through a terminal attached to the device).
Context
- MIB
- ES4524D-MIB
- OID
.1.3.6.1.4.1.259.6.10.95.1.10.1.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- netConfigEntry
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 'ES4524D-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ES4524D-MIB::netConfigPrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ES4524D-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ES4524D-MIB::netConfigPrefixLength.<netConfigIfIndex>.<netConfigIPAddressType>.<netConfigIPAddress>.<netConfigPrefixLength>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ES4524D-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ES4524D-MIB::netConfigPrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040