bgpPeerStatusRemoteAs
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.4.1.15
Object
column BgpAutonomousSystemNumber
The remote autonomous system number in use on the session.
For configured peers not yet active, this is the
configured value.
This value may be different from the current peer MIB
value (bgpPeerRemoteAs) if the peer takes its value from a
peer group MIB (bgpPeergrRemoteAs) or the MIB which
provides the value has been changed since the peer session
was started.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.3.1.4.1.15- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpPeerStatusEntry
- 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::bgpPeerStatusRemoteAs'
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::bgpPeerStatusRemoteAs.<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::bgpPeerStatusRemoteAs'
Syntax
- Source
- BgpAutonomousSystemNumber
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of