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
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 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 |