rpkiRtrPrefixOriginASN
RPKI-ROUTER-MIB ·
.1.3.6.1.2.1.218.1.4.1.5
Object
column Unsigned32
The ASN that is authorized to announce the prefix or sub-prefixes covered by this entry.
Context
- MIB
- RPKI-ROUTER-MIB
- OID
.1.3.6.1.2.1.218.1.4.1.5- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- rpkiRtrPrefixOriginTableEntry
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 'RPKI-ROUTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RPKI-ROUTER-MIB::rpkiRtrPrefixOriginASN'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RPKI-ROUTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RPKI-ROUTER-MIB::rpkiRtrPrefixOriginASN.<rpkiRtrPrefixOriginAddressType>.<rpkiRtrPrefixOriginAddress>.<rpkiRtrPrefixOriginMinLength>.<rpkiRtrPrefixOriginMaxLength>.<rpkiRtrPrefixOriginASN>.<rpkiRtrPrefixOriginCacheServerId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RPKI-ROUTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RPKI-ROUTER-MIB::rpkiRtrPrefixOriginASN'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-4294967295