All MIBs › BGP-MIB › bgpPeerRemoteAs
bgpPeerRemoteAs
Module: BGP-MIB
OID (symbolic): BGP-MIB::bgpPeerRemoteAs
OID (numeric): 1.3.6.1.2.1.15.2.1.9
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: Remote AS number.
What is bgpPeerRemoteAs?
Identifies the Autonomous System (AS) number of the remote BGP peer, indicating which AS this router is peering with and whether the session is an iBGP or eBGP relationship.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.2.1.9 snmpwalk -v2c -c public <target> BGP-MIB::bgpPeerRemoteAs
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.15.2.1.9.1 snmpget -v2c -c public <target> BGP-MIB::bgpPeerRemoteAs.1
Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP-MIB::bgpPeerRemoteAs OID value, configure state conditions and alerts, and monitor any BGP-speaking routers from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.15 | bgp | BGP-MIB |
| 1.3.6.1.2.1.15.2 | bgpPeerTable | BGP-MIB |
| 1.3.6.1.2.1.15.2.1 | bgpPeerEntry | BGP-MIB |
| 1.3.6.1.2.1.15.2.1.9 | bgpPeerRemoteAs | BGP-MIB |