bgpPeerRemotePort

BGP4-MIB · junose variant · .1.3.6.1.2.1.15.3.1.8

Object

column Integer32
The remote port for the TCP connection
between the BGP peers.  Note that the
objects bgpPeerLocalAddr,
bgpPeerLocalPort, bgpPeerRemoteAddr, and
bgpPeerRemotePort provide the appropriate
reference to the standard MIB TCP
connection table.

Context

MIB
BGP4-MIB
OID
.1.3.6.1.2.1.15.3.1.8
Type
column
Access
readonly
Status
current
Parent
bgpPeerEntry
Groups
1

Walk 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-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgpPeerRemotePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgpPeerRemotePort.<bgpPeerRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-MIB::bgpPeerRemotePort'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-65535

Conformance