bgpIpPreAfi

DC-BGP-MIB · .1.2.826.42.1.1578918.5.65.1.5.2.1.7

Object

column r/w BgpAfi
The AFI of the address prefix.
              
This MIB is intended for IP prefix matching, so AFI = IPv4
and IPv6 are supported but AFI = L2VPN is not supported.

Context

MIB
DC-BGP-MIB
OID
.1.2.826.42.1.1578918.5.65.1.5.2.1.7
Type
column
Access
readwrite
Status
current
Parent
bgpIpPreEntry
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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpIpPreAfi'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpIpPreAfi.<bgpRmEntIndex>.<bgpRouteMapIndex>.<bgpRouteMapNumber>.<bgpIpPreMatch>.<bgpIpPreNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpIpPreAfi'

Syntax

Source
BgpAfi
Base type
Enumeration

Values & Constraints

Type Values
0other
1ipv4
2ipv6
25l2vpn

Conformance