osProvVifPrefixLength
OS-PROV-VIF-MIB ·
.1.3.6.1.4.1.6926.2.12.5.1.7
Object
Prefix length for osProvVifIpAddr. CLI command 'no ip (A.B.C.D/M|)'.
Context
- MIB
- OS-PROV-VIF-MIB
- OID
.1.3.6.1.4.1.6926.2.12.5.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- osProvVifEntry
- 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 'OS-PROV-VIF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PROV-VIF-MIB::osProvVifPrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PROV-VIF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PROV-VIF-MIB::osProvVifPrefixLength.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PROV-VIF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PROV-VIF-MIB::osProvVifPrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of