f10BgpM2NlriPrefixType

FORCE10-BGP4-V2-MIB · .1.3.6.1.4.1.6027.20.1.3.1.1.4

Object

The type of the IP address prefix in the
Network Layer Reachability Information field.
The value of this object is derived from the
appropriate value from the f10BgpM2NlriAfi field.
Where an appropriate InetAddressType is not
available, the value of the object must be
unknown(0).
              
XXX TODO - This seems like a hack.

Context

MIB
FORCE10-BGP4-V2-MIB
OID
.1.3.6.1.4.1.6027.20.1.3.1.1.4
Type
column
Access
readonly
Status
current
Parent
f10BgpM2NlriEntry
Groups
1

Walk 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 'FORCE10-BGP4-V2-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORCE10-BGP4-V2-MIB::f10BgpM2NlriPrefixType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FORCE10-BGP4-V2-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORCE10-BGP4-V2-MIB::f10BgpM2NlriPrefixType.<f10BgpM2PeerIndex>.<f10BgpM2NlriAfi>.<f10BgpM2NlriSafi>.<f10BgpM2NlriPrefix>.<f10BgpM2NlriPrefixLen>.<f10BgpM2NlriIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FORCE10-BGP4-V2-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FORCE10-BGP4-V2-MIB::f10BgpM2NlriPrefixType'

Values & Constraints

Type Values
0unknown
1ipv4
2ipv6
3ipv4z
4ipv6z
16dns
25l2vpn

Conformance