bgpPeerSelectedRemotePort
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.92
Object
This field is now deprecated - use
bgpPeerStatusSelRemotePort instead.
The remote port used by the transport connection for the
peering session.
If a connection exists and bgpPeerRemotePort is non-zero
then these two fields will be identical.
A value of zero implies that there is currently no
connection to this peer.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.92- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpPeerEntry
- 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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerSelectedRemotePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerSelectedRemotePort.<bgpRmEntIndex>.<bgpPeerLocalAddrType>.<bgpPeerLocalAddr>.<bgpPeerLocalPort>.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpPeerRemotePort>.<bgpPeerLocalAddrScopeId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpPeerSelectedRemotePort'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of