tBgpPeerNgLocalPreference
TIMETRA-BGP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.14.4.7.1.16
Object
The value of tBgpPeerNgLocalPreference specifies the default value for
the Local Preference attribute. This value is used if the BGP route
arrives from a BGP peer without the Local Preference attribute set.
It is overridden by any value set via a route policy.
Context
- MIB
- TIMETRA-BGP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.14.4.7.1.16- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tBgpPeerNgEntry
- Groups
- 7
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 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgLocalPreference'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgLocalPreference.<tBgpPeerNgInstanceIndex>.<tBgpPeerNgAddressType>.<tBgpPeerNgAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-BGP-MIB::tBgpPeerNgLocalPreference'
Syntax
- Source
- TIMETRA-TC-MIBTmnxBgpLocalPreference
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.