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
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.5 | bgpPeerLocalAddr | BGP-MIB |