bgpPeerLocalAddr
RAD-RadBgp-MIB ·
.1.3.6.1.4.1.164.11.4.2.1.6
Object
The address of the local end of the peering session. If a zero length address is used, DC-BGP will not bind a specific address but use whatever is available. In this case the bgpPeerSelectedLocalAddr field shows which local address is actually used. If a specific local address is configured, then outbound socket connections will be bound to this address.
Context
- MIB
- RAD-RadBgp-MIB
- OID
.1.3.6.1.4.1.164.11.4.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpPeerEntry
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 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpPeerLocalAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpPeerLocalAddr.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-RadBgp-MIB::bgpPeerLocalAddr'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255