mplsVpnVrfBgpPathAttrIpAddrPrefixLen

MPLS-VPN-MIB · cisco variant · .1.3.6.1.3.118.1.2.5.1.2

Object

column Integer32
Length in bits of the IP address prefix
in the Network Layer Reachability
Information field.

Context

MIB
MPLS-VPN-MIB
OID
.1.3.6.1.3.118.1.2.5.1.2
Type
column
Access
noaccess
Status
current
Parent
mplsVpnVrfBgpNbrPrefixEntry

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 'MPLS-VPN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-VPN-MIB::mplsVpnVrfBgpPathAttrIpAddrPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-VPN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-VPN-MIB::mplsVpnVrfBgpPathAttrIpAddrPrefixLen.<mplsVpnVrfName>.<mplsVpnVrfBgpPathAttrIpAddrPrefix>.<mplsVpnVrfBgpPathAttrIpAddrPrefixLen>.<mplsVpnVrfBgpPathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-VPN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-VPN-MIB::mplsVpnVrfBgpPathAttrIpAddrPrefixLen'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-32