jnxBgpM2NlriPrefix
BGP4-V2-MIB-JUNIPER ·
.1.3.6.1.4.1.2636.5.1.1.3.1.1.4
Object
column OctetString
An IP address prefix in the Network Layer Reachability Information field. This object is an IP address containing the prefix with length specified by jnxBgpM2PathAttrAddrPrefixLen. Any bits beyond the length specified by jnxBgpM2PathAttrAddrPrefixLen are zeroed.
Context
- MIB
- BGP4-V2-MIB-JUNIPER
- OID
.1.3.6.1.4.1.2636.5.1.1.3.1.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- jnxBgpM2NlriEntry
- 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 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2NlriPrefix'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2NlriPrefix.<jnxBgpM2PeerIndex>.<jnxBgpM2NlriAfi>.<jnxBgpM2NlriSafi>.<jnxBgpM2NlriPrefix>.<jnxBgpM2NlriPrefixLen>.<jnxBgpM2NlriIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2NlriPrefix'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 4-20
Conformance
Member of