bgp4V2PeerRemotePort
BGP4V2-MIB ·
.1.3.6.1.3.5.1.1.2.1.9
Object
The remote port for the TCP connection between the BGP
peers.
Note that the objects bgp4V2PeerLocalAddr,
bgp4V2PeerLocalPort, bgp4V2PeerRemoteAddr and
bgp4V2PeerRemotePort provide the appropriate reference to
the standard MIB TCP connection table, or even the ipv6
TCP MIB as in RFC 4022.
Context
- MIB
- BGP4V2-MIB
- OID
.1.3.6.1.3.5.1.1.2.1.9- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgp4V2PeerEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2PeerRemotePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2PeerRemotePort.<bgp4V2PeerInstance>.<bgp4V2PeerRemoteAddrType>.<bgp4V2PeerRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4V2-MIB::bgp4V2PeerRemotePort'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of