bgp4V2NlriIndex
BGP4V2-MIB ·
.1.3.6.1.3.5.1.1.9.1.1
Object
column Unsigned32
This index allows for multiple instances of a base prefix for a certain AFI-SAFI from a given peer. This is currently useful for two things: 1. Allowing for a peer in future implementations to send more than a single route instance. 2. Allow for extensions which extend the NLRI field to send the same prefix while utilizing other extension specific information. An example of this is RFC 3107 - Carrying MPLS labels in BGP.
Context
- MIB
- BGP4V2-MIB
- OID
.1.3.6.1.3.5.1.1.9.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- bgp4V2NlriEntry
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 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2NlriIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2NlriIndex.<bgp4V2PeerInstance>.<bgp4V2NlriAfi>.<bgp4V2NlriSafi>.<bgp4V2NlriPrefixType>.<bgp4V2NlriPrefix>.<bgp4V2NlriPrefixLen>.<bgp4V2PeerRemoteAddrType>.<bgp4V2PeerRemoteAddr>.<bgp4V2NlriIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4V2-MIB::bgp4V2NlriIndex'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-4294967295