docsSubmgt3CpeIpAddrPrefixLen
DOCS-SUBMGT3-MIB ·
.1.3.6.1.4.1.4491.2.1.10.1.3.1.4
Object
This attribute represents the prefix length associated with the IP subnet prefix either set from provisioning or learned via address gleaning or other forwarding means. For IPv4 CPE addresses this attribute generally reports the value 32 (32 bits) to indicate a unicast IPv4 address. For IPv6, this attribute represents either an IPv6 unicast address (128 bits, equal to /128 prefix length) or a subnet prefix length (for example 56 bits, equal to /56 prefix length).
Context
- MIB
- DOCS-SUBMGT3-MIB
- OID
.1.3.6.1.4.1.4491.2.1.10.1.3.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- docsSubmgt3CpeIpEntry
- Groups
- 1
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 'DOCS-SUBMGT3-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOCS-SUBMGT3-MIB::docsSubmgt3CpeIpAddrPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DOCS-SUBMGT3-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOCS-SUBMGT3-MIB::docsSubmgt3CpeIpAddrPrefixLen.<docsIf3CmtsCmRegStatusId>.<docsSubmgt3CpeIpId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DOCS-SUBMGT3-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DOCS-SUBMGT3-MIB::docsSubmgt3CpeIpAddrPrefixLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of