bgp4V2PeerInstance
BGP4V2-MIB ·
.1.3.6.1.3.5.1.1.2.1.1
Object
column Unsigned32
The routing instance index.
Some BGP implementations permit the creation of
multiple instances of a BGP routing process. An
example includes routers running BGP/MPLS IP Virtual
Private Networks.
Implementations that do not support multiple
routing instances should return 1 for this object.
Context
- MIB
- BGP4V2-MIB
- OID
.1.3.6.1.3.5.1.1.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- bgp4V2PeerEntry
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::bgp4V2PeerInstance'
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::bgp4V2PeerInstance.<bgp4V2PeerInstance>.<bgp4V2PeerRemoteAddrType>.<bgp4V2PeerRemoteAddr>'
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::bgp4V2PeerInstance'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-4294967295