bgpPeerImportLocalPref

DC-BGP-MIB · .1.2.826.42.1.1578918.5.65.1.3.1.1.1.122

Object

Configures the local preference value assigned to routes
received from this peer.  This overrides the value
received from the peer.
              
This field is only used if bgpPeerUseImportLocalPref is
set to AMB_TRUE.
              
The peer may be configured to ignore this field and
instead obtain the value from a peer group as explained in
the table description.
              
This field can be changed at any time.

Context

MIB
DC-BGP-MIB
OID
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.122
Type
column
Access
readwrite
Status
current
Parent
bgpPeerEntry
Groups
1

Walk 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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerImportLocalPref'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerImportLocalPref.<bgpRmEntIndex>.<bgpPeerLocalAddrType>.<bgpPeerLocalAddr>.<bgpPeerLocalPort>.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpPeerRemotePort>.<bgpPeerLocalAddrScopeId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpPeerImportLocalPref'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295

Conformance