bgpPathAttrMEDPrsnt
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.4.1.1.36
Object
column SNMPv2-TCTruthValue
If true, then the route has an associated MED attribute, whose value is given in bgpPathAttMultiExitDisc. If false, the route has no MED attribute, and the value of bgpPathAttMultiExitDisc is undefined.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.4.1.1.36- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpNlriEntry
- Groups
- 1
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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPathAttrMEDPrsnt'
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::bgpPathAttrMEDPrsnt.<bgpRmEntIndex>.<bgpNlriPeerOrAfm>.<bgpNlriPeerAfmIndex>.<bgpNlriAfi>.<bgpNlriSafi>.<bgpNlriPrfx>.<bgpNlriPrfxLen>.<bgpNlriPathId>'
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::bgpPathAttrMEDPrsnt'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of