bgp4V2NlriPrefix
BGP4V2-MIB ·
.1.3.6.1.3.5.1.1.9.1.5
Object
column INET-ADDRESS-MIBInetAddress
An IP address prefix in the Network Layer
Reachability Information field. This object
is an IP address containing the prefix with
length specified by bgp4V2NlriPrefixLen.
Any bits beyond the length specified by
bgp4V2NlriPrefixLen are zeroed.
An implementation is required to support IPv4
prefixes. In this case, the object length
is (0..4).
An implementation MAY support IPv6 prefixes.
In this case, the object length is (0..16)
Context
- MIB
- BGP4V2-MIB
- OID
.1.3.6.1.3.5.1.1.9.1.5- 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::bgp4V2NlriPrefix'
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::bgp4V2NlriPrefix.<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::bgp4V2NlriPrefix'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255