bgpPeerStatusSelLocalAs

DC-BGP-MIB · .1.2.826.42.1.1578918.5.65.1.3.1.4.1.69

Object

The local AS number used on this session.
              
If bgpPeerConfAltLocalAs is set to a non-zero value, then
the session might have been set up advertising one of two
local AS numbers (bgpRmEntLocalAs or
bgpPeerConfAltLocalAs).  This field reports which local AS
number was used.
              
If, as normal, bgpPeerConfAltLocalAs is zero, then the AS
number advertised for the session (and reported by this
field) is bgpRmEntLocalAs.
              
For dynamic peers there is no bgpPeerConfAltLocalAs field
so the local AS number used on the session is always
bgpRmEntLocalAs.
              
If the bgpPeerStatusState 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.4.1.69
Type
column
Access
readonly
Status
current
Parent
bgpPeerStatusEntry
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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerStatusSelLocalAs'
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::bgpPeerStatusSelLocalAs.<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::bgpPeerStatusSelLocalAs'

Syntax

Values & Constraints

No enumerated values or constraints recorded.

Conformance