ciiIPIfAddressPrefixLength
CISCO-IP-IF-MIB ·
.1.3.6.1.4.1.9.9.309.1.1.3.1.1
Object
The length of the prefix associated with the IP address of this entry. A value of zero causes all addresses to match. The type of address is specified by ciiIPAddressType of this entry. This object is same as the ciiIPAddressPrefixLength object, and changes to one will affect the other.
Context
- MIB
- CISCO-IP-IF-MIB
- OID
.1.3.6.1.4.1.9.9.309.1.1.3.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ciiIPIfAddressEntry
- 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 'CISCO-IP-IF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IP-IF-MIB::ciiIPIfAddressPrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IP-IF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IP-IF-MIB::ciiIPIfAddressPrefixLength.<ciiIPAddressIfIndex>.<ciiIPAddressType>.<ciiIPAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IP-IF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IP-IF-MIB::ciiIPIfAddressPrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of