diffServMultiFieldClfrSrcPrefixLength
DIFFSERV-MIB ·
.1.3.6.1.2.1.97.1.2.6.1.6
Object
The length of the CIDR Prefix carried in diffServMultiFieldClfrSrcAddr. In IPv4 addresses, a length of 0 indicates a match of any address; a length of 32 indicates a match of a single host address, and a length between 0 and 32 indicates the use of a CIDR Prefix. IPv6 is similar, except that prefix lengths range from 0..128.
Context
- MIB
- DIFFSERV-MIB
- OID
.1.3.6.1.2.1.97.1.2.6.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Units
- bits
- Parent
- diffServMultiFieldClfrEntry
- 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 'DIFFSERV-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DIFFSERV-MIB::diffServMultiFieldClfrSrcPrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DIFFSERV-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DIFFSERV-MIB::diffServMultiFieldClfrSrcPrefixLength.<diffServMultiFieldClfrId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DIFFSERV-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DIFFSERV-MIB::diffServMultiFieldClfrSrcPrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of
Compliance refinements
diffServMIBReadOnlyCompliance
readonly
Write access is not required.