bgpPeerSelectedLocalPort

RAD-RadBgp-MIB · .1.3.6.1.4.1.164.11.4.2.1.20

Object

The local port selected for 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.20
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::bgpPeerSelectedLocalPort'
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::bgpPeerSelectedLocalPort.<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::bgpPeerSelectedLocalPort'

Values & Constraints

Type Constraints
range: 0..65535