All MIBs › BGP-MIB › bgpPeerLocalAddr
bgpPeerLocalAddr
Module: BGP-MIB
OID (symbolic): BGP-MIB::bgpPeerLocalAddr
OID (numeric): 1.3.6.1.2.1.15.2.1.5
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-only
Description: Local IP address.
What is bgpPeerLocalAddr?
This OID stores the local IP address on this router that is used for BGP (Border Gateway Protocol) communication with a neighboring router. It identifies which of the local router's interfaces is active for routing protocol exchanges. A BGP administrator references this when verifying that the correct interface IP is being used for external routing protocol connections.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.2.1.5 snmpwalk -v2c -c public <target> BGP-MIB::bgpPeerLocalAddr
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.15.2.1.5.1 snmpget -v2c -c public <target> BGP-MIB::bgpPeerLocalAddr.1
Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP-MIB::bgpPeerLocalAddr 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.5 | bgpPeerLocalAddr | BGP-MIB |