jnxBgpM2PeerRemotePort

BGP4-V2-MIB-JUNIPER · .1.3.6.1.4.1.2636.5.1.1.2.1.1.1.12

Object

The remote port for the TCP connection between the BGP
peers.  In the case of a transport for which the notion
of 'port' is irrelevant, an instance value of -1
should be returned by the agent for this object.
              
Note that the objects jnxBgpM2PeerLocalAddr,
jnxBgpM2PeerLocalPort, jnxBgpM2PeerRemoteAddr and
jnxBgpM2PeerRemotePort provide the appropriate reference to
the standard MIB TCP connection table. or even the ipv6
TCP MIB as in rfc2452.

Context

MIB
BGP4-V2-MIB-JUNIPER
OID
.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.12
Type
column
Access
readonly
Status
current
Parent
jnxBgpM2PeerEntry
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-V2-MIB-JUNIPER' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerRemotePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerRemotePort.<jnxBgpM2PeerRoutingInstance>.<jnxBgpM2PeerLocalAddrType>.<jnxBgpM2PeerLocalAddr>.<jnxBgpM2PeerRemoteAddrType>.<jnxBgpM2PeerRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerRemotePort'

Values & Constraints

Type Constraints
range: 0..65535

Conformance