f10BgpM2PeerRemotePort

FORCE10-BGP4-V2-MIB · .1.3.6.1.4.1.6027.20.1.2.1.1.1.13

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 f10BgpM2PeerLocalAddr,
f10BgpM2PeerLocalPort, f10BgpM2PeerRemoteAddr and
f10BgpM2PeerRemotePort provide the appropriate reference to
              
the standard MIB TCP connection table. or even the ipv6
TCP MIB as in rfc2452.

Context

MIB
FORCE10-BGP4-V2-MIB
OID
.1.3.6.1.4.1.6027.20.1.2.1.1.1.13
Type
column
Access
readonly
Status
current
Parent
f10BgpM2PeerEntry
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 'FORCE10-BGP4-V2-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORCE10-BGP4-V2-MIB::f10BgpM2PeerRemotePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FORCE10-BGP4-V2-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORCE10-BGP4-V2-MIB::f10BgpM2PeerRemotePort.<f10BgpM2PeerInstance>.<f10BgpM2PeerLocalAddrType>.<f10BgpM2PeerLocalAddr>.<f10BgpM2PeerRemoteAddrType>.<f10BgpM2PeerRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FORCE10-BGP4-V2-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FORCE10-BGP4-V2-MIB::f10BgpM2PeerRemotePort'

Values & Constraints

Type Constraints
range: 0..65535

Conformance