bgpPeerIfindex
CUMULUS-BGPVRF-MIB ·
.1.3.6.1.4.1.40310.7.3.1.1.27
Object
column SNMPv2-SMIInteger32
Kernel ifIndex for interface-based BGP sessions. Value is 0 if not an interface-based session.
Context
- MIB
- CUMULUS-BGPVRF-MIB
- OID
.1.3.6.1.4.1.40310.7.3.1.1.27- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpPeerEntry
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 'CUMULUS-BGPVRF-MIB' -M '/opt/observium/mibs/cumulus:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CUMULUS-BGPVRF-MIB::bgpPeerIfindex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CUMULUS-BGPVRF-MIB' -M '/opt/observium/mibs/cumulus:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CUMULUS-BGPVRF-MIB::bgpPeerIfindex.<bgpVrfTable>.<bgpPeerIdType>.<bgpPeerIfindex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CUMULUS-BGPVRF-MIB' -M '/opt/observium/mibs/cumulus:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CUMULUS-BGPVRF-MIB::bgpPeerIfindex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647