bgpPeerSelectedRemoteAs
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.98
Object
column BgpAutonomousSystemNumber
This field is now deprecated - use
bgpPeerStatusSelRemoteAs instead.
The remote AS number used on this session.
If bgpPeerConfAltLocalAs is set to a non-zero value, and
if this is an IBGP peer, then the remote peer might have
advertised one of two AS numbers (bgpPeerRemoteAs or
bgpPeerConfAltLocalAs). This field reports which AS
number was advertised by the remote peer.
If bgpPeerConfAltLocalAs is zero, then the AS number
advertised by the remote peer (and reported in this
this field) must equal bgpPeerRemoteAs.
If the bgpPeerState is not 'established', then this field
is zero.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.98- 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::bgpPeerSelectedRemoteAs'
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::bgpPeerSelectedRemoteAs.<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::bgpPeerSelectedRemoteAs'
Syntax
- Source
- BgpAutonomousSystemNumber
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of