cIpAddressPfxOrigin
CISCO-IETF-IP-MIB ·
.1.3.6.1.4.1.9.10.86.1.1.1.1.5
Object
column Enumeration
The origin of this prefix. manual(2) indicates a prefix that was manually configured. wellknown(3) indicates a well-known prefix, e.g. 169.254/16 for IPv4 autoconfiguration or fe80::/10 for IPv6 link-local addresses. dhcp(4) indicates a prefix that was assigned by a DHCP server. routeradv(5) indicates a prefix learned from a router advertisement.
Context
- MIB
- CISCO-IETF-IP-MIB
- OID
.1.3.6.1.4.1.9.10.86.1.1.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cIpAddressPfxEntry
- 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-IETF-IP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-MIB::cIpAddressPfxOrigin'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-IP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-MIB::cIpAddressPfxOrigin.<cIpAddressPfxIfIndex>.<cIpAddressPfxType>.<cIpAddressPfxPfx>.<cIpAddressPfxLength>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-IP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-IP-MIB::cIpAddressPfxOrigin'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | manual |
3 | wellknown |
4 | dhcp |
5 | routeradv |
Conformance
Member of