bgpPeerSelectedRemotePort

RAD-RadBgp-MIB · .1.3.6.1.4.1.164.11.4.2.1.21

Object

The remote port selected for the transport connection between
the BGP peers.  A value of zero implies that there is
		 currently no connection to this peer.

Context

MIB
RAD-RadBgp-MIB
OID
.1.3.6.1.4.1.164.11.4.2.1.21
Type
column
Access
readonly
Status
current
Parent
bgpPeerEntry

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

Values & Constraints

Type Constraints
range: 0..65535